CASH-1952
CASH-1952 no need to encode data on post with axios. flatten line items
This commit is contained in:
parent
8d704fdc97
commit
8e61e33f73
1 changed files with 2 additions and 2 deletions
|
|
@ -2378,13 +2378,13 @@ export const useMainStore = defineStore({
|
||||||
billToAccountNumber: this.billToAccountNumber,
|
billToAccountNumber: this.billToAccountNumber,
|
||||||
providerNumber: this.providerNumber,
|
providerNumber: this.providerNumber,
|
||||||
appointmentType: appointmentType,
|
appointmentType: appointmentType,
|
||||||
pricedLineItems: pricedLineItems,
|
pricedLineItems: getLineItemsFlattened(pricedLineItems),
|
||||||
serviceLocation: {
|
serviceLocation: {
|
||||||
city: isMobileApt ? serviceLocationCity : null,
|
city: isMobileApt ? serviceLocationCity : null,
|
||||||
state: isMobileApt ? serviceLocationState : null,
|
state: isMobileApt ? serviceLocationState : null,
|
||||||
zipCode: isMobileApt ? serviceLocationZipCode : null,
|
zipCode: isMobileApt ? serviceLocationZipCode : null,
|
||||||
},
|
},
|
||||||
serverData: lineItemServerData ? encodeURIComponent(lineItemServerData) : "",
|
serverData: lineItemServerData ? lineItemServerData : "",
|
||||||
},
|
},
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
this.order.lineItems.serverData = response.data.serverData;
|
this.order.lineItems.serverData = response.data.serverData;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue