Fix api notify if bidding lose

This commit is contained in:
Amir
2023-08-01 09:12:49 +08:00
parent 6fff3d64f3
commit 807d7b90cc
@@ -1361,7 +1361,7 @@ class LelongMobileController extends Controller
'lelong' => $lelong,
]);
} else {
$current_lelong = Lelong::where('tarikh_lelong', $current_date)->select('id', 'tarikh_lelong')->first();
$current_lelong = Lelong::where('tarikh_lelong', $current_date)->where('sts_lelong', 3)->select('id', 'tarikh_lelong')->first();
if ($current_lelong != null) {