Skip to content

Commit

Permalink
fix: extend verification time limit
Browse files Browse the repository at this point in the history
  • Loading branch information
keenthekeen committed Oct 31, 2024
1 parent a642855 commit 3043212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function canVerify(): bool {
return in_array($this->getClosureStatus(),
[ProjectClosureStatus::SUBMITTED, ProjectClosureStatus::REVIEWING, ProjectClosureStatus::REJECTED_AND_RESUBMIT])
and (($this->period_end->diffInDays() <= self::VERIFICATION_TIME_LIMIT)
or ($this->year == 2567 and now()->isBefore('2024-10-31'))
or ($this->year == 2567 and now()->isBefore('2024-12-01'))
or ($this->closure_approved_status == -2 and $this->closure_approved_at->diffInDays() <= self::SUMMARY_TIME_LIMIT)
);
}
Expand Down

0 comments on commit 3043212

Please sign in to comment.