{% if g.user_pref.bill_style %}{% endif %}
{% if g.user_pref.logo_url %} {% else %}
{% endif %} {% if customer.logo_url %} {% endif %}
{% block identifier %}

{% trans %}Draft{% endtrans %}

{% 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 %}

{% endblock %} {% for bill_row in bill_rows %} {% endfor %}
{% 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 "" }}
{% block mentions %}

{{ (bill.quote_mentions or '')|safe }}

{% endblock %}