Added StripeConnect and Customer Document in acl configuration

This commit is contained in:
Prashant Singh 2019-06-29 12:50:57 +05:30
parent 37409709ce
commit f010b80cc2
4 changed files with 38 additions and 0 deletions

View File

@ -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
]
];

View File

@ -57,5 +57,9 @@ class CustomerDocumentServiceProvider extends ServiceProvider
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/system.php', 'core'
);
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/acl.php', 'acl'
);
}
}

View File

@ -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
]
];

View File

@ -57,5 +57,9 @@ class StripeConnectServiceProvider extends ServiceProvider
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/paymentmethods.php', 'paymentmethods'
);
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/acl.php', 'acl'
);
}
}