<div class="dlabnav">
            <div class="dlabnav-scroll">

                <?php if($this->session->userdata('role')==1){ ?>
                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">H.R</span>
                        </a>
                        <ul aria-expanded="false">

                             <li><a href="<?php echo base_url('admin/empolyee'); ?>">Employees</a></li>
                            <li><a href="<?php echo base_url('admin/today_attendance'); ?>">Today Attendance</a></li>
                            <li><a href="<?php echo base_url('admin/attendance_view'); ?>">TAP IN / OUT</a></li>
                             <li><a href="<?php echo base_url('admin/get_empolyee_data'); ?>">Daily Work Sheet</a></li>
                            <li><a href="<?php echo base_url('admin/work_sheet_report'); ?>">Daily Work Sheet Report</a></li>
                             <li><a href="<?php echo base_url('admin/attendance_report'); ?>">Attendance PayRoll</a></li>
                             <li><a href="<?php echo base_url('admin/department'); ?>">Departments</a></li>
                        </ul>
                    </li>

                        <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Machine</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('admin/machine'); ?>">Machines</a></li>
                              <li><a href="<?php echo base_url('admin/other_machine'); ?>">Other Machines</a></li>
                             <li><a href="<?php echo base_url('admin/daily_machine_report_data'); ?>">Daily Machine Entry</a></li>
                            <li><a href="<?php echo base_url('admin/filter_report'); ?>">Daily Machine Report</a></li>
                        </ul>
                    </li>
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">System</span>
                        </a>
                        <ul aria-expanded="false">
                          <!--   <li><a href="<?php echo base_url('admin/add_expense'); ?>">Add Expense</a></li> -->
                             <li><a href="<?php echo base_url('admin/banks'); ?>">Banks</a></li>
                            <li><a href="<?php echo base_url('admin/company'); ?>">Parties</a></li>
                            <li><a href="<?php echo base_url('admin/vendors'); ?>">Vendors</a></li>
                            <li><a href="<?php echo base_url('admin/mold'); ?>">Moulds</a></li>
                            <li><a href="<?php echo base_url('admin/fg_rates'); ?>">FG Rates</a></li>
                            <li><a href="<?php echo base_url('admin/po_rates'); ?>">P.O Rates</a></li>
                            <li><a href="<?php echo base_url('admin/add_description'); ?>">Add Description</a></li>
                             <li><a href="<?php echo base_url('purchase_order/material_request'); ?>">Materials Request</a></li>
                             <li><a href="<?php echo base_url('admin/fg_set'); ?>">FG Set </a></li>
                             <li><a href="<?php echo base_url('stock/assembled_line_area'); ?>">Assembled Line</a></li>
                            </ul>
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-dollar"></i>
                            <span class="nav-text">Accounts</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('Sales_order/create_bills'); ?>">Create Bills Official</a></li>
                            <li><a href="<?php echo base_url('Sales_order/un_create_bills'); ?>">Create Bills Un Official</a></li>
                            <li><a href="<?php echo base_url('Sales_order/create_sales_tax'); ?>">Create Sales Tax</a></li>
                            <li><a href="<?php echo base_url('Sales_order/complete_bills_reports'); ?>">Bills Report</a></li>
                            <li><a href="<?php echo base_url('Sales_order/billing'); ?>">Billing</a></li>
                            <li><a href="<?php echo base_url('Sales_order/billing_report'); ?>">Billing Report</a></li>
                            <li><a href="<?php echo base_url('Sales_order/banking'); ?>">Banking</a></li>
                      
                        </ul>
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Master List</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('masterlist/products'); ?>">Products</a></li>
                          
                            <li><a href="<?php echo base_url('masterlist/material'); ?>">Material</a></li>

                            <li><a href="<?php echo base_url('masterlist/boms'); ?>">BOMs</a></li> 

                            
                           
                        </ul>
                    </li>

                      <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-dollar"></i>
                            <span class="nav-text">Sales Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('Sales_order/all_sales_order'); ?>">Add Sales Order</a></li>

                             <li><a href="<?php echo base_url('Sales_order/so_delivery_challan'); ?>">SO Delivery Challan</a></li>
                             <li><a href="<?php echo base_url('Sales_order/all_delivery_challan'); ?>">All Delivery Challan</a></li>
                              <li><a href="<?php echo base_url('Sales_order/company_dc'); ?>">Company DC</a></li>
                             <li><a href="<?php echo base_url('Sales_order/reporting_delivery_challan'); ?>">Reporting</a></li>
                             <li><a href="<?php echo base_url('Sales_order/sales_evaluation'); ?>">Sales Evaluation</a></li> 
                           
                        </ul>
                    </li>
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Purchase Order</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('purchase_order/purchase_order_all'); ?>">Purchase Order(P.O)</a></li>
                              <li><a href="<?php echo base_url('purchase_order/all_po_challan'); ?>">(P.O) Recevied</a></li>
                        </ul>
                    </li>

                    <!-- <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Store Orders</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php //echo base_url('Order_qc/pending_orders'); ?>">Orders</a></li>

                           <li><a href="<?php //echo base_url('Stock/active_stock'); ?>">Active Stock</a></li>
                           
                        </ul>
                    </li> -->
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Production Line</span>
                        </a>
                        <ul aria-expanded="false">

                          <li><a href="<?php echo base_url('Requisition/production_plan'); ?>">Production Plan</a></li>
                          
                            <li><a href="<?php echo base_url('Requisition/mould_department'); ?>">Mould Department</a></li> 

                           <li><a href="<?php echo base_url('Requisition/machine_department'); ?>">Machine Department</a></li> 
                           <li><a href="<?php echo base_url('Requisition/machine_config'); ?>">Machine Configuration</a></li> 
                           <li><a href="<?php echo base_url('Requisition/line_clerence'); ?>">Line Clerence </a></li> 

                           <!-- <li><a href="<?php echo base_url('Stock/printing_line'); ?>">Printing Line</a></li> 
                            -->
                            <li><a href="<?php echo base_url('Stock/assembled_line'); ?>">Assembled Line</a></li>
                          <li><a href="<?php echo base_url('Stock/sealing_line'); ?>">Sealed Line</a></li>
                           <li><a href="<?php echo base_url('Stock/printing_line'); ?>">Printing Line</a></li> 
                           <li><a href="<?php echo base_url('Stock/packing_fg_line'); ?>">Packing Line FG</a></li> 

                          <!--  <li><a href="<?php echo base_url('Requisition/compound_production_department'); ?>">Compound Production Department</a></li>  -->

                          <!--  <li><a href="<?php echo base_url('Requisition/mould_department'); ?>">QC Department</a></li> --> 
                           
                        </ul>
                    </li>
                   
                     <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Stock Details</span>
                        </a>
                        <ul aria-expanded="false">
                          
                        <li><a href="<?php echo base_url('Stock/batch_release'); ?>">Batch Release</a></li>
                            <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                              <li><a href="<?php echo base_url('Stock/stock_report'); ?>">All Stock Report</a></li>
                             <li><a href="<?php echo base_url('Stock/update_stock'); ?>">Update Stock</a></li>

                             <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                        </ul>
                    </li>
                 
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">QC Department</span>
                        </a>
                        <ul aria-expanded="false">
                          
                           <li><a href="<?php echo base_url('Order_qc/add_qc_machine'); ?>">QC Machine</a></li>

                            <li><a href="<?php echo base_url('Requisition/product_inspection'); ?>">Product Inspection</a></li> 

                          <li><a href="<?php echo base_url('Order_qc/dc_qc_check_list'); ?>">DC QC</a></li>

                            <li><a href="<?php echo base_url('Order_qc/qc_production_on_machine'); ?>">Production QC Machine</a></li>

                             <!-- <li><a href="<?php echo base_url('Stock/raw_material_mixing'); ?>">Raw Material Mixing</a></li> -->

    
                           
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Printing Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/printing_line_machine'); ?>">Machines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_printing_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Assembled Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/assign_assemble_line_area'); ?>">Lines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_assembled_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Sealing Line</span>
                        </a>
                        <ul aria-expanded="false">
                        <li><a href="<?php echo base_url('stock/sealed_line_machine'); ?>">Machines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_sealed_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Packing Line</span>
                        </a>
                        <ul aria-expanded="false">
                        <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                             <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                             <li><a href="<?php echo base_url('Stock/packing_batch'); ?>">Batch</a></li>
                        </ul>
                    </li>
                  
                  

                     <!-- <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Stock</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                           
							</ul>
                    </li> -->
                    

                   <!--  <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Production Plan</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('Requisition/production_plan'); ?>">Production Plan</a></li>

                             <li><a href="<?php echo base_url('Requisition/active_production'); ?>">Active Production</a></li>
                            
                           
                        </ul> 
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-calendar"></i>
                            <span class="nav-text">Requisition</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('Requisition/all_requisition'); ?>">Requisition</a></li>
                             <li><a href="<?php echo base_url('Requisition/moldingline'); ?>">Molding Line</a></li>
                            <li><a href="<?php echo base_url('Requisition/printingline'); ?>">Printing Line</a></li>
                            <li><a href="<?php echo base_url('Requisition/assemblingline'); ?>">Assembling Line</a></li>
                            <li><a href="<?php echo base_url('Requisition/sealingline'); ?>">Sealing Line</a></li>
                            <li><a href="<?php echo base_url('Requisition/packingline'); ?>">Packing Line</a></li>
                        </ul> 
                    </li> -->
                   
                </ul>

            <?php }else if($this->session->userdata('role')==2){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">System</span>
                        </a>
                        <ul aria-expanded="false">
                            
                            <li><a href="<?php echo base_url('admin/machine'); ?>">Machines</a></li>
                            
                      
                            <li><a href="<?php echo base_url('admin/mold'); ?>">Moulds</a></li>
                            
                          <li><a href="<?php echo base_url('admin/daily_machine_report_data'); ?>">Daily Machine Entry</a></li>
                             <li><a href="<?php echo base_url('admin/filter_report'); ?>">Daily Machine Report</a></li>
                        </ul>
                    </li>
                    
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Production Plan</span>
                        </a>
                        <ul aria-expanded="false">
                            
                             <li><a href="<?php echo base_url('Requisition/user_production'); ?>">Production</a></li>
                             <li><a href="<?php echo base_url('Stock/batch_release'); ?>">Batch Release</a></li>
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Master List</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('masterlist/products'); ?>">Products</a></li>
                          
                            <li><a href="<?php echo base_url('masterlist/material'); ?>">Material</a></li>

                          <!--   <li><a href="<?php echo base_url('masterlist/boms'); ?>">BOMs</a></li> -->

                            <li><a href="<?php echo base_url('Requisition/production_plan'); ?>">Production Plan</a></li>
                           
                        </ul>
                    </li>

                  
                     <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Stock Details</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          <li><a href="<?php echo base_url('purchase_order/all_po_challan'); ?>">(P.O) Recevied</a></li>
                          
                            <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                              <li><a href="<?php echo base_url('Stock/stock_report'); ?>">Stock Report</a></li>
                            <li><a href="<?php echo base_url('Stock/update_stock'); ?>">Update Stock</a></li>
                            <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                        </ul>
                    </li>
                 
                   
                </ul>


            <?php }else if($this->session->userdata('role')==3){ ?>

                 <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                     <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">System</span>
                        </a>
                        <ul aria-expanded="false">
                             <li><a href="<?php echo base_url('admin/banks'); ?>">Banks</a></li>
                            <!--<li><a href="<?php echo base_url('admin/fg_rates'); ?>">FG Rates</a></li>-->
                            <!--<li><a href="<?php echo base_url('admin/po_rates'); ?>">P.O Rates</a></li>-->
                            <!--<li><a href="<?php echo base_url('admin/add_description'); ?>">Add Description</a></li>-->
                        </ul>
                    </li>
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                        <i class="la la-dollar"></i>
                        <span class="nav-text">Accounts</span>
                    </a>
                    <ul aria-expanded="false">
                        <li><a href="<?php echo base_url('Sales_order/create_bills'); ?>">Create Bills</a></li>
                        <li><a href="<?php echo base_url('Sales_order/create_sales_tax'); ?>">Create Sales Tax</a></li>
                        <li><a href="<?php echo base_url('Sales_order/complete_bills_reports'); ?>">Bills Report</a></li>
                        <li><a href="<?php echo base_url('Sales_order/billing'); ?>">Billing</a></li>
                        <li><a href="<?php echo base_url('Sales_order/billing_report'); ?>">Billing Report</a></li>
                        <li><a href="<?php echo base_url('Sales_order/banking'); ?>">Banking</a></li>
                    
                    </ul>
                    </li>
                        <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Purchase Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                            <li><a href="<?php echo base_url('admin/po_rates'); ?>">P.O Rates</a></li>
                            <li><a href="<?php echo base_url('purchase_order/purchase_order_all'); ?>">Purchase Order(Material)</a></li>
                             <li><a href="<?php echo base_url('purchase_order/material_request'); ?>">Materials Request</a></li>
                        </ul>
                    </li>

                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-dollar"></i>
                            <span class="nav-text">Sales Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('Sales_order/all_sales_order'); ?>">Add Sales Order</a></li>

                             <li><a href="<?php echo base_url('Sales_order/so_delivery_challan'); ?>">SO Delivery Challan</a></li>
                                <li><a href="<?php echo base_url('Sales_order/all_delivery_challan'); ?>">All Delivery Challan</a></li>
                           <li><a href="<?php echo base_url('Sales_order/company_dc'); ?>">Company DC</a></li>
                           
                        </ul>
                    </li>
                 
                   
                </ul>



            <?php }else  if($this->session->userdata('role')==4){ ?>
            
            
            <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">System</span>
                        </a>
                        <ul aria-expanded="false">
                            
                            <li><a href="<?php echo base_url('admin/machine'); ?>">Machines</a></li>
                           
                            <li><a href="<?php echo base_url('admin/daily_machine_report_data'); ?>">Daily Machine Entry</a></li>
                             <li><a href="<?php echo base_url('admin/filter_report'); ?>">Daily Machine Report</a></li>
                               
                    
                           


                            <li><a href="#">System Users</a></li>
                            <li><a href="<?php echo base_url('admin/company'); ?>">Parties</a></li>
                           
                            <li><a href="<?php echo base_url('admin/vendors'); ?>">Vendors</a></li>
                      
                            <li><a href="<?php echo base_url('admin/mold'); ?>">Moulds</a></li>
                            
                           
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Master List</span>
                        </a>
                        <ul aria-expanded="false">
                            <li><a href="<?php echo base_url('masterlist/products'); ?>">Products</a></li>
                          
                            <li><a href="<?php echo base_url('masterlist/material'); ?>">Material</a></li>

                          <!--   <li><a href="<?php echo base_url('masterlist/boms'); ?>">BOMs</a></li> -->

                            
                           
                        </ul>
                    </li>

                      <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-dollar"></i>
                            <span class="nav-text">Sales Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('Sales_order/all_sales_order'); ?>">Add Sales Order</a></li>

                             <li><a href="<?php echo base_url('Sales_order/so_delivery_challan'); ?>">SO Delivery Challan</a></li>
                                <li><a href="<?php echo base_url('Sales_order/all_delivery_challan'); ?>">All Delivery Challan</a></li>
                           <li><a href="<?php echo base_url('Sales_order/company_dc'); ?>">Company DC</a></li>
                           
                        </ul>
                    </li>


             <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Purchase Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('purchase_order/purchase_order_all_view'); ?>">Purchase Order(P.O)</a></li>

                             <li><a href="<?php echo base_url('admin/po_rates'); ?>">P.O Rates</a></li>
                           
                        </ul>
                    </li>
                 

                 
                   
                     <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Stock Details</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                           
                            <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                            
                              <li><a href="<?php echo base_url('Stock/stock_report'); ?>">Stock Report</a></li>
                             <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                        </ul>
                    </li>
                 
                   
                  
                  

                  
                   
                </ul>



            <?php }else if($this->session->userdata('role')==6){ ?>

                 <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>

                 <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">H.R</span>
                        </a>
                        <ul aria-expanded="false">

                             <li><a href="<?php echo base_url('admin/empolyee'); ?>">Employees</a></li>
                            <li><a href="<?php echo base_url('admin/today_attendance'); ?>">Today Attendance</a></li>
                            <li><a href="<?php echo base_url('admin/attendance_view'); ?>">TAP IN / OUT</a></li>
                             <li><a href="<?php echo base_url('admin/get_empolyee_data'); ?>">Daily Work Sheet</a></li>
                            <li><a href="<?php echo base_url('admin/work_sheet_report'); ?>">Daily Work Sheet Report</a></li>
                             <li><a href="<?php echo base_url('admin/attendance_report'); ?>">Attendance PayRoll</a></li>
                             <li><a href="<?php echo base_url('admin/department'); ?>">Departments</a></li>
                        </ul>
                    </li>

                  
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">System</span>
                        </a>
                        <ul aria-expanded="false">
                            
                            <li><a href="<?php echo base_url('admin/machine'); ?>">Machines</a></li>
                           
                            <li><a href="<?php echo base_url('admin/daily_machine_report_data'); ?>">Daily Machine Entry</a></li>
                             <li><a href="<?php echo base_url('admin/filter_report'); ?>">Daily Machine Report</a></li>
                               
                    
                           


                            
                           
                        </ul>
                    </li>


                    

                      <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-dollar"></i>
                            <span class="nav-text">Sales Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          <!--
                            <li><a href="<?php echo base_url('Sales_order/all_sales_order'); ?>">Add Sales Order</a></li>-->

                             <li><a href="<?php echo base_url('Sales_order/so_delivery_challan'); ?>">SO Delivery Challan</a></li>
                                <li><a href="<?php echo base_url('Sales_order/all_delivery_challan'); ?>">All Delivery Challan</a></li>
                                <li><a href="<?php echo base_url('Sales_order/company_dc'); ?>">Company DC</a></li>
                           <!--  <li><a href="<?php echo base_url('Sales_order/sales_evaluation'); ?>">Sales Evaluation</a></li> -->
                           
                        </ul>
                    </li>


             <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Purchase Order</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('purchase_order/purchase_order_all_view'); ?>">Purchase Order(P.O)</a></li>

                             <li><a href="<?php echo base_url('admin/po_rates'); ?>">P.O Rates</a></li>
                           
                        </ul>
                    </li>
                 

                 
                   
                     <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Stock Details</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                           
                            <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                            
                              <li><a href="<?php echo base_url('Stock/stock_report'); ?>">Stock Report</a></li>
                             <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                        </ul>
                    </li>
                 
                </ul>





                <?php }else  if($this->session->userdata('role')==5){ ?>
            
            
             <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                        
                        
                        <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Production Line</span>
                        </a>
                        <ul aria-expanded="false">

                         
                          
                              <li><a href="<?php echo base_url('Requisition/mould_department'); ?>">Mould Department</a></li> 

                           <li><a href="<?php echo base_url('Requisition/machine_department'); ?>">Machine Department</a></li> 
                            <li><a href="<?php echo base_url('Requisition/line_clerence'); ?>">Line Clerence </a></li> 
                                <li><a href="<?php echo base_url('Requisition/machine_config'); ?>">Machine Configuration</a></li> 
                        
                           
                        </ul>
                    </li>
                    
                     
                    
              
                  <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">QC Department</span>
                        </a>
                        <ul aria-expanded="false">
                          
                           <!--<li><a href="<?php echo base_url('Order_qc/add_qc_machine'); ?>">QC Machine</a></li>

                            <li><a href="<?php echo base_url('Requisition/product_inspection'); ?>">Product Inspection</a></li> 

                          <li><a href="<?php echo base_url('Order_qc/dc_qc_check_list'); ?>">DC QC</a></li>-->

                            <li><a href="<?php echo base_url('Order_qc/qc_production_on_machine'); ?>">Production QC Machine</a></li>


                     

    
                           
                        </ul>
                    </li>

                  
                   
                </ul>
    
                 
                <?php }else if($this->session->userdata('role')==11){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                    
                    
                   <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-file-text"></i>
                            <span class="nav-text">Production Line</span>
                        </a>
                        <ul aria-expanded="false">

                          <li><a href="<?php echo base_url('Requisition/production_plan'); ?>">Production Plan</a></li>
                          
                            <li><a href="<?php echo base_url('Requisition/mould_department'); ?>">Mould Department</a></li> 

                           <li><a href="<?php echo base_url('Requisition/machine_department'); ?>">Machine Department</a></li> 
                           <li><a href="<?php echo base_url('Requisition/machine_config'); ?>">Machine Configuration</a></li> 
                           <li><a href="<?php echo base_url('Requisition/line_clerence'); ?>">Line Clerence </a></li> 

                           <!-- <li><a href="<?php echo base_url('Stock/printing_line'); ?>">Printing Line</a></li> 
                            -->
                            <li><a href="<?php echo base_url('Stock/assembled_line'); ?>">Assembled Line</a></li>
                          <li><a href="<?php echo base_url('Stock/sealing_line'); ?>">Sealed Line</a></li>
                           <li><a href="<?php echo base_url('Stock/printing_line'); ?>">Printing Line</a></li> 
                           <li><a href="<?php echo base_url('Stock/packing_fg_line'); ?>">Packing Line FG</a></li> 

                          <!--  <li><a href="<?php echo base_url('Requisition/compound_production_department'); ?>">Compound Production Department</a></li>  -->

                          <!--  <li><a href="<?php echo base_url('Requisition/mould_department'); ?>">QC Department</a></li> --> 
                           
                        </ul>
                    </li>

                    
                           

                           <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">QC Department</span>
                        </a>
                        <ul aria-expanded="false">
                          
                           <li><a href="<?php echo base_url('Order_qc/add_qc_machine'); ?>">QC Machine</a></li>

                            <li><a href="<?php echo base_url('Requisition/product_inspection'); ?>">Product Inspection</a></li> 

                          <li><a href="<?php echo base_url('Order_qc/dc_qc_check_list'); ?>">DC QC</a></li>

                            <li><a href="<?php echo base_url('Order_qc/qc_production_on_machine'); ?>">Production QC Machine</a></li>

                             <!-- <li><a href="<?php echo base_url('Stock/raw_material_mixing'); ?>">Raw Material Mixing</a></li> -->

    
                           
                        </ul>
                    </li>

                  
                   
                 
                   
                </ul>


            <?php }else if($this->session->userdata('role')==12){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                    
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Production Plan</span>
                        </a>
                        <ul aria-expanded="false">
                            
                             <li><a href="<?php echo base_url('Requisition/user_production'); ?>">Production</a></li>
                        </ul>
                    </li>


                   <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">QC Department</span>
                        </a>
                        <ul aria-expanded="false">
                          
                           <li><a href="<?php echo base_url('Order_qc/add_qc_machine'); ?>">QC Machine</a></li>

                            <li><a href="<?php echo base_url('Requisition/product_inspection'); ?>">Product Inspection</a></li> 

                          <li><a href="<?php echo base_url('Order_qc/dc_qc_check_list'); ?>">DC QC</a></li>

                            <li><a href="<?php echo base_url('Order_qc/qc_production_on_machine'); ?>">Production QC Machine</a></li>


                     

    
                           
                        </ul>
                    </li>

             </ul>


            <?php }else if($this->session->userdata('role')==7){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                    
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-user"></i>
                            <span class="nav-text">Production Plan</span>
                        </a>
                        <ul aria-expanded="false">
                            
                          <li><a href="<?php echo base_url('Stock/packing_fg_line'); ?>">Packing Line FG</a></li>
                        </ul>
                    </li>


                  
                    
                    
                     <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Stock Details</span>
                        </a>
                        <ul aria-expanded="false">
                          
                          
                            <li><a href="<?php echo base_url('Stock/fg_stock'); ?>">Add Stock</a></li>
                              <li><a href="<?php echo base_url('Stock/stock_report'); ?>">All Stock Report</a></li>
                             <li><a href="<?php echo base_url('Stock/update_stock'); ?>">Update Stock</a></li>

                             <li><a href="<?php echo base_url('Stock/reporting'); ?>">FG Reporting</a></li>
                             <li><a href="<?php echo base_url('Stock/packing_batch'); ?>">Batch</a></li>
                        </ul>
                    </li>
                    
                    
                    
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Assembled Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/assign_assemble_line_area'); ?>">Lines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_assembled_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>

             </ul>


            <?php } else if($this->session->userdata('role')==13){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Assembled Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/assign_assemble_line_area'); ?>">Lines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_assembled_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>

             </ul>


            <?php } else if($this->session->userdata('role')==14){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Printing Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/printing_line_machine'); ?>">Machines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_printing_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>

             </ul>


            <?php }else if($this->session->userdata('role')==15){ ?>


                <ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="<?php echo base_url('admin/dashboard1'); ?>" class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-home"></i>
                            <span class="nav-text">Dashboard</span>
                        </a>
                       <!--  <ul aria-expanded="false">
                            <li><a href="#">Dashboard 1</a></li>
                            <li><a href="#">Dashboard 2</a></li>
                            <li><a href="#">Dashboard 3</a></li>
                        </ul> -->
                    </li>
                    
                   
                   <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Assembled Line</span>
                        </a>
                        <ul aria-expanded="false">
                              <li><a href="<?php echo base_url('stock/assign_assemble_line_area'); ?>">Lines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_assembled_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>


                    <li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
                            <i class="la la-building"></i>
                            <span class="nav-text">Sealing Line</span>
                        </a>
                        <ul aria-expanded="false">
                        <li><a href="<?php echo base_url('stock/sealed_line_machine'); ?>">Machines</a></li>
                              <li><a href="<?php echo base_url('stock/batch_sealed_line'); ?>">Batch</a></li>
                            
                        </ul>
                    </li>

             </ul>


            <?php }else{ 
                echo "";
            } ?>
            </div>
        </div>