2024-08-27 12:03:06 +00:00
|
|
|
<div class="app-menu navbar-menu">
|
|
|
|
<!-- LOGO -->
|
|
|
|
<div class="navbar-brand-box">
|
|
|
|
<!-- Dark Logo-->
|
|
|
|
<a href="{{ route('home') }}" class="logo logo-dark">
|
|
|
|
<span class="logo-sm">
|
|
|
|
<img src="{{ asset('assets/images/logo-sm.png') }}" alt="" height="22">
|
|
|
|
</span>
|
|
|
|
<span class="logo-lg">
|
|
|
|
<img src="{{ asset('assets/images/logo-dark.png') }}" alt="" height="17">
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<!-- Light Logo-->
|
|
|
|
<a href="{{ route('home') }}" class="logo logo-light">
|
|
|
|
<span class="logo-sm">
|
|
|
|
<img src="{{ asset('assets/images/logo-sm.png') }}" alt="" height="22">
|
|
|
|
</span>
|
|
|
|
<span class="logo-lg">
|
|
|
|
<img src="{{ asset('assets/images/logo-light.png') }}" alt="" height="17">
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<button type="button" class="btn btn-sm fs-20 header-item float-end btn-vertical-sm-hover p-0" id="vertical-hover">
|
|
|
|
<i class="ri-record-circle-line"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="scrollbar">
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
|
|
<div id="two-column-menu">
|
|
|
|
</div>
|
|
|
|
<ul class="navbar-nav" id="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('home') }}" class="nav-link"> <i class="ri-home-line"></i>Dashboard </a>
|
|
|
|
</li>
|
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
{{-- @role('admin')
|
2024-08-27 12:03:06 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link menu-link" href="#MenuCompany" data-bs-toggle="collapse" role="button"
|
|
|
|
aria-expanded="false" aria-controls="MenuCompany">
|
|
|
|
<i class="ri-building-2-line"></i> <span data-key="t-companies">Company Setup</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="menu-dropdown collapse" id="MenuCompany">
|
|
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('companyType.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('company-type') || \Request::is('company-type/*')) active @endif">Company Type</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('company.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('company') || \Request::is('company/*')) active @endif">Company</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
2024-09-04 06:37:04 +00:00
|
|
|
@endrole --}}
|
|
|
|
|
|
|
|
|
2024-08-27 12:03:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
{{-- @can('employee.index')
|
2024-08-27 12:03:06 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link menu-link @if (\Request::is('employee') || \Request::is('employee/*')) active @endif"
|
|
|
|
href="{{ route('employee.index') }}">
|
|
|
|
<i class="ri-team-line"></i> <span data-key="t-widgets">Employee</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2024-09-04 06:37:04 +00:00
|
|
|
@endcan --}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
{{-- @can(['asset.index'])
|
2024-08-27 12:03:06 +00:00
|
|
|
|
|
|
|
<!--- Asset Start-->
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link menu-link" href="#MenuAssets" data-bs-toggle="collapse" role="button"
|
|
|
|
aria-expanded="false" aria-controls="MenuAssets">
|
|
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-assets">Assets</span>
|
|
|
|
</a>
|
|
|
|
<div class="menu-dropdown collapse" id="MenuAssets">
|
|
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
|
|
|
|
@can('assetCategory.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('assetCategory.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('asset-category') || \Request::is('asset-category/*')) active @endif">Asset Categories</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
|
|
|
|
@can('asset.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('asset.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('asset') || \Request::is('asset/*')) active @endif">Add Asset</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
|
|
|
|
@can('assetDemand.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('assetDemand.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('asset-demand') || \Request::is('asset-demand/*')) active @endif">Asset Demand</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<!--- Asset End-->
|
2024-09-04 06:37:04 +00:00
|
|
|
@endcan --}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('customer.index') }}" class="nav-link @if (\Request::is('customer') || \Request::is('customer/*')) active @endif"><i
|
|
|
|
class="ri-team-line"></i>Customers</a>
|
|
|
|
</li>
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('supplier.index') }}" class="nav-link @if (\Request::is('supplier') || \Request::is('supplier/*')) active @endif"><i
|
|
|
|
class="ri-team-line"></i>Suppliers</a>
|
|
|
|
</li>
|
2024-09-19 12:48:08 +00:00
|
|
|
{{-- PURCHASES --}}
|
|
|
|
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Purchases</span></li>
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link @if (\Request::is('ingredient') || \Request::is('ingredient/*')) active @endif"
|
|
|
|
href="{{ route('ingredient.index') }}">Ingredients</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('ingredientCategory.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('ingredientCategory') || \Request::is('ingredientCategory/*')) active @endif">Ingredient Category</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('unit.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('unit') || \Request::is('unit/*')) active @endif">Unit</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('purchaseEntry.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('purchaseEntry') || \Request::is('purchaseEntry/*')) active @endif">Purchase Entry</a>
|
|
|
|
</li>
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
{{-- SALES --}}
|
|
|
|
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Sales</span></li>
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link @if (\Request::is('product') || \Request::is('product/*')) active @endif"
|
|
|
|
href="{{ route('product.index') }}">Products</a>
|
|
|
|
</li>
|
2024-09-19 12:48:08 +00:00
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('category.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('category') || \Request::is('category/*')) active @endif">Category</a>
|
|
|
|
</li>
|
2024-09-19 12:48:08 +00:00
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="nav-item">
|
2024-09-19 12:48:08 +00:00
|
|
|
<a href="{{ route('salesEntry.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('salesEntry') || \Request::is('salesEntry/*')) active @endif">Sales Entry</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
{{-- <li class="nav-item">
|
2024-09-04 06:37:04 +00:00
|
|
|
<a href="{{ route('subCategory.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('subCategory') || \Request::is('subCategory/*')) active @endif">Sub Category</a>
|
2024-09-19 12:48:08 +00:00
|
|
|
</li> --}}
|
|
|
|
|
|
|
|
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Stocks</span></li>
|
|
|
|
|
2024-09-11 06:47:15 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('stock.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('stock') || \Request::is('stock/*')) active @endif">Stock</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('stockLocation.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('stockLocation') || \Request::is('stockLocation/*')) active @endif">Stock Location</a>
|
|
|
|
</li>
|
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
{{-- <li class="nav-item">
|
2024-09-11 06:47:15 +00:00
|
|
|
<a href="{{ route('fabricCategory.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('fabriccategory') || \Request::is('fabriccategory/*')) active @endif">Fabric Category</a>
|
2024-09-19 12:48:08 +00:00
|
|
|
</li> --}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{-- <li class="nav-item">
|
2024-09-04 06:37:04 +00:00
|
|
|
<a href="{{ route('warehouse.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('warehouse') || \Request::is('warehouse/*')) active @endif">Warehouses</a>
|
2024-09-19 12:48:08 +00:00
|
|
|
</li> --}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
{{-- <li class="nav-item">
|
2024-09-04 06:37:04 +00:00
|
|
|
<a href="{{ route('order.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('order') || \Request::is('order/*')) active @endif">Order</a>
|
2024-09-19 12:48:08 +00:00
|
|
|
</li> --}}
|
2024-09-11 06:47:15 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
|
2024-09-11 06:47:15 +00:00
|
|
|
|
2024-09-19 12:48:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{-- <li class="nav-item">
|
2024-09-11 06:47:15 +00:00
|
|
|
<a href="{{ route('setting.edit', 1) }}"
|
|
|
|
class="nav-link @if (\Request::is('setting') || \Request::is('setting/*')) active @endif">Settings</a>
|
2024-09-19 12:48:08 +00:00
|
|
|
</li> --}}
|
2024-09-04 06:37:04 +00:00
|
|
|
{{-- <li class="nav-item">
|
|
|
|
<a href="{{ route('product.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('attendance') || \Request::is('attendance/*')) active @endif">Order</a>
|
|
|
|
</li> --}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
|
|
|
{{-- <li class="nav-item">
|
|
|
|
<a class="nav-link menu-link" href="#taxation" data-bs-toggle="collapse" role="button" aria-expanded="false"
|
|
|
|
aria-controls="taxation">
|
|
|
|
<i class="ri-book-2-line"></i> <span data-key="t-masters">Taxation</span>
|
|
|
|
</a>
|
|
|
|
<div class="menu-dropdown collapse" id="taxation">
|
|
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('user.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('user') || \Request::is('user/*')) active @endif">Users</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
2024-09-04 06:37:04 +00:00
|
|
|
--}}
|
2024-08-27 12:03:06 +00:00
|
|
|
|
|
|
|
{{-- <li class="nav-item">
|
|
|
|
<a href="#" class="nav-link"> <i class="ri-settings-2-line"></i>Setting</a>
|
|
|
|
</li> --}}
|
|
|
|
|
2024-09-04 06:37:04 +00:00
|
|
|
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Setting</span></li>
|
2024-08-27 12:03:06 +00:00
|
|
|
@role('admin')
|
|
|
|
<li class="nav-item">
|
2024-09-04 06:37:04 +00:00
|
|
|
<a class="nav-link menu-link" href="#MenuUser" data-bs-toggle="collapse" role="button" aria-expanded="false"
|
|
|
|
aria-controls="MenuUser">
|
2024-08-27 12:03:06 +00:00
|
|
|
<i class="ri-user-2-line"></i> <span data-key="t-Users">User Management</span>
|
|
|
|
</a>
|
|
|
|
<div class="menu-dropdown collapse" id="MenuUser">
|
|
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('user.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('user.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('user') || \Request::is('user/*')) active @endif">Users</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('role.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('role.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('role') || \Request::is('role/*')) active @endif">Roles</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('permission.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('permission.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('permission') || \Request::is('permission/*')) active @endif">Permissions</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!--- Master Start-->
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link menu-link" href="#MenuMaster" data-bs-toggle="collapse" role="button"
|
|
|
|
aria-expanded="false" aria-controls="MenuMaster">
|
|
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-masters">Master</span>
|
|
|
|
</a>
|
|
|
|
<div class="menu-dropdown collapse" id="MenuMaster">
|
|
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('country.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('country.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('country') || \Request::is('country/*')) active @endif">Countries</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('province.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('province.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('province') || \Request::is('province/*')) active @endif">Provinces</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('district.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('district.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('district') || \Request::is('district/*')) active @endif">Districts</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('municipality.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('municipality.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('municipality') || \Request::is('municipality/*')) active @endif">Municipalities</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
@can('dropdown.index')
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ route('dropdown.index') }}"
|
|
|
|
class="nav-link @if (\Request::is('dropdown') || \Request::is('dropdown/*')) active @endif">Dropdown</a>
|
|
|
|
</li>
|
|
|
|
@endcan
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<!--- Master End-->
|
|
|
|
@endrole
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- Sidebar -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="sidebar-background"></div>
|
|
|
|
</div>
|