debug
This commit is contained in:
@@ -13,7 +13,9 @@ class ConfirmPaymentInfoRequest extends FormRequest
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return $this->accident->status === AccidentStates::SODOR_NAME_BIME_VA_DAGHI->value;
|
||||
return in_array($this->accident->status,
|
||||
[AccidentStates::SODOR_NAME_BIME_VA_DAGHI->value, AccidentStates::SABT_FISH->value]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user