{% extends "base.html" %} {% block title %}Promotions & Coupons | Enterprise ERP{% endblock %} {% block content %}
| ကူပွန်ကုဒ် | အမည်/ခေါင်းစဉ် | လျှော့စျေးတန်ဖိုး | ကန့်သတ်ချက် (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 %}
|
{% 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 %} | |
| ပရိုမိုးရှင်းကူပွန် မှတ်တမ်း မရှိသေးပါ။ | ||||||||