From 081c2fef7b2e684374c88512534cf3eaf7b61989 Mon Sep 17 00:00:00 2001
From: Katie Kroell
Date: Thu, 22 Jan 2026 14:05:22 -0500
Subject: [PATCH] deductible and ITAC WIP
---
src/helpers/text-helper.js | 11 +++
.../coverage-statement/coverage-statement.vue | 82 ++++++++++++++-----
src/styles/client-customizations.scss | 7 +-
3 files changed, 78 insertions(+), 22 deletions(-)
diff --git a/src/helpers/text-helper.js b/src/helpers/text-helper.js
index 13e65e11..b99d0d0e 100644
--- a/src/helpers/text-helper.js
+++ b/src/helpers/text-helper.js
@@ -27,6 +27,17 @@ export function createOrderedListFromStringOfParagraphs(stringOfParagraphs) {
return `${stringOfParagraphs.replaceAll('', '').replaceAll('', '
- ').replaceAll('
', '')}`;
}
+/**
+ * @function createUnorderedListFromStringOfParagraphs
+ * @summary
+ * Returns string with tags changed to
and wrapped in an
+ * @param {string} stringOfParagraphs single string with 1 to N tags
+ * @returns {string} converted string wrapped in an
+ */
+export function createUnorderedListFromStringOfParagraphs(stringOfParagraphs) {
+ return `${stringOfParagraphs.replaceAll('', '').replaceAll('', '
- ').replaceAll('', '
')}
`;
+}
+
/**
* @function toTitleCase
* @summary Returns title cased string version of 'text'
diff --git a/src/layouts/coverage-statement/coverage-statement.vue b/src/layouts/coverage-statement/coverage-statement.vue
index 5ee189ff..8cbdc94e 100644
--- a/src/layouts/coverage-statement/coverage-statement.vue
+++ b/src/layouts/coverage-statement/coverage-statement.vue
@@ -21,6 +21,10 @@
ref="explanatoryText"
class="body-text"
v-html="explanatoryText">
+
{{ formatAmountInDollars(deductibleValue) }}
+
+
+
+
+ Safelite price*:
+
{{ formatAmountInDollars(totalServicePrice) }}
-
-
0
- );
+ return this.isDeductibleVisible && this.deductibleValue > 0;
case 'isDeductibleZero':
- return (
- this.isDeductibleVisible && this.deductibleValue <= 0
- );
+ return this.isDeductibleVisible && this.deductibleValue <= 0;
case 'verifiedRepair':
return isRepair && this.isDeductibleVisible;
case 'verifiedReplaceZeroDeductible':
@@ -500,6 +528,10 @@ export default {
return this.isUnverifiedADAS;
case 'unverifiedNonADAS':
return this.isUnverifiedNonADAS;
+ case 'verifiedReplaceDeductibleOverZeroNonADAS':
+ return !isRepair && this.isDeductibleVisible && this.deductibleValue > 0 && !this.isADAS;
+ case 'verifiedReplaceDeductibleOverZeroADAS':
+ return !isRepair && this.isDeductibleVisible && this.deductibleValue > 0 && this.isADAS;
default:
return null;
}
@@ -546,7 +578,7 @@ export default {
line-height: 1.5rem;
}
.sub-header {
- line-height: 2rem;
+ line-height: 1.5rem;
margin-top: 20px;
margin-bottom: 20px;
}
@@ -565,11 +597,11 @@ export default {
list-style-type: disc;
padding-left: 0;
}
- :deep(ol) {
+ :deep(ul) {
padding: 0;
- padding-left: 1.125rem;
- padding-right: 1.125rem;
- line-height: 1.5rem;
+ padding-left: 1.25rem;
+ padding-right: 1.25rem;
+ line-height: 1.25rem;
li {
margin-bottom: .5rem;
@@ -589,6 +621,7 @@ export default {
color: $black;
font-weight: 500;
}
+ margin-top: 6px;
}
:deep(.question-text) {
margin-top: 1.5rem;
@@ -617,6 +650,7 @@ export default {
font-weight: $font-weight-bold;
color: $black;
padding: 10px;
+ margin-top: 20px;
.itac-deductible-value-container {
display: flex;
@@ -639,6 +673,14 @@ export default {
background-color: #cacbcc;
}
}
+ .no-comp-price-text {
+ font-weight: 500;
+ color: $black;
+ }
+ :deep(.line-two) {
+ margin-top: 20px;
+ display: block;
+ }
}
:deep(.deductible-modal) {
diff --git a/src/styles/client-customizations.scss b/src/styles/client-customizations.scss
index 487a63ae..0392e5f2 100644
--- a/src/styles/client-customizations.scss
+++ b/src/styles/client-customizations.scss
@@ -6,15 +6,18 @@
//Define colors for namespaced classes
$header-background: #ffd100;
$accent-fill: #e6f1f3; // Calendar background
- $accent-color: #09748b;
- $link: #09748b;
+ $accent-color: #0070d1;
+ $link: #0070d1;
$svg-fill-color: '%2309748b'; // Color of calendar icon. Place HEX code *after* %23
$progress-bar-success-color: #1a1446;
$progress-bar-background-color: #ffffff;
+ a,
svg,
.modal-text {
fill: $accent-color;
+ color: $accent-color;
+ font-weight: 500;
}
.container-fluid {