From 3d6d345a04bcc1038a711d6c7ab4fd8d090b5e65 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Wed, 14 Jul 2010 20:21:54 +0000 Subject: [PATCH] Bug #620763: remove trailing whitespace from balsheet-eg* git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19367 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/standard-reports/balsheet-eg.css | 4 +- .../standard-reports/balsheet-eg.eguile.scm | 98 +++++++------- src/report/standard-reports/balsheet-eg.scm | 128 +++++++++--------- 3 files changed, 115 insertions(+), 115 deletions(-) diff --git a/src/report/standard-reports/balsheet-eg.css b/src/report/standard-reports/balsheet-eg.css index 784b03d213..83d6d5b437 100644 --- a/src/report/standard-reports/balsheet-eg.css +++ b/src/report/standard-reports/balsheet-eg.css @@ -3,7 +3,7 @@ /* Note that body and table font family and size will be overridden */ /* by separate report options. */ - body { + body { margin: 2em; } table.outer { @@ -16,7 +16,7 @@ vertical-align: bottom; } table.accounts td { - } + } td { padding: 0em 0.5em; } diff --git a/src/report/standard-reports/balsheet-eg.eguile.scm b/src/report/standard-reports/balsheet-eg.eguile.scm index 005b3aed1f..040af6af49 100644 --- a/src/report/standard-reports/balsheet-eg.eguile.scm +++ b/src/report/standard-reports/balsheet-eg.eguile.scm @@ -1,24 +1,24 @@ (accrec-depth accrec) 0)) ) ; has sub-accounts: shift left to put balance in same column as sub-accounts - (set! rshift2 -1)) + (set! rshift2 -1)) ; Don't show zero amount for a placeholder -- the value to ; test for zero depends on whether or not this is a 'summary' value ; (i.e. a total of sub-accounts that are not shown separately) @@ -93,11 +93,11 @@ (not (accrec-non-zero? accrec)) (gnc-numeric-zero-p (accrec-balance-num accrec)))) (set! showamt? #f)) - (display-acc-row - maxdepth - (accrec-depth accrec) + (display-acc-row + maxdepth + (accrec-depth accrec) (+ rshift rshift2) - (accrec-namelink accrec) + (accrec-namelink accrec) (if showamt? (if (accrec-summary? accrec) (format-comm-coll (accrec-subtotal-cc accrec)) @@ -112,15 +112,15 @@ (display-accounts-table-r (accrec-sublist accrec) neg? maxdepth rshift onedepth1) ; ...and then display the total ; unless there is only one depth-1 account - (if (not (and onedepth1 + (if (not (and onedepth1 (= 1 (accrec-depth accrec)))) - (display-acc-row - maxdepth - (accrec-depth accrec) - (if (> (accrec-depth accrec) 1) rshift 0) + (display-acc-row + maxdepth + (accrec-depth accrec) + (if (> (accrec-depth accrec) 1) rshift 0) (string-append (_ "Total") " " (accrec-namelink accrec)) (format-comm-coll-total (accrec-subtotal-cc accrec)) - (<= (accrec-depth accrec) 1) ; total? + (<= (accrec-depth accrec) 1) ; total? (> (accrec-depth accrec) 0))))))) ; leftoverrule? tree )) @@ -137,7 +137,7 @@