{% extends 'base.html' %}
{% block content %}
<h2>{{c.title}}</h2>
<a href="{{h.url(controller="invoice", action="view", id=c.invoice.id)}}">Print Invoice</a><br />
<strong>Invoice #</strong>{{c.invoice.id}}<br />
<strong>Date:</strong> {{c.invoice.date.strftime("%B %d, %Y")}}<br />
<strong>Bill To:</strong><br />
{{h.nl2br(c.invoice.bill_to)}}
{% include "/timesheet/timesheet_table.html" %}
{% if c.invoice.tax %}
<table>
    <tr>
        <td>HST ({{c.invoice.tax}}%):</td>
        <td>${{"%.2f" % c.taxes}}</td>
    </tr>
    <tr>
        <td></td><td></td>
        <td>Total:</td>
        <td>${{"%.2f" % c.after_taxes}}</td>
    </tr>
</table>
{% endif %}
{% endblock %}

{% extends 'base.html' %}
{% block content %}
<h2>{{c.title}}</h2>
<a href="{{h.url(controller="invoice", action="view", id=c.invoice.id)}}">Print Invoice</a><br />
<strong>Invoice #</strong>{{c.invoice.id}}<br />
<strong>Date:</strong> {{c.invoice.date.strftime("%B %d, %Y")}}<br />
<strong>Bill To:</strong><br />
{{h.nl2br(c.invoice.bill_to)}}
{% include "/timesheet/timesheet_table.html" %}
{% if c.invoice.tax %}
<table>
    <tr>
        <th>HST ({{c.invoice.tax}}%):</th>
        <td>${{"%.2f" % c.taxes}}</td>
    </tr>
    <tr>
        <th>Total:</th>
        <td>${{"%.2f" % c.after_taxes}}</td>
    </tr>
</table>
{% endif %}
{% endblock %}

Improve invoice summary layout just a bit. Needs more work.
Improve invoice summary layout just a bit. Needs more work.
