{% extends "pos/base.html" %} {% load static %} {% block title %}TikTok Orders Dashboard{% endblock %} {% block content %}
TikTok Orders Dashboard
Live webhook orders + monthly Excel imports — all in one place
Today: — orders  ·  Rs —
Add Shop Manage Shops Settings Upload Excel
{% if stuck_count > 0 %}
{{ stuck_count }} order(s) — from any month — are still awaiting shipment, in transit, or held on stock, and haven't reached Completed / Cancelled / Refunded yet.
View Stuck Orders
{% endif %}
Total Orders
{{ total }}
All statuses
Posted
{{ posted }}
Invoice created
Stock Hold
{{ stock_hold }}
Pending
{{ pending }}
Not yet posted
Reversed
{{ reversed }}
Refunded / cancelled
Skipped
{{ skipped }}
No action needed
This Month
Snapshot for the current calendar month
{{ month_stats.posted }}
Posted
{{ month_stats.completed }}
Completed
{{ month_stats.cancelled }}
Cancelled
{{ month_stats.refunded }}
Refunded
{{ month_stats.stock_hold }}
Stock Hold
Daily Sales & Profit
Last 30 days, from posted/reversed orders
30 days
Order Status Split
Current filter selection
Monthly Summary
Orders, sales & profit for the last ~6 months
{% for row in monthly_summary %} {% empty %} {% endfor %}
MonthOrdersSalesProfit
{{ row.label }} {{ row.orders }} {{ row.sales }} {{ row.profit }}
No booked orders in this range yet.
Last Posted Order — Per Shop
Avoid overlapping Excel export ranges
{% for row in shop_last_dates %}
{{ row.shop.shop_name }} {% if row.last_order_date %} {{ row.last_order_date|date:"d M Y" }} {% else %} No orders yet {% endif %}
{% empty %}
No shops configured yet.
{% endfor %}
Filters
Recent Orders
Latest 50 matching current filters
{% for order in recent_orders %} {% empty %} {% endfor %}
Order IDShopSourceTikTok Status POS StatusOrder DateNet Amount Invoice #
{{ order.tiktok_order_id }} {{ order.shop.shop_name }} {{ order.source|title }} {{ order.get_tiktok_status_display }} {{ order.get_pos_status_display }} {{ order.order_date|date:"d M Y" }} {{ order.net_amount }} {{ order.pos_invoice_no|default:"—" }} View
No orders match the current filters.
{% endblock content %}