diff options
Diffstat (limited to 'UI/reconciliation/report.html')
-rw-r--r-- | UI/reconciliation/report.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/UI/reconciliation/report.html b/UI/reconciliation/report.html new file mode 100644 index 00000000..41c24a9d --- /dev/null +++ b/UI/reconciliation/report.html @@ -0,0 +1,60 @@ +<center>Reconciliation Report for <?lsmb total.account ?> for the month of <?lsmbtotal.month?></center> + +<center> + <?lsmbIF total.errorcode != 0 ?> + <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;"> + <?lsmbELSE?> + <div style="color:red; border-style:solid; border-width:1px; border-color: blue;"> + <?lsmbEND?> + Our Balance: total.our_balance | Bank Balance: total.their_balance + </div> +</center> + +<center>Report generated by <?lsmb total.user ?></center> + +<?lsmb if recon.error ?> +<div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" > + <?lsmb recon.error ?> +</div> +<?lsmbend?> + +<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> + <td></td> + </tr> + + <?lsmb FOREACH row = records ?> + <?lsmbIF row.errorcode != 0 ?> + <tr style="background-color:red;"> + <?lsmb ELSIF row.id = corrected ?> + <tr style="background-color:yellow;"> + <?lsmbELSE?> + <tr> + <?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> + <?lsmbEND?> + <td><a href="/reconciliation.pl?action=correct&report_id=<?lsmbrow.report_id?>&entry_id=<?lsmbrow.entry_id?>">Correct</a></td> + </tr> + <?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 |