{% extends "base.html" %} {% block title %}Promotions & Coupons | Enterprise ERP{% endblock %} {% block content %}
ပရိုမိုးရှင်းနှင့် ကူပွန်များ (Promotions & Coupons)
ရာခိုင်နှုန်းနှင့် ပမာဏအလိုက် လျှော့စျေးကူပွန်များ၊ သက်တမ်းနှင့် ကန့်သတ်ချက်များ စီမံခန့်ခွဲခြင်း
ဆိုင်ခွဲ:
စုစုပေါင်း ကူပွန်များ

{{ total_promos }}

စနစ်တွင်း ဖန်တီးထားသော ကူပွန်အားလုံး
လက်ရှိ အသုံးပြုနိုင်သော ကူပွန်

{{ active_promos }}

သက်တမ်းမကုန်သေးဘဲ အသုံးပြုခွင့်ရှိနေဆဲ
စုစုပေါင်း အသုံးပြုပြီး အကြိမ်ရေ

{{ total_used_count }} ကြိမ်

Location: {{ branch.name if branch else 'HQ' }}
{% for p in promotions %} {% else %} {% endfor %}
ကူပွန်ကုဒ် အမည်/ခေါင်းစဉ် လျှော့စျေးတန်ဖိုး ကန့်သတ်ချက် (Min / Max) အသုံးပြုမှု ဆိုင်ခွဲ သက်တမ်း အခြေအနေ လုပ်ဆောင်ချက်
{{ p.code }} {{ p.title }} {% if p.promo_type == 'PERCENTAGE' %} {{ "{:,.0f}".format(p.discount_value) }}% OFF {% else %} -{{ "{:,.0f}".format(p.discount_value) }} Ks {% endif %}
အနည်းဆုံး: {{ "{:,.0f}".format(p.min_order_amount) }} Ks
{% if p.promo_type == 'PERCENTAGE' and p.max_discount_amount > 0 %}
အများဆုံး: {{ "{:,.0f}".format(p.max_discount_amount) }} Ks
{% endif %}
{{ p.used_count }} / {{ p.usage_limit if p.usage_limit > 0 else 'အကန့်အသတ်မဲ့' }}
{% if p.usage_limit > 0 %} {% set pct = (p.used_count / p.usage_limit * 100) | round | int %}
{% endif %}
{% if p.branch %} {{ p.branch.name }} {% else %} All Branches {% endif %}
မှ: {{ p.start_date.strftime('%Y-%m-%d') if p.start_date else 'မသတ်မှတ်' }}
ထိ: {{ p.end_date.strftime('%Y-%m-%d') if p.end_date else 'မသတ်မှတ်' }}
{% if p.is_expired %} EXPIRED {% elif p.is_limit_reached %} LIMIT REACHED {% elif p.is_active == 1 %} ACTIVE {% else %} INACTIVE {% endif %}
ပရိုမိုးရှင်းကူပွန် မှတ်တမ်း မရှိသေးပါ။
{% endblock %}