update tagujrah=1

This commit is contained in:
BTMS2
2024-09-09 11:10:55 +08:00
parent e438bfe7bc
commit b4582dc170
+1 -1
View File
@@ -412,7 +412,7 @@ class OnePercentService
$upahlelong = Lelong::on($cawangan['mysql'])
->selectRaw('SUM(ujrah) as ujrah,SUM(onepercent) as onepercent')
->where([['tagujrah','=',0],['t_jual','>=',$start],['t_jual','<=',$end]])
->where([['tagujrah','=',1],['t_jual','>=',$start],['t_jual','<=',$end]])
->whereYear('t_jual','=',$year)
->get()->toArray();