566 lines
23 KiB
PHP
566 lines
23 KiB
PHP
<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>
|
|
|
|
@role('admin')
|
|
<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>
|
|
@endrole
|
|
|
|
|
|
|
|
@can('employee.index')
|
|
<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>
|
|
@endcan
|
|
|
|
<!--- HR Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuHr" data-bs-toggle="collapse" role="button" aria-expanded="false"
|
|
aria-controls="MenuHr">
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-hrs">HR</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuHr">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('department.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('department.index') }}"
|
|
class="nav-link @if (\Request::is('department') || \Request::is('department/*')) active @endif">Departments</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('designation.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('designation.index') }}"
|
|
class="nav-link @if (\Request::is('desgination') || \Request::is('desgination/*')) active @endif">Designations</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('promotionDemotion.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('promotionDemotion.index') }}"
|
|
class="nav-link @if (\Request::is('promotion-demotion') || \Request::is('promotion-demotion/*')) active @endif">Promotion/ Demotions</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('appreciation.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('appreciation.index') }}"
|
|
class="nav-link @if (\Request::is('appreciation') || \Request::is('appreciation/*')) active @endif">Appreciations</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('complaint.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('complaint.index') }}"
|
|
class="nav-link @if (\Request::is('complaint') || \Request::is('complaint/*')) active @endif">Complaints</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('resignation.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('resignation.index') }}"
|
|
class="nav-link @if (\Request::is('resignation') || \Request::is('resignation/*')) active @endif">Resignations</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('transfer.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('transfer.index') }}"
|
|
class="nav-link @if (\Request::is('transfer') || \Request::is('transfer/*')) active @endif">Transfers</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('warning.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('warning.index') }}"
|
|
class="nav-link @if (\Request::is('warning') || \Request::is('warning/*')) active @endif">Warnings</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('workShift.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('workShift.index') }}"
|
|
class="nav-link @if (\Request::is('work-shift') || \Request::is('work-shift/*')) active @endif">Shifts</a>
|
|
</li>
|
|
@endcan
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- HR End-->
|
|
|
|
@can('attendance.index')
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuAttendance" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuAttendance">
|
|
<i class="ri-profile-line"></i> <span data-key="t-attendances">Attendance</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuAttendance">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('attendance.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('attendance.index') }}"
|
|
class="nav-link @if (\Request::is('attendance') || \Request::is('attendance/*')) active @endif">Attendance</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('attendanceReport.monthly')
|
|
<li class="nav-item">
|
|
<a href="{{ route('attendanceReport.monthly') }}"
|
|
class="nav-link @if (\Request::is('attendanceReport') || \Request::is('attendanceReport/*')) active @endif">Monthly</a>
|
|
</li>
|
|
@endcan
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('leave.index')
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#leave" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="leave">
|
|
<i class="ri-shopping-cart-2-line"></i> <span data-key="t-vendors">Leave</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="leave">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('leaveType.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('leaveType.index') }}"
|
|
class="nav-link @if (\Request::is('leavetype') || \Request::is('leavetype/*')) active @endif">Leave Type</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('leave.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('leave.index') }}"
|
|
class="nav-link @if (\Request::is('leave') || \Request::is('leave/*')) active @endif">Apply Leave</a>
|
|
</li>
|
|
@endcan
|
|
|
|
<li class="nav-item">
|
|
<a href="" class="nav-link @if (\Request::is('leaveReport') || \Request::is('leaveReport/*')) active @endif">Leave Report</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
@endcan
|
|
|
|
<!--- Generator Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuEvents" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuEvents">
|
|
<i class="ri-calendar-2-line"></i> <span data-key="t-office">Event & Holidays</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuEvents">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('event.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('event.index') }}"
|
|
class="nav-link @if (\Request::is('event') || \Request::is('event/*')) active @endif">Events</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('holiday.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('holiday.index') }}"
|
|
class="nav-link @if (\Request::is('holiday') || \Request::is('holiday/*')) active @endif">Holiday</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('meeting.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('meeting.index') }}"
|
|
class="nav-link @if (\Request::is('meeting') || \Request::is('meeting/*')) active @endif">Meeting</a>
|
|
</li>
|
|
@endcan
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- Generator End-->
|
|
|
|
@can('calendar.index')
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link @if (\Request::is('calendar') || \Request::is('calendar/*')) active @endif"
|
|
href="{{ route('calendar.index') }}">
|
|
<i class="ri-calendar-line"></i> <span data-key="t-widgets">Calendar</span>
|
|
</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can(['client.index', 'project.index'])
|
|
<!--- PMS Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link {{ \Request::is('client') || \Request::is('project') || \Request::is('task') ? 'active' : '' }}"
|
|
href="#PMS" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="PMS">
|
|
<i class="ri-calendar-todo-fill"></i> <span data-key="t-vendors">PMS</span>
|
|
</a>
|
|
<div
|
|
class="menu-dropdown {{ \Request::is('client') || \Request::is('project') || \Request::is('task') ? 'show' : '' }} collapse"
|
|
id="PMS">
|
|
<ul class="nav nav-sm flex-column">
|
|
@can('client.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('client.index') }}"
|
|
class="nav-link @if (\Request::is('client') || \Request::is('client/*')) active @endif">Client</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('project.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('project.index') }}"
|
|
class="nav-link @if (\Request::is('project') || \Request::is('project/*')) active @endif">Projects</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('task.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('task.index') }}"
|
|
class="nav-link @if (\Request::is('task') || \Request::is('task/*')) active @endif">Tasks</a>
|
|
</li>
|
|
@endcan
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('ticket.index') }}"
|
|
class="nav-link @if (\Request::is('ticket') || \Request::is('ticket/*')) active @endif">Ticket</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- PMS End-->
|
|
@endcan
|
|
|
|
|
|
|
|
@role('admin')
|
|
<!--- Recruit Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuRecruit" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuRecruit">
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-recruits">Recruit</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuRecruit">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('jobPost.index') }}"
|
|
class="nav-link @if (\Request::is('job-post') || \Request::is('job-post/*')) active @endif">Job Posts</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('jobApplication.index') }}"
|
|
class="nav-link @if (\Request::is('job-application') || \Request::is('job-application/*')) active @endif">Job Applications</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('interviewSchedule.index') }}"
|
|
class="nav-link @if (\Request::is('interview-schedule') || \Request::is('interview-schedule/*')) active @endif">Interview Schedules</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('offerLetter.index') }}"
|
|
class="nav-link @if (\Request::is('offer-letter') || \Request::is('offer-letter/*')) active @endif">Offer Letters</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- Recruit End-->
|
|
@endrole
|
|
|
|
@can(['asset.index'])
|
|
|
|
<!--- 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-->
|
|
@endcan
|
|
|
|
@can(['payment.index'])
|
|
<!--- Payment Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuPayrolls" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuPayrolls">
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-payrolls">Payrolls</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuPayrolls">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('payment.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('payment.index') }}"
|
|
class="nav-link @if (\Request::is('payment') || \Request::is('payment/*')) active @endif">Payments</a>
|
|
</li>
|
|
@endcan
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- Payment End-->
|
|
@endcan
|
|
|
|
@role('admin')
|
|
<!--- Generator Start-->
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuOffices" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuOffices">
|
|
<i class="ri-dashboard-2-line"></i> <span data-key="t-office">Office Management</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuOffices">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
@can('generator.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('generator.index') }}"
|
|
class="nav-link @if (\Request::is('generator') || \Request::is('generator/*')) active @endif">Generators</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('generatorLogBook.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('generatorLogBook.index') }}"
|
|
class="nav-link @if (\Request::is('generator-log-book') || \Request::is('generator-log-book/*')) active @endif">Generator LogBook</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('contract.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('contract.index') }}"
|
|
class="nav-link @if (\Request::is('contract') || \Request::is('contract/*')) active @endif">Contract</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('deposit.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('deposit.index') }}"
|
|
class="nav-link @if (\Request::is('deposit') || \Request::is('deposit/*')) active @endif">Deposit</a>
|
|
</li>
|
|
@endcan
|
|
|
|
@can('purchaseService.index')
|
|
<li class="nav-item">
|
|
<a href="{{ route('purchaseService.index') }}"
|
|
class="nav-link @if (\Request::is('purchase-service') || \Request::is('purchase-service/*')) active @endif">Purchased Services</a>
|
|
</li>
|
|
@endcan
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<!--- Generator End-->
|
|
@endrole
|
|
|
|
{{-- <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>
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuTwo" data-bs-toggle="collapse" role="button" aria-expanded="false"
|
|
aria-controls="MenuTwo">
|
|
<i class="ri-shopping-cart-2-line"></i> <span data-key="t-vendors">Vendor Setup</span>
|
|
</a>
|
|
<div class="menu-dropdown collapse" id="MenuTwo">
|
|
<ul class="nav nav-sm flex-column">
|
|
|
|
|
|
<li class="nav-item">
|
|
<a href="{{ route('vendors.index') }}"
|
|
class="nav-link @if (\Request::is('vendors') || \Request::is('vendors/*')) active @endif">Vendor</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li> --}}
|
|
|
|
{{-- <li class="nav-item">
|
|
<a href="#" class="nav-link"> <i class="ri-settings-2-line"></i>Setting</a>
|
|
</li> --}}
|
|
|
|
@role('admin')
|
|
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Setting</span></li>
|
|
<li class="nav-item">
|
|
<a class="nav-link menu-link" href="#MenuUser" data-bs-toggle="collapse" role="button"
|
|
aria-expanded="false" aria-controls="MenuUser">
|
|
<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>
|