<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

    <!-- Sidebar - Brand -->
    <a class="sidebar-brand d-flex align-items-center justify-content-center" href="#">
        <div class="sidebar-brand-icon rotate-n-15">
            <img src="{{ asset('img/logo-sm.png') }}" alt="Indus Pro Logo">
        </div>
        <div class="sidebar-brand-text mx-3">Indus Pro 360</div>
    </a>

    <hr class="sidebar-divider my-0">

    <!-- Dashboard -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseDashboard"
            aria-expanded="false" aria-controls="collapseDashboard">
            <i class="fas fa-fw fa-tachometer-alt"></i>
            <span>Dashboard</span>
        </a>
        <div id="collapseDashboard" class="collapse" aria-labelledby="headingDashboard" data-parent="#accordionSidebar">
            <div class="bg-light py-2 collapse-inner rounded">
                <h6 class="collapse-header">Dashboard</h6>
                <a class="collapse-item" href={{ route('admin.dashboard.dashboard') }}>Dashboard</a>
                <a class="collapse-item" href={{ route('admin.dashboard.employeedashboard') }}>Employee Dashboard</a>
                <a class="collapse-item" href={{ route('admin.dashboard.machinedashboard') }}>Machine Dashboard</a>
                <a class="collapse-item" href={{ route('admin.dashboard.stockdashboard') }}>Stock Dashboard</a>
                <a class="collapse-item" href={{ route('admin.dashboard.accountdashboard') }}>Account Dashboard</a>
                <a class="collapse-item" href={{ route('admin.dashboard.manufacturingdashboard') }}>Manufacturing Dashboard</a>
            </div>
        </div>
    </li>

    <hr class="sidebar-divider">

    <!-- Master Management -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseMaster"
            aria-expanded="false" aria-controls="collapseMaster">
            <i class="fas fa-fw fa-users"></i>
            <span>Master</span>
        </a>
        <div id="collapseMaster" class="collapse" aria-labelledby="headingMaster" data-parent="#accordionSidebar">
            <div class="bg-light py-2 collapse-inner rounded">
                <h6 class="collapse-header">Manage Data</h6>
                <a class="collapse-item" href="{{ route('admin.companytype.index') }}">Company Types</a>
                <a class="collapse-item" href="{{ route('admin.accounttype.index') }}">Account Types</a>
                <a class="collapse-item" href="{{ route('admin.rfqtype.index') }}">RFQ Types</a>
                <a class="collapse-item" href="{{ route('admin.producttype.index') }}">Product Type</a>
                <a class="collapse-item" href="{{ route('admin.rawmaterial.index') }}">Raw Materials</a>
                <a class="collapse-item" href="{{ route('admin.conversionprocess.index') }}">Conversion Costs</a>
                <a class="collapse-item" href="{{ route('admin.process.index') }}">Production Processes</a>
                <a class="collapse-item" href="{{ route('admin.stockitems.index') }}">Stock Items</a>
            </div>
        </div>
    </li>

    <hr class="sidebar-divider">
    
    <!-- Accounts Management -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseAccounts"
            aria-expanded="false" aria-controls="collapseAccounts">
            <i class="fas fa-fw fa-calculator"></i>
            <span>Accounts Management</span>
        </a>
        <div id="collapseAccounts" class="collapse" aria-labelledby="headingAccounts" data-parent="#accordionSidebar">
            <div class="bg-light py-2 collapse-inner rounded">
                <h6 class="collapse-header">Payables & Receivables</h6>
                <a class="collapse-item" href="{{ route('admin.accounts.payable.index') }}">Accounts Payable</a>
                <a class="collapse-item" href="{{ route('admin.accounts.receivable.index') }}">Accounts Receivable</a>
                <h6 class="collapse-header">Financial Reports</h6>
                <a class="collapse-item" href="{{ route('admin.accounts.reports.balance-sheet') }}">Balance Sheet</a>
                <a class="collapse-item" href="{{ route('admin.accounts.reports.profit-loss') }}">Profit & Loss</a>
                <a class="collapse-item" href="{{ route('admin.accounts.reports.cash-flow') }}">Cash Flow</a>
            </div>
        </div>
    </li>

    <hr class="sidebar-divider">

    <!-- CRM -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseCRM"
            aria-expanded="false" aria-controls="collapseCRM">
            <i class="fas fa-fw fa-folder"></i>
            <span>CRM</span>
        </a>
        <div id="collapseCRM" class="collapse" aria-labelledby="headingCRM" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Customer Relationship Management</h6>
                <a class="collapse-item" href="{{ route('admin.customer.addcustomer') }}">Customer/Vendor Registration</a>
                <a class="collapse-item" href="{{ route('admin.customer.customerlist') }}">Customer/Vendor Management</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- BOM -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseBOM"
            aria-expanded="false" aria-controls="collapseBOM">
            <i class="fas fa-fw fa-cog"></i>
            <span>BOM</span>
        </a>
        <div id="collapseBOM" class="collapse" aria-labelledby="headingBOM" data-parent="#accordionSidebar">
            <div class="bg-light py-2 collapse-inner rounded">
                <h6 class="collapse-header">Bill of Material</h6>
                <a class="collapse-item" href="{{ route('admin.rfq.rfq') }}">Request For Quotation</a>
                <a class="collapse-item" href="{{ route('admin.rfq.rfqdetails') }}">RFQ Data Management</a>
                <a class="collapse-item" href="{{ route('admin.quotation.quotationorder') }}">Quotation</a>
                <a class="collapse-item" href="{{ route('admin.quotation.quotationdetails') }}">Quotation Data Management</a>
                <a class="collapse-item" href="{{ route('admin.invoice.invoiceorder') }}">Tax Invoice Form</a>
                <a class="collapse-item" href="{{ route('admin.invoice.invoicedetails') }}">Tax Invoice Data Management</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- Sales -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseSales"
            aria-expanded="false" aria-controls="collapseSales">
            <i class="fas fa-fw fa-folder"></i>
            <span>Sales</span>
        </a>
        <div id="collapseSales" class="collapse" aria-labelledby="headingSales" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Sales</h6>
                <a class="collapse-item" href="{{ route('admin.sales.salesorder') }}">Sales Order</a>
                <a class="collapse-item" href="{{ route('admin.sales.salesdetails') }}">Sales Data Management</a>
                <a class="collapse-item" href="{{ route('admin.purchase.purchaseorder') }}">Purchase Order</a>
                <a class="collapse-item" href="{{ route('admin.purchase.purchasedetails') }}">Purchase Data Management</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- Operation -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseOperation"
            aria-expanded="false" aria-controls="collapseOperation">
            <i class="fas fa-fw fa-folder"></i>
            <span>Operation</span>
        </a>
        <div id="collapseOperation" class="collapse" aria-labelledby="headingOperation" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Operation</h6>
                <a class="collapse-item" href="{{ route('admin.grn.grnorder') }}">Goods Received Note</a>
                <a class="collapse-item" href="{{ route('admin.grn.grndetails') }}">GRN Data Management</a>
                <a class="collapse-item" href="{{ route('admin.routecard.routecardorder') }}">Route Card</a>
                <a class="collapse-item" href="{{ route('admin.routecard.routecarddetails') }}">Route Card Data Management</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- Planning -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePlanning"
            aria-expanded="false" aria-controls="collapsePlanning">
            <i class="fas fa-fw fa-folder"></i>
            <span>Manufacturing Process</span>
        </a>
        <div id="collapsePlanning" class="collapse" aria-labelledby="headingPlanning" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Manufacturing</h6>
                <a class="collapse-item" href="{{ route('admin.manufacturing.planning') }}">Manufacturing Planning</a>
                <a class="collapse-item" href="{{ url('admin/ready-to-production') }}">Ready For Production</a>
                <a class="collapse-item" href="{{ url('admin/manufacturing/production/in-progress') }}">Production Management</a>
                <a class="collapse-item" href="{{ url('admin/quality/qc-management') }}">Quality Control</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">
    
    <!-- SKU and Machines -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseskumachines"
            aria-expanded="false" aria-controls="collapseskumachines">
            <i class="fas fa-fw fa-folder"></i>
            <span>SKU & Machines</span>
        </a>
        <div id="collapseskumachines" class="collapse" aria-labelledby="headingOperation" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Stock Keeping Unit And Machines</h6>
                <a class="collapse-item" href="{{ route('admin.sku.skumaster') }}">SKU Master</a>
                <a class="collapse-item" href="{{ url('admin/skuapprovals') }}">SKU Approvals</a>
                <a class="collapse-item" href="{{ route('admin.sku.skumovement') }}">SKU Movement</a>
                <a class="collapse-item" href="{{ route('admin.machine.addmachine') }}">Add Machine</a>
                <a class="collapse-item" href="{{ route('admin.machine.machinedetails') }}">Machine Data Management</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- HRM -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseHRM"
            aria-expanded="false" aria-controls="collapseHRM">
            <i class="fas fa-fw fa-wrench"></i>
            <span>HRM</span>
        </a>
        <div id="collapseHRM" class="collapse" aria-labelledby="headingHRM" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Human Resource Management</h6>
                <a class="collapse-item" href="{{ route('admin.employee.employeedetails') }}">Employee Details</a>
                <a class="collapse-item" href="{{ url('admin/employeeleave') }}">Employee Leave</a>
                <a class="collapse-item" href="{{ url('admin/employeeattendance') }}">Attendance</a>
                <a class="collapse-item" href="{{ url('admin/employeedailyreports') }}">Daily Report</a>
                <a class="collapse-item" href="{{ url('admin/employeedailyreports/calendarview') }}">Calendar View</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- All Reports -->
    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseReports"
            aria-expanded="false" aria-controls="collapseReports">
            <i class="fas fa-fw fa-folder"></i>
            <span>All Reports</span>
        </a>
        <div id="collapseReports" class="collapse" aria-labelledby="headingReports" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Reports</h6>
                <a class="collapse-item" href="#">Employee Report</a>
                <a class="collapse-item" href="#">Machine Report</a>
                <a class="collapse-item" href="#">Inventory Report</a>
                <a class="collapse-item" href="#">Customer Report</a>
                <a class="collapse-item" href="#">Bill Report</a>
            </div>
        </div>
    </li>
    <hr class="sidebar-divider">

    <!-- Sidebar Toggler -->
    <div class="text-center d-none d-md-inline">
        <button class="rounded-circle border-0" id="sidebarToggle"></button>
    </div>
</ul>
