update tagujrah=1
This commit is contained in:
@@ -412,7 +412,7 @@ class OnePercentService
|
|||||||
|
|
||||||
$upahlelong = Lelong::on($cawangan['mysql'])
|
$upahlelong = Lelong::on($cawangan['mysql'])
|
||||||
->selectRaw('SUM(ujrah) as ujrah,SUM(onepercent) as onepercent')
|
->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)
|
->whereYear('t_jual','=',$year)
|
||||||
->get()->toArray();
|
->get()->toArray();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user