wip
This commit is contained in:
1 parent
f664e42572
commit
4f34fbd87d
4 files changed
+10
-1
No files matched your search
+8
@@ -15,6 +15,14 @@ class ListStatistikoDetails extends ListRecords
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
Action::make('is_active')
|
||||
->label('Disable All')
|
||||
->icon('phosphor-pause')
|
||||
->requiresConfirmation()
|
||||
->color('gray')
|
||||
->action(function () {
|
||||
StatistikoDetail::query()->update(['is_active' => 0]);
|
||||
}),
|
||||
Action::make('truncate')
|
||||
->icon('phosphor-trash')
|
||||
->requiresConfirmation()
|
||||
|
||||
Reference in new issue
Block a user