change 3 days to 2 days in rules
This commit is contained in:
@@ -36,7 +36,7 @@ class NorujukanTidakAkanDilelong implements Rule
|
||||
$tarikhLelong = Carbon::parse($x->t_lelong);
|
||||
$currentDate = Carbon::now();
|
||||
|
||||
if ($currentDate->gte($tarikhLelong->subDays(3))) {
|
||||
if ($currentDate->gte($tarikhLelong->subDays(2))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user