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

      <!-- Left side column. contains the sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <div class="user-panel">
            <div class="pull-left image">
              <img src="images/karatworldlogo.png" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p><?php echo $this->session->user["branch"]; ?></p>
              <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
          </div>
          <!-- search form -->
          <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
              <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
          </form>
          <!-- /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu">
            <li class="header">MAIN NAVIGATION</li>
            <li>
              <a href="<?php echo site_url(); ?>">
                <i class="fa fa-dashboard"></i> 
                <span>PIA</span> 
              </a>
            </li>
            <li>
              <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Transactions</span>
                <span class="fa fa-angle-left pull-right"></span>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo site_url(); ?>beginninginventory"><i class="fa fa-circle-o"></i> Beginning Inventory</a></li>
                <li><a href="<?php echo site_url(); ?>beginninginventoryprevdate"><i class="fa fa-circle-o"></i> Begin Invty Prev Date</a></li>
                <li><a href="<?php echo site_url(); ?>salesnew"><i class="fa fa-circle-o"></i> Sales</a></li>
                <li><a href="<?php echo site_url(); ?>stockinnew"><i class="fa fa-circle-o"></i> Stock In</a></li>
                <li><a href="<?php echo site_url(); ?>stockoutnew"><i class="fa fa-circle-o"></i> Stock Out</a></li>
                <li><a href="<?php echo site_url(); ?>endinginventory"><i class="fa fa-circle-o"></i> Ending Inventory</a></li>
                <li><a href="<?php echo site_url(); ?>emailSending"><i class="fa fa-circle-o"></i> Email Sending</a></li>
                <li><a href="<?php echo site_url(); ?>kcardtransaction"><i class="fa fa-circle-o"></i> Karat Card Transaction</a></li>
              </ul>
            </li>
            <li>
              <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Entry Modification</span>
                <span class="fa fa-angle-left pull-right"></span>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo site_url(); ?>categorysettings"><i class="fa fa-circle-o"></i> Category Maintenance</a></li>
                <li><a href="#"><i class="fa fa-circle-o"></i> Inventory Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>storetransmaintenance"><i class="fa fa-circle-o"></i> Store Transaction Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>salesmaintenancenew"><i class="fa fa-circle-o"></i> Sales Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>stockinmaintenancenew"><i class="fa fa-circle-o"></i> Stock In Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>stockoutmaintenancenew"><i class="fa fa-circle-o"></i> Stock Out Maintenance</a></li>
              </ul>
            </li>
            <li>
              <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Customer Database</span>
                <span class="fa fa-angle-left pull-right"></span>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo site_url(); ?>customer"><i class="fa fa-circle-o"></i> Customer Info</a></li>
                <!-- <li><a href="<?php echo site_url(); ?>initialbranchinventory"><i class="fa fa-circle-o"></i> Initial Branch Inventory</a></li> -->
              </ul>
            </li>
            <li class="header">VIEW REPORT</li>
            <li><a href="<?php echo site_url(); ?>viewreport"><i class="fa fa-circle-o text-aqua"></i> <span>View Report</span></a></li>
            <li><a href="<?php echo site_url(); ?>branchitemledger"><i class="fa fa-circle-o text-aqua"></i> <span>Store Inventory</span></a></li>
            <li><a href="<?php echo site_url(); ?>itemmovementhistory"><i class="fa fa-circle-o text-aqua"></i> <span>Item Status</span></a></li>
            <li><a href="<?php echo site_url(); ?>iteminquirycountsummary"><i class="fa fa-circle-o text-aqua"></i> <span>Item Inquiry Summary</span></a></li>
            <li><a href="<?php echo site_url(); ?>customerpurchase"><i class="fa fa-circle-o text-aqua"></i> <span>Customer Purchase</span></a></li>
            

            <!--
            <li class="header">PREVIOUS SYSTEM MENU</li>
            <li>
              <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Transactions</span>
                <span class="fa fa-angle-left pull-right"></span>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo site_url(); ?>salesnew"><i class="fa fa-circle-o"></i> Sales</a></li>
                <li><a href="<?php echo site_url(); ?>stockinnew"><i class="fa fa-circle-o"></i> Stock In</a></li>
                <li><a href="<?php echo site_url(); ?>stockoutnew"><i class="fa fa-circle-o"></i> Stock Out</a></li>
              </ul>
            </li>
            <li>
              <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Maintenance</span>
                <span class="fa fa-angle-left pull-right"></span>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo site_url(); ?>salesmaintenance"><i class="fa fa-circle-o"></i> Sales Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>stockinmaintenance"><i class="fa fa-circle-o"></i> Stock In Maintenance</a></li>
                <li><a href="<?php echo site_url(); ?>stockoutmaintenance"><i class="fa fa-circle-o"></i> Stock Out Maintenance</a></li>
              </ul>
            </li>
            -->

          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>

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