left_menu.blade.php 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <aside class="left-side sidebar-offcanvas">
  2. <!-- sidebar: style can be found in sidebar.less -->
  3. <section class="sidebar">
  4. <!-- Sidebar user panel -->
  5. <div class="user-panel">
  6. <div class="pull-left image">
  7. <img src="{{URL::asset('assets/front_end/img/task.jpg')}}" class="img-circle" alt="User Image" />
  8. </div>
  9. <div class="pull-left info">
  10. <p>Hello, {{ Auth::user()->name }}</p>
  11. <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
  12. </div>
  13. </div>
  14. @if(Auth::user()->utype == 1)
  15. <ul class="sidebar-menu">
  16. <li class="{{ Request::is('admin/dashboard') ? 'active' : '' }}">
  17. <a href="{{url('admin/dashboard')}}">
  18. <i class="fa fa-dashboard"></i> <span>Dashboard</span>
  19. </a>
  20. </li>
  21. <li class="treeview {{ Request::is('admin/projects*','admin/completed_task_by_user*','admin/work_flow*') ? 'active' : '' }}">
  22. <a href="#">
  23. <i class="fa fa-clipboard"></i>
  24. <span> Todo</span>
  25. <span class="pull-right-container">
  26. <i class="fa fa-angle-down pull-right"></i>
  27. </span>
  28. </a>
  29. <ul class="treeview-menu">
  30. <li class="{{ Request::is('admin/projects*') ? 'active' : '' }}">
  31. <a href="{{url('admin/projects')}}">
  32. <i class="fa fa-dashboard"></i> <span>Projects</span>
  33. </a>
  34. </li>
  35. <li class="{{ Request::is('admin/completed_task_by_user*') ? 'active' : '' }}">
  36. <a href="{{url('admin/completed_task_by_user')}}">
  37. <i class="fa fa-tasks" aria-hidden="true"></i> <span>Report-Completed Task</span>
  38. </a>
  39. </li>
  40. <li class="{{ Request::is('admin/work_flow*') ? 'active' : '' }}">
  41. <a href="{{url('admin/work_flow')}}">
  42. <i class="fa fa-arrow-circle-right" aria-hidden="true"></i> <span>Work Flow</span>
  43. </a>
  44. </li>
  45. </ul>
  46. </li>
  47. <li class="treeview {{ Request::is('admin/task*') ? 'active' : '' }}">
  48. <a href="#">
  49. <i class="fa fa-tasks"></i>
  50. <span> Task Management</span>
  51. <span class="pull-right-container">
  52. <i class="fa fa-angle-down pull-right"></i>
  53. </span>
  54. </a>
  55. <ul class="treeview-menu">
  56. <li class="{{ Request::is('admin/task') ? 'active' : '' }}">
  57. <a href="{{url('admin/task')}}">
  58. <i class="fa fa-tasks" aria-hidden="true"></i> <span>All Tasks </span>
  59. </a>
  60. </li>
  61. <li class="{{ Request::is('admin/task/deadline_today') ? 'active' : '' }}">
  62. <a href="{{url('admin/task/deadline_today')}}">
  63. <i class="fa fa-folder-open" aria-hidden="true"></i> <span>Deadline Today </span>
  64. </a>
  65. </li>
  66. <li class="{{ Request::is('admin/task/deadline_missed') ? 'active' : '' }}">
  67. <a href="{{url('admin/task/deadline_missed')}}">
  68. <i class="fa fa-times" aria-hidden="true"></i> <span> Deadline Missed </span>
  69. </a>
  70. </li>
  71. <li class="{{ Request::is('admin/task/completed_today') ? 'active' : '' }}">
  72. <a href="{{url('admin/task/completed_today')}}">
  73. <i class="fa fa-check"></i> <span>Completed Today</span>
  74. </a>
  75. </li>
  76. <li class="{{ Request::is('admin/task/completed_yesterday') ? 'active' : '' }}">
  77. <a href="{{url('admin/task/completed_yesterday')}}">
  78. <i class="fa fa-calendar" aria-hidden="true"></i> <span>Completed Yesterday</span>
  79. </a>
  80. </li>
  81. <li class="{{ Request::is('admin/task/pending_task') ? 'active' : '' }}">
  82. <a href="{{url('admin/task/pending_task')}}">
  83. <i class="fa fa-clock-o" aria-hidden="true"></i> <span>Pending Task</span>
  84. </a>
  85. </li>
  86. <li class="{{ Request::is('admin/task/in_process') ? 'active' : '' }}">
  87. <a href="{{url('admin/task/in_process')}}">
  88. <i class="fa fa-spinner" aria-hidden="true"></i> <span>In Process</span>
  89. </a>
  90. </li>
  91. </ul>
  92. </li>
  93. <li class="treeview {{ Request::is('admin/employee*','admin/leave_requests*','admin/users*','admin/user_attendace*','admin/usergroup*','admin/notice_board*') ? 'active' : '' }}">
  94. <a href="#">
  95. <i class="fa fa-users"></i>
  96. <span> HR Management</span>
  97. <span class="pull-right-container">
  98. <i class="fa fa-angle-down pull-right"></i>
  99. </span>
  100. </a>
  101. <ul class="treeview-menu">
  102. <li class="{{ Request::is('admin/employee*') ? 'active' : '' }}">
  103. <a href="{{url('admin/employee')}}">
  104. <i class="fa fa-folder-open" aria-hidden="true"></i> <span>Employee </span>
  105. </a>
  106. </li>
  107. <li class="{{ Request::is('admin/notice_board*') ? 'active' : '' }}">
  108. <a href="{{url('admin/notice_board')}}">
  109. <i class="fa fa-bell" aria-hidden="true"></i> <span> Notice Board </span>
  110. </a>
  111. </li>
  112. <li class="{{ Request::is('admin/leave_requests*') ? 'active' : '' }}">
  113. <a href="{{url('admin/leave_requests')}}">
  114. <i class="fa fa-envelope"></i> <span>Leave Requests</span>
  115. </a>
  116. </li>
  117. <li class="{{ Request::is('admin/users*') ? 'active' : '' }}">
  118. <a href="{{url('admin/users')}}">
  119. <i class="fa fa-users" aria-hidden="true"></i> <span>User</span>
  120. </a>
  121. </li>
  122. <li class="{{ Request::is('admin/user_attendace*') ? 'active' : '' }}">
  123. <a href="{{url('admin/user_attendace')}}">
  124. <i class="fa fa-signal" aria-hidden="true"></i> <span>User Attendance</span>
  125. </a>
  126. </li>
  127. <li class="{{ Request::is('admin/usergroup*') ? 'active' : '' }}">
  128. <a href="{{url('admin/usergroup')}}">
  129. <i class="fa fa-group" aria-hidden="true"></i> <span>User Group</span>
  130. </a>
  131. </li>
  132. </ul>
  133. </li>
  134. <li class="treeview {{ Request::is('admin/payroll*','admin/payroll_structure*') ? 'active' : '' }}">
  135. <a href="#">
  136. <i class="fa fa-credit-card"></i>
  137. <span> Payroll Management</span>
  138. <span class="pull-right-container">
  139. <i class="fa fa-angle-down pull-right"></i>
  140. </span>
  141. </a>
  142. <ul class="treeview-menu">
  143. <li class="{{ Request::is('admin/payroll*') ? 'active' : '' }}">
  144. <a href="{{url('admin/payroll')}}">
  145. <i class="fa fa-credit-card" aria-hidden="true"></i> <span>Payroll</span>
  146. </a>
  147. </li>
  148. <li class="{{ Request::is('admin/payroll_structure*') ? 'active' : '' }}">
  149. <a href="{{url('admin/payroll_structure')}}">
  150. <i class="fa fa-credit-card" aria-hidden="true"></i> <span>Payroll Structure</span>
  151. </a>
  152. </li>
  153. </ul>
  154. </li>
  155. <li class="treeview {{ Request::is('account*','invoice*') ? 'active' : '' }}">
  156. <a href="#">
  157. <i class="fa fa-money"></i>
  158. <span> Account Management</span>
  159. <span class="pull-right-container">
  160. <i class="fa fa-angle-down pull-right"></i>
  161. </span>
  162. </a>
  163. <ul class="treeview-menu">
  164. <li class="{{ Request::is('account/journal') ? 'active' : '' }}">
  165. <a href="{{url('account/journal')}}">
  166. <i class="fa fa-money" aria-hidden="true"></i> <span>Account</span>
  167. </a>
  168. </li>
  169. <li class="{{ Request::is('account/revenue') ? 'active' : '' }}">
  170. <a href="{{url('account/revenue')}}">
  171. <i class="fa fa-money" aria-hidden="true"></i> <span>Add New Reveue</span>
  172. </a>
  173. </li>
  174. <li class="{{ Request::is('account/report/expense') ? 'active' : '' }}">
  175. <a href="{{url('account/report/expense')}}">
  176. <i class="fa fa-money" aria-hidden="true"></i> <span>Expense Report</span>
  177. </a>
  178. </li>
  179. <li class="{{ Request::is('account/report/revenue') ? 'active' : '' }}">
  180. <a href="{{url('account/report/revenue')}}">
  181. <i class="fa fa-money" aria-hidden="true"></i> <span>Revenue Report</span>
  182. </a>
  183. </li>
  184. <li class="{{ Request::is('account/fund_req') ? 'active' : '' }}">
  185. <a href="{{url('account/fund_req')}}">
  186. <i class="fa fa-money"></i> <span>Fund Request</span>
  187. </a>
  188. </li>
  189. <li class="{{ Request::is('invoice') ? 'active' : '' }}">
  190. <a href="{{url('invoice')}}">
  191. <i class="fa fa-money"></i> <span>Invoice</span>
  192. </a>
  193. </li>
  194. </ul>
  195. </li>
  196. <li class="{{ Request::is('admin/companies') ? 'active' : '' }}">
  197. <a href="{{url('admin/companies')}}">
  198. <i class="fa fa-building-o" aria-hidden="true"></i> <span>Company List</span>
  199. </a>
  200. </li>
  201. <li class="{{ Request::is('admin/address_book') ? 'active' : '' }}">
  202. <a href="{{url('admin/address_book')}}">
  203. <i class="fa fa-book" aria-hidden="true"></i> <span>Address Book</span>
  204. </a>
  205. </li>
  206. <li class="{{ Request::is('admin/file_upload') ? 'active' : '' }}">
  207. <a href="{{url('admin/file_upload')}}">
  208. <i class="fa fa-book" aria-hidden="true"></i> <span>File Upload</span>
  209. </a>
  210. </li>
  211. <li class="treeview {{ Request::is('admin/education_level*','admin/document_type*','admin/designation*','admin/grade*','admin/grade_structure*','admin/payroll_head*') ? 'active' : '' }}">
  212. <a href="#">
  213. <i class="fa fa-cog"></i>
  214. <span> Settings</span>
  215. <span class="pull-right-container">
  216. <i class="fa fa-angle-down pull-right"></i>
  217. </span>
  218. </a>
  219. <ul class="treeview-menu">
  220. <li class="{{ Request::is('admin/education_level*') ? 'active' : '' }}">
  221. <a href="{{url('admin/education_level')}}">
  222. <i class="fa fa-list"></i> <span>Education Level</span>
  223. </a>
  224. </li>
  225. <li class="{{ Request::is('admin/document_type*') ? 'active' : '' }}">
  226. <a href="{{url('admin/document_type')}}">
  227. <i class="fa fa-file"></i> <span>Document Type</span>
  228. </a>
  229. </li>
  230. <li class="{{ Request::is('admin/grade*') ? 'active' : '' }}">
  231. <a href="{{url('admin/grade')}}">
  232. <i class="fa fa-building-o"></i> <span>Grade</span>
  233. </a>
  234. </li>
  235. <li class="{{ Request::is('admin/grade_structure*') ? 'active' : '' }}">
  236. <a href="{{url('admin/grade_structure')}}">
  237. <i class="fa fa-leanpub"></i> <span>Grade Structure</span>
  238. </a>
  239. </li>
  240. <li class="{{ Request::is('admin/payroll_head*') ? 'active' : '' }}">
  241. <a href="{{url('admin/payroll_head')}}">
  242. <i class="fa fa-leanpub"></i> <span>Payroll Head</span>
  243. </a>
  244. </li>
  245. <li class="{{ Request::is('admin/designation*') ? 'active' : '' }}">
  246. <a href="{{url('admin/designation')}}">
  247. <i class="fa fa-leanpub"></i> <span>Designation</span>
  248. </a>
  249. </li>
  250. </ul>
  251. </li>
  252. <li class="treeview {{ Request::is('admin/roles*','admin/permissions*') ? 'active' : '' }}">
  253. <a href="#">
  254. <i class="fa fa-lock"></i>
  255. <span> Roles & Permissions</span>
  256. <span class="pull-right-container">
  257. <i class="fa fa-angle-down pull-right"></i>
  258. </span>
  259. </a>
  260. <ul class="treeview-menu">
  261. <li class="{{ Request::is('admin/roles*') ? 'active' : '' }}">
  262. <a href="{{url('admin/roles')}}">
  263. <i class="fa fa-list"></i> <span>Role Management</span>
  264. </a>
  265. </li>
  266. <li class="{{ Request::is('admin/permissions*') ? 'active' : '' }}">
  267. <a href="{{url('admin/permissions')}}">
  268. <i class="fa fa-file"></i> <span>Permission Management</span>
  269. </a>
  270. </li>
  271. </ul>
  272. </li>
  273. <li class="{{ Request::is('ticket') ? 'active' : '' }}">
  274. <a href="{{url('ticket')}}">
  275. <i class="fa fa-question"></i> <span>Support Ticket</span>
  276. </a>
  277. </li>
  278. </ul>
  279. @elseif(Auth::user()->utype == 2)
  280. <ul class="sidebar-menu">
  281. <li class="{{ Request::is('user/user_projects') ? 'active' : '' }}">
  282. <a href="{{url('user/user_projects')}}">
  283. <i class="fa fa-dashboard"></i> <span>Dashboard</span>
  284. </a>
  285. </li>
  286. <li class="{{ Request::is('user/leave_apply') ? 'active' : '' }}">
  287. <a href="{{url('user/leave_apply')}}">
  288. <i class="fa fa-file"></i> <span>Leave Request</span>
  289. </a>
  290. </li>
  291. @if(Auth::user()->id == 44)
  292. <li class="{{ Request::is('admin/user_attendace') ? 'active' : '' }}">
  293. <a href="{{url('admin/user_attendace')}}">
  294. <i class="fa fa-file" aria-hidden="true"></i> <span>User Attendance</span>
  295. </a>
  296. </li>
  297. @endif
  298. @if(Auth::user()->id == 41)
  299. <li class="{{ Request::is('user/attend_entry') ? 'active' : '' }}">
  300. <a href="{{url('user/attend_entry')}}">
  301. <i class="fa fa-file" aria-hidden="true"></i> <span>Attendance Sheet Entry</span>
  302. </a>
  303. </li>
  304. @endif
  305. <li class="{{ Request::is('account/fund_req') ? 'active' : '' }}">
  306. <a href="{{url('account/fund_req')}}">
  307. <i class="fa fa-money"></i> <span>Fund Request</span>
  308. </a>
  309. </li>
  310. <li class="{{ Request::is('user/user_profile') ? 'active' : '' }}">
  311. <a href="{{url('user/user_profile')}}">
  312. <i class="fa fa-users" aria-hidden="true"></i> <span>Profile</span>
  313. </a>
  314. </li>
  315. <li class="{{ Request::is('user/user_group') ? 'active' : '' }}">
  316. <a href="{{url('user/user_group')}}">
  317. <i class="fa fa-users" aria-hidden="true"></i> <span>User Group</span>
  318. </a>
  319. </li>
  320. </ul>
  321. @elseif(Auth::user()->utype == 3)
  322. <ul class="sidebar-menu">
  323. <li class="{{ Request::is('client/client_dashboard') ? 'active' : '' }}">
  324. <a href="{{url('client/client_dashboard')}}">
  325. <i class="fa fa-dashboard"></i> <span>Dashboard</span>
  326. </a>
  327. </li>
  328. <li class="{{ Request::is('account/fund_req') ? 'active' : '' }} hide">
  329. <a href="{{url('account/fund_req')}}">
  330. <i class="fa fa-money"></i> <span>Fund Request</span>
  331. </a>
  332. </li>
  333. <li class="{{ Request::is('ticket') ? 'active' : '' }}">
  334. <a href="{{url('ticket')}}">
  335. <i class="fa fa-question"></i> <span>Support Ticket</span>
  336. </a>
  337. </li>
  338. <li class="{{ Request::is('invoice') ? 'active' : '' }}">
  339. <a href="{{url('invoice')}}">
  340. <i class="fa fa-money"></i> <span>Invoice</span>
  341. </a>
  342. </li>
  343. {{-- <li>
  344. <a href="{{url('client/client_profile')}}">
  345. <i class="fa fa-users" aria-hidden="true"></i> <span>Profile</span>
  346. </a>
  347. </li> --}}
  348. </ul>
  349. @endif
  350. </section>
  351. <!-- /.sidebar -->
  352. </aside>