Merge branch 'amirah_wtd' into 'master'

update block tebus 2 hari sebelum lelong

See merge request online-sistem1/api_arrahn!178
This commit is contained in:
arrahn pkb
2023-02-21 02:04:39 +00:00
+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{