updated server 28-9-2022

This commit is contained in:
e.arrahn
2022-09-27 23:15:44 +08:00
parent a723acca91
commit 9f81fcdac6
4 changed files with 17 additions and 4 deletions
+6 -1
View File
@@ -1841,7 +1841,12 @@ class TebusController extends Controller
}
}
$total = ($ansuran + $bukanansuran);
$upahlelong = Lelong::on($cawangan['mysql'])
->where([['t_jual','>=',$request->mula],['t_jual','<=',$request->hingga],['t_jual','>','2022-07-24']])
->whereYear('t_jual','=',$current->year)
->sum('bakiupah');
$total = ($ansuran + $bukanansuran + $upahlelong);
}
return response($total);