summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-01 23:34:41 +0000
committeraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-01 23:34:41 +0000
commitf31f0fd95aa2eb2e61f09900a2a011984da5a274 (patch)
tree326def30ebc15437206bae4d1677cc9a23195885 /UI
parentd84bdb1bda86929356d218117c4992ab66f2246e (diff)
Adding Pending Transactions support to reconciliation.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2182 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/Reconciliation/correct.html16
-rw-r--r--UI/Reconciliation/pending.html54
2 files changed, 62 insertions, 8 deletions
diff --git a/UI/Reconciliation/correct.html b/UI/Reconciliation/correct.html
index b74ab4b0..3921f084 100644
--- a/UI/Reconciliation/correct.html
+++ b/UI/Reconciliation/correct.html
@@ -4,34 +4,34 @@
<table>
<tr>
<td>
- Account/SCN
+ Account
</td>
<td>
- <input type="input" name="scn" value="<?lsmb entry.scn?>"/>
+ <input type="input" name="scn" value="<?lsmb entry.account?>"/>
</td>
</tr>
<tr>
<td>
- Amount
+ SCN
</td>
<td>
- <input type="input" name="amount" value="<?lsmb entry.their_balance?>"/>
+ <input type="input" name="scn" value="<?lsmb entry.scn?>"/>
</td>
</tr>
<tr>
<td>
- Cleared
+ Amount
</td>
<td>
- <input type="input" name="cleared" value="<?lsmb entry.clear_time?>"/>
+ <input type="input" name="amount" value="<?lsmb entry.their_balance?>"/>
</td>
</tr>
<tr>
<td>
- Cleared
+ Cleared at
</td>
<td>
- <input type="input" name="cleared" value="<?lsmb entry.clear?>"/>
+ <input type="input" name="cleared" value="<?lsmb entry.clear_time?>"/>
</td>
</tr>
<tr>
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