add documents property to order
This commit is contained in:
@@ -37,6 +37,7 @@ export const fromWCOrder = (WCOrder) => {
|
||||
email: WCOrder.billing.email,
|
||||
address: formatAddress(WCOrder.billing)
|
||||
},
|
||||
documents: WCOrder.documents,
|
||||
packages: WCOrder['line_items'].map(packageLine => {
|
||||
return {
|
||||
id: packageLine['product_id'],
|
||||
|
||||
Reference in New Issue
Block a user