Chi tiết đơn hàng

Order Detail

Detail is the screen where operators handle the full lifecycle of a single order.

Core areas

  • order summary and status
  • shipping and billing information
  • order lines
  • shipment records
  • refund records
  • timeline logs with before/after diffs

Actions visible in source

  • update order notes and addresses
  • cancel order
  • complete order
  • duplicate order
  • fulfill individual lines
  • create and ship shipments
  • mark delivered
  • create refund drafts and process refunds

Guard conditions

The source blocks actions when:

  • the order is already completed or canceled
  • shipments are already locked in shipped or delivered states
  • payment status does not allow refunds
  • no remaining quantity is available for fulfillment or refund

Safe operating sequence

  1. Check order, payment, and fulfillment status first.
  2. Confirm remaining quantities on each line.
  3. Create and update shipments according to the real fulfillment state.
  4. Process refunds only after reviewing eligible lines and amounts.
  5. Use the activity log to understand who changed what and when.

Fast troubleshooting tip

When an action is disabled, the most common causes are current statuses and shipment state, not a UI bug.