{% extends "base.html" %} {% block title %}{{ account.account_name }} - စာရင်းမှတ်တမ်း (Statement){% endblock %} {% block content %}
{% if branch_mismatch %}
သတိပြုရန်: ဆိုင်ခွဲ မတူညီပါ!
လက်ရှိ ရွေးချယ်ထားသော ဆိုင်ခွဲမှာ '{{ active_branch_name }}' ဖြစ်သော်လည်း၊ ဤငွေစာရင်းသည် '{{ account.branch.name if account.branch else 'Headquarters' }}' ၏ စာရင်းဖြစ်နေပါသည်။
{{ active_branch_name }} စာရင်းများသို့ သွားမည် →
{% endif %}

📑 {{ account.account_name }}

{{ account.bank_name or account.account_type }} {% if account.is_drawer_account %} POS Drawer {% endif %}
🏢 ဆိုင်ခွဲ: {{ account.branch.name if account.branch else 'ရုံးချုပ် (HQ)' }} {% if account.account_number %} • အကောင့်နံပါတ်: {{ account.account_number }} {% endif %} • ငွေကြေး: {{ account.currency_code }}
← နောက်သို့
လက်ရှိလက်ကျန်ငွေ (Current Balance)

{{ "{:,.0f}".format(account.current_balance) }} Ks

စတင်ဖွင့်လှစ်ငွေ: {{ "{:,.0f}".format(account.opening_balance) }} Ks
ကာလတွင်း ငွေအဝင် (Total Debit / Inflow)

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

အရောင်းရငွေ၊ ကြွေးရငွေ၊ ငွေလွှဲလက်ခံ
ကာလတွင်း ငွေအထွက် (Total Credit / Outflow)

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

ကုန်ကျစရိတ်၊ ကြွေးဆပ်ငွေ၊ ငွေလွှဲထုတ်
အသားတင် ငွေစီးဆင်းမှု (Net Period Cash Flow)

{{ "+{:,.0f}".format(net_flow) if net_flow >= 0 else "{:,.0f}".format(net_flow) }} Ks

ယခုကာလအတွင်း အသားတင် တိုး/လျော့
↺
စတင်ရက်: ပြီးဆုံးရက်:
စာရင်းရှင်းတမ်း အသေးစိတ်မှတ်တမ်းများ (Ledger Audit Trail)
စုစုပေါင်း မှတ်တမ်း: {{ transactions|length }} ခု
{% for t in transactions %} {% else %} {% endfor %}
ရက်စွဲ/အချိန် အမျိုးအစား အကြောင်းအရာ/မှတ်ချက် ငွေအဝင် (Debit) ငွေအထွက် (Credit) လက်ကျန်ငွေ
{{ t.transaction_date | format_time(branch_timezone or (account.branch.timezone if account.branch and account.branch.timezone else 'Asia/Yangon')) }} {% if t.source_type == 'SALE' %} 🛒 အရောင်းရငွေ {% elif t.source_type == 'DEBT_COLLECTION' %} 💰 ကြွေးရငွေလက်ခံ {% elif t.source_type == 'TRANSFER' %} 🔄 ဆိုင်တွင်းငွေလွှဲ {% elif t.source_type == 'EXPENSE' %} 📉 ကုန်ကျစရိတ် {% elif t.source_type == 'DEBT_PAYMENT' %} 💳 ကုန်ကြွေးဆပ်ငွေ {% elif t.source_type == 'CAPITAL' %} 🏛️ မတည်ငွေ {% elif t.source_type == 'OPENING_BALANCE' %} 🚩 စတင်လက်ကျန် {% else %} {{ t.source_type }} {% endif %}
{{ t.notes or '-' }}
{% if t.flow_type == 'IN' %} +{{ "{:,.0f}".format(t.amount) }} Ks {% else %} - {% endif %} {% if t.flow_type == 'OUT' %} -{{ "{:,.0f}".format(t.amount) }} Ks {% else %} - {% endif %} {{ "{:,.0f}".format(t.balance_after) }} Ks
ရွေးချယ်ထားသော ကာလအတွင်း မည်သည့် ငွေစာရင်းလှုပ်ရှားမှုမှ မရှိသေးပါ။
{% endblock %}