pull in damageString to display on statement
This commit is contained in:
parent
564d4db313
commit
7f1be1feeb
1 changed files with 16 additions and 11 deletions
|
|
@ -49,16 +49,14 @@
|
|||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<textBlock
|
||||
cmsWidgetName="UnverifiedNonADASNextStepsWidget"
|
||||
typeStyle="body"
|
||||
v-if="unverifiedNonADASNextSteps"
|
||||
/>
|
||||
<textBlock
|
||||
cmsWidgetName="UnverifiedNonADASRepairWidget"
|
||||
typeStyle="body"
|
||||
v-if="unverifiedNonADASRepair"
|
||||
/>
|
||||
<div
|
||||
v-if="unverifiedNonADASNextSteps"
|
||||
v-html="unverifiedNonADASNextStepsBodyText" >
|
||||
</div>
|
||||
<div
|
||||
v-if="unverifiedNonADASRepair"
|
||||
v-html="unverifiedNonADASRepairBodyText" >
|
||||
</div>
|
||||
<recalModal cmsWidgetName="RecalModal" />
|
||||
<siteFooter
|
||||
cmsWidgetName="SiteFooterWidget"
|
||||
|
|
@ -94,6 +92,7 @@ import {
|
|||
getRouterLinkRouteFromCopy
|
||||
} from '@/helpers/cms-content-helper';
|
||||
import { settleAllPromises } from '@/helpers/layout-helper';
|
||||
import { getDamageString } from '@/helpers/damage-helper.js';
|
||||
import { useMainStore } from "@/store";
|
||||
|
||||
export default {
|
||||
|
|
@ -132,7 +131,13 @@ export default {
|
|||
return this.getCmsContent('continueWithSchedulingCopy', 'BodyText');
|
||||
},
|
||||
unverifiedADASNextStepsBodyText() {
|
||||
return this.getCmsContent('UnverifiedADASNextStepsWidget', 'BodyText');
|
||||
return this.getCmsContent('UnverifiedADASNextStepsWidget', 'BodyText').replaceAll("{custom:damage}", getDamageString());
|
||||
},
|
||||
unverifiedNonADASNextStepsBodyText() {
|
||||
return this.getCmsContent('UnverifiedNonADASNextStepsWidget', 'BodyText').replaceAll("{custom:damage}", getDamageString());
|
||||
},
|
||||
unverifiedNonADASRepairBodyText() {
|
||||
return this.getCmsContent('UnverifiedNonADASRepairWidget', 'BodyText');
|
||||
},
|
||||
splitADASCoverageStatementCopy() {
|
||||
// Splits content when brackets are found in text so that text can be looped through and text-link can be injected when needed
|
||||
|
|
|
|||
Loading…
Reference in a new issue