{% extends "pos/base.html" %} {% load static %} {% block title %}Restaurant Sale Detail{% endblock %} {% block heading %}Restaurant Sale Detail{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
Restaurant Sale Detail - Order #{{ order.order_no }}
{{ order.created_at|date:"Y-m-d h:i A" }}
Total Amount
Rs {{ row.grand_total|floatformat:0 }}
Received
Rs {{ row.received|floatformat:0 }}
Balance
Rs {{ row.balance|floatformat:0 }}
Order Information
Order Type
{{ row.order_type|default:"-" }}
Status
{{ row.status|default:"-" }}
Pay Mode
{{ row.pay_mode|default:"-"|upper }}
Customer / Table
{{ row.customer_title|default:"-" }}
Phone
{{ row.customer_phone|default:"-" }}
Delivery Person
{% if row.order_type == "DELIVERY" %} {{ delivery_person_name|default:"Unassigned" }} {% else %} - {% endif %}
Address / Remarks
{{ row.customer_address|default:row.remarks|default:"-" }}
Created At
{{ row.created_at|date:"Y-m-d h:i A" }}
Items
{% for r in item_rows %} {% empty %} {% endfor %}
Product Qty Rate Discount Line Total Note
{{ r.product_name }} {{ r.qty|floatformat:2 }} Rs {{ r.rate|floatformat:0 }} Rs {{ r.discount|floatformat:0 }} Rs {{ r.line_total|floatformat:0 }} {{ r.note|default:"-" }}
No items found.
Payment Rows
{% for p in payment_rows %} {% empty %} {% endfor %}
Date Bank / Cash Amount Transaction Type
{{ p.date|date:"Y-m-d" }} {{ p.bank_name }} Rs {{ p.amount|floatformat:0 }} {{ p.transaction_type }}
No payment found.
Total Received Rs {{ row.received|floatformat:0 }}
{% endblock %}