feat: Hide stock management section on warehouse creation and set edit modal width to large.
This commit is contained in:
parent
2e5c4ea55e
commit
8544220cc9
@ -88,7 +88,8 @@ public static function form(Schema $schema): Schema
|
|||||||
])
|
])
|
||||||
->columns(2)
|
->columns(2)
|
||||||
->addActionLabel('Tambah Stok')
|
->addActionLabel('Tambah Stok')
|
||||||
->columnSpanFull(),
|
->columnSpanFull()
|
||||||
|
->hiddenOn('create'),
|
||||||
])
|
])
|
||||||
->columns(1);
|
->columns(1);
|
||||||
}
|
}
|
||||||
@ -125,7 +126,7 @@ public static function table(Table $table): Table
|
|||||||
])
|
])
|
||||||
->recordActions([
|
->recordActions([
|
||||||
EditAction::make()
|
EditAction::make()
|
||||||
->modalWidth(Width::FourExtraLarge),
|
->modalWidth(Width::Large),
|
||||||
|
|
||||||
DeleteAction::make(),
|
DeleteAction::make(),
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user