<? session_start();
$brcode = $_SESSION['brcode'];
$user   = $_SESSION['user'];
include("opendb.php");
$us=mysqli_query($db,"select level from bruser where username='$user'")or die(mysqli_error());
$r=mysqli_fetch_row($us);
$user_level=$r[0];
if($user_level<=0)
 print "<script> document.location='level0mnu.php'</script>";

?>
<link type="text/css" href="css2/left.css" rel="stylesheet" />	
<base target=main>
<div id="cssmenu">
    <? if ($brcode == 'PSN236') { ?>
        <a href="veh/stkrepo_veh_gw.php">Configuration Wise Veh.Stock Report</a>
        <a href="veh/stkrepo-veh-cat.php">Category Wise Veh.Stock Report</a>
        <a href="mis/conrepo.php">Config Wise Report Summary</a>
        <a href="veh/dwstockrepo.php">Veh.Stock Report</a>
        <a href="veh/dwstockrepo1.php">Allocation</a>
        <a href="veh/stockled_veh.php">Stock Ledger</a>
        <a href="veh/purreg_new.php" >Purchase Register</a>
        <a href="veh/purreg_gst.php" >Purchase Reg(GST) **</a>
        <a href="veh/purregcat.php">Purchase Register Type</a>
        <a href="veh/purrepo_gsthsn.php" >Purchase HSNCode Summary**</a>
        <a href="veh/saleregall.php">Customer List(All)</a>
        <a href="veh/saleregtype.php">Sales Register Type Wise</a>
        <a href="veh/salereg_newgst.php" >Sales Register GST**</a>
        <a href="veh/invrepo_gsthsn.php" >Sales Reg-HSNCode Summary**</a>
        <a href="veh/invrepo_gsthsnew.php" >Sales Reg-HSNCode Summary New</a>
        <a href="veh/salereg_new.php" >Sales Register</a>
        <a href="veh/crnote_gst_report.php">Credit Note REPORT</a>
        <a href="veh/salereg2.php">Sales Register (Fin)</a>
        <a href="veh/salereg3.php">Sales Register (Addr)</a>
        <a href="veh/salereg3adrcat.php">Sales Register (Addr) Cat.wise</a>
        <a href="veh/saleregdet.php">Sales Register (Detail)</a>
        <a href="veh/profreg.php">Proforma Invoice Register</a>
        <a href="veh/purretreg.php" >Pur-Return Register</a>
        <a href="veh/purretreggst.php" >Pur-Return Register GST</a>
        <a href="veh/saleretreg.php" >Sales-Return Register</a>
        <a href="veh/stinreg.php">Stock Trans in Register</a>
        <a href="veh/stoutreg.php">Stock Trans out Register</a>
        <a href="veh/pitmreg.php">Purchase Item Register</a>
        <a href="veh/crnotereg.php">Credit Note Register</a>
        <a href="veh/dbnotereg.php">Debit Note Register</a>
    <? } else { ?>
        <a href="veh/stockrepo_veh.php">Veh.Stock Report</a>
        <a href="veh/stkrepo_veh_gw.php">Configuration Wise Veh.Stock Report</a>
        <a href="veh/stkrepo-veh-cat.php">Category Wise Veh.Stock Report</a>
        <a href="mis/conrepo.php">Config Wise Report Summary</a>
        <a href="veh/dwstockrepo.php">D/w Veh.Stock Report</a>
        <a href="veh/dwstockrepo1.php">Allocation</a>
        <a href="veh/stockled_veh.php">Stock Ledger</a>
        <a href="veh/purreg.php">Purchase Register</a>
        <a href="veh/purregcat.php">Purchase Register Type</a>
        <a href="veh/saleregall.php">Customer List(All)</a>
        <a href="veh/saleregtype.php">Sales Register Type Wise</a>
        <a href="veh/salereg.php">Sales Register 1</a>
        <a href="veh/salereg2.php">Sales Register (Fin)</a>
        <a href="veh/salereg3.php">Sales Register (Addr)</a>
        <a href="veh/salereg3adrcat.php">Sales Register (Addr) Cat.wise</a>
        <a href="veh/saleregdet.php">Sales Register (Detail)</a>
        <a href="veh/profreg.php">Proforma Invoice Register</a>
        <a href="veh/purretreg.php">Pur-Return Register</a>
        <a href="veh/saleretreg.php">Sales-Return Register</a>
        <a href="veh/stinreg.php">Stock Trans in Register</a>
        <a href="veh/stoutreg.php">Stock Trans out Register</a>
        <a href="veh/crnote_gst_report.php">Credit Note Report</a>
        <a href="veh/pitmreg.php">Purchase Item Register</a>
        <a href="veh/crnotereg.php">Credit Note Register</a>
    <? } ?>
    <? if($user_level>5) { ?>
        <a href="mis/presalerepo.php">Report</a>
        <a href="mis/presalestat.php" target='stat'>Status</a>
        <a href="mis/conrepo.php">Config Wise Report</a>
        <a href="mis/agerepo.php">Age Wise Report</a>
        <a href="mis/itstock.php">Item Stock Report</a>
        <a href="dstate.php">Daily Statement</a>
        <a href="mis/bstate.php">Bank Statement</a>
        <a href="debtaging.php">Debtors Aging(Dr)</a>
        <a href="mis/awrepo.php" target='x'>Summary</a>
        <a href="mis/netreal4.php" target='x'>Netreal-1</a>
        <a href="mis/netreal.php" target='x'>Netreal-2</a>
        <a href="mis/dapending.php" target='x'>Pending DA</a>
        <a href="veh/profinvnewclt.php">Prof. Invoice(New CLT)</a>
        <a href="veh/oform_repo2.php" target='x'>O.F Status</a>
        <a href="mis/ofrepo.php" target='x'>Status at Branch</a>
        <a href="mis/pwstat.php" target='x'>Payment wise status</a>
        <a href="mis/ofrepoarea.php" target='x'>To be sold (areawise)</a>
        <a href="mis/cusmnu.php">Customer List </a>
        <a href="chp.php">Change Password</a>
        <a href="mis/amcmastrep.php">AMC Report</a>
    <? } ?>
    <? if($user_level>2||$user=='admin') { ?>
        <a href="veh/opstock.php">Op. Stock</a>
    <? } ?>
    <? if($user_level==1||$user=='admin'||$user_level>=2 ) { ?>
        <a href="veh/advform.php">Advance Receipt</a>
        <a href="mis/agerepo1.php">Age Wise Report</a>
    <? } ?>
    <? if($user_level>2||$user=='admin') { ?>
        <a href="veh/veh_transin.php">Stock Transfer IN</a>
        <a href="veh/veh_transout.php">Stock Transfer OUT</a>
        <a href="veh/tcr.php">T C R</a>
        <a href="veh/oform_repo2.php" target='x'>O.F Status</a>
        <a href="spares/purindex.html" target='x'>BodyOrder</a>
        <a href="spares/transin.php" target='x'>TransferIn Body</a>
        <a href="veh/upldeichersap.php" target='x'>Portal_Import</a>
        <a href="portaldetails.php" target='x'>Portal_Report</a>
        <a href="veh/crnote.php">Cr Note (Dis Allowed)</a>
        <a href="veh/crnote_gst.php">Cr Note with GST</a>
        <a href="gst_creditnote.php">Debit Note with GST</a>
        <a href="upld_acpost.php">Upload Cr Note</a>
        <a href="spares/einvoice_crnote_gst.php">E-Inv JSON Download(CR Note)</a>
        <a href="spares/sap_creditnotejson.php">E-Inv JSON Download(CR Note)Multi</a>
        <a href="veh/scert.php">Sale Certificate</a>
        <a href="veh/salecertreport.php">Edit Sale Certificate</a>
        <a href="saleqot.php">Sale Details</a>
        <a href="seacust.php">Customer Search</a>
    <? } ?>
    <? if($user_level<2) { ?>
        <a href="veh/prnprofnew.php?invno=" target='k'>Prof.Invoice</a>
    <? } ?>
    <?  if(strtoupper($user)!='MANJU') { ?>
        <a href="sealedge.php"  >Search Ledger</a>
    <? } if($user_level>2) { ?>
        <a href="pl1.php">Open/Close Stk</a>
        <a href="payrec/cshrec.php">Cash Receipts</a>
        <a href="payrec/cshpay.php">Cash Payment</a>
        <a href="payrec/brec.php">Bank Receipts</a>
        <a href="payrec/bpay_1.php">Bank Payment</a>
        <a href="accounts/payrec/bpay_1.php"  >Bank Payment (W/Cheque Print)</a>
        <a href="accounts/breco.php">Bank Reconciliation</a>
        <a href="period.php">Period</a>
        <a href="acgroup.php">Group Master</a>
        <a href="ledge.php">Ledger Master</a>
        <a href="multientry/jour.php" target=x >Journal</a>
        <a href="gstmultislct2.php" >GST Multiple</a>
        <a href="gstrpt.php" >GST Report</a>
        <a href="spares/sap_gstmultiple.php" >GST Multiple from SAP</a>
        <a href="gstmultislct2_out.php" >GST Multiple Out</a>
        <a href="spares/einvoice_gstincome.php" >E-Inv JSON Download(GST Multiple)</a>
        <a href="spares/sap_spareinvoiceupload.php" >SAP Extract Upload</a>
        <a href="spares/sap_spareinvoicejson.php" >SAP JSON Download</a>
        <a href="gstrpt_out.php" >GST Report Out</a>
        <a href="gstrptrev.php" >GST OUT(Reverse) Report</a>
        <a href="multientry/tdsjour.php">TDS Entry</a>
        <a href="accounts/payrec/chqbook_reg.php">Cheque Book Registration</a>
        <a href="accounts/payrec/chqbook_cancel.php">Cheque Cancelation</a>
        <a href="accounts/payrec/chqbook_for.php">Cheque Format Selection</a>
        <a href="accounts/payrec/chqbook_list.php">Cheque Book Register</a>
        <a href="accounts/payrec/chqbook_dup.php">Duplicate Cheque Printing</a>
        <a href="accounts/payrec/chqbook_dupcan.php">Duplicate Cheque Printing(Canon)</a>
        <a href="loc-clear.php">Loc-Clearing</a>
        <a href="clearing.php">BranchEntries-Clearing</a>
        <a href="merge_ledger.php">Merge Ledgers</a>
        <a href="br_othdiv.php">Bank Rec from Other Divisions</a>
        <a href="accounts/bankstate.php">*Claim from Bank Statement</a>
    <? } ?>
    <a href='util/dachk.php'>DA Check</a>
    <a href='util/chda.php'>DA Change</a>
    <a href='util/seach.php'>Search Chasis No</a>
    <a href='util/seachjour.php'>Search in Journal</a>
    <a href='util/chsupp.php'>Change Supplier</a>
    <a href='util/reminder.php'>Reminder</a>
    <a href='util/amcmast.php'>AMC Master</a>
    <a href='util/amctrans1.php'>AMC Transaction</a>
    <a href='util/amc.php'>Check AMC</a>
    <a href='util/amcmastrep.php'>AMC Master Report</a>
    <a href='util/upldcust.php'>Upload Competion Customer data</a>
    <a href='util/newupldcust.php'>Upload Competion Customer data(New)</a>
    <a href='util/chkjv.php'>Miss Match Entries</a>
    <a href='util/searchallch.php'>Search Chasis No (All)</a>
    <a href='util/upldjour.php'>***Upload Journal</a>
    <a href='util/gst_upld.php'>***Upload GST Expense</a>
    <a href='spares/einvoice_spareinvoice.php'>E-INVOICE JSON DOWNLOAD</a>
    <a href='spares/einvoice_sparereturn.php'>E-INVOICE(Return) JSON DOWNLOAD</a>
    <a href='spares/upldjson_spr.php'>E-INVOICE JSON UPLOAD</a>
    <a href='util/upldbnkrec.php'>***Upload Bank Receipt</a>
    <a href='util/upldbnkpay.php'>***Upload Bank Payment</a>
    <a href='spares/logreport.php'>Log Report</a>
    <a href='uploadtrans.php'>Upload Bank Statement(FB)</a>
    <a href='uploadtrans_sbi.php'>Upload Bank Statement(SBI)</a>
    <a href='amast/agrp.php'>Asset group</a>
    <a href='amast/amast.php'>Asset Master</a>
    <a href='amast/warr_master.php'>Veh_Warranty Master</a>
    <a href='amast/tcrmast.php'>TCR Master</a>
    <a href='amast/amastrepo.php' target='a'>Asset Report</a>
    <a href='amast/tcrmastrepo.php' target='b'>TCR Report</a>
    <a href='amast/remind.php' target='rem'>Reminder</a>
    <a href='machmaster.php'> Model Master</a>
    <a href='configmaster.php'> Config Master</a>
    <a href='veh/segment.php'> Segment Master</a>
    <a href='enginemaster.php'> Engine Master</a>
    <a href='custmaster.php'> Customer Master</a>
    <a href='minput.html'>Machine Input</a>
    <a href='mdet.php'>List Machine Details</a>
    <a href='seamdet.php'>Search Machine Details</a>
    <a href='srepo.php' target='a'>Service Report</a>
    <a href='mshift.php'>Machine Shifting</a>
    <a href='shis.php'>Service History</a>
    <a href="chp.php">Change Password</a>
</div>

