{% extends "pos/base.html" %} {% load static %} {% block content %}

Restaurant Sales

Filter restaurant orders by date, status, order type and payment status.

Deliveries Open Restaurant POS Products images
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
Orders
{{ summary_count }}
Total Amount
Rs {{ summary_total|floatformat:0 }}
Received
Rs {{ summary_received|floatformat:0 }}
Due
Rs {{ summary_due|floatformat:0 }}
Reset
{% for row in rows %} {% empty %} {% endfor %}
Order # Date / Time Type Customer / Table Delivery Person Status Pay Mode Total Received Due Payment Action
#{{ row.order.order_no }} {% if row.order.created_at %} {{ row.order.created_at|date:"d-M-Y h:i A" }} {% else %} - {% endif %} {{ row.order.order_type }}
{{ row.customer_title }}
{% if row.order.customer_phone %} {{ row.order.customer_phone }} {% endif %}
{% if row.order.order_type == "DELIVERY" %} {% if row.delivery_person_name %} {{ row.delivery_person_name }} {% else %} Unassigned {% endif %} {% else %} - {% endif %} {% if row.order.status == "settled" %} Settled {% elif row.order.status == "pending" %} Pending {% elif row.order.status == "shifted" %} Shifted {% elif row.order.status == "cancelled" %} Cancelled {% elif row.order.status == "complimentary" %} Complimentary {% else %} {{ row.order.status|default:"-" }} {% endif %} {{ row.order.pay_mode|default:"-"|upper }} {{ row.grand_total|floatformat:0 }} {{ row.received|floatformat:0 }} {{ row.due|floatformat:0 }} {% if row.payment_status == "Paid" %} Paid {% elif row.payment_status == "Partial" %} Partial {% else %} No Payment {% endif %}
{% csrf_token %}
No restaurant orders found for the selected filters.
{% if page_obj.paginator.num_pages > 1 %} {% endif %}
{% endblock %}