<?php 
$userid='';
include('../includes/dbcon.php');

$userid=$_SESSION['hrm_id'];
$name=$_SESSION['hrm_name'];
$al= $_SESSION['hrm_al'];
$hrm_Authority_Des=$_SESSION['hrm_Authority_Des'];
?>

 <!-- partial:partials/_sidebar.html -->
      <nav class="sidebar sidebar-offcanvas" id="sidebar">
        <ul class="nav">
          <li class="nav-item nav-profile">
            <div class="nav-link">
             
              <div class="profile-name">
                <p class="name">
                  Welcome <?php echo $name; ?>
                </p>
                <p class="designation">
                  <?php  echo $hrm_Authority_Des; ?>
                </p>
              </div>
            </div>
          </li>
         
       <li class="nav-item">
            <a class="nav-link" href="dshboard.php">
              <i class="fa fa-home menu-icon"></i>
              <span class="menu-title">Dashboard</span>
            </a>
          </li>
          
        

  <li class="nav-item">

            <a class="nav-link" data-toggle="collapse" href="#paymgt" aria-expanded="false" aria-controls="paymgt">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Sales</span>
              <i class="menu-arrow"></i>
            </a>

              <div class="collapse" id="paymgt">
              <ul class="nav flex-column sub-menu">
        
              <li class="nav-item"> <a class="nav-link" href="inv_new.php">Invoice</a></li>
            <li class="nav-item"> <a class="nav-link" href="inv_reprint.php">Reprint Invoice</a></li>
              <li class="nav-item"> <a class="nav-link" href="sri_new_inv.php">Sales Return</a></li>
               <li class="nav-item"> <a class="nav-link" href="sr_reprint.php">Reprint Sales Return</a></li>  
               
               <li class="nav-item"> <a class="nav-link" href="creditnote_new.php">Credit Note</a></li>
              <li class="nav-item"> <a class="nav-link" href="creditnote_reprint.php">Reprint Credit Note</a></li>   
               <li class="nav-item"> <a class="nav-link" href="debitnote_new.php"> Debit Note</a></li>
               <li class="nav-item"> <a class="nav-link" href="debitnote_reprint.php">Reprint Debit Note</a></li>   

              </ul>
            </div> 
          </li>

 
<li class="nav-item">

            <a class="nav-link" data-toggle="collapse" href="#receipt" aria-expanded="false" aria-controls="receipt">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Receipts</span>
              <i class="menu-arrow"></i>
            </a>

            <div class="collapse" id="receipt">
              <ul class="nav flex-column sub-menu">
               <li class="nav-item"> <a class="nav-link" href="receipt_new.php">New Receipt</a></li>
               <li class="nav-item"> <a class="nav-link" href="receipt_reprint.php">Reprint Receipt</a></li>
                <li class="nav-item"> <a class="nav-link" href="settle_new.php"> Other Settlement</a></li>
               <li class="nav-item"> <a class="nav-link" href="deposit_first.php"> Deposits</a></li>
                <li class="nav-item"> <a class="nav-link" href="tran_fixedallowance.php"> Realization</a></li>
                <li class="nav-item"> <a class="nav-link" href="tran_fixedallowance.php"> Cheque Return</a></li>
                
                            
              </ul>
            </div> 
          </li>


<li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-itemtran" aria-expanded="false" aria-controls="ui-itemtran">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Stock Management</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-itemtran">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="item_grn.php">GRN</a></li>
                  <li class="nav-item"> <a class="nav-link" href="   stock_trans.php">Stock Trans</a></li>  
               
                     <li class="nav-item"> <a class="nav-link" href="   stock_adjust.php">Adjustment</a></li> 
   			</ul>
            </div>
