-
Notifications
You must be signed in to change notification settings - Fork 1
/
menus.php
48 lines (38 loc) · 2.58 KB
/
menus.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/** @var \Modules\Base\Classes\Fetch\Menus $this */
$this->add_module_info("account", [
'title' => 'Account',
'description' => 'Account',
'icon' => 'fas fa-funnel-dollar',
'path' => '/account/admin/invoice',
'class_str' => 'text-primary border-primary',
'position' => 1,
]);
//$this->add_menu("module", "key", "title","path", "icon", "position");
$this->add_menu("account", "invoice", "Invoice", "/account/admin/invoice", "fas fa-cogs", 1);
$this->add_menu("dashboard", "invoice", "Invoice", "/account/admin/invoice", "fas fa-cogs", 1);
$this->add_menu("account", "payment", "Payment", "/account/admin/payment", "fas fa-cogs", 1);
$this->add_menu("dashboard", "payment", "Payment", "/account/admin/payment", "fas fa-cogs", 1);
/*$this->add_menu("account", "transaction", "Transaction", "/account/admin/transaction", "fas fa-cogs", 1);*/
$this->add_menu("account", "journal", "Journal", "/account/admin/journal", "fas fa-cogs", 1);
/*$this->add_menu("account", "coupon", "Coupon", "/account/admin/coupon", "fas fa-cogs", 1);*/
$this->add_menu("account", "gateway", "Gateway", "//account/admin/gateway", "fas fa-cogs", 5);
$this->add_menu("account", "setting", "Settings", "/settings", "fas fa-cogs", 5);
$this->add_menu("account", "reports", "Reports", "/reports", "fas fa-cogs", 5);
//$this->add_submenu("module", "key", "title","path", "position");
$this->add_submenu("account", "gateway", "Gateway List", "/account/admin/gateway", 5);
$this->add_submenu("account", "setting", "Financial Year", "/account/admin/financial_year", 5);
$this->add_submenu("account", "setting", "Chart of Accounts", "/account/admin/chart_of_account", 5);
$this->add_submenu("account", "setting", "", "", 5);
$this->add_submenu("account", "setting", "Rate", "/account/admin/rate", 5);
$this->add_submenu("account", "setting", "Ledger", "/account/admin/ledger", 5);
$this->add_submenu("account", "setting", "Ledger Category", "/account/admin/ledger_category", 5);
//TODO: Work on reporting
//$this->add_submenu("account", "reports", "Balance Sheet", "/account/reports/balance-sheet", 5);
//$this->add_submenu("account", "reports", "Income Statement", "/account/reports/balance-sheet", 5);
//$this->add_submenu("account", "reports", "Ledger Report", "/account/reports/ledger-report", 5);
//$this->add_submenu("account", "reports", "Trail Balance", "/account/reports/trail-balance", 5);
$this->group('frontend', function () {
$this->add_menu("account", "payment", "Payment", "/account/front/payment", "fas fa-cogs", 5);
$this->add_menu("account", "invoice", "Invoice", "/account/front/invoice", "fas fa-cogs", 1);
});