Merge pull request #1572 from Safelite/feature/Digital/CSR-1837
Feature/digital/csr 1837
This commit is contained in:
commit
34e49fe86e
1 changed files with 6 additions and 1 deletions
|
|
@ -228,8 +228,13 @@ export default {
|
||||||
this.promoCode.toUpperCase()
|
this.promoCode.toUpperCase()
|
||||||
);
|
);
|
||||||
return (this.displayInShopPromoAlert = true);
|
return (this.displayInShopPromoAlert = true);
|
||||||
|
} else {
|
||||||
|
this.errorMessage = this.PromoText?.replaceAll(
|
||||||
|
"{custom:PROMOCODE}",
|
||||||
|
this.promoCode.toUpperCase()
|
||||||
|
);
|
||||||
|
return (this.displayInvalidPromoAlert = true);
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
this.errorMessage = this.PromoText?.replaceAll(
|
this.errorMessage = this.PromoText?.replaceAll(
|
||||||
"{custom:PROMOCODE}",
|
"{custom:PROMOCODE}",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue