wip
This commit is contained in:
1 parent
84c4a584a0
commit
310590010c
13 files changed
+119
-24
No files matched your search
@@ -29,6 +29,20 @@ public static function configure(Schema $schema): Schema
|
||||
|
||||
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'))
|
||||
|
||||
Reference in new issue
Block a user