update tarikh lelong kepada tarikh jual
This commit is contained in:
@@ -46,8 +46,8 @@ class LelonganService
|
||||
);
|
||||
|
||||
$query_total_lelongan->when(!empty($this->startDate) and !empty($this->endDate), function ($q) {
|
||||
return $q->where('lelong.t_lelong', '>=', $this->startDate)
|
||||
->where('lelong.t_lelong', '<=', $this->endDate);
|
||||
return $q->where('lelong.t_jual', '>=', $this->startDate)
|
||||
->where('lelong.t_jual', '<=', $this->endDate);
|
||||
});
|
||||
|
||||
$total_lelongan = $this->getTotalLelongan($query_total_lelongan);
|
||||
|
||||
Reference in New Issue
Block a user