tambah terakru

This commit is contained in:
hafifierahman
2022-08-14 20:29:32 +08:00
parent fa2f0c048f
commit e6a3554b80
3 changed files with 68 additions and 1 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ class LelongController extends Controller
$serahbaki = SerahBaki::on($cawangan['mysql'])
->where('tarikh','<=', $request->tarikh)
->where([['tarikh','<=', $request->tarikh],['aktif',1]])
->sum('baki');
return response()->json($serahbaki,200);