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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user