akaunting 3.0 (the last dance)
This commit is contained in:
@@ -11,21 +11,31 @@ class Accounts extends BulkAction
|
||||
{
|
||||
public $model = Account::class;
|
||||
|
||||
public $text = 'general.accounts';
|
||||
|
||||
public $path = [
|
||||
'group' => 'banking',
|
||||
'type' => 'accounts',
|
||||
];
|
||||
|
||||
public $actions = [
|
||||
'enable' => [
|
||||
'name' => 'general.enable',
|
||||
'message' => 'bulk_actions.message.enable',
|
||||
'permission' => 'update-banking-accounts',
|
||||
'enable' => [
|
||||
'icon' => 'check_circle',
|
||||
'name' => 'general.enable',
|
||||
'message' => 'bulk_actions.message.enable',
|
||||
'permission' => 'update-banking-accounts',
|
||||
],
|
||||
'disable' => [
|
||||
'name' => 'general.disable',
|
||||
'message' => 'bulk_actions.message.disable',
|
||||
'permission' => 'update-banking-accounts',
|
||||
'disable' => [
|
||||
'icon' => 'hide_source',
|
||||
'name' => 'general.disable',
|
||||
'message' => 'bulk_actions.message.disable',
|
||||
'permission' => 'update-banking-accounts',
|
||||
],
|
||||
'delete' => [
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-accounts',
|
||||
'delete' => [
|
||||
'icon' => 'delete',
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-accounts',
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
@@ -10,21 +10,31 @@ class Reconciliations extends BulkAction
|
||||
{
|
||||
public $model = Reconciliation::class;
|
||||
|
||||
public $text = 'general.reconciliations';
|
||||
|
||||
public $path = [
|
||||
'group' => 'banking',
|
||||
'type' => 'reconciliations',
|
||||
];
|
||||
|
||||
public $actions = [
|
||||
'reconcile' => [
|
||||
'name' => 'reconciliations.reconcile',
|
||||
'message' => 'bulk_actions.message.reconcile',
|
||||
'permission' => 'update-banking-reconciliations',
|
||||
'reconcile' => [
|
||||
'icon' => 'published_with_changes',
|
||||
'name' => 'reconciliations.reconcile',
|
||||
'message' => 'bulk_actions.message.reconcile',
|
||||
'permission' => 'update-banking-reconciliations',
|
||||
],
|
||||
'unreconcile' => [
|
||||
'name' => 'reconciliations.unreconcile',
|
||||
'message' => 'bulk_actions.message.unreconcile',
|
||||
'permission' => 'update-banking-reconciliations',
|
||||
'unreconcile' => [
|
||||
'icon' => 'layers_clear',
|
||||
'name' => 'reconciliations.unreconcile',
|
||||
'message' => 'bulk_actions.message.unreconcile',
|
||||
'permission' => 'update-banking-reconciliations',
|
||||
],
|
||||
'delete' => [
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-reconciliations',
|
||||
'delete' => [
|
||||
'icon' => 'delete',
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-reconciliations',
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
@@ -10,16 +10,25 @@ class Transactions extends BulkAction
|
||||
{
|
||||
public $model = Transaction::class;
|
||||
|
||||
public $text = 'general.transactions';
|
||||
|
||||
public $path = [
|
||||
'group' => 'banking',
|
||||
'type' => 'transactions',
|
||||
];
|
||||
|
||||
public $actions = [
|
||||
'delete' => [
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-transactions',
|
||||
'delete' => [
|
||||
'icon' => 'delete',
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-transactions',
|
||||
],
|
||||
'export' => [
|
||||
'name' => 'general.export',
|
||||
'message' => 'bulk_actions.message.export',
|
||||
'type' => 'download',
|
||||
'export' => [
|
||||
'icon' => 'file_download',
|
||||
'name' => 'general.export',
|
||||
'message' => 'bulk_actions.message.export',
|
||||
'type' => 'download',
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
@@ -11,16 +11,25 @@ class Transfers extends BulkAction
|
||||
{
|
||||
public $model = Transfer::class;
|
||||
|
||||
public $text = 'general.transfers';
|
||||
|
||||
public $path = [
|
||||
'group' => 'banking',
|
||||
'type' => 'transfers',
|
||||
];
|
||||
|
||||
public $actions = [
|
||||
'delete' => [
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-transfers',
|
||||
'delete' => [
|
||||
'icon' => 'delete',
|
||||
'name' => 'general.delete',
|
||||
'message' => 'bulk_actions.message.delete',
|
||||
'permission' => 'delete-banking-transfers',
|
||||
],
|
||||
'export' => [
|
||||
'name' => 'general.export',
|
||||
'message' => 'bulk_actions.message.export',
|
||||
'type' => 'download',
|
||||
'export' => [
|
||||
'icon' => 'file_download',
|
||||
'name' => 'general.export',
|
||||
'message' => 'bulk_actions.message.export',
|
||||
'type' => 'download',
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user