{% extends "base.html" %} {% block title %}ဘဏ္ဍာရေး ခန့်မှန်းချက်နှင့် အရင်းကြေမှတ် (Break-Even & Financial Planning) | myplayer Biz{% endblock %} {% block content %} {% set month_names = { 1: 'ဇန်နဝါရီ (Jan)', 2: 'ဖေဖော်ဝါရီ (Feb)', 3: 'မတ် (Mar)', 4: 'ဧပြီ (Apr)', 5: 'မေ (May)', 6: 'ဇွန် (Jun)', 7: 'ဇူလိုင် (Jul)', 8: 'ဩဂုတ် (Aug)', 9: 'စက်တင်ဘာ (Sep)', 10: 'အောက်တိုဘာ (Oct)', 11: 'နိုဝင်ဘာ (Nov)', 12: 'ဒီဇင်ဘာ (Dec)' } %}

ဘဏ္ဍာရေး ခန့်မှန်းချက်နှင့် အရင်းကြေမှတ် (Break-Even & Financial Health)

{% if selected_branch == 'ALL' or not selected_branch %} ဆိုင်ခွဲအားလုံး ပေါင်းချုပ် (Consolidated HQ) {% else %} {{ branch.name if branch else 'Selected Branch' }} {% endif %}
{{ data.cur_year }} ခုနှစ်၊ {{ month_names.get(data.cur_month, data.cur_month) }} အတွက် ပုံမှန်စရိတ်များ ကာမိစေရန် ပစ်မှတ်၊ လိုအပ်သော အရောင်းပမာဏနှင့် အကြမ်းအမြတ် လိုငွေ/ပိုငွေ သုံးသပ်ချက်
လက်တွေ့အသုံးစရိတ် သွင်းရန်
{% if user_role == 'BRANCH_MANAGER' or session.get('user_role') == 'BRANCH_MANAGER' %}
{% else %} {% endif %}
ဒီလ ကုန်ကျမည့် စရိတ်ပစ်မှတ် (TARGET OPEX)

{{ "{:,.0f}".format(data.target_monthly_opex) }} Ks

ပုံသေ: {{ "{:,.0f}".format(data.fixed_opex) }} ခန့်မှန်း: {{ "{:,.0f}".format(data.variable_opex) }}
ရရှိပြီး အကြမ်းအမြတ် (ACTUAL GP) Margin: {{ data.gross_margin_pct|default(0) }}%

{{ "{:,.0f}".format(data.actual_gross_profit) }} Ks

အသားတင်အရောင်း {{ "{:,.0f}".format(data.net_sales) }} Ks မှ ရရှိငွေ
အရင်းကြေရန် လိုငွေ / အသားတင်ပိုငွေ {% if data.gap_to_break_even > 0 %}

-{{ "{:,.0f}".format(data.gap_to_break_even) }} Ks

{% else %}

+{{ "{:,.0f}".format(data.net_cushion) }} Ks

{% endif %}
{% if data.gap_to_break_even > 0 %} လိုအပ်သော အရောင်း: ~{{ "{:,.0f}".format(data.required_sales_to_break_even|default(0)) }} Ks {% else %} 🎉 စရိတ်ကြေပြီး အသားတင်အမြတ်ဇုန် {% endif %}
၁ ရက် ပစ်မှတ် အရှိန် (DAILY PACE)

{{ "{:,.0f}".format(data.daily_pace_required) }} Ks/ရက်

ကျန်ရက်: {{ data.remaining_days }} ရက် အရောင်း: ~{{ "{:,.0f}".format(data.daily_sales_pace_required|default(0)) }}/ရက်
အသုံးစရိတ် အရင်းကြေမှု တိုးတက်နှုန်း (Break-Even Coverage Progress) {{ data.status_label }}
{{ data.raw_coverage_percent }}% (ရက်စွဲအရ ရှိသင့်သည့် စံနှုန်း: {{ data.expected_pace_percent }}% • {{ data.elapsed_days }}/{{ data.days_in_month }} ရက်)
{{ data.raw_coverage_percent }}%
{% if data.expected_pace_percent > 0 and data.expected_pace_percent <= 100 %}
{% endif %}
လဆန်း (၁ ရက်): 0 Ks ယနေ့အထိ ရှာပြီး အကြမ်းအမြတ် (GP): {{ "{:,.0f}".format(data.actual_gross_profit) }} Ks အရင်းကြေမှတ် ပစ်မှတ် (Target OPEX): {{ "{:,.0f}".format(data.target_monthly_opex) }} Ks
စုစုပေါင်း အသားတင်အရောင်း (MTD) {{ "{:,.0f}".format(data.net_sales) }} Ks
ရောင်းကုန် ဝယ်ရင်းစရိတ် (FIFO COGS) {{ "{:,.0f}".format(data.net_cogs|default(0)) }} Ks
အမှန်တကယ် သုံးစွဲပြီး စရိတ် + လစာ {{ "{:,.0f}".format(data.actual_spent_opex|default(0)) }} Ks
{% set real_net = data.actual_gross_profit - (data.actual_spent_opex|default(0)) %} လက်တွေ့ အသားတင်အမြတ် (Actual Net P&L) {{ "{:,.0f}".format(real_net) }} Ks
လစဉ် ပုံမှန်ကျခံရမည့် ကုန်ကျစရိတ်များနှင့် Auto-Sync စာရင်းချုပ် (OPEX & Overheads Register)
စုစုပေါင်း: {{ data.overheads|length }} ခု
{% for o in data.overheads %} {% else %} {% endfor %}
အသုံးစရိတ် ခေါင်းစဉ် ဆိုင်ခွဲ (Branch) စရိတ်အုပ်စု (Category) အမျိုးအစား သတ်မှတ်ရက် တစ်လစာ ပမာဏ မှတ်ချက် လုပ်ဆောင်ချက်
{{ o.title }} {% if o.is_system_auto %} {{ o.source_badge }} {% endif %}
{{ o.branch_name or 'Main Branch' }} {{ o.category_name or 'အထွေထွေ' }} {% if o.cost_type == 'FIXED' %} 📌 ပုံသေစရိတ် (Fixed) {% else %} 📊 ခန့်မှန်းစရိတ် (Variable) {% endif %} လစဉ် {{ o.due_day_of_month }} ရက် {{ "{:,.0f}".format(o.estimated_monthly_amount) }} Ks {{ o.notes or '-' }} {% if o.is_system_auto %} မူရင်းစာရင်း {% else %}
{% endif %}
လစဉ်ပုံမှန်စရိတ်များ မသတ်မှတ်ရသေးပါ။ အပေါ်ညာဘက်ရှိ "+ လစဉ်စရိတ် ပစ်မှတ်အသစ်" ခလုတ်ဖြင့် စတင်ထည့်သွင်းပါ။
{% endblock %}