dashboard fix

This commit is contained in:
hafifierahman
2021-02-28 14:16:17 +08:00
parent 0210feb42b
commit 270ad96f08
+3 -3
View File
@@ -581,9 +581,9 @@ class GadaiController extends Controller
//Tebus Terkumpul
$tebus = Tebus::on($cawangan['mysql'])
->where('sttebus','=','T')
->whereYear('t_gadai','=',$current->year)
->orderBy('t_gadai','desc')
->where('jenistebus','=','T')
->whereYear('t_tebus','=',$current->year)
->orderBy('t_tebus','desc')
->sum('pinjaman');
//Upah Terkumpul