if ($_SESSION['Items']->trans_no==0) {
ref_cells(_("Reference"), 'ref', '', null, "class='tableheader2'", false, ST_CUSTDELIVERY,
array('customer' => $_SESSION['Items']->customer_id,
'branch' => $_SESSION['Items']->Branch,
if ($_SESSION['Items']->trans_no==0) {
ref_cells(_("Reference"), 'ref', '', null, "class='tableheader2'", false, ST_CUSTDELIVERY,
array('customer' => $_SESSION['Items']->customer_id,
'branch' => $_SESSION['Items']->Branch,