update block tebus 2 hari sebelum lelong
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user