{% if g.user_pref.bill_style %}{% endif %}
{% trans %}From{% endtrans %}
{{ bill.source or '' }}
{% trans %}To{% endtrans %}
{{ bill.recipient }}
{% if None == bill.quote_number %}
{% trans %}Draft{% endtrans %}
{% trans date=bill.created_at.strftime("%Y-%m-%d") %}Generated {{ date }}{% endtrans %}
{% else %}
{% trans quotenumber=bill.quote_number %}Quote #{{ quotenumber }}{% endtrans %}
{% trans date=bill.created_at.strftime("%Y-%m-%d") %}Issued {{ date }}{% endtrans %}
{% endif %}
| {% trans %}Detail{% endtrans %} | {% trans %}Price{% endtrans %} | {% trans %}Qty{% endtrans %} | {% trans %}Amount{% endtrans %} | {% trans %}Tax{% endtrans %} | {% trans %}Total{% endtrans %} |
|---|---|---|---|---|---|
| {{ bill_row.label }} | {{ (bill_row.price / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} | {{ bill_row.quantity }} | {{ (bill_row.gross_amount / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} | {{ bill_row.tax_rate }} % | {{ ((bill_row.gross_amount + bill_row.tax_amount) / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} |
| {{ (bill.gross_amount / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} | {{ (bill.tax_amount / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} | {{ (bill.amount / 100) | round(2, 'floor') }} {{ g.user_pref.currency or "" }} | |||
{{ (bill.quote_mentions or '')|safe }}
{% endblock %}