CSR-747 Format
This commit is contained in:
parent
da402bcaa4
commit
6619c66bf8
4 changed files with 5 additions and 7 deletions
|
|
@ -8,6 +8,7 @@ const applicationConfig = {
|
|||
APPLICATION_NAME: "FixMyGlass",
|
||||
APPLICATION_ABBREVIATION: "fmg",
|
||||
SITE_ENTRY_TRIGGER_VALUE: "FixMyGlass",
|
||||
CASH_ACCOUNT_NUMBER: 167132,
|
||||
};
|
||||
|
||||
export { applicationConfig };
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ export default {
|
|||
const payment = store.getters.payment;
|
||||
|
||||
if (payment.isInsurance && payment.insuranceCoverage.isVerified) {
|
||||
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal })
|
||||
navigateToHeritageFunnel({ loadingModal: self.$refs.loadingModal });
|
||||
} else {
|
||||
self.$router.navigateWithSaving(
|
||||
self.navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
|
||||
|
|
|
|||
|
|
@ -14,10 +14,7 @@ export default {
|
|||
const result = await this.dispatchStoreAction(storeActions.GET_PARTS_OR_QUESTIONS);
|
||||
const partsOrQuestions = result.data.partsOrQuestions;
|
||||
|
||||
vehicleQuestionsMixin.methods.navigateForward(
|
||||
partsOrQuestions,
|
||||
this,
|
||||
);
|
||||
vehicleQuestionsMixin.methods.navigateForward(partsOrQuestions, this);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -906,14 +906,14 @@ export const actions = {
|
|||
const carId = context.getters.vehicle.carId;
|
||||
const isRepair = context.getters.damage.isRepair;
|
||||
const numberOfChips = context.getters.damage.numberOfChips;
|
||||
const parentAccountNumber = context.getters.order.accountNumber;
|
||||
|
||||
return globalMethods.callHttpClient({
|
||||
method: endpoints.GetSupportingItems.method,
|
||||
endpoint: endpoints.GetSupportingItems.url,
|
||||
payload: {
|
||||
carId: carId,
|
||||
serviceType: isRepair ? "Repair" : "Replace",
|
||||
parentAccountNumber: parentAccountNumber == 0 ? 167132 : parentAccountNumber,
|
||||
parentAccountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
parts: glassPartsArray,
|
||||
numberOfRepairChips: isRepair ? numberOfChips : 0,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue