This commit is contained in:
2025-11-04 21:07:23 +05:00
parent 84c4a584a0
commit 310590010c
13 changed files with 119 additions and 24 deletions

View File

@@ -29,6 +29,20 @@ class CardPinOrderForm
Section::make(__('New card pin order'))
->columnSpanFull()
->disabled(function (string $context) {
if (user()->isSystemUser()) {
return false;
}
return true;
})
->hidden(function (string $context): bool {
if (user()->isSystemUser()) {
return false;
}
return $context === 'create';
})
->components([
Select::make('status')
->label(__('Status'))