CSR-2166: some temporary debugging indications for dev
This commit is contained in:
parent
2560787b4f
commit
5e7bc8dc13
2 changed files with 23 additions and 1 deletions
|
|
@ -15,6 +15,12 @@
|
|||
|
||||
<funnelSubHeader class="mb-5" cmsWidgetName="FunnelSubHeaderWidget" />
|
||||
|
||||
<hr />
|
||||
<p style="color: blue;">thresholdToUse: {{ thresholdToUse }}</p>
|
||||
<p style="color: blue;">externalSource: {{ externalSource }}</p>
|
||||
<p style="color: blue;">recalSettingValue: {{ recalSettingValue }}</p>
|
||||
<hr />
|
||||
|
||||
<cashOrInsuranceQuestion
|
||||
ref="cashOrInsurance"
|
||||
cmsWidgetName="CashOrInsuranceQuestionWidget"
|
||||
|
|
@ -356,6 +362,8 @@ export default {
|
|||
// did user come from external source (LeadGen)?
|
||||
let externalSource = store.getters.externalParameterSource ? store.getters.externalParameterSource : null;
|
||||
|
||||
vm.externalSource = externalSource; // TEMP 9/23
|
||||
|
||||
// Business logic to determine what "external" source is
|
||||
if (externalSource?.includes("LeadGen")) {
|
||||
const externalThreshold = experimentMixin.methods.getSettingValue(
|
||||
|
|
@ -370,6 +378,8 @@ export default {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
vm.thresholdToUse = thresholdToUse;
|
||||
});
|
||||
},
|
||||
data() {
|
||||
|
|
@ -381,6 +391,9 @@ export default {
|
|||
servicePackage: null,
|
||||
holdParentAccountNumber: null,
|
||||
holdBillToAccountNumber: null,
|
||||
|
||||
thresholdToUse: null, // TEMP 9/23
|
||||
externalSource: null, // TEMP 9/23
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,13 @@
|
|||
<template>
|
||||
<hr />
|
||||
|
||||
|
||||
<p style="color: red;">isInsuranceSelected: {{ isInsuranceSelected }}</p>
|
||||
<p style="color: red;">isRecalibrationOnOrder: {{ isRecalibrationOnOrder }}</p>
|
||||
<p style="color: red;">shouldHideRecalibration: {{ shouldHideRecalibration }}</p>
|
||||
|
||||
|
||||
<hr />
|
||||
<buttonQuestion
|
||||
ref="buttonQuestion"
|
||||
:answers="servicePackageAnswers"
|
||||
|
|
@ -237,7 +246,7 @@ export default {
|
|||
return (this.isInsuranceSelected ? "As little as $" : "$") + formattedPriceFloat;
|
||||
},
|
||||
getPackagePrice(packageName, { discountedPrice = false, servicePackageDiscount = false }) {
|
||||
var lineItemsToPrice = [...this.nullSafeAvailableLineItems];
|
||||
let lineItemsToPrice = [...this.nullSafeAvailableLineItems];
|
||||
|
||||
if (this.isRecalibrationOnOrder && this.shouldHideRecalibration) {
|
||||
lineItemsToPrice = lineItemsToPrice.filter((item) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue