Bug fix for transaction-list
authorgniibe <gniibe@fsij.org>
Thu, 3 Jun 2010 03:13:45 +0000 (12:13 +0900)
committergniibe <gniibe@fsij.org>
Thu, 3 Jun 2010 03:13:45 +0000 (12:13 +0900)
ChangeLog
TODO
templates/accounting/tr_le.html
templates/accounting/transaction_list.html

index 51138d3..79e54c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-03  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * templates/accounting/tr_le.html: Fix URL.  Relative URL doesn't
+       works well for /accounting/2009/transaction/, while it works fine
+       for /accounting/transaction/.
+       * templates/accounting/transaction_list.html: Ditto.
+
 2010-05-31  NIIBE Yutaka  <gniibe@fsij.org>
 
        * templates/membership/member_payment.html: Display calculated
diff --git a/TODO b/TODO
index 2a315b3..5d0d0a8 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,13 +1,13 @@
-* New interface for update the web
+* Implement new interface for update the web
   * www.fsij.org
   * members.fsij.org Django application
 
-* Push this code into Hg service at members.fsij.org 
-
 * improvements
   * transaction -> member payment
     * show amount
+    * maeuke or kaihi ???
   * member_payment -> display payment records of advance payments better
+    * Display how much owe FSIJ
 
 * bug fixes
   * Fix membership/XXXX/payment ->delete (browser no return)
index 9967509..3722701 100644 (file)
@@ -1,5 +1,5 @@
 {% if not t.get_credit.memberpayment_set.get %}
-<form action="../../membership/add_member_payment_with_le/" method="POST" style="margin-bottom: 0px">
+<form action="/membership/add_member_payment_with_le/" method="POST" style="margin-bottom: 0px">
   <select name="member_id" onChange="this.form.submit();">
   {% for person in members %}
     <option value="{{ person.member_id }}">{{ person.member_id }} {{ person.name }}</option>
index 023b360..b79c6eb 100644 (file)
   <td align=right>{{ t.get_debit.amount }}</td>
   <td align=left>
   {% if t.get_credit.memberpayment_set.get %}
-  <a href="../../membership/edit_member_payment/{{ t.get_credit.memberpayment_set.get.id }}/">{{ t.get_credit.account.name }}</a>
+  <a href="/membership/edit_member_payment/{{ t.get_credit.memberpayment_set.get.id }}/">{{ t.get_credit.account.name }}</a>
   {% else %}
   {{ t.get_credit.account.name }}
   {% endif %}