  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">MAIN NAVIGATION</li>
        <li id="dashboard">
            <a href="<?php echo base_url('master/masterctrl')?>">
                <i class="fa fa-dashboard"></i> <span>Dashboard</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
        </li>
        <li class="treeview" id="master">
            <a href="#">
                <i class="fa fa-files-o"></i>
                <span>Master</span>
                 <span class="pull-right-container">
                    <i class="fa fa-angle-left pull-right"></i>
                </span>
            </a>
            <ul class="treeview-menu">
                <li id="rapaport"><a href="<?php echo base_url('master/masterctrl/rapaport_master')?>"><i class="fa fa-circle-o"></i> RapaPort</a></li>
                <li id="city"><a href="<?php echo base_url('master/masterctrl/city_master')?>"><i class="fa fa-circle-o"></i> City</a></li>
                <li id="user"><a href="<?php echo base_url('master/masterctrl/user_master')?>"><i class="fa fa-circle-o"></i> User</a></li>
                <li id="diamond"><a href="<?php echo base_url('master/masterctrl/diamond_master')?>"><i class="fa fa-circle-o"></i> Diamond</a></li>
                <li id="account"><a href="<?php echo base_url('master/masterctrl/account_master/0')?>"><i class="fa fa-circle-o"></i> General Account</a></li>
                <li id="customer_account"><a href="<?php echo base_url('master/masterctrl/account_master/5')?>"><i class="fa fa-circle-o"></i> Customer Account</a></li>
                <li id="supplier_account"><a href="<?php echo base_url('master/masterctrl/account_master/6')?>"><i class="fa fa-circle-o"></i> Supplier Account</a></li>
                <li id="broker_account"><a href="<?php echo base_url('master/masterctrl/account_master/23')?>"><i class="fa fa-circle-o"></i> Brokers </a></li>
            </ul>
        </li>

        <li id="purchase">
            <a href="<?php echo base_url('purchase/purchasectrl/purchase_master?action=view')?>">
                <i class="fa fa-edit"></i> <span>Purchase</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
          <!--   <ul class="treeview-menu">
                <li id="purchase_view"><a href="<?php echo base_url('purchase/purchasectrl/purchase_master?action=view') ?>"><i class="fa fa-circle-o"></i> List</a></li>
                <li id="purchase_add"><a href="<?php echo base_url('purchase/purchasectrl/purchase_master?action=add') ?>"><i class="fa fa-circle-o"></i> Add New</a></li>
            </ul> -->
        </li>

        <li id="sale">
            <a href="<?php echo base_url('sale/salectrl/sale_master?action=view')?>">
                <i class="fa fa-edit"></i> <span>Sale</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
        </li>

        <!-- <li id="jvoucher">
            <a href="<?php echo base_url('voucher/voucherctrl/jvoucher_master?action=add') ?>" id="jvoucher_pay">
                <i class="fa fa-edit"></i> <span>Journal Voucher</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
            <ul class="treeview-menu">
                <li id="jvoucher_view"><a href="<?php echo base_url('voucher/voucherctrl/jvoucher_master?action=view') ?>"><i class="fa fa-circle-o"></i> List </a></li>
                <li id="jvoucher_pay"><a href="<?php echo base_url('voucher/voucherctrl/jvoucher_master?action=add') ?>"><i class="fa fa-circle-o"></i> Add New </a></li>
            </ul>
        </li> -->

        <li class="treeview" id="voucher">
            <a href="#">
                <i class="fa fa-edit"></i> <span>Voucher</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
            <ul class="treeview-menu">
                <li id="voucher_view"><a href="<?php echo base_url('voucher/voucherctrl/voucher_master?action=view') ?>"><i class="fa fa-circle-o"></i> List </a></li>
                <li id="jvoucher_pay"><a href="<?php echo base_url('voucher/voucherctrl/jvoucher_master?action=add') ?>"><i class="fa fa-circle-o"></i> Journal </a></li>
                <li id="voucher_pay"><a href="<?php echo base_url('voucher/voucherctrl/voucher_master?action=add&type=payment') ?>"><i class="fa fa-circle-o"></i> Payment </a></li>
                <li id="voucher_rece"><a href="<?php echo base_url('voucher/voucherctrl/voucher_master?action=add&type=receipt') ?>"><i class="fa fa-circle-o"></i> Receipt </a></li>
            </ul>
        </li>

        <li class="treeview" id="reports">
            <a href="#">
                <i class="fa fa-edit"></i> <span>Reports</span>
                <span class="pull-right-container">
                    <i class="fa fa-angle-right pull-right"></i>
                </span>
            </a>
            <ul class="treeview-menu">
                <li id="purchase_rp"><a href="<?php echo base_url('reports/reportsctrl/purchase_report?action=view') ?>"><i class="fa fa-circle-o"></i> Purchase </a></li>
                <li id="sale_rp"><a href="<?php echo base_url('reports/reportsctrl/sale_report?action=view') ?>"><i class="fa fa-circle-o"></i> Sale </a></li>
                <li id="stock_rp"><a href="<?php echo base_url('reports/reportsctrl/stock_report?action=view') ?>"><i class="fa fa-circle-o"></i> Stock </a></li>
                <li id="legder_rp"><a href="<?php echo base_url('reports/reportsctrl/legder_master?action=view') ?>"><i class="fa fa-circle-o"></i> Legder </a></li>
                <li id="trial_rp"><a href="<?php echo base_url('reports/reportsctrl/trial_bal_master?action=view') ?>"><i class="fa fa-circle-o"></i> Trial Balance </a></li>
                <li id="profit_loss"><a href="<?php echo base_url('reports/reportsctrl/profit_loss_master?action=view') ?>"><i class="fa fa-circle-o"></i> Profit & Loss </a></li>
                <li id="balance_sheet"><a href="<?php echo base_url('reports/reportsctrl/bal_sheet_master?action=view') ?>"><i class="fa fa-circle-o"></i> Balance Sheet </a></li>
            </ul>
        </li>
        
      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">