Your remaining balance will be billed in 4 payments of ${{ monthlyPayment.toFixed(2) }}.

{{widgetDescription}}
View Payment Schedule

', created() { this.dates = window.datesArray this.paymentPrices = window.priceArray this.paymentPlanProductIds = window.productArray this.modalDescription = window.modalDescription this.widgetDescription = window.widgetDescription this.buildPaymentSchedule() }, computed: { productId() { return this.$store.getters['products/selectedProduct'].Id }, selectedAttributeValueIds() { return this.selectedAttributes .filter(function (attribute) { return !attribute.IsDisabled }) .map(function (obj) { return obj.SelectedValueId; }); }, selectedAttributes() { return this.$store.getters['products/selectedProductAttributes'] }, numberOfPayments() { return this.dates.length }, isPaymentPlanProduct() { let _this = this let foundProductId = this.paymentPlanProductIds.find(function (pid) { return pid === _this.productId; }); if (foundProductId){ return true } else { return false } }, }, methods: { buildPaymentSchedule() { this.paymentDetails = [] let paymentPriceRecord = null this.totalPaymentPrice = 0 this.totalDeposit = 0 //First we must determine which of the selected attributes have payment prices and calculate a total payment price for them let _this = this this.selectedAttributeValueIds.forEach(function (attributeId, index) { paymentPriceRecord = null paymentPriceRecord = _this.paymentPrices.filter(p => { return p.id.toString() === attributeId }) if (paymentPriceRecord && paymentPriceRecord.length > 0) { _this.totalPaymentPrice += paymentPriceRecord[0].paymentPrice _this.totalDeposit += paymentPriceRecord[0].deposit } }) if (_this.totalPaymentPrice > 0) { //Determine monthly payment let thisPayment = +(_this.totalPaymentPrice / _this.dates.length) _this.monthlyPayment = Math.floor(thisPayment * 100) / 100 //Determine if there is a remainder amount _this.paymentRemainder = +(_this.totalPaymentPrice - (_this.monthlyPayment * _this.dates.length)).toFixed(2) //Then we create payment record for each configured date _this.dates.forEach(function (paymentDate, index) { if (index === _this.dates.length - 1 && _this.paymentRemainder > 0) { let lastPayment = _this.monthlyPayment + _this.paymentRemainder _this.paymentDetails.push({ date: paymentDate, amount: `$${lastPayment.toFixed(2)}` }) } else { _this.paymentDetails.push({ date: paymentDate, amount: `$${_this.monthlyPayment.toFixed(2)}` }) } }) //Add a total amount row _this.paymentDetails.push({ date: 'TOTAL', amount: `$${_this.totalPaymentPrice.toFixed(2)}` }) } }, }, watch: { selectedAttributeValueIds: { immediate: true, deep: false, handler(newValue, oldValue) { this.buildPaymentSchedule() }, }, } }) // ]]>. Find discount lift tickets, ski pass deals and cheap ski tickets for skiing in Sunday River. Lift Tickets starting from $25 --- Sale Season Passes starting at $249 --- Sale Threedom Passes starting from $159 --- Sale ... About Sunday River. Top-notch snowmaking, spread across 8 peaks, there is great terrain for all levels. Newry, ME (November 13, 2012)—Sunday River Resort launched a new online program today, selling single- and multi-day lift tickets for the 2012-13 winter season with savings up to 35 percent below this year’s window rates available at the resort. . Find discount lift tickets, ski pass deals and cheap ski tickets for skiing in Sunday River. Lift Tickets starting from $25 --- Sale Season Passes starting at $249 --- Sale Threedom Passes starting from $159 --- Sale ... About Sunday River. Top-notch snowmaking, spread across 8 peaks, there is great terrain for all levels. Newry, ME (November 13, 2012)—Sunday River Resort launched a new online program today, selling single- and multi-day lift tickets for the 2012-13 winter season with savings up to 35 percent below this year’s window rates available at the resort.