Reverting problematic change

This commit is contained in:
Michaela Brydon 2024-03-05 10:44:35 -05:00
parent bc7947187a
commit cf850358ae

View file

@ -950,7 +950,6 @@ export const useMainStore = defineStore({
const { glassParts } = this.lineItems; const { glassParts } = this.lineItems;
const { carId } = this.vehicle; const { carId } = this.vehicle;
const { isRepair, numberOfChips } = this.damage; const { isRepair, numberOfChips } = this.damage;
const { parentAccountNumber } = this.issConfig;
return globalMethods return globalMethods
.callHttpClient({ .callHttpClient({
@ -959,7 +958,7 @@ export const useMainStore = defineStore({
payload: { payload: {
carId, carId,
damageType: isRepair ? 'Repair' : 'Replace', damageType: isRepair ? 'Repair' : 'Replace',
parentAccountNumber, parentAccountNumber: applicationConfig.CASH_PARENT_ACCOUNT_NUMBER,
parts: glassParts ?? [], parts: glassParts ?? [],
numberOfRepairChips: isRepair ? numberOfChips : 0 numberOfRepairChips: isRepair ? numberOfChips : 0
} }