{% extends 'django_ledger/base.html' %} {% load i18n %} {% load static %} {% load django_ledger %} {% block content %} {% if form.errors %} {{ form.errors }} {% endif %} {% csrf_token %} {% trans 'Customer Information' %} {{ object.subject_name }} {{ object.address_1 }} {{ object.address_2 }} {{ object.phone }} {{ object.email }} {{ object.website }} {% trans 'Invoice Amount & Terms' %} Invoice Amount: ${{ object.amount_due | cs_thousands }} {% trans 'Change' %} {{ form.amount_due }} Invoice Date: {{ object.date }} Terms: {{ object.get_terms_display }} {% trans 'Invoice State' %} {% csrf_token %} {{ form.amount_paid.label }} {{ form.amount_paid }} {{ form.paid }} {{ form.paid.label }} {{ form.paid_date.label }} {{ form.paid_date }} {{ form.progressible }} {{ form.progressible.label }} {{ form.progress.label }} {{ form.progress }} Save Back {% trans 'Invoice State' %} {% trans 'Invoice State' %} {{ invoice.cash_account }}: ${{ invoice.get_amount_cash | cs_thousands }} {{ invoice.receivable_account }}: ${{ invoice.get_amount_receivable | cs_thousands }} {{ invoice.payable_account }}: ${{ invoice.get_amount_payable | cs_thousands }} {{ invoice.earnings_account }}: ${{ invoice.get_amount_earned | cs_thousands }} {% trans 'Ledger State' %} {{ invoice.cash_account }}: ${{ invoice.amount_paid | cs_thousands }} {{ invoice.receivable_account }}: ${{ invoice.amount_receivable | cs_thousands }} {{ invoice.payable_account }}: ${{ invoice.amount_unearned | cs_thousands }} {{ invoice.earnings_account }}: ${{ invoice.amount_earned | cs_thousands }} {# todo: prefect this info #} Balance Sheet Income Statement {% endblock %}
{% trans 'Customer Information' %}
{{ object.address_1 }} {{ object.address_2 }} {{ object.phone }} {{ object.email }} {{ object.website }}
{% trans 'Invoice Amount & Terms' %}
{% trans 'Invoice State' %}
{{ invoice.cash_account }}: ${{ invoice.get_amount_cash | cs_thousands }}
{{ invoice.receivable_account }}: ${{ invoice.get_amount_receivable | cs_thousands }}
{{ invoice.payable_account }}: ${{ invoice.get_amount_payable | cs_thousands }}
{{ invoice.earnings_account }}: ${{ invoice.get_amount_earned | cs_thousands }}
{{ invoice.cash_account }}: ${{ invoice.amount_paid | cs_thousands }}
{{ invoice.receivable_account }}: ${{ invoice.amount_receivable | cs_thousands }}
{{ invoice.payable_account }}: ${{ invoice.amount_unearned | cs_thousands }}
{{ invoice.earnings_account }}: ${{ invoice.amount_earned | cs_thousands }}