fix(shop): wire order drawer ship/after-sale to live REST
Point OrderDetailDrawer at /shop/shipping and /shop/after-sale with carrier/tracking_no and amount payloads matching backend contracts. Map order detail context.buyer/address/shipping/after_sale for the drawer, and include after-sale reason in summary items.
This commit is contained in:
1 parent
7dccfcd566
commit
77497b78b4
2 files changed
+63
-23
No files matched your search
@@ -491,6 +491,7 @@ class AKSRT_After_Sale {
|
||||
'status_label' => (string) ($record['status_label'] ?? ''),
|
||||
'stage' => is_array($record['stage'] ?? null) ? $record['stage'] : [],
|
||||
'amount' => (float) ($record['amount'] ?? 0),
|
||||
'reason' => (string) ($record['reason'] ?? ''),
|
||||
'created_at' => (string) ($record['created_at'] ?? ''),
|
||||
'updated_at' => (string) ($record['updated_at'] ?? ''),
|
||||
'resolved_at' => (string) ($record['resolved_at'] ?? ''),
|
||||
|
||||
Reference in new issue
Block a user