summaryrefslogtreecommitdiff
path: root/UI/Reconciliation/report.html
diff options
context:
space:
mode:
authoraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-01 20:30:05 +0000
committeraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-01 20:30:05 +0000
commitd6f5e7b43d9d0adba0f6161dbdd7f07985b25bd4 (patch)
tree771d303d20f2d2abc53de9f59d8ad191cd9f5d6d /UI/Reconciliation/report.html
parent411e61879b0efad2c5bfdcd209b46e01a33e0f35 (diff)
Bulk updarte for the entirety of Reconciliation code to date. All code, SQL, and templates as provided.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2180 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/Reconciliation/report.html')
-rw-r--r--UI/Reconciliation/report.html56
1 files changed, 32 insertions, 24 deletions
diff --git a/UI/Reconciliation/report.html b/UI/Reconciliation/report.html
index cd6c8972..41c24a9d 100644
--- a/UI/Reconciliation/report.html
+++ b/UI/Reconciliation/report.html
@@ -1,22 +1,22 @@
-<center>Reconciliation Report for [% total.account %] for the month of [%total.month%]</center>
+<center>Reconciliation Report for <?lsmb total.account ?> for the month of <?lsmbtotal.month?></center>
<center>
- [%IF total.errorcode != 0 %]
+ <?lsmbIF total.errorcode != 0 ?>
<div style="color:blue; border-style:solid; border-width:1px; border-color: blue;">
- [%ELSE%]
+ <?lsmbELSE?>
<div style="color:red; border-style:solid; border-width:1px; border-color: blue;">
- [%END%]
+ <?lsmbEND?>
Our Balance: total.our_balance | Bank Balance: total.their_balance
</div>
</center>
-<center>Report generated by [% total.user %]</center>
+<center>Report generated by <?lsmb total.user ?></center>
-[% if recon.error %]
+<?lsmb if recon.error ?>
<div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" >
- [% recon.error %]
+ <?lsmb recon.error ?>
</div>
-[%end%]
+<?lsmbend?>
<table border=0>
@@ -27,26 +27,34 @@
<td>Their Balance</td>
<td>Error Corrections</td>
<td>Error Code</td>
+ <td></td>
</tr>
- [% FOREACH row = records %]
- [%IF row.errorcode != 0 %]
+ <?lsmb FOREACH row = records ?>
+ <?lsmbIF row.errorcode != 0 ?>
<tr style="background-color:red;">
- [% ELSIF row.id = corrected %]
+ <?lsmb ELSIF row.id = corrected ?>
<tr style="background-color:yellow;">
- [%ELSE%]
+ <?lsmbELSE?>
<tr>
- [%END%]
- <td>[% row.clear_time %]</td>
- <td>[% row.transaction_type %] </td>
- <td>[% row.our_balance %]</td>
- <td>[% row.their_balance%]</td>
- <td>[% row.corrections %]</td>
- [% IF row.errorcode > 0 %]
- <td>[% row.errorcode %] <a href="/reconciliation.pl?corrections&amp;entry=[%row.entry_id%]">View Corrections</a> </td>
- [%ELSE%]
+ <?lsmbEND?>
+ <td><?lsmb row.clear_time ?></td>
+ <td><?lsmb row.transaction_type ?> </td>
+ <td><?lsmb row.our_balance ?></td>
+ <td><?lsmb row.their_balance?></td>
+ <td><?lsmb row.corrections ?></td>
+ <?lsmb IF row.errorcode > 0 ?>
+ <td><?lsmb row.errorcode ?> <a href="/reconciliation.pl?action=corrections&amp;entry=<?lsmbrow.entry_id?>">View Corrections</a> </td>
+ <?lsmbELSE?>
<td>0</td>
- [%END%]
+ <?lsmbEND?>
+ <td><a href="/reconciliation.pl?action=correct&amp;report_id=<?lsmbrow.report_id?>&amp;entry_id=<?lsmbrow.entry_id?>">Correct</a></td>
</tr>
- [% END %]
-</table> \ No newline at end of file
+ <?lsmb END ?>
+</table>
+
+<?lsmb if not recon.error?>
+<form name="approval" method="POST" action="/reconciliation.pl">
+ <input type="submit" name="action" value="Approve" />
+</form>
+<?lsmb end?> \ No newline at end of file