! -> Note
$ -> Affected files
+21-Dec-2008 Joe Hunt
+# Minor bugs in layout and quick entries.
+$ /Includes/ui/ui_view.inc
+ /purchasing/includes/ui/invoice_ui.inc
+ /purchasing/supplier_invoice.php
+
20-Dec-2008 Joe Hunt
! Replaced the ajax paging in stock movements with the old file.
$ /inventory/inquiry/stock_movements.php
if ($item['rate'] != 0)
{
$amount = $totamount * $item['rate'] / 100;
- $code = ($amount < 0 ? $item['purchasing_gl_code'] :
+ $code = (($amount < 0 || $payment || $supp_trans) ? $item['purchasing_gl_code'] :
$item['sales_gl_code']);
if (!$supp_trans)
$cart->add_gl_item($code, 0, 0, $amount, $qe['description']);
label_row(_("Tax Group:"), $supp_trans->tax_description);
- end_outer_table();
+ end_outer_table(1);
}
//--------------------------------------------------------------------------------------------------
$Ajax->activate('inv_tot');
}
+$id2 = -1;
if ($_SESSION["wa_current_user"]->access == 2)
{
$id3 = find_submit('void_item_id');