Merge branch 'release/2025.09.04' into feature/CASH-1465
This commit is contained in:
commit
0ea84fb629
9 changed files with 77 additions and 16 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
<div
|
<div
|
||||||
class="modal fade modal-component"
|
class="modal fade modal-component"
|
||||||
:class="modalId"
|
:class="[modalId, { 'recall-show': isRecal }]"
|
||||||
v-on="{ 'hidden.bs.modal': onModalClosed, 'shown.bs.modal': onModalOpened }"
|
v-on="{ 'hidden.bs.modal': onModalClosed, 'shown.bs.modal': onModalOpened }"
|
||||||
:data-bs-backdrop="backdropSetting"
|
:data-bs-backdrop="backdropSetting"
|
||||||
:id="modalId"
|
:id="modalId"
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
@keypress.enter="onEnter"
|
@keypress.enter="onEnter"
|
||||||
aria-hidden="true">
|
aria-hidden="true">
|
||||||
<!--Close modal when clicking other than close button-->
|
<!--Close modal when clicking other than close button-->
|
||||||
<div class="modal-dialog modal-dialog-centered">
|
<div class="modal-dialog" :class="{ 'modal-dialog-centered': !isRecal }">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header mb-0 mt-6">
|
<div class="modal-header mb-0 mt-6">
|
||||||
<label
|
<label
|
||||||
|
|
@ -71,6 +71,10 @@ export default {
|
||||||
onModalClosedCallback: {
|
onModalClosedCallback: {
|
||||||
type: Function,
|
type: Function,
|
||||||
},
|
},
|
||||||
|
isRecal: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const uuid = uuidv4();
|
const uuid = uuidv4();
|
||||||
|
|
@ -195,6 +199,19 @@ export default {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
}
|
}
|
||||||
&.modal-component {
|
&.modal-component {
|
||||||
|
&.recall-show {
|
||||||
|
.modal-dialog {
|
||||||
|
transform: translateX(-50%);
|
||||||
|
left: 50%;
|
||||||
|
right: auto;
|
||||||
|
width: auto;
|
||||||
|
max-width: 600px;
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
top: 10%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
max-width: 767px;
|
max-width: 767px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
aria-label="expand cart"
|
aria-label="expand cart"
|
||||||
href="javascript:void(0)"
|
href="javascript:void(0)"
|
||||||
class="col d-flex justify-content-between py-0">
|
class="col d-flex justify-content-between py-0">
|
||||||
<span class="label">{{ OrderDetailsText }}</span>
|
<span class="label">{{ cartHeaderText }}</span>
|
||||||
<span class="label amount-due larger">
|
<span class="label amount-due larger">
|
||||||
{{ getLineItemAmount(amountDue, showCoverageAsPending) }}
|
{{ getLineItemAmount(amountDue, showCoverageAsPending) }}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -1097,9 +1097,19 @@ export default {
|
||||||
amountDueText() {
|
amountDueText() {
|
||||||
return this.getCmsContent("AmountDueTextWidget", "Text");
|
return this.getCmsContent("AmountDueTextWidget", "Text");
|
||||||
},
|
},
|
||||||
OrderDetailsText() {
|
orderDetailsText() {
|
||||||
return this.getCmsContent("OrderDetailsTextWidget", "Text");
|
return this.getCmsContent("OrderDetailsTextWidget", "Text");
|
||||||
},
|
},
|
||||||
|
estimateDetailsText() {
|
||||||
|
return this.getCmsContent("EstimateDetailsTextWidget", "Text");
|
||||||
|
},
|
||||||
|
cartHeaderText() {
|
||||||
|
if (!this.isInsurance && this.shouldHideRecalibration) {
|
||||||
|
return this.estimateDetailsText;
|
||||||
|
} else {
|
||||||
|
return this.orderDetailsText;
|
||||||
|
}
|
||||||
|
},
|
||||||
amountPaidText() {
|
amountPaidText() {
|
||||||
return this.getCmsContent("AmountPaidTextWidget", "Text");
|
return this.getCmsContent("AmountPaidTextWidget", "Text");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
:ref="ModalName"
|
:ref="ModalName"
|
||||||
:modalId="ModalName"
|
:modalId="ModalName"
|
||||||
:footerButtonText="ModalCloseButtonText"
|
:footerButtonText="ModalCloseButtonText"
|
||||||
@footer-button-event="footerButtonClick">
|
@footer-button-event="footerButtonClick"
|
||||||
|
:isRecal="isRecal">
|
||||||
<div :class="[isRecal ? 'recal-modal' : '']">
|
<div :class="[isRecal ? 'recal-modal' : '']">
|
||||||
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
|
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
|
||||||
<h5 class="mb-4" v-html="ModalHeadline"></h5>
|
<h5 class="mb-4" v-html="ModalHeadline"></h5>
|
||||||
|
|
|
||||||
|
|
@ -67,9 +67,9 @@
|
||||||
:insuranceCompanyName="insuranceCompanyName"
|
:insuranceCompanyName="insuranceCompanyName"
|
||||||
:showInsuranceCoverageAs="showInsuranceCoverageAs"
|
:showInsuranceCoverageAs="showInsuranceCoverageAs"
|
||||||
:shouldHideRecalibration="shouldHideRecalibration"
|
:shouldHideRecalibration="shouldHideRecalibration"
|
||||||
:isExpandedOnLoad="false"
|
|
||||||
:isItac="isItac"
|
:isItac="isItac"
|
||||||
:isNoComp="isNoComp"
|
:isNoComp="isNoComp"
|
||||||
|
:isExpandedOnLoad="false"
|
||||||
:isMSRFeeApplicable="isMSRFeeApplicable" />
|
:isMSRFeeApplicable="isMSRFeeApplicable" />
|
||||||
|
|
||||||
<hr class="mb-5" />
|
<hr class="mb-5" />
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,8 @@
|
||||||
<contentGroupModal
|
<contentGroupModal
|
||||||
ref="RecalModal"
|
ref="RecalModal"
|
||||||
cmsWidgetName="RecalModal"
|
cmsWidgetName="RecalModal"
|
||||||
class="recal-modal" />
|
class="recal-modal"
|
||||||
|
isRecal />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -932,15 +933,22 @@ export default {
|
||||||
:deep(.modal-body) {
|
:deep(.modal-body) {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overflow: visible !important;
|
||||||
|
|
||||||
|
p.subheader-text {
|
||||||
|
color: $red;
|
||||||
|
order: 1 !important;
|
||||||
|
margin-top: -2.25rem;
|
||||||
|
}
|
||||||
h5 {
|
h5 {
|
||||||
text-align: center;
|
text-align: left !important;
|
||||||
order: 1;
|
order: 2 !important;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
order: 3;
|
order: 4;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
order: 2;
|
order: 3 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,31 @@
|
||||||
<div v-html="apptWordingText" v-show="!isExpanded"></div>
|
<div v-html="apptWordingText" v-show="!isExpanded"></div>
|
||||||
|
|
||||||
<div class="review-table px-4">
|
<div class="review-table px-4">
|
||||||
|
<serviceLocationReview
|
||||||
|
class="service-location"
|
||||||
|
cmsWidgetName="ServiceLocationTitleWidget"
|
||||||
|
:serviceLocation="serviceLocationInfo" />
|
||||||
|
|
||||||
|
<hr class="my-0" />
|
||||||
|
|
||||||
|
<scheduleReview cmsWidgetName="ScheduleWidget" :appointmentType="appointmentType" />
|
||||||
|
|
||||||
|
<hr class="my-0" />
|
||||||
|
|
||||||
|
<vehicleReview cmsWidgetName="VehicleReviewWidget" :vehicle="vehicleInfo" />
|
||||||
|
|
||||||
|
<hr class="my-0" />
|
||||||
|
|
||||||
|
<damageReview
|
||||||
|
cmsWidgetName="DamageReviewWidget"
|
||||||
|
damageLocationsWidgetName="DamageLocationsWidget"
|
||||||
|
:damage="damageInfo" />
|
||||||
|
|
||||||
|
<hr class="my-0" />
|
||||||
|
|
||||||
|
<customerReview cmsWidgetName="CustomerReviewWidget" :customer="customerInfo" />
|
||||||
|
|
||||||
|
<!-- the following was the order prior to Heritage parity
|
||||||
<vehicleReview cmsWidgetName="VehicleReviewWidget" :vehicle="vehicleInfo" />
|
<vehicleReview cmsWidgetName="VehicleReviewWidget" :vehicle="vehicleInfo" />
|
||||||
|
|
||||||
<hr class="my-0" />
|
<hr class="my-0" />
|
||||||
|
|
@ -48,6 +73,7 @@
|
||||||
<hr class="my-0" />
|
<hr class="my-0" />
|
||||||
|
|
||||||
<customerReview cmsWidgetName="CustomerReviewWidget" :customer="customerInfo" />
|
<customerReview cmsWidgetName="CustomerReviewWidget" :customer="customerInfo" />
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -119,9 +145,8 @@ export default {
|
||||||
customerReview,
|
customerReview,
|
||||||
damageReview,
|
damageReview,
|
||||||
scheduleReview,
|
scheduleReview,
|
||||||
serviceLocationReview,
|
|
||||||
servicePackageReview,
|
|
||||||
vehicleReview,
|
vehicleReview,
|
||||||
|
serviceLocationReview,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,6 @@ describe("Customer Review Block", () => {
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(wrapper.vm.displayContent).toEqual([
|
expect(wrapper.vm.displayContent).toEqual([
|
||||||
testConstants.displayContent.fullName,
|
|
||||||
testConstants.displayContent.emailAddress,
|
testConstants.displayContent.emailAddress,
|
||||||
testConstants.displayContent.phoneNumber,
|
testConstants.displayContent.phoneNumber,
|
||||||
testConstants.displayContent.smsOptIn,
|
testConstants.displayContent.smsOptIn,
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,8 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
displayContent() {
|
displayContent() {
|
||||||
return [this.fullName, this.email, this.phoneNumber, this.smsOptIn];
|
return [this.email, this.phoneNumber, this.smsOptIn];
|
||||||
|
// return [this.fullName, this.email, this.phoneNumber, this.smsOptIn]; // prior to Heritage parity
|
||||||
},
|
},
|
||||||
header() {
|
header() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "HeaderText");
|
return this.getCmsContent(this.cmsWidgetName, "HeaderText");
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
<contentGroupModal ref="RainDefenseModal" cmsWidgetName="RainDefenseModal" />
|
<contentGroupModal ref="RainDefenseModal" cmsWidgetName="RainDefenseModal" />
|
||||||
<contentGroupModal ref="FrontWiperModal" cmsWidgetName="FrontWiperModal" />
|
<contentGroupModal ref="FrontWiperModal" cmsWidgetName="FrontWiperModal" />
|
||||||
<contentGroupModal ref="RearWiperModal" cmsWidgetName="RearWiperModal" />
|
<contentGroupModal ref="RearWiperModal" cmsWidgetName="RearWiperModal" />
|
||||||
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" isRecal />
|
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
||||||
|
|
||||||
<navbar
|
<navbar
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue