{% extends "base.html" %} {% block title %}Dashboard - {{ app_settings.company_name }}{% endblock %} {% block page_title %}Dashboard{% endblock %} {% block content %}

Total Pelanggan

{{ total_customers }}

Total Produk

{{ total_products }}

Total Transaksi

{{ total_sales }}

Penjualan Hari Ini

Rp {{ "{:,.0f}".format(today_sales) }}

Uang di Laci (Cash)

Rp {{ "{:,.0f}".format(uang_laci) }}

Saldo Kas Fisik

Piutang Belum Lunas

Rp {{ "{:,.0f}".format(piutang) }}

Total tagihan ke pelanggan

Kelola Piutang

Hutang Belum Lunas

Rp {{ "{:,.0f}".format(hutang) }}

Total tagihan dari supplier

Kelola Hutang

Stok Rendah

{{ low_stock }} Produk

Produk di bawah stok minimum

Lihat Produk

Reparasi Aktif

{{ repair_in_progress }} Order

Dikerjakan · Siap diambil: {{ repair_ready }}

Buka Jasa Reparasi

Penjualan Terbaru

{% for sale in recent_sales %}
{{ sale.nomor_nota }} {% if sale.status == 'Lunas' %} Lunas {% else %} Belum Lunas {% endif %}

{{ sale.customer.nama }}

{{ sale.tanggal.strftime('%d/%m/%Y %H:%M') }}

Rp {{ "{:,.0f}".format(sale.total_bayar) }}

{% else %}

Belum ada transaksi

{% endfor %}
{% endblock %}