summaryrefslogtreecommitdiff
path: root/UI/report.html
blob: cd6c8972f313b69823ca742ac003119f5e0eda54 (plain)
  1. <center>Reconciliation Report for [% total.account %] for the month of [%total.month%]</center>
  2. <center>
  3. [%IF total.errorcode != 0 %]
  4. <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;">
  5. [%ELSE%]
  6. <div style="color:red; border-style:solid; border-width:1px; border-color: blue;">
  7. [%END%]
  8. Our Balance: total.our_balance | Bank Balance: total.their_balance
  9. </div>
  10. </center>
  11. <center>Report generated by [% total.user %]</center>
  12. [% if recon.error %]
  13. <div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" >
  14. [% recon.error %]
  15. </div>
  16. [%end%]
  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. </tr>
  26. [% FOREACH row = records %]
  27. [%IF row.errorcode != 0 %]
  28. <tr style="background-color:red;">
  29. [% ELSIF row.id = corrected %]
  30. <tr style="background-color:yellow;">
  31. [%ELSE%]
  32. <tr>
  33. [%END%]
  34. <td>[% row.clear_time %]</td>
  35. <td>[% row.transaction_type %] </td>
  36. <td>[% row.our_balance %]</td>
  37. <td>[% row.their_balance%]</td>
  38. <td>[% row.corrections %]</td>
  39. [% IF row.errorcode > 0 %]
  40. <td>[% row.errorcode %] <a href="/reconciliation.pl?corrections&amp;entry=[%row.entry_id%]">View Corrections</a> </td>
  41. [%ELSE%]
  42. <td>0</td>
  43. [%END%]
  44. </tr>
  45. [% END %]
  46. </table>