fix(first-leg): render complete warehouse address snapshot once
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user