diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-22 05:01:13 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-22 05:01:13 +0000 |
commit | 170174b76910a2916db1a9208597a428ebb9b40d (patch) | |
tree | ea09ceee935ec631d97786bd827cff9dcad2d2eb /UI/report.html | |
parent | 426e5a7263770cee8138d44a8c66a257ed7665de (diff) |
Added version of Aurynn's reconciliation logic
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1302 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/report.html')
-rw-r--r-- | UI/report.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/UI/report.html b/UI/report.html new file mode 100644 index 00000000..cd6c8972 --- /dev/null +++ b/UI/report.html @@ -0,0 +1,52 @@ +<center>Reconciliation Report for [% total.account %] for the month of [%total.month%]</center> + +<center> + [%IF total.errorcode != 0 %] + <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;"> + [%ELSE%] + <div style="color:red; border-style:solid; border-width:1px; border-color: blue;"> + [%END%] + Our Balance: total.our_balance | Bank Balance: total.their_balance + </div> +</center> + +<center>Report generated by [% total.user %]</center> + +[% if recon.error %] +<div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" > + [% recon.error %] +</div> +[%end%] + +<table border=0> + + <tr> + <td>Clear date</td> + <td>Transaction Type</td> + <td>Our Balance</td> + <td>Their Balance</td> + <td>Error Corrections</td> + <td>Error Code</td> + </tr> + + [% FOREACH row = records %] + [%IF row.errorcode != 0 %] + <tr style="background-color:red;"> + [% ELSIF row.id = corrected %] + <tr style="background-color:yellow;"> + [%ELSE%] + <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&entry=[%row.entry_id%]">View Corrections</a> </td> + [%ELSE%] + <td>0</td> + [%END%] + </tr> + [% END %] +</table>
\ No newline at end of file |