r22119 - gnucash/trunk/src/report/business-reports - Bug 670008 - taxinvoice lacks flexibility necessary to produce legally valid Australian Tax Invoice
Mike Evans
mikee at code.gnucash.org
Sun Mar 25 10:51:36 EDT 2012
Author: mikee
Date: 2012-03-25 10:51:36 -0400 (Sun, 25 Mar 2012)
New Revision: 22119
Trac: http://svn.gnucash.org/trac/changeset/22119
Modified:
gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm
gnucash/trunk/src/report/business-reports/taxinvoice.scm
Log:
Bug 670008 - taxinvoice lacks flexibility necessary to produce legally valid Australian Tax Invoice
Fix typo. Fix column misalignment when no taxes are present in the invoice.
Modified: gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm 2012-03-24 22:34:59 UTC (rev 22118)
+++ gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm 2012-03-25 14:51:36 UTC (rev 22119)
@@ -70,7 +70,7 @@
(qty? #f) ; does any row have qty <> 1?
(spancols_subtotal 1) ; for subtotal line
(spancols_payments 0) ; for payments line (between total and subtotal)
- (spancols_total 0)) ; for total line
+ (spancols_total 1)) ; for total line
; load splits, if any
(if (not (null? lot))
@@ -300,7 +300,7 @@
<?scm (if discount? (begin ?>
<th align="right"><?scm:d opt-disc-rate-heading ?></th>
<th align="right"><?scm:d opt-disc-amount-heading ?></th>
- <?scm (set! spancols_total (+ spancols_total 3))
+ <?scm (set! spancols_total (+ spancols_total 2))
(set! spancols_subtotal (+ spancols_subtotal 1)))) ?>
<?scm (if (and tax? taxtables?) (begin ?>
<th align="right"><?scm:d opt-net-price-heading ?></th>
@@ -308,7 +308,7 @@
<th align="right"><?scm:d opt-tax-rate-heading ?></th>
<?scm (set! spancols_total (+ spancols_total 1)))) ?>
<th align="right"><?scm:d opt-tax-amount-heading ?></th>
- <?scm (set! spancols_total (+ spancols_total 3))
+ <?scm (set! spancols_total (+ spancols_total 1))
(set! spancols_subtotal (+ spancols_subtotal 0)))) ?>
<th align="right"><?scm:d opt-total-price-heading ?></th>
</tr>
Modified: gnucash/trunk/src/report/business-reports/taxinvoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/taxinvoice.scm 2012-03-24 22:34:59 UTC (rev 22118)
+++ gnucash/trunk/src/report/business-reports/taxinvoice.scm 2012-03-25 14:51:36 UTC (rev 22119)
@@ -102,7 +102,7 @@
(define optname-jobname-text (N_ "Job Number text"))
(define optname-jobnumber-text (N_ "Job Name text"))
(define optname-jobname-show (N_ "Show Job name"))
-(define optname-jobnumber-show (N_ "Sjow Job number"))
+(define optname-jobnumber-show (N_ "Show Job number"))
(define optname-invnum-next-to-title (N_ "Invoice number next to title"))
(define optname-border-collapse (N_ "table-border-collapse"))
(define optname-border-color-th (N_ "table-header-border-color"))
More information about the gnucash-changes
mailing list