CASH-1514

CASH-1514 changed cms to arriving between, and put text into span to not get overridden by text-transform: capitalize css property
This commit is contained in:
Johnny shultz 2025-10-03 13:41:04 -04:00
parent 8fff43c2bc
commit 6587f78dce

View file

@ -699,10 +699,12 @@ export default {
: this.ServiceLocationFullAddress.zipCode;
},
AppointmentWordingText() {
return this.getCmsContent("ApptDetailsSnapshotWidget", "BodyText")?.replaceAll(
const text = this.getCmsContent("ApptDetailsSnapshotWidget", "BodyText")?.replaceAll(
"{custom:ADDRESS}",
this.ServiceLocationFullAddressText
);
return text?.replace(/\barriving between\b/gi, "<span>arriving between</span>");
},
isRecalibrationOnOrder() {
const order = baseMixin.methods.hasSubmittedOrder()