little updates
This commit is contained in:
parent
549c03934e
commit
ff9cc2476e
2 changed files with 22 additions and 3 deletions
|
|
@ -38,6 +38,14 @@
|
||||||
<span id="base-price-value">{{ getDisplayed(baseServicePrice) }}</span>
|
<span id="base-price-value">{{ getDisplayed(baseServicePrice) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div
|
||||||
|
id="cart-service"
|
||||||
|
class="d-flex justify-content-between align-items-center">
|
||||||
|
<span
|
||||||
|
id="service-label"
|
||||||
|
class="label">{{ serviceLabel }}</span>
|
||||||
|
<span id="service-value">{{ formatAmountInDollars(serviceValue) }}</span>
|
||||||
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -56,7 +64,8 @@ export default {
|
||||||
showAsPaid: Boolean,
|
showAsPaid: Boolean,
|
||||||
amountDueLabel: String,
|
amountDueLabel: String,
|
||||||
deductibleLabel: String,
|
deductibleLabel: String,
|
||||||
basePriceLabel: String
|
basePriceLabel: String,
|
||||||
|
serviceLabel: String
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const { currentDeductible } = useMainStore().order;
|
const { currentDeductible } = useMainStore().order;
|
||||||
|
|
@ -94,6 +103,10 @@ export default {
|
||||||
return this.showAsPaid
|
return this.showAsPaid
|
||||||
? 0
|
? 0
|
||||||
: this.subTotal + this.salesTax;
|
: this.subTotal + this.salesTax;
|
||||||
|
},
|
||||||
|
// TODO
|
||||||
|
serviceValue() {
|
||||||
|
return 25;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -104,7 +117,8 @@ export default {
|
||||||
return this.isUnverified && this.showDeductibleLineItem
|
return this.isUnverified && this.showDeductibleLineItem
|
||||||
? VERIFYING_COVERAGE
|
? VERIFYING_COVERAGE
|
||||||
: formatAmountInDollars(amount);
|
: formatAmountInDollars(amount);
|
||||||
}
|
},
|
||||||
|
formatAmountInDollars
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
:showAsPaid="false"
|
:showAsPaid="false"
|
||||||
:amountDueLabel="amountDueText"
|
:amountDueLabel="amountDueText"
|
||||||
:deductibleLabel="deductibleLabel"
|
:deductibleLabel="deductibleLabel"
|
||||||
:basePriceLabel="basePriceLabel" />
|
:basePriceLabel="basePriceLabel"
|
||||||
|
:serviceLabel="serviceLabel" />
|
||||||
<hr class="mt-0 mb-5" />
|
<hr class="mt-0 mb-5" />
|
||||||
<div>Pia Alert Placeholder</div>
|
<div>Pia Alert Placeholder</div>
|
||||||
<paymentMethodQuestion
|
<paymentMethodQuestion
|
||||||
|
|
@ -140,6 +141,10 @@ export default {
|
||||||
},
|
},
|
||||||
basePriceLabel() {
|
basePriceLabel() {
|
||||||
return this.getCmsContent(this.widget.basePrice, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
|
return this.getCmsContent(this.widget.basePrice, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
|
||||||
|
},
|
||||||
|
// TODO
|
||||||
|
serviceLabel() {
|
||||||
|
return 'Standard service';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue