fix kelulusan
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user