{% extends 'django_ledger/layouts/content_layout_1.html' %} {% load i18n %} {% load static %} {% load django_ledger %} {% block view_content %}
{% if form.errors %} {{ form.errors }} {% endif %} {% csrf_token %}
{% include 'django_ledger/includes/card_customer.html' with customer=invoice.customer %}

{% trans 'Invoice Amount & Terms' %}

{% trans 'Invoice Amount:' %} ${{ invoice.amount_due | currency_format }}

Invoice Date: {{ object.date }}

Terms: {{ object.get_terms_display }}

Make Invoice Progressible: {{ form.progressible }}

{% trans 'Invoice State' %}

{% csrf_token %}
{{ form.amount_paid }}
{{ form.paid_date }}
{{ form.progress }}
{% trans 'Invoice List' %} {% trans 'Dashboard' %}

{% trans 'Invoice State' %}

{% trans 'Invoice State' %}

{{ invoice.cash_account }}: ${{ invoice.get_amount_cash | currency_format }}

{{ invoice.receivable_account }}: ${{ invoice.get_amount_receivable | currency_format }}

{{ invoice.payable_account }}: ${{ invoice.get_amount_payable | currency_format }}

{{ invoice.earnings_account }}: ${{ invoice.get_amount_earned | currency_format }}

{% trans 'Ledger State' %}

{{ invoice.cash_account }}: ${{ invoice.amount_paid | currency_format }}

{{ invoice.receivable_account }}: ${{ invoice.amount_receivable | currency_format }}

{{ invoice.payable_account }}: ${{ invoice.amount_unearned | currency_format }}

{{ invoice.earnings_account }}: ${{ invoice.amount_earned | currency_format }}

Ledger is Posted: {% if invoice.ledger.posted %} {% else %} {% endif %}

Ledger Locked: {% if invoice.ledger.locked %} {% else %} {% endif %}

{% endblock %}