diff --git a/src/digital-components/checkbox-question/checkbox-question.vue b/src/digital-components/checkbox-question/checkbox-question.vue index 50245d025..6d3777210 100644 --- a/src/digital-components/checkbox-question/checkbox-question.vue +++ b/src/digital-components/checkbox-question/checkbox-question.vue @@ -1,16 +1,18 @@ diff --git a/src/layouts/customer-details/customer-details.vue b/src/layouts/customer-details/customer-details.vue index 6e5fc0f09..cd6cc17b0 100644 --- a/src/layouts/customer-details/customer-details.vue +++ b/src/layouts/customer-details/customer-details.vue @@ -8,7 +8,7 @@
- +
diff --git a/src/layouts/schedule/location-alerts/location-alerts.vue b/src/layouts/schedule/location-alerts/location-alerts.vue index 66f26e263..80d7a5b00 100644 --- a/src/layouts/schedule/location-alerts/location-alerts.vue +++ b/src/layouts/schedule/location-alerts/location-alerts.vue @@ -3,7 +3,7 @@ v-for="alert in prefixedAlertReasons" :key="alert.cmsWidgetName" :ref="alert.cmsWidgetName" - class="mt-2 mb-3" + class="mt-5 mb-4" :cmsWidgetName="alert.cmsWidgetName" alertClass="alert-warning" /> diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 5b6ab980f..704ad007d 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -439,16 +439,16 @@ export default { this.appointmentType === AppointmentTypeStrings.MOBILE && this.selectedTimeSlotInfo?.isPremiumAppointment ) { - const earlyBirdIndex = supportingItems.findIndex( + const premiumFeeIndex = supportingItems.findIndex( (item) => item.partType == PREMIUM_FEE_PART_TYPE ); - if (earlyBirdIndex >= 0) { - supportingItems[earlyBirdIndex].laborAmount = + if (premiumFeeIndex >= 0) { + supportingItems[premiumFeeIndex].laborAmount = this.mobilePremiumAppointmentFee.laborAmount; - supportingItems[earlyBirdIndex].selingPrice = - this.mobilePremiumAppointmentFee.selingPrice; - supportingItems[earlyBirdIndex].kitPrice = + supportingItems[premiumFeeIndex].sellingPrice = + this.mobilePremiumAppointmentFee.sellingPrice; + supportingItems[premiumFeeIndex].kitPrice = this.mobilePremiumAppointmentFee.kitPrice; } else { supportingItems.push(this.mobilePremiumAppointmentFee); @@ -461,12 +461,12 @@ export default { ); } else { // if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added - const removeEarlyBirdIndex = supportingItems.findIndex( + const removePremiumFeeIndex = supportingItems.findIndex( (item) => item.partType == PREMIUM_FEE_PART_TYPE ); - if (removeEarlyBirdIndex >= 0) { - supportingItems.splice(removeEarlyBirdIndex, 1); + if (removePremiumFeeIndex >= 0) { + supportingItems.splice(removePremiumFeeIndex, 1); this.dispatchStoreAction( this.storeActions.SAVE_SUPPORTING_ITEMS_SUPPRESSING_STATE_RESETTING, supportingItems, diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 64a8c0d3e..d1e818130 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -441,7 +441,7 @@ export default { // If it already exists, update the price with latest data if (mobileFeeIndex >= 0) { supportingItems[mobileFeeIndex].laborAmount = this.mobileFeePart.laborAmount; - supportingItems[mobileFeeIndex].selingPrice = this.mobileFeePart.selingPrice; + supportingItems[mobileFeeIndex].sellingPrice = this.mobileFeePart.sellingPrice; supportingItems[mobileFeeIndex].kitPrice = this.mobileFeePart.kitPrice; } else { supportingItems.push(this.mobileFeePart);