$DisplayTotal = number_format2($myrow["freight_cost"] + $SubTotal, $dec);
$rep->Font('bold');
-// if ($myrow['tax_included'] == 0)
-// $rep->TextCol(3, 6, $doc_TOTAL_ORDER, - 2);
-// else
$rep->TextCol(3, 6, $doc_TOTAL_ORDER2, - 2);
$rep->TextCol(6, 7, $DisplayTotal, -2);
$words = price_in_words($myrow["freight_cost"] + $SubTotal, ST_SALESORDER);
$rep->Font();
if ($email == 1)
{
- $res = get_branch_contacts($branch['branch_code'], 'order', $branch['customer_id']);
$rep->End($email, $doc_Invoice_no . " " . $i, $myrow);
}
}