commit
bc4cd488ad
4 changed files with 7 additions and 7 deletions
|
|
@ -9,7 +9,7 @@ const applicationConfig = {
|
|||
APPLICATION_ABBREVIATION: "fmg",
|
||||
PAGE_QUERYSTRING: "fmgPage",
|
||||
SITE_ENTRY_TRIGGER_VALUE: "FixMyGlass",
|
||||
CASH_ACCOUNT_NUMBER: 167132,
|
||||
CASH_PARENT_ACCOUNT_NUMBER: 167132,
|
||||
};
|
||||
|
||||
export { applicationConfig };
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ store.getters = {
|
|||
payment: {
|
||||
insuranceCoverage: {},
|
||||
isInsurance: false,
|
||||
parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
parentAccountNumber: applicationConfig.CASH_PARENT_ACCOUNT_NUMBER,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
@ -76,7 +76,7 @@ afterEach(() => {
|
|||
store.getters = {
|
||||
order: {
|
||||
payment: {
|
||||
parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
parentAccountNumber: applicationConfig.CASH_PARENT_ACCOUNT_NUMBER,
|
||||
},
|
||||
},
|
||||
payment: {
|
||||
|
|
|
|||
|
|
@ -185,14 +185,14 @@ export default {
|
|||
if (!this.isInsuranceSelected) {
|
||||
this.dispatchStoreAction(
|
||||
this.storeActions.SAVE_PARENT_ACCOUNT_NUMBER,
|
||||
applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
applicationConfig.CASH_PARENT_ACCOUNT_NUMBER,
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
this.$store.getters.order.payment.parentAccountNumber !=
|
||||
applicationConfig.CASH_ACCOUNT_NUMBER
|
||||
applicationConfig.CASH_PARENT_ACCOUNT_NUMBER
|
||||
) {
|
||||
this.supportingItems = this.filterOutFees(this.supportingItems);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -934,7 +934,7 @@ export const actions = {
|
|||
payload: {
|
||||
carId: carId,
|
||||
serviceType: isRepair ? "Repair" : "Replace",
|
||||
parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
parentAccountNumber: applicationConfig.CASH_PARENT_ACCOUNT_NUMBER,
|
||||
parts: glassPartsArray,
|
||||
numberOfRepairChips: isRepair ? numberOfChips : 0,
|
||||
},
|
||||
|
|
@ -1443,7 +1443,7 @@ export const actions = {
|
|||
const vehicle = context.getters.order.vehicle;
|
||||
|
||||
let queryString =
|
||||
`ParentAccountNumber=${applicationConfig.CASH_ACCOUNT_NUMBER}` +
|
||||
`ParentAccountNumber=${applicationConfig.CASH_PARENT_ACCOUNT_NUMBER}` +
|
||||
`&CTU=${ctuToUse}` +
|
||||
`&CarId=${vehicle.carId}` +
|
||||
`&Make=${vehicle.make}` +
|
||||
|
|
|
|||
Loading…
Reference in a new issue