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 -->
|
||||
<div
|
||||
class="modal fade modal-component"
|
||||
:class="modalId"
|
||||
:class="[modalId, { 'recall-show': isRecal }]"
|
||||
v-on="{ 'hidden.bs.modal': onModalClosed, 'shown.bs.modal': onModalOpened }"
|
||||
:data-bs-backdrop="backdropSetting"
|
||||
:id="modalId"
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
@keypress.enter="onEnter"
|
||||
aria-hidden="true">
|
||||
<!--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-header mb-0 mt-6">
|
||||
<label
|
||||
|
|
@ -71,6 +71,10 @@ export default {
|
|||
onModalClosedCallback: {
|
||||
type: Function,
|
||||
},
|
||||
isRecal: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
setup() {
|
||||
const uuid = uuidv4();
|
||||
|
|
@ -195,6 +199,19 @@ export default {
|
|||
background-color: $white;
|
||||
}
|
||||
&.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 {
|
||||
max-width: 767px;
|
||||
margin: 0 auto;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
aria-label="expand cart"
|
||||
href="javascript:void(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">
|
||||
{{ getLineItemAmount(amountDue, showCoverageAsPending) }}
|
||||
</span>
|
||||
|
|
@ -1097,9 +1097,19 @@ export default {
|
|||
amountDueText() {
|
||||
return this.getCmsContent("AmountDueTextWidget", "Text");
|
||||
},
|
||||
OrderDetailsText() {
|
||||
orderDetailsText() {
|
||||
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() {
|
||||
return this.getCmsContent("AmountPaidTextWidget", "Text");
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
:ref="ModalName"
|
||||
:modalId="ModalName"
|
||||
:footerButtonText="ModalCloseButtonText"
|
||||
@footer-button-event="footerButtonClick">
|
||||
@footer-button-event="footerButtonClick"
|
||||
:isRecal="isRecal">
|
||||
<div :class="[isRecal ? 'recal-modal' : '']">
|
||||
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
|
||||
<h5 class="mb-4" v-html="ModalHeadline"></h5>
|
||||
|
|
|
|||
|
|
@ -67,9 +67,9 @@
|
|||
:insuranceCompanyName="insuranceCompanyName"
|
||||
:showInsuranceCoverageAs="showInsuranceCoverageAs"
|
||||
:shouldHideRecalibration="shouldHideRecalibration"
|
||||
:isExpandedOnLoad="false"
|
||||
:isItac="isItac"
|
||||
:isNoComp="isNoComp"
|
||||
:isExpandedOnLoad="false"
|
||||
:isMSRFeeApplicable="isMSRFeeApplicable" />
|
||||
|
||||
<hr class="mb-5" />
|
||||
|
|
|
|||
|
|
@ -106,7 +106,8 @@
|
|||
<contentGroupModal
|
||||
ref="RecalModal"
|
||||
cmsWidgetName="RecalModal"
|
||||
class="recal-modal" />
|
||||
class="recal-modal"
|
||||
isRecal />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -932,15 +933,22 @@ export default {
|
|||
:deep(.modal-body) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: visible !important;
|
||||
|
||||
p.subheader-text {
|
||||
color: $red;
|
||||
order: 1 !important;
|
||||
margin-top: -2.25rem;
|
||||
}
|
||||
h5 {
|
||||
text-align: center;
|
||||
order: 1;
|
||||
text-align: left !important;
|
||||
order: 2 !important;
|
||||
}
|
||||
p {
|
||||
order: 3;
|
||||
order: 4;
|
||||
}
|
||||
img {
|
||||
order: 2;
|
||||
order: 3 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,31 @@
|
|||
<div v-html="apptWordingText" v-show="!isExpanded"></div>
|
||||
|
||||
<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" />
|
||||
|
||||
<hr class="my-0" />
|
||||
|
|
@ -48,6 +73,7 @@
|
|||
<hr class="my-0" />
|
||||
|
||||
<customerReview cmsWidgetName="CustomerReviewWidget" :customer="customerInfo" />
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -119,9 +145,8 @@ export default {
|
|||
customerReview,
|
||||
damageReview,
|
||||
scheduleReview,
|
||||
serviceLocationReview,
|
||||
servicePackageReview,
|
||||
vehicleReview,
|
||||
serviceLocationReview,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@ describe("Customer Review Block", () => {
|
|||
|
||||
// Assert
|
||||
expect(wrapper.vm.displayContent).toEqual([
|
||||
testConstants.displayContent.fullName,
|
||||
testConstants.displayContent.emailAddress,
|
||||
testConstants.displayContent.phoneNumber,
|
||||
testConstants.displayContent.smsOptIn,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
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() {
|
||||
return this.getCmsContent(this.cmsWidgetName, "HeaderText");
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
<contentGroupModal ref="RainDefenseModal" cmsWidgetName="RainDefenseModal" />
|
||||
<contentGroupModal ref="FrontWiperModal" cmsWidgetName="FrontWiperModal" />
|
||||
<contentGroupModal ref="RearWiperModal" cmsWidgetName="RearWiperModal" />
|
||||
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" isRecal />
|
||||
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
||||
|
||||
<navbar
|
||||
cmsWidgetName="FunnelFooterWidget"
|
||||
|
|
|
|||
Loading…
Reference in a new issue