-
Notifications
You must be signed in to change notification settings - Fork 0
/
left_nav.php
184 lines (141 loc) · 6.27 KB
/
left_nav.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?php
error_reporting(0);
ini_set('display_errors', 0);
require 'auth.php';
$role_id = $_SESSION['SESS_CATEGORY_'];
echo $role_id;
?>
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="dist/img/blur.png" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p>User</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- search form -->
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="active"><a href="home.php"><i class="fa fa-home"></i> Home </a></li>
<li ><a href="transact.php"><i class="fa fa-key"></i> Mpesa/Banks </a></li>
<li><a href="shop2.php"><i class="fa fa-bank"> Sell Products</i></a></li>
<li><a href="closing_report"><i class="fa fa-dollar"></i> End of Day Report</a></li>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-bank"></i> <span>Mpesa/Banks</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="define_accounts.php"><i class="fa fa-plus"> Add Account</i></a></li>
<li><a href="allaccounts.php"><i class="fa fa-list-alt"> All Accounts</i></a></li>
<li><a href="closing_report"><i class="fa fa-dollar"></i> End of Day Report</a></li>
<li><a href="alltransactions"><i class="fa fa-file"></i> All Transactions</a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-product-hunt"></i> <span>Products Master</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="product_categories.php"><i class="fa fa-product-hunt"> Product Categories</i></a></li>
<li><a href="products.php"><i class="fa fa-cart-plus"> Products</i></a></li>
<li><a href="invoices.php"><i class="fa fa-info-circle"> My Invoices</i></a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-user-circle-o"></i> <span>Staff</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="staffs.php"><i class="fa fa-users"> Staff</i></a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i> <span>Customers</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="customers.php"><i class="fa fa-users"> Customers</i></a></li>
<li><a href="individual_report.php"><i class="fa fa-file-pdf-o"> Individual Report</i></a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-users"></i> <span>Suppliers</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="suppliers.php"><i class="fa fa-users"> Suppliers</i></a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-exchange"></i> <span>Expenses</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="expense_types.php"><i class="fa fa-dollar"> Expense Types</i></a></li>
<li><a href="expense.php"><i class="fa fa-plus"> Record Expense</i></a></li>
<?php } ?>
</ul>
</li>
<li class="treeview">
<a href="#">
<i class="glyphicon glyphicon-th-list"></i> <span>Sales Reports</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<?php if($role_id == 1){ ?>
<li><a href="sales_report.php"><i class="fa fa-file-pdf-o"> Sales Report</i></a></li>
<li><a href="unpaid_sales.php"><i class="fa fa-file-pdf-o"> Unpaid Sales</i></a></li>
<li><a href="sales_summary.php"><i class="fa fa-file-pdf-o"> Sales Summary</i></a></li>
<li><a href="sales_profit.php"><i class="fa fa fa-file-pdf-o"> Sales Profit</i></a></li>
<li><a href="individual_report.php"><i class="fa fa-file-pdf-o"> Individual Report</i></a></li>
<?php } ?>
</ul>
</li>
</ul>
</section>