{% extends 'django_ledger/layouts/content_layout_1.html' %} {% load i18n %} {% load static %} {% load django_ledger %} {% block view_content %}
{% trans 'Invoice Amount & Terms' %}
{% 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 }}
{{ 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 %}