fix(pickup-exceptions): update noReplacement logic for checkbox state
Ensure noReplacement reflects checkbox status for accurate behavior.
This commit is contained in:
parent
36faed679e
commit
961829a0c7
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@
|
|||
$associatedException?->pivot?->order_deadline_at?->format('Y-m-d\TH:i'),
|
||||
);
|
||||
|
||||
$noReplacement = empty($associatedException?->pivot?->replacement_date);
|
||||
$noReplacement = $isChecked && empty($associatedException?->pivot?->replacement_date);
|
||||
|
||||
$isCritical = $dto->missingSubsitute || $dto->passedDeadline;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue