diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-19 23:28:25 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-19 23:28:25 +0000 |
commit | 171bd4e6f2e17ab078a53c70f7ab6fea3ed4b65d (patch) | |
tree | d8ab3e963b17a3b4e50f2a569de9ba0717597c4d /UI/rp-aging.html | |
parent | 56bad0026c65026b9088be15e6d1956b8e9dd01e (diff) |
Some fixes to the aging report templating
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1798 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/rp-aging.html')
-rw-r--r-- | UI/rp-aging.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/UI/rp-aging.html b/UI/rp-aging.html index dec54653..945c7025 100644 --- a/UI/rp-aging.html +++ b/UI/rp-aging.html @@ -15,19 +15,19 @@ <?lsmb PROCESS elements.html ?> <body> - +<form method="post" action="<?lsmb form.script ?>"> <table width="100%"> <tr> <th class="listtop" colspan="<?lsmb columns.size ?>"><?lsmb form.title ?></th> </tr> <tr> <?lsmb IF options.defined ?> - <td><?lsmb FOREACH option IN options; option ?><br /><?lsmb END ?></td> + <td colspan="<?lsmb columns.size ?>"><?lsmb FOREACH option IN options; option ?><br /><?lsmb END ?></td> <?lsmb ELSE ?> <td colspan="<?lsmb columns.size ?>"></td></tr> <?lsmb END ?> </tr> - <?lsmb FOREACH currency IN rows ?> + <?lsmb FOREACH currency IN currencies ?> <tr><td colspan="<?lsmb columns.size ?>"><?lsmb currency.curr ?></td></tr> <tr class="listheading"> <?lsmb FOREACH column IN columns ?> @@ -52,8 +52,9 @@ <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a> <?lsmb ELSIF row.$column.delimiter; FOREACH l IN row.$column.text.split(row.$column.delimiter); l ?><br /><?lsmb END; - ELSIF row.$column.options; PROCESS option element_data=row.$column; - ELSIF column == 'statement'; PROCESS input element_data=row.$column; + ELSIF row.$column.options; PROCESS select element_data=row.$column; + ELSIF column == 'statement' AND row.$column.type.defined; + PROCESS input element_data=row.$column; ELSE; row.$column; END ?> </<?lsmb s ?>> <?lsmb END ?> @@ -72,7 +73,6 @@ <br /> -<form method="post" action="<?lsmb form.script ?>"> <?lsmb IF form.arap == 'ar'; PROCESS select element_data=form.print.template; PROCESS select element_data=form.print.format; |