{
$sql = "SELECT po.*, supplier.supp_name, supplier.supp_account_no,supplier.tax_included,
supplier.gst_no AS tax_id,
{
$sql = "SELECT po.*, supplier.supp_name, supplier.supp_account_no,supplier.tax_included,
supplier.gst_no AS tax_id,
FROM ".TB_PREF."purch_order_details poline
LEFT JOIN ".TB_PREF."stock_master item ON poline.item_code=item.stock_id
WHERE order_no =".db_escape($order_no)." ";
FROM ".TB_PREF."purch_order_details poline
LEFT JOIN ".TB_PREF."stock_master item ON poline.item_code=item.stock_id
WHERE order_no =".db_escape($order_no)." ";
$myrow2['description'] = $data['supplier_description'];
if ($data['suppliers_uom'] != "")
$myrow2['units'] = $data['suppliers_uom'];
$myrow2['description'] = $data['supplier_description'];
if ($data['suppliers_uom'] != "")
$myrow2['units'] = $data['suppliers_uom'];
- $rep->TextColLines(1, 5, $myrow['comments'], -2);
+ $rep->TextColLines(1, 4, $myrow['comments'], -2);
- if ($SysPrefs->suppress_tax_rates() == 1)
- $tax_type_name = $tax_item['tax_type_name'];
- else
- $tax_type_name = $tax_item['tax_type_name']." (".$tax_item['rate']."%) ";
+ $tax_type_name = $tax_item['tax_type_name'];
if ($first)
{
$rep->TextCol(3, 6, _("Total Tax Excluded"), -2);
if ($first)
{
$rep->TextCol(3, 6, _("Total Tax Excluded"), -2);
- $rep->TextCol(6, 7, number_format2($sign*$tax_item['net_amount'], $dec), -2);
+ $rep->TextCol(6, 7, number_format2($tax_item['net_amount'], $dec), -2);
$rep->NewLine();
}
$rep->TextCol(3, 6, $tax_type_name, -2);
$rep->NewLine();
}
$rep->TextCol(3, 6, $tax_type_name, -2);