Align admin orders with the shop pre-order flow.

Admins create product-based pre-orders, price real line items, reach final approval after cash or checks, and only ship eligible orders.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 21:41:09 +03:30
co-authored by Cursor
parent 37cb1ad859
commit f68fd820e7
12 changed files with 411 additions and 153 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ const allChecksApproved = computed(
const canFinalApprove = computed(() => {
if (!allChecksApproved.value || !order.value) return false
const status = (order.value.rawStatus ?? order.value.status) as RawOrderStatus
return status === 'checks_approved' || status === 'awaiting_check_review'
return status === 'checks_approved'
})
const finalizing = ref(false)