| Date | {{ 'now' | date: "%B %e, %Y" }} |
{{ account.company }}
{{ account | two_line_address : client }} {% if account.email != blank %}{{ account.email | h | mail_to: account.email }}
{% endif %} {% if account.invoice_extra_fields != blank %} {{ account.invoice_extra_fields | safe_textilize }} {% endif %}{{ client.name }}
{{ client | two_line_address : account }} {% if client.number != blank %} ID: {{ client.number | h }} {% endif %} {% if client.invoice_extra_fields != blank %} {{ client.invoice_extra_fields | safe_textilize }} {% endif %}| Outstanding Invoices {% if invoices_by_currency.size > 1 %}({{pair[0]}}){% endif %} | |||
| Invoice Number | Invoice Date | Invoice Due | Balance |
|---|---|---|---|
| {{ invoice.number }}{% if invoice.title != blank %} - {{ invoice.title }}{% endif %} | {{ invoice.date | date: "%Y-%m-%d" }} | {{ invoice.due_date | date: "%Y-%m-%d" }} | {{ invoice.balance | currency: invoice.currency_code }} |
| {% assign currency_code = pair[0] %} {{ balance_by_currency[currency_code] | currency: pair[0] }} | |||