add FL repair logic
This commit is contained in:
parent
a3523fea26
commit
93ff9b718e
1 changed files with 7 additions and 0 deletions
|
|
@ -527,6 +527,13 @@ export const useMainStore = defineStore({
|
||||||
orderItemsArray.push(glassPieceObject);
|
orderItemsArray.push(glassPieceObject);
|
||||||
manuaGlassNamesArray.push(glassPiece.glassLocation);
|
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) => {
|
return new Promise((resolve, reject) => {
|
||||||
globalMethods.callHttpClient({
|
globalMethods.callHttpClient({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue