start_table(TABLESTYLE, "colspan=7 width=90%");
$th = array(_("Item Code"), _("Item Description"), _("Quantity"),
_("Delivered"),
- _("Unit"), _("Price"), _("Discount %"), _("Total"), "");
+ _("Unit"), $order->tax_included ? _("Price after Tax") : _("Price before Tax"), _("Discount %"), _("Total"), "");
if ($order->trans_no == 0) {
unset( $th[3] );
start_row();
label_cells(_("Amount Total"), $display_total, "colspan=$colspan align=right","align=right");
- submit_cells('update', _("Update"), "colspan=2", _("Refresh"), true);
+ submit_cells('update', _("Update"), "colspan=2 align='center'", _("Refresh"), true);
end_row();
end_table();
}
else
{
- submit_cells('AddItem', _("Add Item"), "colspan=2",
+ submit_cells('AddItem', _("Add Item"), "colspan=2 align='center'",
_('Add new item to document'), true);
}