{% extends "base.html" %} {% block content %}
{{ current_user.shop.shop_name if current_user.shop else l('Your Shop', 'আপনার দোকান') }}

{{ l("Today's shop summary", 'আজকের দোকানের হিসাব') }}

{% if can('sell') %} {{ l('New Sale', 'নতুন বিক্রি') }} {% endif %}
{% if can('reports') %}
{{ l('Today', 'আজ') }} {{ l('This month', 'এই মাস') }} {{ l('This year', 'এই বছর') }} {{ l('All time', 'সব সময়') }} {{ l('to', 'থেকে') }}
{{ l('Stock value','স্টক মূল্য') }}
৳ {{ '%.2f'|format(stock_value or 0) }}
{{ l('Sales amount','বিক্রির টাকা') }}
৳ {{ '%.2f'|format(total_sales_amount or 0) }}
{{ l('Due amount','বাকি টাকা') }}
৳ {{ '%.2f'|format(total_due_amount or 0) }}
{{ l('Customers','গ্রাহক') }}
{{ customer_count or 0 }} {{ l('customers', 'জন') }}
{{ l('Invoices', 'মোট ইনভয়েস') }}
{{ total_sales or 0 }} (Avg ৳ {{ '%.0f'|format(avg_order_value or 0) }})
{{ l('Gross profit', 'মোট লাভ') }}
৳ {{ '%.2f'|format(gross_profit or 0) }}
{{ l('Expense', 'খরচ') }}
৳ {{ '%.2f'|format(monthly_expense or 0) }}
{{ l('Net profit', 'নিট লাভ') }}
৳ {{ '%.2f'|format(net_profit or 0) }}
{% endif %} {% if can('reports') %}
{{ l('Business growth', 'ব্যবসার প্রবৃদ্ধি') }}
{{ l('30-Day Daily & 12-Month Trend Analytics', 'দৈনিক (৩০ দিন), মাসিক ও বাৎসরিক বিবরণ') }}
{{ l('Sales Distribution', 'বিক্রির অনুপাত') }}
{{ l('Categories, Payments & Top Products', 'ক্যাটাগরি, পেমেন্ট ও সেরা পণ্য') }}
{% endif %} {% if can('reports') %}
{{ l('Recent sales', 'সাম্প্রতিক বিক্রি') }}
{{ l('Latest 10 invoices', 'সর্বশেষ ১০টি ইনভয়েস') }}
{{ l('View all sales', 'সব বিক্রি দেখুন') }}
{% for invoice in recent_sales %} {% else %} {% endfor %}
{{ l('Invoice', 'ইনভয়েস') }} {{ l('Customer', 'গ্রাহক') }} {{ l('Amount', 'টাকা') }} {{ l('Due', 'বাকি') }} {{ l('Date', 'তারিখ') }}
{{ invoice.invoice_no }} {{ invoice.customer.name if invoice.customer else l('Walk-in', 'সরাসরি বিক্রি') }} ৳ {{ '%.2f'|format(invoice.total_amount or 0) }} ৳ {{ '%.2f'|format(invoice.due_amount or 0) }} {{ invoice.created_at.strftime('%d %b, %I:%M %p') if invoice.created_at else '' }}
{{ l('No sales yet.', 'এখনও কোনো বিক্রি হয়নি।') }}
{% endif %}
{% endblock %}