]> git.frykholm.com Git - tranquillity.git/blob - customerportal/templates/customerportal/landing.html
Djangocon coding
[tranquillity.git] / customerportal / templates / customerportal / landing.html
1 {% extends "base_generic.html" %}
2
3 {% block content %}
4 <h1>Customer data</h1>
5
6 {% if contracts %}
7 <ul>
8
9 {% for invoice in invoices %}
10 <li class="{% if not invoice.FinalPayDate %}text-danger{% endif %}">
11
12 Invoice date:{{invoice.InvoiceDate}} Due Date:{{invoice.DueDate}} Total:{{invoice.Total}} OCR:{{invoice.OCR}}
13 </li>
14 {% endfor %}
15 </ul>
16
17 {% else %}
18 <p>There is not customer info right now.</p>
19 {% endif %}
20 {% endblock %}