! -> Note
$ -> Affected files
+28-Aug-2009 Joe Hunt
+# The reference for deposits and payments didn't show up in Tax Report
+$ /gl/includes/db/gl_db_banking.inc
+ /gl/includes/db/gl_db_trans.inc
+# Minor bug in Quick Entries display
+$ /includes/ui/ui_view.inc
+
27-Aug-2009 Joe Hunt
# bank_trans_type_id removed from bank_trans in en_US-demo.sql and en_US-new.sql.
$ /sql/en_US-demo.sql
$ex_rate = get_exchange_rate_from_home_currency($currency, $date_);
add_gl_tax_details($gl_item->code_id, $trans_type, $trans_no, -$amount,
- $ex_rate, $date_, $memo_);
+ $ex_rate, $date_, $ref);
}
// do the source account postings
}
// store tax details if the gl account is a tax account
add_gl_tax_details($journal_item->code_id,
- ($journal_item->amount < 0.0 ? 2 : 1), $trans_id, -$journal_item->amount, 1, $date_, $memo_);
+ ($journal_item->amount < 0.0 ? 2 : 1), $trans_id, -$journal_item->amount, 1, $date_, $ref);
}
if ($new) {
case "t": // post taxes calculated on base amount
case "t+": // ditto & increase base amount
case "t-": // ditto & reduce base amount
- if (substr($qe_line['action'],0,1) != 'T')
+ if (substr($row['action'],0,1) != 'T')
$totrate += get_tax_type_default_rate($row['dest_id']);
}
}