{% if not authenticated %}
Logo

Admin Dashboard

Enter password to inspect orders and download CSV.

{% if error %}
{{ error }}
{% endif %}
Default password: autolyrics2026
← Back to Main Website
{% else %}
Logo

Customer Database & Sales Management

Real Customer Records • Synced with orders.csv
Storefront Export orders.csv Logout
📦
Current App Distribution File
{{ file_status.name }} ({{ file_status.size_mb }} MB)
⚡ Cập nhật mới nhất: Đã đồng bộ bộ cài đặt từ source/NEW UPDATE/AutoLyricsSetup.exe và tích hợp thuật toán sinh mã make_key.py.
🔑 Tạo License Key Nhanh (make_key.py) HMAC-SHA256 Chuẩn

Sinh mã kích hoạt phần mềm chuẩn theo email người dùng cho bạn bè, khách hàng hoặc tester.

Total Customer Orders
{{ stats.total_orders }}
Total Revenue Collected
${{ "%.2f"|format(stats.total_revenue) }}
Total Tips Received 💛
${{ "%.2f"|format(stats.total_tips) }}
Base Software Sales ($2.99)
${{ "%.2f"|format(stats.base_revenue) }}

Customer Purchases (Synced with SQLite & orders.csv)

{{ orders|length }} total real records
Export CSV File
{% if orders|length > 0 %}
{% for o in orders %} {% endfor %}
Order ID Date & Time Customer Email Base Tip Total Method License Key Downloads
{{ o.order_id }} {{ o.created_at }} {{ o.customer_name }} {{ o.customer_email }} ${{ "%.2f"|format(o.base_price) }} {% if o.tip_amount > 0 %} +${{ "%.2f"|format(o.tip_amount) }} {% else %} $0.00 {% endif %} ${{ "%.2f"|format(o.total_amount) }} {{ o.payment_method }} {{ o.license_key }} {{ o.download_count }}
{% else %}
🛒

No Customer Orders Yet

Your database is completely fresh with zero mock records. When a customer purchases on the storefront, their order will instantly appear here and log to orders.csv!

View Storefront
{% endif %}
{% endif %}