<style type="text/css">

@media print{

#notprintableArea { visibility: hidden; }

#printableArea  {visibility: visible;

	width:100%;
	margin-left: auto;
	margin-right: auto; }
}

</style>

<script type="text/javascript">
				(function() {
					var initTarget = document.getElementById("targeted");
					initTarget.click();
				})();
				function printDiv(printableArea) {
     var printContents = document.getElementById(printableArea).innerHTML;
     var originalContents = document.body.innerHTML;

     document.body.innerHTML = printContents;

     window.print();

     document.body.innerHTML = originalContents;
};
			</script>
<aside class="left-side sidebar-offcanvas">
                <!-- sidebar: style can be found in sidebar.less -->
                <section class="sidebar">
                    <!-- Sidebar user panel -->
                    <div class="user-panel">
                        
                        <div class="pull-left info">
                            <p>WELCOME, <?php echo $user_name_for_header_user ;?></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='seach' 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="active">
                            <a href="index.php">
                                <i class="fa fa-dashboard"></i> <span>Home</span>
                            </a>
                        </li>
						<?php if($type_for_header_user=="1"){?>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-cogs"></i>
                                <span>Setup</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="add_user.php"><i class="fa fa-angle-double-right"></i> User Management</a></li>
                                <li><a href="supplier_setup.php"><i class="fa fa-angle-double-right"></i>Suppliers</a></li>
                                <li><a href="customer_database.php"><i class="fa fa-angle-double-right"></i>Customers</a></li>
                                <li><a href="particulars_setup.php"><i class="fa fa-angle-double-right"></i>Ledger Sub-Head</a></li>
                                <li><a href="product_setup.php"><i class="fa fa-angle-double-right"></i>Product</a></li>
                            	<li><a href="unit_type_setup.php"><i class="fa fa-angle-double-right"></i>Unit</a></li>
                                <li><a href="bank_setup.php"><i class="fa fa-angle-double-right"></i> Add Bank</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-money"></i>
                                <span>Sale</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="sale_order.php"><i class="fa fa-angle-double-right"></i>Sale Product</a></li>
                                <li><a href="sale_return.php"><i class="fa fa-angle-double-right"></i>Sale Return</a></li>
                                <li><a href="sale_list.php"><i class="fa fa-angle-double-right"></i>Sold Products List</a></li>
                                <li><a href="fast_or_slow_sale.php"><i class="fa fa-angle-double-right"></i>Slow And Fast Moving</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-truck"></i>
                                <span>Purchase</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="purchase_product.php"><i class="fa fa-angle-double-right"></i>Purchase Products</a></li>
                                <li><a href="store_list.php"><i class="fa fa-angle-double-right"></i>Purchase Products List</a></li>
                            </ul>
                        </li>
						<li>
                            <a href="gen.php" target="_blank">
                                <i class="fa fa-barcode"></i> <span>Barcode Print</span>
                            </a>
                        </li>
						
						 <li class="treeview">
                            <a href="#">
                                <i class="fa fa-exchange"></i>
                                <span>Store Transfer</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="store_transfer.php"><i class="fa fa-angle-double-right"></i>Store Transfer</a></li>
                                <li><a href="store_transfer_report.php"><i class="fa fa-angle-double-right"></i>Store Transfer Report</a></li>
                            </ul>
                        </li>
					
					
						
						<li class="treeview">
                            <a href="#">
                                <i class="fa fa-plus-square" aria-hidden="true"></i><i class="fa fa-minus-square"></i>
                                <span>Income & Expense</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="create_book.php"><i class="fa fa-angle-double-right"></i> Create Voucher</a></li> 
                                <li><a href="wastage.php"><i class="fa fa-angle-double-right"></i>Wastage</a></li>
                                <li><a href="customer_due_list.php"><i class="fa fa-angle-double-right"></i>Client Due Payment</a></li>
                                <li><a href="supplier_due_list.php"><i class="fa fa-angle-double-right"></i>Supplier Due Payment</a></li>
                            </ul>
                        </li>
                         <li class="treeview">
                            <a href="#">
                                <i class="fa fa-usd"></i>
                                <span>Cash & Bank</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                           
                            <ul class="treeview-menu">
                                <li><a href="cash_bank.php"><i class="fa fa-angle-double-right"></i>Current Deposit of Cash & Bank</a></li>
                                <li><a href="cash_bank_transfer.php"><i class="fa fa-angle-double-right"></i> Transfer From Cash & Bank</a></li>
                                <li><a href="bank_bank_transfer.php"><i class="fa fa-angle-double-right"></i> Transfer From Bank to Bank</a></li>
                               <li><a href="check_bounce.php"><i class="fa fa-angle-double-right"></i> Cheque Return</a></li> 
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <span class="glyphicon glyphicon-phone" aria-hidden="true"></span>
                                <span>Report</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
							 <li><a href="current_stock.php"><i class="fa fa-angle-double-right"></i>Current Stock</a></li>
							 <li><a href="cash_book.php"><i class="fa fa-angle-double-right"></i>Cash Book</a></li>
                                <li><a href="bank_book.php"><i class="fa fa-angle-double-right"></i>Bank Book </a></li>
                                <li><a href="single_bank_book.php"><i class="fa fa-angle-double-right"></i> Single Bank Book</a></li>
                                <li><a href="supplier_cash_bank_book.php"><i class="fa fa-angle-double-right"></i> All Suppliers Ledger Calculation</a></li>
                                <li><a href="single_supplier_cash_bank_book.php"><i class="fa fa-angle-double-right"></i>Specific Suppliers Ledger Calculation</a></li>
                                <li><a href="customer_cash_bank_book.php"><i class="fa fa-angle-double-right"></i> All Customers Ledger Calculation</a></li>
                                <li><a href="single_customer_cash_bank_book.php"><i class="fa fa-angle-double-right"></i>Specific Customer Ledger Calculation</a></li>
								
                                <li><a href="ledger_book.php"><i class="fa fa-angle-double-right"></i>Ledger Sub-Head Report </a></li>
								
                                <li><a href="income_statement.php"><i class="fa fa-angle-double-right"></i>Income Statement </a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="change_pass.php">
                                <i class="fa fa-key"></i> <span>Change Password</span>
                            </a>
                        </li>
                        <li>
                            <a href="update_days.php">
                                <i class="fa fa-key"></i> <span>Renew Software</span>
                            </a>
                        </li>
						
                        <li>
                            <a href="database_backup.php" target="_blank">
                                <i class="fa fa-download"></i> <span>Backup</span>
                            </a>
                        </li>
                        <?php } ?>
                    </ul>
                </section>
                <!-- /.sidebar -->
            </aside>