18-Aug-2009 Joe Hunt
! Quick Entries uses Tax Groups instead of Item Tax Types for calculating taxes (Please change the item lines for tax).
+ Quick Entry Lines of type Supplier Invoice. When using, the Supplier Tax Group Id overrides the The Tax Group set on the line.
$ /gl/includes/db/gl_db_bank_accounts.inc
/gl/manage/gl_quick_entries.php
/includes/ui/ui_view.inc
case "t+": // ditto & increase base amount
case "t-": // ditto & reduce base amount
//$taxes = get_taxes_for_item_tax($qe_line['dest_id']);
+ if ($type == QE_SUPPINV)
+ $qe_line['dest_id'] = $cart->tax_group_id;
$taxes = array();
$res = get_tax_group_items($qe_line['dest_id']);
while ($row = db_fetch($res))