update baki lelong shj +ve
This commit is contained in:
@@ -272,7 +272,8 @@ class LelonganService
|
|||||||
'gadai.bakipjm', // Fetch pinjaman from gadai
|
'gadai.bakipjm', // Fetch pinjaman from gadai
|
||||||
'gadai.marhun' // Fetch marhun from gadai
|
'gadai.marhun' // Fetch marhun from gadai
|
||||||
)
|
)
|
||||||
->whereNull('lelong.trkhtuntut');
|
->whereNull('lelong.trkhtuntut')
|
||||||
|
->where('lelong.baki', '>', 0.00);
|
||||||
|
|
||||||
$query_total_lelongan->when(!empty($this->startDate) and !empty($this->endDate), function ($q) {
|
$query_total_lelongan->when(!empty($this->startDate) and !empty($this->endDate), function ($q) {
|
||||||
return $q->where('lelong.t_lelong', '>=', $this->startDate)
|
return $q->where('lelong.t_lelong', '>=', $this->startDate)
|
||||||
|
|||||||
Reference in New Issue
Block a user