diff options
Diffstat (limited to 'UI/Reconciliation/report.html')
-rw-r--r-- | UI/Reconciliation/report.html | 56 |
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&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&entry=<?lsmbrow.entry_id?>">View Corrections</a> </td> + <?lsmbELSE?> <td>0</td> - [%END%] + <?lsmbEND?> + <td><a href="/reconciliation.pl?action=correct&report_id=<?lsmbrow.report_id?>&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 |