</li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->

         
          
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-advanced" aria-expanded="false" aria-controls="ui-advanced">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Reports </span>
              <i class="menu-arrow"></i>
            </a>

            <div class="collapse" id="ui-advanced">
              <ul class="nav flex-column sub-menu">
                 <li class="nav-item"> <a class="nav-link" href="report_inv_list.php">Invoice Listing </a></li>
                  <li class="nav-item"> <a class="nav-link" href="report_inv_list_item.php">Invoice Listing - Item </a></li>
                <li class="nav-item"> <a class="nav-link" href="report_stokadj_summary.php">Stock Adjustments</a></li>
                 <li class="nav-item"> <a class="nav-link" href="todo_archive.php">Stock GRN</a></li>
                <li class="nav-item"> <a class="nav-link" href="todo_archive.php">QOH</a></li>
  <li class="nav-item"> <a class="nav-link" href="report_os_cuswise_d.php">Customerwise outstanding</a></li>
<li class="nav-item"> <a class="nav-link" href="report_settlement.php">Settlement Detail</a></li> 






                
              </ul>
            </div>



          </li>


<!------------------------------------------------->

<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->        
          
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-collection" aria-expanded="false" aria-controls="ui-collection">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Collection Reports </span>
              <i class="menu-arrow"></i>
            </a>

            <div class="collapse" id="ui-collection">
              <ul class="nav flex-column sub-menu">
                 <li class="nav-item"> <a class="nav-link" href="report_coll_list.php">Collection Listing </a></li>
                  


                
              </ul>
            </div>



          </li>


<!------------------------------------------------->

 <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-task" aria-expanded="false" aria-controls="ui-task">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Settings</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-task">
              <ul class="nav flex-column sub-menu">
                        
                 <li class="nav-item"> <a class="nav-link" href="admin_company.php">Company Information</a></li>
                 <li class="nav-item"> <a class="nav-link" href="admin_vat_view.php">VAT %</a></li>
                 <li class="nav-item"> <a class="nav-link" href="einv_new.php">inv</a></li>
             

                
              </ul>
            </div>
          </li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->
          <li class="nav-item ">
            <a class="nav-link" data-toggle="collapse" href="#sidebar-layouts" aria-expanded="false" aria-controls="sidebar-layouts">
              <i class="fas fa-columns menu-icon"></i>
              <span class="menu-title">User Management</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="sidebar-layouts">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="usermgt_user.php">New User</a></li>
                <li class="nav-item"> <a class="nav-link" href="pages/layout/sidebar-collapsed.html">Edit User</a></li>
                <li class="nav-item"> <a class="nav-link" href="user_roll_view.php">Roll</a></li>
                <li class="nav-item"> <a class="nav-link" href="admin_emp.php">New Employee</a></li>
              </ul>
            </div>
          </li>
<!--------------------Stock Management----------------------------->


<!--------------------Item Management----------------------------->
<li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-item" aria-expanded="false" aria-controls="ui-item">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Item Management</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-item">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="admin_item.php">New Item</a></li>
                 <li class="nav-item"> <a class="nav-link" href="   admin_item_view.php">View Item</a></li>   
                 <li class="nav-item"> <a class="nav-link" href="admin_cat_view.php">New Category</a></li>

                 

   			</ul>
            </div>
</li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->
<!--------------------Stock Location----------------------------->
<li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-sl" aria-expanded="false" aria-controls="ui-sl">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Stock Location</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-sl">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="admin_location_view.php">New </a></li>
                   
                 
   			</ul>
            </div>
</li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->

<!--------------------Stock Location----------------------------->
<li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-cus" aria-expanded="false" aria-controls="ui-cus">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Customer</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-cus">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="admin_customer.php">New </a></li>
               	 <li class="nav-item"> <a class="nav-link" href="admin_customer_view.php">View </a></li>    
                 <li class="nav-item"> <a class="nav-link" href="admin_cust_location.php">Delivery Locations </a></li>
               	 <li class="nav-item"> <a class="nav-link" href="admin_cust_location_view.php">View Locations </a></li> 
   			</ul>
            </div>
</li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->






<!--------------------Stock Location----------------------------->
<li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-sup" aria-expanded="false" aria-controls="ui-sup">
              <i class="fas fa-clipboard-list menu-icon"></i>
              <span class="menu-title">Supplier</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-sup">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="admin_supplier.php">New </a></li>
                 <li class="nav-item"> <a class="nav-link" href="admin_supplier_view.php">View </a></li>    
 

                 
        </ul>
            </div>
</li>
<!---~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--->
        </ul>

      </nav>

      <!-- partial -->
  