diff options
author | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-07-29 22:39:50 +0000 |
---|---|---|
committer | aurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-07-29 22:39:50 +0000 |
commit | 556e1b6f75b3686c408be5e299ac68b834254983 (patch) | |
tree | 9e329d31a14747cf3478942da7ec2422b9671ad8 /UI/reconciliation | |
parent | 40ed95089aab6167cb7da2e7038fc3351ec79932 (diff) |
Rearranging the UI directory to have non-capitalized reconciliation dir.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2223 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 | 44 | ||||
-rw-r--r-- | UI/reconciliation/corrections.html | 39 | ||||
-rw-r--r-- | UI/reconciliation/list.html | 20 | ||||
-rw-r--r-- | UI/reconciliation/pending.html | 54 | ||||
-rw-r--r-- | UI/reconciliation/report.html | 60 | ||||
-rw-r--r-- | UI/reconciliation/search.html | 25 | ||||
-rw-r--r-- | UI/reconciliation/upload.html | 17 |
8 files changed, 287 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..3921f084 --- /dev/null +++ b/UI/reconciliation/correct.html @@ -0,0 +1,44 @@ +<div> + + <div class="title">Correction for Reconciliation Entry</div> + <table> + <tr> + <td> + Account + </td> + <td> + <input type="input" name="scn" value="<?lsmb entry.account?>"/> + </td> + </tr> + <tr> + <td> + SCN + </td> + <td> + <input type="input" name="scn" value="<?lsmb entry.scn?>"/> + </td> + </tr> + <tr> + <td> + Amount + </td> + <td> + <input type="input" name="amount" value="<?lsmb entry.their_balance?>"/> + </td> + </tr> + <tr> + <td> + Cleared at + </td> + <td> + <input type="input" name="cleared" value="<?lsmb entry.clear_time?>"/> + </td> + </tr> + <tr> + <td>Reason</td> + <td><textarea rows="15" cols="15"></textarea></td> + </tr> + </table> + + +</div>
\ No newline at end of file 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/list.html b/UI/reconciliation/list.html new file mode 100644 index 00000000..720f140d --- /dev/null +++ b/UI/reconciliation/list.html @@ -0,0 +1,20 @@ +<?lsmb import base.html?> + +<div class="content"> + <table> + <tr> + <td>ID</td> + <td>Account</td> + <td>Date Range</td> + <td>Total</td> + </tr> + <?lsmb FOR item IN reports?> + <tr> + <td><a href="recon.pl?action=report&report_id=<?lsmb item.report_id?>"><?lsmb item.report_id?></a></td> + <td><?lsmb item.account?></td> + <td><?lsmb item.range?></td> + <td><?lsmb item.total?></td> + </tr> + <?lsmb END?> + </table> +</div>
\ No newline at end of file diff --git a/UI/reconciliation/pending.html b/UI/reconciliation/pending.html new file mode 100644 index 00000000..c2636d09 --- /dev/null +++ b/UI/reconciliation/pending.html @@ -0,0 +1,54 @@ +<div> + <?lsmb IF pending?> + <table> + <tr> + <td> + Account + </td> + <td>SCN</td> + <td>Entry</td> + <td>Amount</td> + <td>Transaction Date</td> + </tr> + <?lsmb FOR trans IN pending?> + + <td><?lsmb trans.account?></td> + <td><?lsmb trans.source?></td> + <td><a href="transactions.pl?entry=<?lsmb trans.entry_id?>">Full Entry</a></td> + <td><?lsmb trans.transdate?></td> + + <?lsmb END?> + <?lsmb ELSE?> + <form name="month" method="reconciliation.pl" action="POST"> + <input type="hidden" name="action" value="pending"/> + Year: <select name="year"> + <option value="2008">2008</option> + <option value="2007">2008</option> + <option value="2006">2008</option> + <option value="2005">2008</option> + <option value="2004">2008</option> + <option value="2003">2008</option> + <option value="2002">2008</option> + <option value="2001">2008</option> + <option value="2000">2000</option> + </select> + + Month: <select name="month"> + <option value="12">December</option> + <option value="11">November</option> + <option value="10">October</option> + <option value="9">September</option> + <option value="8">August</option> + <option value="7">July</option> + <option value="6">June</option> + <option value="5">May</option> + <option value="4">April</option> + <option value="3">March</option> + <option value="2">February</option> + <option value="1">January</option> + </select> + <input type="submit" value="Get Pending Transactions"> + </form> + <?lsmb END?> + </table> +</div>
\ No newline at end of file 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 diff --git a/UI/reconciliation/search.html b/UI/reconciliation/search.html new file mode 100644 index 00000000..a0cabf9f --- /dev/null +++ b/UI/reconciliation/search.html @@ -0,0 +1,25 @@ +<form name="reconciliation__search" method="POST" action="recon.pl"> + <input type="hidden" name="action" value="search"> + <div> + Date:<br/> + <input type="input" size="15" name="date_begin" alt="<?lsmb date_format ?>"/> to + <input type="input" size="15" name="date_end" alt="<?lsmb date_format ?>"/><br/> + </div> + + <div> + Account:<br/> + <input type="input" size="15" name="account" alt="Chart account #"/> + </div> + + <div> + Status:<br/> + <select name="status"> + + <option value="1">Approved</option> + <option value="0">Unapproved</option> + </select> + </div> + <div> + <input type="submit" value="Search!"> + </div> +</form>
\ No newline at end of file diff --git a/UI/reconciliation/upload.html b/UI/reconciliation/upload.html new file mode 100644 index 00000000..fdf3ac4e --- /dev/null +++ b/UI/reconciliation/upload.html @@ -0,0 +1,17 @@ +<div> + <div class="title"> + New Reconciliation Report + </div> + <?lsmb IF error?> + <div class="error">Error detected in file upload: <?lsmb error?><br/> + Please check your CSV file and try again. + </div> + <?lsmb END?> + <form name="csv_upload" method="POST" action="/reconciliation.pl"> + + <input type="hidden" name="action" value="new_report" /> + <label for="file_upload">CSV File:</label> + <input type="file" name="csv_file" id="file_upload" /> + <input type="submit" action="submit" value="Create New Report"> + </form> +</div>
\ No newline at end of file |