add new columns to harim cartables
This commit is contained in:
@@ -12,11 +12,7 @@ class ShowRequest extends FormRequest
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return $this->harim->edareh_shahri_id == auth()->user()->edarate_shahri_id &&
|
||||
in_array($this->harim->state_id, [
|
||||
HarimStates::BARESI_TAVASOT_MODIR_KOL->value,
|
||||
HarimStates::BARESI_FILE_APLODE_SHODE_TAVASOTE_MODIR_KOL->value
|
||||
]);
|
||||
return $this->harim->edareh_shahri_id == auth()->user()->edarate_shahri_id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user