Merge pull request #1609 from Safelite/rlsmerge-for-csr-1819-accessibility
Merge 12.07 release branch into dev branch
This commit is contained in:
commit
be5a625df9
3 changed files with 8 additions and 24 deletions
|
|
@ -16,8 +16,7 @@
|
|||
<div class="price-table">
|
||||
<div class="service-type">
|
||||
<textBlock :cmsWidgetName="servicePackageTitleWidget" />
|
||||
<span tabindex="0">
|
||||
<span class="sr-only"> {{ screenReaderPackagePriceText }} </span>
|
||||
<span>
|
||||
{{ getFormattedAmount("", packagePrice) }}
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -64,40 +63,25 @@
|
|||
<span v-else-if="cartItem == recycleFeeCartItem">
|
||||
{{ recycleFeeCartItem.name }}
|
||||
</span>
|
||||
<span tabindex="0"
|
||||
><span class="sr-only">{{ screenReaderRecycleFeeText }}</span
|
||||
>{{ getFormattedAmount(cartItem.category, cartItem.subTotal) }}</span
|
||||
>
|
||||
<span>{{ getFormattedAmount(cartItem.category, cartItem.subTotal) }}</span>
|
||||
</div>
|
||||
|
||||
<!-- Sub total, sales tax, total columns -->
|
||||
<div class="sub-total">
|
||||
<span>{{ subtotalText }}</span
|
||||
><span tabindex="0"
|
||||
><span class="sr-only">{{ screenReaderSubTotalText }}</span
|
||||
>{{ getFormattedAmount("", subTotal) }}</span
|
||||
>
|
||||
><span>{{ getFormattedAmount("", subTotal) }}</span>
|
||||
</div>
|
||||
<div class="sales-tax">
|
||||
<span>{{ salesTaxText }}</span
|
||||
><span tabindex="0"
|
||||
><span class="sr-only">{{ screenReaderSalesTaxText }}</span
|
||||
>{{ getFormattedAmount("", salesTax) }}</span
|
||||
>
|
||||
><span>{{ getFormattedAmount("", salesTax) }}</span>
|
||||
</div>
|
||||
<div v-if="showAsPaid" class="amount-paid">
|
||||
<span>{{ amountPaidText }}</span
|
||||
><span tabindex="0"
|
||||
><span class="sr-only">{{ screenReaderAmountPaidText }}</span
|
||||
>{{ getFormattedAmount("", amountPaid) }}</span
|
||||
>
|
||||
><span>{{ getFormattedAmount("", amountPaid) }}</span>
|
||||
</div>
|
||||
<div class="amount-due">
|
||||
<span>{{ amountDueText }}</span
|
||||
><span tabindex="0"
|
||||
><span class="sr-only">{{ screenReaderTotalAmountDueText }}</span
|
||||
>{{ getFormattedAmount("", amountDue) }}</span
|
||||
>
|
||||
><span>{{ getFormattedAmount("", amountDue) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ export default {
|
|||
return serviceLocationReqs && scheduleReqs && customerReqs;
|
||||
},
|
||||
forwardButtonAction() {
|
||||
window.location.assign("//www.safelite.com/");
|
||||
window.location.assign(location.protocol + "//" + location.host);
|
||||
},
|
||||
},
|
||||
components: {
|
||||
|
|
|
|||
|
|
@ -532,7 +532,7 @@ export default {
|
|||
}
|
||||
|
||||
cartItems.forEach((item) => {
|
||||
if (item.name !== null) {
|
||||
if (item.name !== null && item.category != "promos") {
|
||||
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue