diff --git a/templates/bills.html b/templates/bills.html index c1b1eb4..24dc1c1 100644 --- a/templates/bills.html +++ b/templates/bills.html @@ -18,15 +18,57 @@ -
+

Bill Details (go to Finance Tracker)

-
+
- + +
+
+
+ + +
+
+
+
+
+
+
+ {% for bt in bill_types %} +
+
+ + +
+
+ +
+ + + + +
+ {% endfor %} +
+ + + +
+
+
@@ -36,54 +78,48 @@ Save
- -
-
-
-
-
- {% for el in bill_data %} -
-
-
-
- - - - -
- {% endfor %} -
- -
-
- -
- - -
-
-
-
-
-
- {% for el in bill_types %} -
-
- - -
-
- - - - -
+ +
+ + +
+ {% for bt in bill_types %} + {% if loop.first %} +
+ {% else %} +
+ {% endif %} + {% for bd in bill_data %} + {% if loop.first %} +
+
+
+
+
+
+ {% endif %} + {% if bd.bill_type_id == bt.id %} +
+
+
+
+ + + + +
+ {% endif %} + {% endfor %} +
+ {% endfor %} +
+