<?php

################## MASTERS ##################
    $item               = $_POST["item"];
    $customer           = $_POST["customer"];
    $supplier           = $_POST["supplier"];
    $broker             = $_POST["broker"];
    $destination        = $_POST["destination"];
    $transport          = $_POST["transport"];
    $brand              = $_POST["brand"];
    $godown             = $_POST["godown"];
    $bank               = $_POST["bank"];
    $cash               = $_POST["cash"];
    $expense            = $_POST["expense"];
    $narration          = $_POST["narration"];
              
    ################## TRANSACTION ##################
    $purchase           = $_POST["purchase"];
    $sale               = $_POST["sale"];
    $debitnote          = $_POST["debitnote"];
    $creditnote         = $_POST["creditnote"];
    $damaged            = $_POST["damaged"];
    $excess             = $_POST["excess"];
    $bankrecp           = $_POST["bankrecp"];
    $bankpay            = $_POST["bankpay"];
    $contra             = $_POST["contra"];
    $discgiven          = $_POST["discgiven"];
    $discrecv           = $_POST["discrecv"];
    
    ################## REPORTS ##################
    $rpstocknew         = $_POST["rpstocknew"];
    $rpstockold         = $_POST["rpstockold"];
    $rpstockshade       = $_POST["rpstockshade"];
    $rpstockflow        = $_POST["rpstockflow"];
    $rpledger           = $_POST["rpledger"];
    $rplabels           = $_POST["rplabels"];
    $rpleadingp         = $_POST["rpleadingp"];
    $rpbsalesumm        = $_POST["rpbsalesumm"];
    $rpbankbook         = $_POST["rpbankbook"];
    $rpcashbook         = $_POST["rpcashbook"];
    $rpcheckstock       = $_POST["rpcheckstock"];
    
    ################## REGISTERS ##################
    $rgsale             = $_POST["rgsale"];
    $rgsaleqw           = $_POST["rgsaleqw"];
    $rgpurchase         = $_POST["rgpurchase"];
    $rgdebitnote        = $_POST["rgdebitnote"];
    $rgdamaged          = $_POST["rgdamaged"];
    $rgexcess           = $_POST["rgexcess"];