{% extends 'admin_pages/base_admin.html' %} {% block title %}Invoice #{{ invoice.id }} - {{ invoice.sender.name }}{% endblock %} {% load utils %} {% load static %} {% block content %}
Back
Sender

{{ invoice.sender.name }} {{ invoice.sender.last_name }}

{{ invoice.sender.address }}

{{ invoice.sender.email }}

{{ invoice.sender.mobile }}

Receiver

{{ invoice.receiver.name }} {{ invoice.receiver.last_name }}

{{ invoice.receiver.address }}

{{ invoice.receiver.email }}

{{ invoice.receiver.mobile }}

Invoice Info

ID: INV00{{ invoice.id }}

Date: {{ invoice.created_at }}

Track #: {{ invoice.track_number }}

{% for item in items %} {% endfor %}
# Description Qty Unit Unit Price Total
{{ forloop.counter }} {{ item.item }} {{ item.quantity }} {{ item.item.measurement_unit }} {{ item.unit_price|floatformat:2 }} $ {{ item.quantity|floatformat:2|floatformat:2|add:item.handling_charges|floatformat:2 }} $

Description: {{ invoice.item_description }}

Item Value: {{ invoice.item_value }}

Total in Words: {{ sub_total }} $ Only

Sub Total:{{ total_amount|floatformat:2 }} $
Handling Charges:{{ total_handling|floatformat:2 }} $
Previous Balance:{{ invoice.remain_amount|floatformat:2 }} $
Grand Total:{{ grand_total|floatformat:2 }} $
Amount Paid:{{ invoice.amount_paid|floatformat:2 }} $
Balance:{{ invoice.remain_amount|floatformat:2 }} $
{% if invoice.qr_code %} QR Code {% endif %}
{% if invoice.barcode_image %} Barcode {% endif %}

Office Signature & Stamp

Sender's Signature

قوانین و مقررات
{% endblock %}