add FL repair logic

This commit is contained in:
Katie Kroell 2023-11-01 15:22:18 -04:00
parent a3523fea26
commit 93ff9b718e

View file

@ -527,6 +527,13 @@ export const useMainStore = defineStore({
orderItemsArray.push(glassPieceObject);
manuaGlassNamesArray.push(glassPiece.glassLocation);
});
if (this.order.customer.address.state === 'FL' && this.order.damage.isRepair) {
const damageLocationObject = {
name: damageLocationsSelected.WINDSHIELD.toUpperCase()
};
orderItemsArray.push(damageLocationObject);
manuaGlassNamesArray.push(damageLocationsSelected.WINDSHIELD);
}
return new Promise((resolve, reject) => {
globalMethods.callHttpClient({