From 93ff9b718e6042359d11212f4d0f969e0c818ea1 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Wed, 1 Nov 2023 15:22:18 -0400 Subject: [PATCH] add FL repair logic --- src/store/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index db3c739e..1a9126b5 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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({