diff options
author | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-10 23:02:09 +0000 |
---|---|---|
committer | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-10 23:02:09 +0000 |
commit | 74afbb457aac6a1f6e2d4a2357768f710977a640 (patch) | |
tree | cc06c426397d05c5f1dc12eb40b0883f7d3b0854 /UI/Reconciliation | |
parent | 928290e80924da702b9041a30dd776ad34d24ba9 (diff) |
Creation of next-gen admin.pl, admin.pm, and admin.sql systems.
Admin.pm defines the new controller
admin.pl is the direct view-backing software.
POD is not completed, will be provided shortly.
Full UI templates provided for the Reconciliation, Vendor, Customer, and Employee as well.
UI/ is being delineated by subdirectories for Admin, Vendor, Customer and Employee, to date.
Minor whitespace cleanup.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1557 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/Reconciliation')
-rw-r--r-- | UI/Reconciliation/approved.html | 28 | ||||
-rw-r--r-- | UI/Reconciliation/correct.html | 0 | ||||
-rw-r--r-- | UI/Reconciliation/corrections.html | 39 | ||||
-rw-r--r-- | UI/Reconciliation/report.html | 52 |
4 files changed, 119 insertions, 0 deletions
diff --git a/UI/Reconciliation/approved.html b/UI/Reconciliation/approved.html new file mode 100644 index 00000000..16afc6cc --- /dev/null +++ b/UI/Reconciliation/approved.html @@ -0,0 +1,28 @@ +<div> + <center> + Bank statement for <?lsmbaccount?> on <?lsmbdate?> has been approved! + </center> +</div> + +<table border=0 style="opacity:50%;"> + + <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> + </tr> + + <?lsmb FOREACH row = records ?> + <tr> + <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> + <td><?lsmb row.errorcode ?></td> + </tr> + <?lsmb END ?> +</table>
\ No newline at end of file diff --git a/UI/Reconciliation/correct.html b/UI/Reconciliation/correct.html new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/UI/Reconciliation/correct.html diff --git a/UI/Reconciliation/corrections.html b/UI/Reconciliation/corrections.html new file mode 100644 index 00000000..bdf7424a --- /dev/null +++ b/UI/Reconciliation/corrections.html @@ -0,0 +1,39 @@ +<table border=0> + <tr> + <td>Clear date</td> + <td>Transaction Type</td> + <td>Our Balance</td> + <td>Their Balance</td> + </tr> + <tr> + <td><?lsmb entry.clear_time ?></td> + <td><?lsmb entry.transaction_type ?> </td> + <td><?lsmb entry.our_balance ?></td> + <td><?lsmb entry.their_balance?></td> + </tr> +</table> + +<?lsmb IF NOT corrections ?> +Corrections: +<table border=0> + <?lsmb FOREACH row = corrections ?> + <tr> + <td> + <div> + <span><?lsmbrow.user?> at <?lsmbrow.insert_time?></span> + <div> + <?lsmbrow.reason?> + </div> + </div> + </td> + </tr> + <?lsmbEND?> + +</table> +<?lsmbELSE?> + +<div> + No corrections found. +</div> + +<?lsmbEND?>
\ No newline at end of file diff --git a/UI/Reconciliation/report.html b/UI/Reconciliation/report.html new file mode 100644 index 00000000..cd6c8972 --- /dev/null +++ b/UI/Reconciliation/report.html @@ -0,0 +1,52 @@ +<center>Reconciliation Report for [% total.account %] for the month of [%total.month%]</center> + +<center> + [%IF total.errorcode != 0 %] + <div style="color:blue; border-style:solid; border-width:1px; border-color: blue;"> + [%ELSE%] + <div style="color:red; border-style:solid; border-width:1px; border-color: blue;"> + [%END%] + Our Balance: total.our_balance | Bank Balance: total.their_balance + </div> +</center> + +<center>Report generated by [% total.user %]</center> + +[% if recon.error %] +<div style="border-color:red; border-width:1px; border-style:solid; margin:3px;" > + [% recon.error %] +</div> +[%end%] + +<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> + </tr> + + [% FOREACH row = records %] + [%IF row.errorcode != 0 %] + <tr style="background-color:red;"> + [% ELSIF row.id = corrected %] + <tr style="background-color:yellow;"> + [%ELSE%] + <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%] + <td>0</td> + [%END%] + </tr> + [% END %] +</table>
\ No newline at end of file |