2001-07-12 Dave Peticolas <dave@krondo.com>

* src/gnome/window-register.c: same as below

	* src/scm/report/taxtxf.scm: use split amount


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4951 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2001-07-13 06:13:29 +00:00
parent 6c637abf55
commit 8b3787a20e
3 changed files with 11 additions and 5 deletions
+6
View File
@@ -1,3 +1,9 @@
2001-07-12 Dave Peticolas <dave@krondo.com>
* src/gnome/window-register.c: same as below
* src/scm/report/taxtxf.scm: use split amount
2001-07-13 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/payables.scm: New file - an
+1 -1
View File
@@ -1180,7 +1180,7 @@ print_check_cb(GtkWidget * widget, gpointer data)
gh_procedure_p(print_check))
{
payee = xaccTransGetDescription(trans);
amount = xaccSplitGetValue(split);
amount = xaccSplitGetAmount(split);
amount = gnc_numeric_abs (amount);
date = xaccTransGetDate(trans);
memo = xaccSplitGetMemo(split);
+4 -4
View File
@@ -597,8 +597,8 @@
(map (lambda (spl)
(let* ((date (gnc:transaction-get-date-posted
(gnc:split-get-parent spl)))
(value (gnc:numeric-to-double
(gnc:split-get-value spl)))
(amount (gnc:numeric-to-double
(gnc:split-get-amount spl)))
;; TurboTax 1999 and 2000 ignore dates after Dec 31
(fudge-date (if (and full-year?
(gnc:timepair-lt to-value date))
@@ -606,8 +606,8 @@
date)))
(if tax-mode?
(render-level-x-account table lev max-level account
value suppress-0 #f date)
(render-txf-account account value
amount suppress-0 #f date)
(render-txf-account account amount
#t fudge-date #t date))))
split-list)))