blob: 41c24a9de9b4977623ab0d199e24d228bfa57e5a (
plain)
- <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?>
|