From 7fdcaf0ae00be61a80f163fc0385533efdf88722 Mon Sep 17 00:00:00 2001 From: CarlNation <32103961+CarlNation@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:15:37 -0400 Subject: [PATCH] CSR-2054 CSR-2054 no longer hard code cash parent account for pricing calls --- src/store/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 684aad2ce..d8306ad09 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2247,7 +2247,7 @@ export const actions = { // TODO: Insurance pricing...`ParentAccountNumber=${context.getters.order.payment.parentAccountNumber}` let queryString = - `ParentAccountNumber=${applicationConfig.CASH_PARENT_ACCOUNT_NUMBER}` + + `ParentAccountNumber=${context.getters.order.payment.parentAccountNumber}` + `&CTU=${ctuToUse}` + `&CarId=${vehicle.carId}` + `&Make=${vehicle.make}` + @@ -2311,7 +2311,7 @@ export const actions = { let queryString = ""; if (appointmentType == "Mobile") { queryString = - `ParentAccountNumber=${applicationConfig.CASH_PARENT_ACCOUNT_NUMBER}` + + `ParentAccountNumber=${context.getters.order.payment.parentAccountNumber}` + `&BillToAccountNumber=${billToAccountNumber}` + `&ProviderNumber=${providerNumber}` + `&AppointmentType=${appointmentType}` + @@ -2321,7 +2321,7 @@ export const actions = { `&${pricedLineItemsFormattedForRequest}`; } else { queryString = - `ParentAccountNumber=${applicationConfig.CASH_PARENT_ACCOUNT_NUMBER}` + + `ParentAccountNumber=${context.getters.order.payment.parentAccountNumber}` + `&BillToAccountNumber=${billToAccountNumber}` + `&ProviderNumber=${providerNumber}` + `&AppointmentType=${appointmentType}` +