fix(first-leg): render complete warehouse address snapshot once

This commit is contained in:
2026-10-03 00:16:10 +08:00
parent 5f963f326e
commit 81a2e6473d
2 changed files with 51 additions and 4 deletions
@@ -160,8 +160,10 @@ function orderWarehouseSnapshot(order: MerchantFirstLegOrder, warehouse?: Platfo
id: String(order.receivingWarehouseId),
code: warehouse?.code ?? '',
name: order.receivingWarehouseName,
province: warehouse?.province ?? '',
city: warehouse?.city ?? '',
// Order stores the complete formatted address, including province and city.
// Do not prefix this snapshot with fields from the current warehouse master.
province: '',
city: '',
address: order.receivingWarehouseAddress,
}
}