fix kelulusan

This commit is contained in:
hafifierahman
2021-01-17 08:56:27 +08:00
parent 79aa543e69
commit 58cab5f448
2 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -396,7 +396,7 @@ class GadaiController extends Controller
->selectRaw('COUNT(*) AS bilangan, SUM(nilaimarhun) as jumlahmarhun, SUM(pinjaman) as jumlahpinjaman')
->where('t_gadai','<=',$tarikh)
// ->where('sttebus','=','')
->whereYear('t_gadai','=',$current->year)
// ->whereYear('t_gadai','=',$current->year)
->orderBy('t_gadai','desc')
->get();
@@ -405,7 +405,7 @@ class GadaiController extends Controller
->selectRaw('COUNT(*) AS bilangan, SUM(nilaimarhun) as jumlahmarhun, SUM(pinjaman) as jumlahpinjaman, SUM(bakiupah) as upahsimpan')
->where('t_gadai','<=',$tarikh)
->where('sttebus','=','T')
->whereYear('t_gadai','=',$current->year)
// ->whereYear('t_gadai','=',$current->year)
->orderBy('t_gadai','desc')
->get();
@@ -413,7 +413,7 @@ class GadaiController extends Controller
->selectRaw('COUNT(*) AS bilangan, SUM(nilaimarhun) as jumlahmarhun, SUM(pinjaman) as jumlahpinjaman')
->where('t_gadai','<=',$tarikh)
->where('sttebus','=','L')
->whereYear('t_gadai','=',$current->year)
// ->whereYear('t_gadai','=',$current->year)
->orderBy('t_gadai','desc')
->get();