CASH-1123: logic changes for cart subheader
This commit is contained in:
parent
523977671c
commit
048f8eb9ab
2 changed files with 13 additions and 3 deletions
|
|
@ -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");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -66,9 +66,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" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue