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 = 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