From 6f1acea367dcc6bb43e721fc8ec468e4a9b7a6b8 Mon Sep 17 00:00:00 2001 From: MUHD HAFIFIE Date: Sun, 9 May 2021 20:26:53 +0800 Subject: [PATCH] fix laporan ansuran --- app/Http/Controllers/GadaiController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/GadaiController.php b/app/Http/Controllers/GadaiController.php index 95e6023..cce08db 100644 --- a/app/Http/Controllers/GadaiController.php +++ b/app/Http/Controllers/GadaiController.php @@ -899,6 +899,7 @@ class GadaiController extends Controller $join->on('transaction.norujukan', '=', 'trans.norujukan'); $join->on('transaction.created_at', '=', 'trans.tarikh_bayaran'); }) + ->where('transaction.kodcaw','=',$kodcaw) ->where('transaction.trans_type','=','A') ->whereDate('transaction.created_at','=',$dateans) ->get();