Merged in izzati-feat-laporan-baki-lelong (pull request #308)

update baki lelong shj +ve
This commit is contained in:
izzati zulkifli
2025-06-11 05:13:52 +00:00
+2 -1
View File
@@ -272,7 +272,8 @@ class LelonganService
'gadai.bakipjm', // Fetch pinjaman 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) {
return $q->where('lelong.t_lelong', '>=', $this->startDate)