{% extends "public.html" %} {% block toolbar_title %} Invoice {% endblock %} {% from "macros.jinja" import window_vars with context %} {% block page %}

Invoice

ID {{ invoice_id }} Created At {{ datetime.utcfromtimestamp(invoice.time).strftime('%Y-%m-%d %H:%M') }} Status {{ invoice.status }} Total {{ "{:0,.2f}".format(invoice_total / 100) }} {{ invoice.currency }} Paid
{{ "{:0,.2f}".format(payments_total / 100) }} {{ invoice.currency }}
{% if payments_total < invoice_total %} Pay Invoice {% endif %}

Bill To

Company Name {{ invoice.company_name }} Name {{ invoice.first_name }} {{ invoice.last_name }} Address {{ invoice.address }} Email {{ invoice.email }} Phone {{ invoice.phone }}

Items

{% if invoice_items %} Item Amount {% endif %} {% for item in invoice_items %} {{item.description}} {{ "{:0,.2f}".format(item.amount / 100) }} {{ invoice.currency }} {% endfor %} {% if not invoice_items %} No Invoice Items {% endif %}

Payments

{% if invoice_payments %} Date Amount {% endif %} {% for item in invoice_payments %} {{ datetime.utcfromtimestamp(item.time).strftime('%Y-%m-%d %H:%M') }} {{ "{:0,.2f}".format(item.amount / 100) }} {{ invoice.currency }} {% endfor %} {% if not invoice_payments %} No Invoice Payments {% endif %}

Scan to View & Pay Online!

Create Payment Cancel

Copy Invoice

{{ request.url }}

Copy URL Close
{% endblock %} {% block scripts %} {% endblock %}