if (isset($_GET['invoice_no']))
{
$_SESSION['supp_trans']->supp_reference = $_POST['invoice_no'] = $_GET['invoice_no'];
if (isset($_GET['invoice_no']))
{
$_SESSION['supp_trans']->supp_reference = $_POST['invoice_no'] = $_GET['invoice_no'];
$_SESSION['supp_trans']->add_grn_to_trans($n,
$_POST['po_detail_item'.$n], $_POST['item_code'.$n],
$_POST['item_description'.$n], $_POST['qty_recd'.$n],
$_POST['prev_quantity_inv'.$n], input_num('This_QuantityCredited'.$n),
$_SESSION['supp_trans']->add_grn_to_trans($n,
$_POST['po_detail_item'.$n], $_POST['item_code'.$n],
$_POST['item_description'.$n], $_POST['qty_recd'.$n],
$_POST['prev_quantity_inv'.$n], input_num('This_QuantityCredited'.$n),
- $_POST['order_price'.$n], input_num('ChgPrice'.$n), $complete,
+ $_POST['order_price'.$n], input_num('ChgPrice'.$n),
$total_grn_value = display_grn_items($_SESSION['supp_trans'], 1);
$total_gl_value = display_gl_items($_SESSION['supp_trans'], 1);
$total_grn_value = display_grn_items($_SESSION['supp_trans'], 1);
$total_gl_value = display_gl_items($_SESSION['supp_trans'], 1);