Update code GadaiController function getLaporanAnsuranUjrah

This commit is contained in:
Amirah
2024-07-31 15:07:18 +08:00
parent 6014c8d9cf
commit 6eb4a66e08
+2 -2
View File
@@ -988,8 +988,8 @@ class GadaiController extends Controller
})
->where('transaction.kodcaw','=',$kodcaw)
->where('transaction.trans_type','=','A')
->where('transaction.created_at','>=',$request->mula)
->where('transaction.created_at','<=',$request->akhir)
->whereDate('transaction.created_at', '>=', $request->mula)
->whereDate('transaction.created_at', '<=', $request->akhir)
->orderBy('trans.tarikh_bayaran')
->orderBy('transaction.teller')
->get();