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