#128: Implement a confirm leave dialog on unsaved changes
This commit is contained in:
parent
6049294f91
commit
b78425ac6f
@ -1,5 +1,6 @@
|
||||
# Changelog
|
||||
**UPCOMING**
|
||||
- Fixed #128 - Implement a confirm leave dialog on unsaved changes
|
||||
- Fixed #158 - Add customer PO of first order to invoice filename
|
||||
- Fixed #159 - Product service line breaks should be preserved on PDFs
|
||||
- Fixed #131 - Add Service Type background color on PDFs
|
||||
|
@ -77,19 +77,20 @@ public static function table(Table $table): Table
|
||||
TextColumn::make('date_received')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
|
||||
TextColumn::make('order.customer.company_name')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
|
||||
TextColumn::make('order.customer_po')
|
||||
->url(fn ($record) => OrderResource::getUrl('edit', ['record' => $record->id]))
|
||||
->weight('bold')
|
||||
->color('code')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
|
||||
TextColumn::make('contents')
|
||||
->extraHeaderAttributes(['class' => 'w-full']),
|
||||
// TextColumn::make('amount')
|
||||
// ->label('Quantity'),
|
||||
TextColumn::make('order.customer.company_name')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
])
|
||||
->defaultSort('date_received', 'desc')
|
||||
->filters([
|
||||
|
@ -68,6 +68,7 @@ public function panel(Panel $panel): Panel
|
||||
NavigationGroup::make('Reports'),
|
||||
NavigationGroup::make('Settings'),
|
||||
])
|
||||
->plugin(ResourceLockPlugin::make());
|
||||
->plugin(ResourceLockPlugin::make())
|
||||
->unsavedChangesAlerts();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user