summaryrefslogtreecommitdiff
path: root/UI/Reconciliation/report.html
blob: 41c24a9de9b4977623ab0d199e24d228bfa57e5a (plain)
  1. <center>Reconciliation Report for <?lsmb total.account ?> for the month of <?lsmbtotal.month?></center>
  2. <center>
  3. <?lsmbIF total.errorcode != 0 ?>
  4. <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;">
  5. <?lsmbELSE?>
  6. <div style="color:red; border-style:solid; border-width:1px; border-color: blue;">
  7. <?lsmbEND?>
  8. Our Balance: total.our_balance | Bank Balance: total.their_balance
  9. </div>
  10. </center>
  11. <center>Report generated by <?lsmb total.user ?></center>
  12. <?lsmb if recon.error ?>
  13. <div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" >
  14. <?lsmb recon.error ?>
  15. </div>
  16. <?lsmbend?>
  17. <table border=0>
  18. <tr>
  19. <td>Clear date</td>
  20. <td>Transaction Type</td>
  21. <td>Our Balance</td>
  22. <td>Their Balance</td>
  23. <td>Error Corrections</td>
  24. <td>Error Code</td>
  25. <td></td>
  26. </tr>
  27. <?lsmb FOREACH row = records ?>
  28. <?lsmbIF row.errorcode != 0 ?>
  29. <tr style="background-color:red;">
  30. <?lsmb ELSIF row.id = corrected ?>
  31. <tr style="background-color:yellow;">
  32. <?lsmbELSE?>
  33. <tr>
  34. <?lsmbEND?>
  35. <td><?lsmb row.clear_time ?></td>
  36. <td><?lsmb row.transaction_type ?> </td>
  37. <td><?lsmb row.our_balance ?></td>
  38. <td><?lsmb row.their_balance?></td>
  39. <td><?lsmb row.corrections ?></td>
  40. <?lsmb IF row.errorcode > 0 ?>
  41. <td><?lsmb row.errorcode ?> <a href="/reconciliation.pl?action=corrections&amp;entry=<?lsmbrow.entry_id?>">View Corrections</a> </td>
  42. <?lsmbELSE?>
  43. <td>0</td>
  44. <?lsmbEND?>
  45. <td><a href="/reconciliation.pl?action=correct&amp;report_id=<?lsmbrow.report_id?>&amp;entry_id=<?lsmbrow.entry_id?>">Correct</a></td>
  46. </tr>
  47. <?lsmb END ?>
  48. </table>
  49. <?lsmb if not recon.error?>
  50. <form name="approval" method="POST" action="/reconciliation.pl">
  51. <input type="submit" name="action" value="Approve" />
  52. </form>
  53. <?lsmb end?>