diff --git a/src/experiment-components/date-picker-2.vue b/src/experiment-components/date-picker-for-pricing-by-day.vue similarity index 99% rename from src/experiment-components/date-picker-2.vue rename to src/experiment-components/date-picker-for-pricing-by-day.vue index 414f794e0..df4c9b140 100644 --- a/src/experiment-components/date-picker-2.vue +++ b/src/experiment-components/date-picker-for-pricing-by-day.vue @@ -99,8 +99,16 @@ // Supporting files import loader from "@/ux-components/loader/loader"; import store from "@/store"; -import { TIMINGFUNC_MAP, BUFFER_OFFSET, MONTHS_OF_YEAR } from "@/digital-components/date-picker/mixins/constants"; -import { selectableDaysOptions, requiredParameter, forceTwoDigitString } from "@/digital-components/date-picker/mixins/helpers"; +import { + TIMINGFUNC_MAP, + BUFFER_OFFSET, + MONTHS_OF_YEAR, +} from "@/digital-components/date-picker/mixins/constants"; +import { + selectableDaysOptions, + requiredParameter, + forceTwoDigitString, +} from "@/digital-components/date-picker/mixins/helpers"; import { convertDateToDateString, convertDateStringToDate, @@ -111,7 +119,7 @@ import { deepClone } from "@/helpers/object-helper"; import { v4 as uuidv4 } from "uuid"; export default { - name: "datePicker2", + name: "datePickerForPricingByDay", data() { return { isLoading: true, diff --git a/src/experiment-components/service-package-radio.vue b/src/experiment-components/service-package-radio.vue index a3bfd9937..4aae00bc0 100644 --- a/src/experiment-components/service-package-radio.vue +++ b/src/experiment-components/service-package-radio.vue @@ -233,8 +233,7 @@ export default { min-height: 52px; max-height: 126px; @include media-breakpoint-up(md) { - max-height: 500px; - padding-bottom: 3rem; + max-height: 500px; } transition: max-height 0.25s ease-in; diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index eb8268551..838fbf256 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -367,10 +367,18 @@ export default { } } - return ( - baseMixin.methods.getTierOnePackagePrice(lineItemsForCalculatingPrice) > - insuranceThreshold - ); // compare base price vs arbitrary threshold (representing insurance price) + const tierOnePrice = baseMixin.methods.getTierOnePackagePrice(lineItemsForCalculatingPrice); + // prettier-ignore + { + if (store.getters.applicationUser.loggingOption) { + console.log(new Date() + " tierOnePrice type: " + typeof tierOnePrice); + console.log(new Date() + " insuranceThreshold type: " + typeof insuranceThreshold); + console.log(new Date() + " tierOnePrice comparison: " + tierOnePrice + " > " + insuranceThreshold + "=" + (tierOnePrice > insuranceThreshold)); + } + } + + // compare base price vs arbitrary threshold (representing insurance price) + return (tierOnePrice > insuranceThreshold); } return null; @@ -397,6 +405,12 @@ export default { } if (isExternalParameter === externalParameterStatus.NOT_SET) { + // prettier-ignore + { + if (store.getters.applicationUser.loggingOption) { + console.log(new Date() + "quote.vue tab select EXTERNAL not set"); + } + } // there are no active or inactive external parameters; use internal threshold if (internalThreshold) thresholdToUse = internalThreshold; @@ -408,6 +422,13 @@ export default { } else { // user came from an external source, however, the externalParms may have been reset on service-zip, property-questions, etc... if (getBoolFromString(store.getters.externalParameterQuote?.isInsurance)) { + // prettier-ignore + { + if (store.getters.applicationUser.loggingOption) { + console.log(new Date() + "quote.vue tab select EXTERNAL ISINSURANCE"); + } + } + // did user intentionally select insurance? vm.isInsuranceSelected = true; vm.servicePackage = store.getters.externalParameterQuote.servicePackage; @@ -427,6 +448,13 @@ export default { } else { if (externalThreshold) thresholdToUse = externalThreshold; + // prettier-ignore + { + if (store.getters.applicationUser.loggingOption) { + console.log(new Date() + "quote.vue tab select NOT EXTERNAL"); + } + } + vm.isInsuranceSelected = getIsInsuranceSelectedValue( vm.availableLineItems, thresholdToUse diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 0853664e2..27587d08c 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -18,8 +18,8 @@ marginTopSizeOverride="1" /> - -