This commit is contained in:
e.arrahn
2021-06-20 15:18:43 +08:00
parent 7ebbb29eba
commit c620d015d9
6 changed files with 67 additions and 14 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ class CustomerController extends Controller
// $cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
$gadai = Customer::on('mysql7')
->where('tarikhdaftar','=',$tarikh)
->where([['tarikhdaftar','=',$tarikh],['kodcaw',$kodcaw]])
->orderBy('tarikhdaftar', 'desc')
->get();