added id attribute to elements
This commit is contained in:
@ -150,6 +150,9 @@ class Tax extends Model
|
||||
'icon' => 'edit',
|
||||
'url' => route('taxes.edit', $this->id),
|
||||
'permission' => 'update-settings-taxes',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-edit-tax-' . $this->id,
|
||||
],
|
||||
];
|
||||
|
||||
$actions[] = [
|
||||
@ -157,6 +160,9 @@ class Tax extends Model
|
||||
'icon' => 'delete',
|
||||
'route' => 'taxes.destroy',
|
||||
'permission' => 'delete-settings-taxes',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-delete-tax-' . $this->id,
|
||||
],
|
||||
'model' => $this,
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user