Merged in hotfix/lejeram-lelong (pull request #219)

Hotfix/lejeram lelong
This commit is contained in:
Muhd hafifie
2024-10-07 06:44:50 +00:00
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -1338,7 +1338,7 @@ class LaporanController extends Controller
->get()->toArray();
$upahlelong = Lelong::on($cawangan['mysql'])
->where([['t_jual','>=',$request->mula],['t_jual','<=',$request->hingga],['t_jual','>','2022-07-24']])
->where([['tagujrah','=',0],['t_jual','>=',$request->mula],['t_jual','<=',$request->hingga],['t_jual','>','2022-07-24']])
->whereYear('t_jual','=',$mulaCarbon->year)
->sum('bakiupah');