{% extends 'base.html' %} {% block content %}
{{ page_title }}

{{ total_count }}

Total Value

Rs. {{ total_value }}

{% if is_active_page %}
To Be Delivered

{{ pending_count }} (Rs. {{ pending_value }})

{% endif %}
{% if is_active_page %} {% endif %} {% if search_query or request.GET.start_date or request.GET.status %} {% endif %}
{% if is_active_page %}{% endif %} {% for order in orders %} {% if is_active_page %} {% endif %} {% empty %} {% endfor %}
Invoice # Date Party Name Total StatusEditAction
#{{ order.id }}
{{ order.created_at|date:"M d, Y" }}
{{ order.created_at|date:"h:i A" }}
{{ order.party_name|title }} Rs. {{ order.total_amount }} {% if order.is_return %} Returned {% elif order.is_cancelled %} Cancelled {% elif order.is_delivered %} {% if is_active_page %} {% else %}Delivered{% endif %} {% else %} {% if is_active_page %} {% else %}Pending{% endif %} {% endif %} View
No orders found.
{% if orders.has_other_pages %} {% endif %}
{% if is_active_page %} {% endif %} {% endblock %}