{% extends "base.html" %} {% block title %}အရောင်းမှတ်တမ်းများ (Sales History) | myplayer Biz{% endblock %} {% block content %} {% set ns = namespace(due=0, paid=0) %} {% for o in orders %} {% set ns.due = ns.due + (o.due_amount or 0) %} {% set ns.paid = ns.paid + (o.paid_amount or 0) %} {% endfor %}
| ဘောက်ချာအမှတ် | ဆိုင်ခွဲ | ရက်စွဲ & အချိန် | ရောင်းချသူ (Cashier) | ဖောက်သည် အမည် | ကျသင့်ငွေ စုစုပေါင်း | ပေးရန်ကျန် (Due) | ငွေချေမှု | လုပ်ဆောင်ချက် |
|---|---|---|---|---|---|---|---|---|
| {{ o.invoice_no }} {% if o.table_name %} {% if o.order_type == 'TAKEAWAY' %}🥡{% else %}🪑{% endif %} {{ o.table_name }} {% endif %} | {{ o.branch.name if o.branch else '-' }} | {{ o.created_at | format_time(branch_timezone) }} |
{% if o.cashier %}
{{ o.cashier.full_name[0] | upper }}
{% else %}
System / Owner
{% endif %}
{{ o.cashier.full_name }}
@{{ o.cashier.username }}
|
{{ o.customer.name if o.customer else 'အထွေထွေ ဖောက်သည်' }}
{% if o.customer and o.customer.phone %}
{{ o.customer.phone }}
{% endif %}
|
{{ "{:,.0f}".format(o.grand_total) }} Ks | {% if o.due_amount and o.due_amount > 0 %} - {{ "{:,.0f}".format(o.due_amount) }} Ks {% else %} - {% endif %} | {% if o.payment_method == 'COD' %} COD {% elif o.due_amount and o.due_amount > 0 and o.paid_amount > 0 %} PARTIAL {% elif (o.due_amount and o.due_amount > 0 and o.paid_amount == 0) or o.payment_status == 'UNPAID' or o.payment_method == 'CREDIT' %} CREDIT {% else %} {{ o.payment_method or 'CASH' }} {% endif %} | |
| ရှာဖွေတွေ့ရှိသော အရောင်းဘောက်ချာ မရှိသေးပါ | ||||||||