added id attribute to elements
This commit is contained in:
@@ -57,6 +57,9 @@ class Reconciliation extends Model
|
||||
'icon' => 'edit',
|
||||
'url' => route('reconciliations.edit', $this->id),
|
||||
'permission' => 'update-banking-reconciliations',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-edit-reconciliation-' . $this->id,
|
||||
],
|
||||
];
|
||||
|
||||
$actions[] = [
|
||||
@@ -64,6 +67,9 @@ class Reconciliation extends Model
|
||||
'icon' => 'delete',
|
||||
'route' => 'reconciliations.destroy',
|
||||
'permission' => 'delete-banking-reconciliations',
|
||||
'attributes' => [
|
||||
'id' => 'index-line-actions-delete-reconciliation-' . $this->id,
|
||||
],
|
||||
'model' => $this,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user