->actions([
Tables\Actions\Action::make('AssignToMe')
->label('Take ownership of this request')
->tooltip(function ($record) {
return 'customer id => ' . $record->id;
})
->button()
->outlined()
->color('success')
->icon('heroicon-s-user')
->action(function (Customer $customer) {
Notification::make()
->title("customer id => {$customer->id}")
->send();
}),
])
->actions([
Tables\Actions\Action::make('AssignToMe')
->label('Take ownership of this request')
->tooltip(function ($record) {
return 'customer id => ' . $record->id;
})
->button()
->outlined()
->color('success')
->icon('heroicon-s-user')
->action(function (Customer $customer) {
Notification::make()
->title("customer id => {$customer->id}")
->send();
}),
])