update block tebus 2 hari sebelum lelong

This commit is contained in:
Amirah22
2023-02-21 09:49:53 +08:00
parent fec87c46c0
commit 322951a02d
+2 -2
View File
@@ -577,7 +577,7 @@ class LelongController extends Controller
if($lelong)
{
$date_lelong = new Carbon($lelong['t_lelong']);
if($lelong['t_lelong'] >= $current->toDateString())
{
$diff = $date_lelong->diffInDays($current);
@@ -586,7 +586,7 @@ class LelongController extends Controller
$diff = -$diff;
}
if($diff <= 0)
if($diff <= 2)
{
return response(1);
}else{