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
@@ -147,7 +147,7 @@ class ImbangDugaService
->get()->toArray();
$upahlelong = Lelong::on($cawangan['mysql'])
->where([['t_jual', '>=', $firstMonth], ['t_jual', '<=', $lastMonth], ['t_jual', '>', '2022-07-24']])
->where([['tagujrah','=',0],['t_jual', '>=', $firstMonth], ['t_jual', '<=', $lastMonth], ['t_jual', '>', '2022-07-24']])
->whereYear('t_jual', '=', $currentDate->year)
->sum('bakiupah');