{% extends 'base.html' %} {% load static %} {% load humanize %} {% block content %}

User Dashboard - {{logged_user_profile.user.first_name|upper}} {{logged_user_profile.middle_name|upper}} ({{logged_user_profile.user.username}}) {{today}}

B/F

{{currency}} {{previous_balance|floatformat:2|intcomma}}

Opening Balance
Cash In

{{currency}} {{transaction_summary.debit_total|floatformat:2|intcomma}}

Today
Cash Out

{{currency}} {{transaction_summary.credit_total|floatformat:2|intcomma}}

Today
Cash

{{currency}} {{cash_total|floatformat:2}}

Cash Payments
PDQ

{{currency}} {{pdq_total|floatformat:2}}

PDQ Payments
Bank

{{currency}} {{bank_total|floatformat:2}}

Bank Payments
Total

{{currency}} {{net_total|floatformat:2|intcomma}}

Total Payments
Cash Payments (Invoice)
{% for invoice_payment in invoice_cash_list %} {% if invoice_payment.invoice.invoice_status|lower == "paid" %} {% elif invoice_payment.invoice.invoice_status|lower == "unpaid" %} {% elif invoice_payment.invoice.invoice_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Invoice Date Time Status Amount
{{invoice_payment.invoice.id}} {{invoice_payment.invoice.invoice_date}} {{invoice_payment.invoice.invoice_time}}PaidUnpaidCancelledError# {{invoice_payment.invoice.invoice_status}}{{currency}} {{invoice_payment.amount|floatformat:2|intcomma}}
Cash Payments (Customer Payments)
{% for customer_payment_item in customer_payment_cash_list %} {% if customer_payment_item.customer_payment.payment_status|lower == "paid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "unpaid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Receipt Date Time Status Amount ({{currency}})
{{customer_payment_item.customer_payment.id}} {{customer_payment_item.customer_payment.payment_date}} {{customer_payment_item.customer_payment.payment_time}}PaidUnpaidCancelledError# {{customer_payment_item.customer_payment.payment_status}}{{currency}} {{customer_payment_item.amount|floatformat:2|intcomma}}
PDQ Payments (Invoice)
{% for invoice_payment in invoice_pdq_list %} {% if invoice_payment.invoice.invoice_status|lower == "paid" %} {% elif invoice_payment.invoice.invoice_status|lower == "unpaid" %} {% elif invoice_payment.invoice.invoice_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Invoice Date Time Status Amount ({{currency}})
{{invoice_payment.invoice.id}} {{invoice_payment.invoice.invoice_date}} {{invoice_payment.invoice.invoice_time}}PaidUnpaidCancelledError# {{invoice_payment.invoice.invoice_status}}{{currency}} {{invoice_payment.amount|floatformat:2|intcomma}}
PDQ Payments (Customer Payments)
{% for customer_payment_item in customer_payment_pdq_list %} {% if customer_payment_item.customer_payment.payment_status|lower == "paid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "unpaid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Receipt Date Time Status Amount ({{currency}})
{{customer_payment_item.customer_payment.id}} {{customer_payment_item.customer_payment.payment_date}} {{customer_payment_item.customer_payment.payment_time}}PaidUnpaidCancelledError# {{customer_payment_item.customer_payment.payment_status}}{{currency}} {{customer_payment_item.amount|floatformat:2|intcomma}}
Bank Payments (Invoice)
{% for invoice_payment in invoice_bank_list %} {% if invoice_payment.invoice.invoice_status|lower == "paid" %} {% elif invoice_payment.invoice.invoice_status|lower == "unpaid" %} {% elif invoice_payment.invoice.invoice_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Invoice Date Time Status Amount ({{currency}})
{{invoice_payment.invoice.id}} {{invoice_payment.invoice.invoice_date}} {{invoice_payment.invoice.invoice_time}}PaidUnpaidCancelledError# {{invoice_payment.invoice.invoice_status}}{{currency}} {{invoice_payment.amount|floatformat:2|intcomma}}
Bank Payments (Customer Payments)
{% for customer_payment_item in customer_payment_bank_list %} {% if customer_payment_item.customer_payment.payment_status|lower == "paid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "unpaid" %} {% elif customer_payment_item.customer_payment.payment_status|lower == "cancelled" %} {% else %} {% endif %} {% endfor %}
Receipt Date Time Status Amount ({{currency}})
{{customer_payment_item.customer_payment.id}} {{customer_payment_item.customer_payment.payment_date}} {{customer_payment_item.customer_payment.payment_time}}PaidUnpaidCancelledError# {{customer_payment_item.customer_payment.payment_status}}{{currency}} {{customer_payment_item.amount|floatformat:2|intcomma}}
Expenses
{% for cash_voucher in cash_voucher_list %} {% endfor %}
Voucher Date Time Type Amount ({{currency}})
{{cash_voucher.id}} {{cash_voucher.transaction_date}} {{cash_voucher.transaction_time}} {{cash_voucher.transaction_type}} {{currency}} {{cash_voucher.transaction_amount|floatformat:2|intcomma}}
{% endblock %}