feat: Hide stock management section on warehouse creation and set edit modal width to large.

This commit is contained in:
Yoga Pangestu 2026-03-09 13:14:35 +07:00
parent 2e5c4ea55e
commit 8544220cc9

View File

@ -88,7 +88,8 @@ public static function form(Schema $schema): Schema
])
->columns(2)
->addActionLabel('Tambah Stok')
->columnSpanFull(),
->columnSpanFull()
->hiddenOn('create'),
])
->columns(1);
}
@ -125,7 +126,7 @@ public static function table(Table $table): Table
])
->recordActions([
EditAction::make()
->modalWidth(Width::FourExtraLarge),
->modalWidth(Width::Large),
DeleteAction::make(),