Merge branch 'apiaku' into 'master'

dashboard fix

See merge request online-sistem1/api_arrahn!54
This commit is contained in:
hafifie rahman
2021-02-28 06:16:40 +00:00
+3 -3
View File
@@ -581,9 +581,9 @@ class GadaiController extends Controller
//Tebus Terkumpul //Tebus Terkumpul
$tebus = Tebus::on($cawangan['mysql']) $tebus = Tebus::on($cawangan['mysql'])
->where('sttebus','=','T') ->where('jenistebus','=','T')
->whereYear('t_gadai','=',$current->year) ->whereYear('t_tebus','=',$current->year)
->orderBy('t_gadai','desc') ->orderBy('t_tebus','desc')
->sum('pinjaman'); ->sum('pinjaman');
//Upah Terkumpul //Upah Terkumpul