diff options
author | luxagraf <sng@luxagraf.net> | 2017-04-30 08:45:02 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-04-30 08:45:02 -0500 |
commit | 8c0e5cba9890834af84d25997de65cc526ebabca (patch) | |
tree | cff82d3107f4a08e9e4a9513971e68d51a7bb83d /design/templates/details | |
parent | a73da3e0956420f1e6a9d2a94db737582a578122 (diff) |
finished up expenses template
Diffstat (limited to 'design/templates/details')
-rw-r--r-- | design/templates/details/expenses.html | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/design/templates/details/expenses.html b/design/templates/details/expenses.html index bf9739e..a7e5547 100644 --- a/design/templates/details/expenses.html +++ b/design/templates/details/expenses.html @@ -14,7 +14,7 @@ <time class="dt-updated post--date" datetime="{%now 'c'%}">Last updated: {%now "F"%} <span>{%now "j, Y"%}</span></time> </header> <div id="article" class="post--body post--body--single expense-wrapper"> - <p>We're extremely fortunate to be able to do this. We afford it because we saved for a long time and I continue to work on the road. At the same time, people are usually surprised at how little it costs to live this way. When we were planning this trip the people who posted their finances were invaluably helpful for calculating how much we needed to make this work so in the spirit of (hopefully, maybe) inspiring someone else to get out there, here is a rough breakdown of costs.</p> + <p>We're extremely fortunate to be able to do this. We afford it because we saved for a long time and I continue to work on the road. At the same time, people are usually surprised at how little it costs to live this way. When we were planning this trip the people who posted their finances were invaluably helpful for calculating how much we needed to make this work so in the spirit of (hopefully, maybe) inspiring someone else to get out there, here is a rough breakdown of costs.</p> <h2>Upfront Costs</h2> <table class="expense upfront"> <caption>Initial Investments</caption> @@ -40,15 +40,19 @@ <td>New wheels and Tires</td> <td class="cat-value">$3041.00</td> </tr> - <tr class="row even"> + <td>Reupholstered Seats</td> + <td class="cat-value">$3600.00</td> + </tr> + + <tr class="row odd"> <td>DMV and insurance (taxes, title, plates -- $25 annual for tags)</td> <td class="cat-value">$125.00 (annual)</td> </tr> - <tr class="total"> + <tr class="total even"> <td>Total</td> - <td>$13,291.00</td> + <td>$16,891.00</td> </tr> </tbody> <tfoot> @@ -60,9 +64,9 @@ <p class="end">Here's how much we've spent each month we've spent on the road since we left in April 2017.</p> <h2>Monthly Expenses</h2> -{% regroup object_list by date.month as expenses_by_month %}{% for expenses in expenses_by_month %} +{% regroup object_list by month as expenses_by_month %}{% for expenses in expenses_by_month %} <table class="expense"> - <caption>{{ expenses.list.0.date|date:"F Y" }}</caption> + <caption>{{ expenses.grouper.date|date:"F Y" }}</caption> <thead> <tr> <td>Category</td> @@ -86,6 +90,10 @@ <tr> <td colspan="2">{% for clist in category_list %}{% for item in clist.list %}{% if item.notes %}<small>*{{item.notes|safe}}</small>{%endif %}{%endfor%}{%endfor%}</td> </tr> + + <tr> + <td colspan="2"><small>{{ expenses.grouper.notes}}</small></td> + </tr> </tfoot> </table> {% endfor %} |