{% 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 }}

Invoice Date: {{ object.date }}

Terms: {{ object.get_terms_display }}

{% trans 'Invoice State' %}

{% csrf_token %}
{{ form.amount_paid }}
{{ form.paid_date }}
{{ form.progress }}
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
{% endblock %}