projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b2b38d
)
Spacing adjustment for rep705.php
master
github/master
author
Joe
<joe.hunt.consulting@gmail.com>
Sun, 12 Jan 2025 10:31:08 +0000
(11:31 +0100)
committer
Joe
<joe.hunt.consulting@gmail.com>
Sun, 12 Jan 2025 10:31:08 +0000
(11:31 +0100)
reporting/rep705.php
patch
|
blob
|
history
diff --git
a/reporting/rep705.php
b/reporting/rep705.php
index dfc9208ab47dd1286ebf3a8edde5b8eae6abdb00..5f836fcdc1fa2dac82463a243f1951aea4b71f8d 100644
(file)
--- a/
reporting/rep705.php
+++ b/
reporting/rep705.php
@@
-222,8
+222,7
@@
function print_annual_expense_breakdown()
$amts_thousands = "";
$fontSize = ($orientation == 'P' ? 7 : 8);
}
$amts_thousands = "";
$fontSize = ($orientation == 'P' ? 7 : 8);
}
-
- $cols = array(0, 34, 130, 162, 194, 226, 258, 290, 322, 354, 386, 418, 450, 482, 514, 546);
+ $cols = array(0, 34, 130, 163, 196, 229, 262, 295, 328, 361, 394, 427, 460, 493, 526, 561);
//------------0--1---2----3----4----5----6----7----8----10---11---12---13---14---15---16-
// from now
//------------0--1---2----3----4----5----6----7----8----10---11---12---13---14---15---16-
// from now
@@
-291,13
+290,13
@@
function print_annual_expense_breakdown()
$rep = new FrontReport(_('Annual Expense Breakdown'), "AnnualBreakDown", user_pagesize(), $fontSize,
$orientation);
$rep = new FrontReport(_('Annual Expense Breakdown'), "AnnualBreakDown", user_pagesize(), $fontSize,
$orientation);
- if ($orientation == 'L')
+
if ($orientation == 'L')
recalculate_cols($cols);
recalculate_cols($cols);
-
else
if (user_pagesize() == 'A4')
+ if (user_pagesize() == 'A4')
{
{
- // Portrait, so adjust columns for A4,
16.7
pts narrower than Letter
+ // Portrait, so adjust columns for A4,
30
pts narrower than Letter
for ($i = 2; $i < sizeof($cols); $i++)
for ($i = 2; $i < sizeof($cols); $i++)
- $cols[$i] -=
17
;
+ $cols[$i] -=
30
;
}
$rep->Font();
}
$rep->Font();