Added StripeConnect and Customer Document in acl configuration
This commit is contained in:
parent
37409709ce
commit
f010b80cc2
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'documents',
|
||||
'name' => 'customerdocument::app.admin.customers.documents',
|
||||
'route' => 'admin.documents.index',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'documents.files',
|
||||
'name' => 'customerdocument::app.admin.documents.b2b-files',
|
||||
'route' => 'admin.documents.index',
|
||||
'sort' => 2
|
||||
]
|
||||
];
|
||||
|
|
@ -57,5 +57,9 @@ class CustomerDocumentServiceProvider extends ServiceProvider
|
|||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/system.php', 'core'
|
||||
);
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/acl.php', 'acl'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'stripe',
|
||||
'name' => 'STRIPE',
|
||||
'route' => 'admin.stripe.seller',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'stripe.connect',
|
||||
'name' => 'Connect Account',
|
||||
'route' => 'admin.stripe.seller',
|
||||
'sort' => 2
|
||||
]
|
||||
];
|
||||
|
|
@ -57,5 +57,9 @@ class StripeConnectServiceProvider extends ServiceProvider
|
|||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/paymentmethods.php', 'paymentmethods'
|
||||
);
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
dirname(__DIR__) . '/Config/acl.php', 'acl'
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue