Skip to content

Commit 8449a42

Browse files
committed
Update
- Fixed: invisible menu & permisison
1 parent d806d2c commit 8449a42

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/Services/MenuService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function buildMenus()
356356
'permissions' => [
357357
'nexopos.reports.sales',
358358
'nexopos.reports.best_sales',
359-
'nexopos.reports.cash_flow',
359+
'nexopos.reports.transactions',
360360
'nexopos.reports.yearly',
361361
'nexopos.reports.customers',
362362
'nexopos.reports.inventory',

database/permissions/reports.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
$permission->description = __( 'Let you see the best_sales report' );
2222
$permission->save();
2323

24-
$permission = Permission::firstOrNew([ 'namespace' => 'nexopos.reports.cash_flow' ]);
25-
$permission->name = __( 'See Cash Flow Report' );
26-
$permission->namespace = 'nexopos.reports.cash_flow';
27-
$permission->description = __( 'Let you see the cash flow report' );
24+
$permission = Permission::firstOrNew([ 'namespace' => 'nexopos.reports.transactions' ]);
25+
$permission->name = __( 'See Transaction Report' );
26+
$permission->namespace = 'nexopos.reports.transactions';
27+
$permission->description = __( 'Let you see the transactions report' );
2828
$permission->save();
2929

3030
$permission = Permission::firstOrNew([ 'namespace' => 'nexopos.reports.yearly' ]);

0 commit comments

Comments
 (0)