<style>a { text-decoration:none;}
</style>
<div class="easyui-panel" style="padding:1px; border:0px solid #F39C12;">
<ul class="easyui-tree">
	<li><a href='?page=Halaman-Utama'><span>Beranda</span></a></li>
	<?php if($gmenu100=='100') { ?>
	<li data-options="state:'closed'"><span>Master</span>
		<ul>
			<?php if($menu10=='Y'){ ?>
			<li><a href='?page=Add-Profil'><span>Profil Perusahaan</span></a></li>
			<?php }if($menu11=='Y'){ ?>
			<li><a href='?page=Data-Barang'><span>Data Barang</span></a></li>
			<?php }if($menu12=='Y'){ ?>
			<li><a href='?page=Data-Pemasok'><span>Data Pemasok</span></a></li>
			<?php }if($menu13=='Y'){ ?>
			<li><a href='?page=Data-Penerima'><span>Data Penerima</span></a></li> 
			<?php }if($menu14=='Y'){ ?>
			<li><span>Data User</span>
				<ul>
					<li><a href='?page=Data-User'><span>Data User</span></a></li>
					<li><a href='?page=Data-Aktivitas-User'><span>Aktivitas User</span></a></li>
					<li><a href='?page=Data-Status-User'><span>Status User</span></a></li>
				</ul>
			</li>
            <?php }if($menu15=='Y'){ ?>
			<li><a href="?page=Data-Penyesuaian"><span>Penyesuaian</span></a></li>
			<?php }if($menu16=='Y'){ ?>
			<li><a href="?page=Data-Stock-Awal"><span>Saldo Awal</span></a></li>
			<?php }if($menu17=='Y'){ ?>
            <li><a href="?page=Data-Unposting"><span>Unposting</span></a></li>
			<?php }if($menu18=='Y'){ ?>
			<li><a href='?page=Data-Stock-Opname'><span>Closing Stock</span></a></li>
			<?php } ?>
		</ul>
	</li>
	<?php }if($gmenu200=='200') { ?>
    <li data-options="state:'closed'"><span>Marketing/Sales</span>
    	<ul>
			<?php if($menu20=='Y'){ ?>
			<li><a href='?page=Data-PO-Sales'><span>Data Sales Order</span></a></li>	
			<?php }if($menu21=='Y'){ ?>
			<li><a href='?page=List-PO-Sales'><span>List Sales Order</span></a></li>			
			<?php }?>
        </ul>
    </li>
    <?php }if($gmenu300=='300') { ?>
    <li data-options="state:'closed'"><span>Purchasing</span>
    	<ul>
        	<?php if($menu30=='Y'){ ?>
			<li><a href='?page=Data-Purchase-Order'><span>Data Purchase Order</span></a></li>
			<?php }if($menu31=='Y'){ ?>
			<li><a href='?page=List-Purchase-Order'><span>List Purchase Order</span></a></li>
			<?php }?>
        </ul>
    </li>
	<?php }if($gmenu400=='400') { ?>
    <li><span>Pemasukan/Pembelian</span>
    	<ul>
			<?php if($menu40=='Y'){ ?>
			<li><a href='?page=Data-Pemasukan-LOKAL'><span>IN NON DOKUMEN</span></a></li>
			<?php }if($menu41=='Y'){ ?>
        	<li><a href='?page=Data-Pemasukan-BC20'><span>IN BC 2.0</span></a></li>	
			<?php }if($menu42=='Y'){ ?>			
			<li><a href='?page=Data-Pemasukan-BC23'><span>IN BC 2.3</span></a></li>
			<?php }if($menu43=='Y'){ ?>
			<li><a href='?page=Data-Pemasukan-BC262'><span>IN BC 2.6.2</span></a></li>
			<?php }if($menu44=='Y'){ ?>
			<li><a href='?page=Data-Pemasukan-BC27'><span>IN BC 2.7</span></a></li>
			<?php }if($menu45=='Y'){ ?>
			<li><a href='?page=Data-Pemasukan-BC40'><span>IN BC 4.0</span></a></li>
			<?php }if($menu46=='Y'){ ?>
			<li><a href='?page=Data-Upload-Pemasukan'><span>IN UPLOAD</span></a></li>
			<?php }if($menu47=='Y'){ ?>
			<li><a href='?page=Data-Konversi-External'><span>Kvr-Subkon ke PEB</span></a></li>
			<?php }?>
        </ul>
    </li>
    <?php }if($gmenu500=='500') { ?>
    <li data-options="state:'closed'"><span>Gudang</span>
    	<ul>
			<?php if($menu50=='Y'){ ?>
			<li><a href='?page=Data-Terima-Barang'><span>Terima Barang</span></a></li>			
			<?php }if($menu51=='Y'){ ?>
			<li><a href='?page=Data-Stock-BhnBaku'><span>Stock Gudang</span></a></li> 
			<?php }if($menu52=='Y'){ ?>
			<li><a href="?page=Data-Inc-Prod"><span>Transfer Produksi</span></a></li>
			<?php }if($menu53=='Y'){ ?>
			<li><a href="?page=Data-Prod-Inc"><span>Return Produksi</span></a></li>
			<?php } ?>
        </ul>
    </li>
    <?php }if($gmenu600=='600') { ?>
    <li data-options="state:'closed'"><span>PPIC</span>
    	<ul>
            <?php if($menu60=='Y'){ ?>
			<li><a href='?page=Data-BOM'><span>BOM Produksi</span></a></li>
			<?php }if($menu61=='Y'){ ?>
			<li><a href='?page=Data-BOM-FG'><span>BOM Finishing</span></a></li>
			<?php } ?>
        </ul>
    </li>
	<?php }if($gmenu700=='700') { ?>
    <li data-options="state:'closed'"><span>Produksi</span>
    	<ul>
            <?php if($menu70=='Y'){ ?>
			<li><a href='?page=Data-Stock-WIP'><span>Stock Produksi</span></a></li>	
			<?php }if($menu71=='Y'){ ?>
			<li><a href='?page=Data-Laporan-WIP'><span>WO WIP Manual</span></a></li>
			<?php }if($menu72=='Y'){ ?>
			<li><a href='?page=Data-Work-Order1'><span>WO WIP BOM</span></a></li>
			<?php }if($menu73=='Y'){ ?>
            <li><a href='?page=Data-Work-OrderM'><span>WO F/G Manual</span></a></li>
			<?php }if($menu74=='Y'){ ?>
            <li><a href='?page=Data-Work-Order'><span>WO F/G BOM</span></a></li>			
			<?php }if($menu75=='Y'){ ?>
			<li><a href='?page=Data-Work-OrderFG'><span>WO Finishing</span></a></li>
			<?php }if($menu76=='Y'){ ?>
			<li><a href='?page=Data-Work-OrderSC'><span>WO Scrap</span></a></li>
			<?php }if($menu77=='Y'){ ?>
			<li><a href='?page=Data-Work-Order-Non-Bom'><span>WO Non BOM</span></a></li>
			<?php }if($menu78=='Y'){ ?>
			<li><a href='?page=Data-Konversi-Barang'><span>Konversi 1</span></a></li>
			<?php }if($menu79=='Y'){ ?>
			<li><a href='?page=Data-Konversi-Barang2'><span>Konversi 2</span></a></li>            
			<?php }?>
        </ul>
    </li>
	<?php }if($gmenu800=='800') { ?>
    <li data-options="state:'closed'"><span>Quality Control</span>
    	<ul>
			<?php if($menu80=='Y'){ ?>
			<li><a href="?page=Data-M-Konversi"><span>Master Konversi</span></a></li>
			<?php }if($menu81=='Y'){ ?>
            <li><a href="?page=Data-Prod-Out"><span>Transfer F/G & WIP</span></a></li>
			<?php }if($menu82=='Y'){ ?>
            <li><a href="?page=Data-Prod-OutS"><span>Transfer Scrap</span></a></li>
			<?php }if($menu83=='Y'){ ?>
			<li><a href="?page=Data-Out-Prod"><span>Return FG/WIP/Scrap</span></a></li>
            <?php }?>
        </ul>
    </li>
    <?php }if($gmenu900=='900') { ?>
    <li><span>Pengeluaran/Penjualan</span>
    	<ul>
        	<?php if($menu90=='Y'){ ?>
			<li><a href='?page=Data-Stock-BrgJadi'><span>Stock FG & WIP & Scrap</span></a></li>
			<?php }if($menu91=='Y'){ ?>
            <li><a href='?page=Data-Pengeluaran-BC25'><span>OUT BC 2.5</span></a></li>
			<?php }if($menu92=='Y'){ ?>
            <li><a href='?page=Data-Pengeluaran-BC261'><span>OUT BC 2.6.1</span></a></li>
			<?php }if($menu93=='Y'){ ?>
            <li><a href='?page=Data-Pengeluaran-BC27'><span>OUT BC 2.7</span></a></li>
			<?php }if($menu94=='Y'){ ?>
            <li><a href='?page=Data-Pengeluaran-BC30'><span>OUT BC 3.0</span></a></li>
			<?php }if($menu95=='Y'){ ?>
			<li><a href='?page=Data-Pengeluaran-BC33'><span>OUT BC 3.3</span></a></li>
			<?php }if($menu96=='Y'){ ?>
            <li><a href='?page=Data-Pengeluaran-BC41'><span>OUT BC 4.1</span></a></li>
			<?php }if($menu97=='Y'){ ?>
			<li><a href='?page=Data-Pengeluaran-SCRAP'><span>OUT SCRAP</span></a></li>
			<?php }if($menu98=='Y'){ ?>
			<li><a href='?page=Data-Upload-Pengeluaran'><span>OUT UPLOAD</span></a></li>  
			<?php }?>
    	</ul>
    </li>
	<?php }if($gmenu1100=='1100') { ?>
    <li data-options="state:'closed'"><span>Akuntansi</span>
    	<ul>	
			<?php if($menu110=='Y'){ ?>
			<li><a href='?page=Data-Currency'><span>M. Currency & Kurs</span></a></li>
			<?php }if($menu111=='Y'){ ?>
			<li><a href='?page=Data-Master-Bank'><span>Master Bank</span></a></li>
			<?php }if($menu112=='Y'){ ?>
            <li><a href='?page=Data-GL-Account'><span>Master COA</span></a></li>
			<?php }if($menu113=='Y'){ ?>
			<li><a href='?page=Data-Closing-Acct'><span>Closing Acct</span></a></li>
			<?php }if($menu114=='Y'){ ?>
            <li><a href='?page=Data-Temp-Pemasukan'><span>Inbox(Pemasukan)</span></a></li>
			<?php }if($menu115=='Y'){ ?>
			<li><a href='?page=Data-Temp-Pengeluaran'><span>Outbox(Pengeluaran)</span></a></li>
			<?php }if($menu117=='Y'){ ?>
			<li><a href='?page=Data-Jurnal-Ref'><span>Jurnal Umum BC</span></a></li>
			<?php }if($menu118=='Y'){ ?>
            <li><a href='?page=Data-Transaksi-Jurnal'><span>Jurnal Umum</span></a></li>
			<?php }if($menu119=='Y'){ ?>
			<li><a href='?page=Data-Laporan-Jurnal'><span>Laporan Jurnal</span></a></li>
			<?php }if($menu1101=='Y'){ ?>
			<li><a href='?page=Data-Buku-Besar'><span>Buku Besar</span></a></li>
			<?php }if($menu1102=='Y'){ ?>
			<li><a href='?page=Data-Buku-Besar-Hutang'><span>Buku Besar Hutang</span></a></li>
			<?php }if($menu1103=='Y'){ ?>
			<li><a href='?page=Data-Buku-Besar-Piutang'><span>Buku Besar Piutang</span></a></li>
			<?php }if($menu1104=='Y'){ ?>
			<li><a href='?page=Data-Penyusutan'><span>Aktiva Tetap</span></a></li>
			<?php }if($menu1105=='Y'){ ?>
			<li><a href='?page=Data-HPP'><span>Harga Pokok Penjualan</span></a></li>
			<?php }if($menu1105=='Y'){ ?>
			<li><a href='?page=Data-Laba-Rugi'><span>Laba Rugi</span></a></li>
			<?php }if($menu1106=='Y'){ ?>
			<li><a href='?page=Data-Neraca'><span>Neraca</span></a></li>
			<?php }if($menu1107=='Y'){ ?>
			<li><a href='?page=Data-Neraca-Saldo'><span>Neraca Saldo</span></a></li>
			<?php } ?>
    	</ul>
    </li>
    <?php }if($gmenu1200=='1200') { ?>
    <li><span>Laporan</span>
    	<ul>
			<?php if($user_id=='beacukai'){ ?>
			<li><a href='?page=Data-Aktivitas-User'><span>Aktivitas User</span></a></li>
			<?php }if($menu120=='Y'){ ?>
			<li><a href='?page=Data-Lap-Pemasukan'><span>Stock per Dokumen</span></a></li>
			<?php }if($menu121=='Y'){ ?>
			<li><a href='?page=Data-Bln-Pemasukan'><span>Laporan Pemasukan</span></a></li>
			<?php }if($menu122=='Y'){ ?>
            <li><a href='?page=Data-Bln-Pengeluaran'><span>Laporan Pengeluaran</span></a></li>
			<?php }if($menu123=='Y'){ ?>
			<li><a href='?page=Data-Lap-WIP'><span>WIP</span></a></li>
			<?php }if($menu124=='Y'){ ?>
			<li><a href='?page=Mutasi-Bahan-Baku'><span>Mutasi Bahan Baku</span></a></li>
			<?php }if($menu125=='Y'){ ?>
			<li><a href='?page=Mutasi-Barang-Modal'><span>Mutasi Barang Modal</span></a></li>
			<?php }if($menu126=='Y'){ ?>
			<li><a href='?page=Mutasi-Barang-Jadi'><span>Mutasi Barang Jadi</span></a></li>
			<?php }if($menu127=='Y'){ ?>
			<li><a href='?page=Mutasi-Barang-Scrap'><span>Mutasi Brg. Scrap/ Sisa</span></a></li>
			<?php } ?>
    	</ul>
    </li>
	<?php } ?>
	<li><a href='?page=Close'><span>Keluar</span></a></li>
</ul>
</div>