{% load django_ledger %} {% load i18n %} {% if not create_bill %} {% if style == 'dashboard' %}
{% icon "ri:bill-line" 16 %} {% trans 'Bill' %}
{{ bill.vendor.vendor_name }}
{{ bill.vendor.address_1 }}
{% if not bill.is_past_due %}Due in: {{ bill.due_date | timeuntil }}
{% else %}Past Due: {{ bill.due_date | timesince }} ago
{% endif %} {% if bill.progressible %}Is Accrued: {% icon 'ant-design:check-circle-filled' 24 %} {% else %}
Is Progressible: {% icon 'maki:roadblock-11' 24 %} {% endif %}
You Still Owe: {% currency_symbol %}{{ bill.get_amount_open | currency_format }}
Amount Paid: {% currency_symbol %}{{ bill.amount_paid | currency_format }}
Progressed: {{ bill.get_progress | percentage }}
Is Paid {% icon 'ant-design:check-circle-filled' 48 %}
Amount Paid: {% currency_symbol %}{{ bill.amount_paid | currency_format }}
{% else %} {% if not bill.void %}Bill Amount: {% currency_symbol %}{{ bill.amount_due | currency_format }}
{% if not bill.is_past_due %}Due in: {{ bill.due_date | timeuntil }}
{% else %}Due in: {{ bill.due_date | date }}
Past Due: {{ bill.due_date | timesince }} ago
{% endif %}You Still Owe: {% currency_symbol %}{{ bill.get_amount_open | currency_format }}
{% if bill.accrue %}Is Accrued: {% icon 'ant-design:check-circle-filled' 24 %}
{% else %}Is Accrued: {% icon 'maki:roadblock-11' 24 %}
{% endif %}Amount Paid: {% currency_symbol %}{{ bill.amount_paid | currency_format }}
Progressed: {{ bill.get_progress | percentage }}
Bill Amount: {% currency_symbol %}{{ bill.amount_due | currency_format }}
VOIDED {{ bill.void_date | date }}
{% endif %} {% endif %}