{"version":3,"sources":["webpack:///./src/pages/Homeowner/billing/payment/PayOutstandingBalance.vue?4680","webpack:///./src/pages/Homeowner/billing/payment/keys/data.js","webpack:///./src/services/ARSettings/store.js","webpack:///./src/pages/Homeowner/billing/payment/keys/methods.js","webpack:///./src/utilities/address/parseStreet.js","webpack:///./src/utilities/address/parseCityStateZip.js","webpack:///src/pages/Homeowner/billing/payment/PayOutstandingBalance.vue","webpack:///./src/pages/Homeowner/billing/payment/PayOutstandingBalance.vue?69b6","webpack:///./src/pages/Homeowner/billing/payment/PayOutstandingBalance.vue","webpack:///./src/components/menus/Links/index.vue?3274","webpack:///./src/utilities/Date/parse.js","webpack:///./src/components/transitions/Slide.vue?a83b","webpack:///./node_modules/lodash/_compareMultiple.js","webpack:///./src/components/menus/Links/index.vue?5407","webpack:///src/components/menus/Links/index.vue","webpack:///./src/components/menus/Links/index.vue?1cc0","webpack:///./src/components/menus/Links/index.vue","webpack:///./src/components/buttons/Button/index.vue?c8d3","webpack:///src/components/buttons/Button/index.vue","webpack:///./src/components/buttons/Button/index.vue?18df","webpack:///./src/components/buttons/Button/index.vue","webpack:///./src/services/OwnerPaymentMethods/store.js","webpack:///./src/pages/Homeowner/billing/Main.vue?54dc","webpack:///./src/pages/Homeowner/billing/keys/data.js","webpack:///src/pages/Homeowner/billing/Main.vue","webpack:///./src/pages/Homeowner/billing/Main.vue?e97a","webpack:///./src/pages/Homeowner/billing/Main.vue","webpack:///./src/services/Roster/Owner/getOwner.js","webpack:///./src/components/transitions/Slide.vue?ab9d","webpack:///src/components/transitions/Slide.vue","webpack:///./src/components/transitions/Slide.vue?8d18","webpack:///./src/components/transitions/Slide.vue","webpack:///./src/utilities/validate/isNumeric.js","webpack:///./node_modules/lodash/_baseEach.js","webpack:///./src/pages/Homeowner/billing/tabs/scheduledPayments/index.vue?b29a","webpack:///./src/services/OwnerAdditionalScheduledPayments/store.js","webpack:///./src/services/ChargeType/store.js","webpack:///./src/pages/Homeowner/billing/tabs/scheduledPayments/keys/methods.js","webpack:///./src/pages/Homeowner/billing/tabs/scheduledPayments/keys/data.js","webpack:///src/pages/Homeowner/billing/tabs/scheduledPayments/index.vue","webpack:///./src/pages/Homeowner/billing/tabs/scheduledPayments/index.vue?7c3b","webpack:///./src/pages/Homeowner/billing/tabs/scheduledPayments/index.vue","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/List.vue?884a","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/keys/methods.js","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/keys/data.js","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/index.vue?75f5","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/keys/data.js","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/keys/methods.js","webpack:///src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/index.vue","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/index.vue?13ba","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/component/OwnerPaymentMethodModal/index.vue","webpack:///src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/List.vue","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/List.vue?7161","webpack:///./src/pages/Homeowner/billing/tabs/ownerPaymentMethodList/List.vue","webpack:///./node_modules/lodash/_baseOrderBy.js","webpack:///./node_modules/lodash/orderBy.js","webpack:///./node_modules/lodash/_createBaseEach.js","webpack:///./node_modules/lodash/_baseMap.js","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/List.vue?a47c","webpack:///./node_modules/lodash/_compareAscending.js","webpack:///./node_modules/lodash/_baseSortBy.js","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/List.vue?ba2e","webpack:///./src/services/Reports/RunReport/AccountActivity/store.js","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/keys/methods.js","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/keys/data.js","webpack:///src/pages/Homeowner/billing/tabs/accountActivity/List.vue","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/List.vue?56fa","webpack:///./src/pages/Homeowner/billing/tabs/accountActivity/List.vue","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/List.vue?bbb2","webpack:///./src/services/OwnerStatements/store.js","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/component/Download.vue?a115","webpack:///src/pages/Homeowner/billing/tabs/statementsOfAccount/component/Download.vue","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/component/Download.vue?71f2","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/component/Download.vue","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/keys/methods.js","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/keys/data.js","webpack:///src/pages/Homeowner/billing/tabs/statementsOfAccount/List.vue","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/List.vue?1abd","webpack:///./src/pages/Homeowner/billing/tabs/statementsOfAccount/List.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","_s","$t","on","$event","preventDefault","returnToParent","addPaymentMethodRedirect","ref","scopedSlots","_u","key","fn","handleSubmit","onFormSubmit","staticStyle","model","value","formData","callback","$$v","$set","expression","directives","name","rawName","masks","nativeOn","onInput","apply","arguments","_f","convenienceFee","Number","parseFloat","paymentAmountRaw","_l","option","domProps","label","paymentMethodType","undefined","_e","addCreditCardPaymentMethod","addBankPaymentMethod","hoaName","paymentStreet","paymentCityStateZip","accountNumberLine","loading","errors","staticRenderFns","field","width","display","paddingRight","textAlign","DEFAULT_FORM_VALUES","outstandingBalance","paymentAmount","ownerPaymentMethodID","cardType","lastFourDigits","creditCardNumber","cardHolderName","expirationDate","cvc","accountHolderName","accountType","bankName","routingNumber","accountNumber","zipcode","data","formComplete","isDebug","toggle","openOnFocus","requestJwtToken","paymentMethods","paymentMethodTypes","accountTypes","accountAliasBankAccount","accountAliasCreditCard","formatDateFn","moment","toString","format","formatter","Intl","NumberFormat","style","currency","minimumFractionDigits","styles","filterButton","float","marginTop","amountField","Object","assign","creditCard","numeral","numeralThousandsGroupStyle","prefix","custom","delimiters","blocks","numericOnly","actions","getByHoaId","hoaID","console","debug","path","kms","get","result","JSON","stringify","error","Vue","use","Vuex","arSettingStore","Store","state","mutations","getters","methods","mapActions","reload","$refs","form","reset","loadOutstandingBalance","loadPaymentMethods","loadPaymentMethodTypes","loadAccountTypes","event","target","_vCleave","getRawValue","replace","loadServiceFees","$router","push","epicGateway","dispatch","then","t","list","log","loadAccountNumberFromArSetting","params","currentHoaId","lockboxID","currentOwnerId","outstandingPayment","percentage","creditCardPercentageServiceFee","creditCardPercentage","achFlatFeeService","achFlatServiceFee","feeCreditCard","filter","f","indexOf","feeBankAccount","ownerID","balanceAmount","ownerPaymentMethod","getFortisJwtOneTimeToken","selectedOwnerUser","authUser","ownerUsers","ownerUserID","getPayload","payload","postalCode","zipCode","notifyError","loadingComponent","$buefy","open","container","validationMessages","close","done","invalidMessage","length","isValid","luhn","validate","slice","cardExpirationDateComponent","getValue","today","registerParams","account_number","method","jwt","amount","expMonth","month","expYear","year","cvv","status","token","token_number","tokenType","token_type","savePaymentMethod","accountAlias","savePaymentToken","isNumeric","n","routing_number","bank_account_type","ValidationError","setErrors","fields","address","isForeign","_get","_address","addressTwo","addressThree","addressFour","addressFive","addressLine1","addressLine2","city","zip","bind","input","unbind","destroy","components","ValidInput","ValidSelect","ValidationObserver","ValidationProvider","PageContentLayoutOnly","Info","DateMonthPicker","computed","mounted","associations","selectedAssociation","parseStreet","parseCityStateZip","watch","i18n","messages","en","payOutstandingBalance","component","parseDate","date","parsed","exception","message","compareAscending","compareMultiple","object","other","orders","index","objCriteria","criteria","othCriteria","ordersLength","order","module","exports","breakpoint","styles_","tab","hash","flexGrow","includes","maxWidth","margin","selectedTab","_t","props","tabs","Array","type","String","default","to","getTabName","tabName","id","$route","x","unsubWindowStore","mType","beforeDestroy","visible","class","isprimary","tooltip","disabled","onClick","text","getOwnerPaymentMethods","isArray","notifyProblem","deleteOwnerPaymentMethod","delete","results","wasDeleted","notifyMessage","getPaymentMethodTypeList","getBankAccountTypeList","addOwnerPaymentMethod","post","details","submitScheduledPayment","scheduledDayPerMonth","payAmounts","pageContentSection","marginLeft","overflowX","transitionName","mainContainer","content","menu","paddingLeft","SlideTransition","LinksMenu","currentAssociation","hoaId","selectHoaId","toIndex","fromIndex","getOwner","owner","isNaN","isFinite","baseForOwn","createBaseEach","baseEach","chargeTypeList","row","additionalScheduledAmount","AdditionalScheduledAmount","amountId","composing","schedulePayment","confirmRemoveScheduledPayment","getOwnerAdditionalScheduledPaymentsList","isEligible","ownerAdditionalScheduledPaymentsStore","getChargeTypeScheduleEligibleList","scheduledPaymentEligible","chargeTypeStore","loadOwnerAdditionalScheduledPayments","ownerAdditionalScheduledPayments","loadSchedulePaymentEligibleChargeTypes","counter","from","forEach","element","chargeTypeId","filteredOwnerAdditionalPaymentAmount","chargeTypeID","scheduledOwnerPaymentMethodID","updateSchedulePayment","dialog","confirm","title","confirmText","hasIcon","onConfirm","remove","formCounter","tempAmount","payAmount","filteredChargeType","selectedOwnerPaymentMethod","numeralDecimalScale","dollarCurrency","total","marginBottom","justifyContent","createPaymentMethodModal","filters","show","background","border","region","rows","columns","perPage","determineRows","map","entry","identifier","erase","Button","confirmDeletOwnerPaymentMethod","reRender","loadOwnerPaymentMethods","ownerPaymentMethods","ownerPaymentMethodTypes","newID","aria","sortable","searchable","datePickerContainer","alignItems","datePicker","marginRight","buttonText","submitPaymentMethod","isOpen","isFetching","addPaymentMethod","ownerId","$emit","$","click","ModernTable","OwnerPaymentMethodModal","Modal","arrayMap","baseGet","baseIteratee","baseMap","baseSortBy","baseUnary","identity","baseOrderBy","collection","iteratees","iteratee","orderBy","guard","isArrayLike","eachFunc","fromRight","iterable","isSymbol","valIsDefined","valIsNull","valIsReflexive","valIsSymbol","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","array","comparer","sort","downloadAccountActivityHistoryReport","pendingPaymentsMadeList","item","ownerElectronicPaymentID","ownerAccountBalance","padding","charge","chargeTypeName","height","proxy","runAccountActivityHistoryBase64Report","startDate","endDate","returned","runAccountActivity","dateFormat","transactionDate","description","transactionType","runningBalance","collapseRow","expandRowIndex","expandRow","currentOwnerID","contentType","blob","base64toBlob","showPdf","determinePendingRows","filtered","createdDate","loadPaymentHistory","bankSummary","loadPendingPaymentsMade","_orderBy","$store","showWaiverSummaries","accountActivityList","dateSelector","verticalAlign","flexWrap","unsubscribe","subscribe","mutation","getOwnerStatementList","getDocumentFile","ownerStatementsStore","ownerStatementID","documentID","downloadPdf","Function","asBase64","asRawBase64","notifyWarning","billingPeriod","billingPeriodParsed","statementType","deliveryType","recipientName","recipientEmailAddresses","recipientJsonString","recipientAddress","parse","AddressLine1","AddressLine2","City","State","Zip","mailingDate","toUpperCase","addressOrEmail","document","Download","loadOwnerStatements"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,wBAAwB,CAACE,MAAM,CAAC,YAAc,YAAY,CAACF,EAAG,MAAM,CAACG,YAAY,cAAc,CAACH,EAAG,MAAM,CAACG,YAAY,mBAAmB,CAACH,EAAG,MAAM,CAACG,YAAY,oCAAoC,CAACP,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,GAAG,mCAAmCN,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,cAAc,CAACH,EAAG,MAAM,CAACE,MAAM,CAAC,MAAQ,KAAK,OAAS,KAAK,MAAQ,6BAA6B,KAAO,OAAO,QAAU,YAAY,OAAS,iBAAiB,CAACF,EAAG,OAAO,CAACE,MA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,QApBF,WAqBI/P,KAAK0I,UAGP2H,KAAM,CACJC,SAAU,CACRC,GAAI,CAAV,wDCjE0Y,ICOtY,EAAY,eACd,EACAzQ,EACA4D,GACA,EACA,KACA,KACA,MAIa,e","file":"js/billing.48b1775d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"headerColor\":\"#fafafa\"}},[_c('div',{staticClass:\"whitecolor\"},[_c('div',{staticClass:\"level pl-5 pr-5\"},[_c('div',{staticClass:\"pt-5 level-left level-item title\"},[_vm._v(_vm._s(_vm.$t('payOutstandingBalance.title')))]),_c('div',{staticClass:\"level-right\"},[_c('div',{staticClass:\"level-item\"},[_c('svg',{attrs:{\"width\":\"30\",\"height\":\"30\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M15 19l-7-7 7-7\"}})])]),_c('div',{staticClass:\"level-item\"},[_c('b-button',{attrs:{\"label\":\"Back to Dashboard\"},on:{\"click\":function($event){$event.preventDefault();return _vm.returnToParent()}}})],1)])]),_c('div',{staticClass:\"pl-2 pb-5\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.addPaymentMethodRedirect()}}},[_vm._v(\" Add Payment Method \")])]),_c('div',{staticClass:\"tile is-ancestor\"},[_c('div',{staticClass:\"tile is-vertical is-7 pl-2 pr-2 pb-2\"},[_c('div',{staticClass:\"tile is-parent\"},[(_vm.formData)?_c('div',{staticClass:\"tile is-child notification headerColor\"},[_c('div',[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('fieldset',{staticClass:\"box is-7\"},[_c('div',{staticClass:\"pb-5\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Outstanding Balance\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The outstanding balance of that is owed.\"}})],1),_c('valid-input',{staticClass:\"is-small\",staticStyle:{\"width\":\"50px !important\"},attrs:{\"aria-readonly\":\"true\",\"aria-disabled\":\"true\",\"disabled\":\"true\",\"name\":\"outstandingBalance\",\"type\":\"text\",\"vid\":\"OutstandingBalance\",\"placeholder\":\"Outstanding Balance\",\"spellcheck\":\"true\",\"aria-label\":\"Outstanding Balance\",\"rules\":\"required\"},model:{value:(_vm.formData.outstandingBalance),callback:function ($$v) {_vm.$set(_vm.formData, \"outstandingBalance\", $$v)},expression:\"formData.outstandingBalance\"}})],1),_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Payment Amount\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The amount that you are making the payment for.\"}})],1),_c('b-input',{directives:[{name:\"cleave\",rawName:\"v-cleave\",value:(_vm.masks.numeral),expression:\"masks.numeral\"}],staticClass:\"is-small\",attrs:{\"name\":\"PaymentAmount\",\"maxlength\":\"100\",\"type\":\"text\",\"vid\":\"Payment Amount\",\"placeholder\":\"Payment Amount\",\"aria-label\":\"Payment Amount\",\"rules\":\"max:100|required\"},nativeOn:{\"input\":function($event){return _vm.onInput.apply(null, arguments)}},model:{value:(_vm.formData.paymentAmount),callback:function ($$v) {_vm.$set(_vm.formData, \"paymentAmount\", $$v)},expression:\"formData.paymentAmount\"}})],1),_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Convenience Fee\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The amount added for processing the payment.\"}})],1),_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")((\"\" + (_vm.convenienceFee ? _vm.convenienceFee : 0))))+\" \")]),_c('label',{staticClass:\"label\"},[_vm._v(\"Total\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The payment plus the convenience fee. This will be the total amount processed.\"}})],1),_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"currency\")((\"\" + (_vm.convenienceFee ? Number.parseFloat(_vm.convenienceFee) + Number.parseFloat(_vm.formData.paymentAmountRaw) : 0))))+\" \")])])]),_c('fieldset',{staticClass:\"box is-7\"},[_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Payment Method Type\"),_c('Info',{attrs:{\"title\":\"Title\",\"information\":\"The type of the payment method. Select the one-time payment type 'Credit Card' or 'Bank Account'. Select a stored account for a saved payment type. The selected payment type will be used to make the payment.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Payment Method Type\",\"vid\":\"paymentMethodType\",\"aria-required\":\"The payment method type is required\",\"rules\":\"required\"},model:{value:(_vm.formData.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.formData, \"paymentMethodType\", $$v)},expression:\"formData.paymentMethodType\"}},_vm._l((_vm.paymentMethodTypes),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1),(\n _vm.formData.paymentMethodType &&\n _vm.formData.paymentMethodType != undefined &&\n _vm.formData.paymentMethodType == 'stored'\n )?_c('div',{staticClass:\"pt-5\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Payment Method\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"Select the stored payment that you want to use to make this payment.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Payment Method\",\"vid\":\"paymentMethodID\",\"aria-required\":\"The payment method is required\",\"rules\":\"required\"},model:{value:(_vm.formData.ownerPaymentMethodID),callback:function ($$v) {_vm.$set(_vm.formData, \"ownerPaymentMethodID\", $$v)},expression:\"formData.ownerPaymentMethodID\"}},_vm._l((_vm.paymentMethods),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1):_vm._e()]),(\n _vm.formData.paymentMethodType &&\n _vm.formData.paymentMethodType != undefined &&\n _vm.formData.paymentMethodType == 'creditcard'\n )?_c('fieldset',{staticClass:\"box is-7\"},[_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Credit Card Number\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The credit card number.\",\"tabindex\":\"-1\"}})],1),_c('b-input',{attrs:{\"id\":\"cardnumber\",\"name\":\"creditCardNumber\",\"type\":\"text\",\"vid\":\"creditCardNumber\",\"placeholder\":\"Credit Card Number\",\"rules\":\"required|max:100\",\"tabindex\":\"1\"},model:{value:(_vm.formData.creditCardNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"creditCardNumber\", $$v)},expression:\"formData.creditCardNumber\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Card Holder Name\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The card holder name.\",\"tabindex\":\"-1\"}})],1),_c('valid-input',{attrs:{\"name\":\"cardHolderName\",\"type\":\"text\",\"vid\":\"cardHolderName\",\"placeholder\":\"Card Holder Name\",\"rules\":\"required|max:255\",\"tabindex\":\"2\"},model:{value:(_vm.formData.cardHolderName),callback:function ($$v) {_vm.$set(_vm.formData, \"cardHolderName\", $$v)},expression:\"formData.cardHolderName\"}})],1),_c('div',{staticClass:\"column is-12 pt-2\"},[_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Expiration Date\"),_c('Info',{attrs:{\"title\":\"Expiration Date\",\"information\":\"The date that the credit card expires.\",\"tabindex\":\"-1\"}})],1),_c('b-field',[_c('DateMonthPicker',{ref:\"cardExpirationDateComponent\",attrs:{\"tabindex\":\"3\",\"required\":\"\"}})],1)],1),_c('div',{staticClass:\"column is-12 pt-2\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"CVC\"),_c('Info',{attrs:{\"title\":\"CVC\",\"tabindex\":\"-1\",\"information\":\"The credit card verification code. This code is the final three digits of the number printed on the signature strip on the reverse side of your card.\"}})],1)]),_c('valid-input',{attrs:{\"name\":\"cvc\",\"type\":\"text\",\"vid\":\"cvc\",\"tabindex\":\"4\",\"placeholder\":\"Card Verification Code\",\"rules\":\"required|max:5\"},model:{value:(_vm.formData.cvc),callback:function ($$v) {_vm.$set(_vm.formData, \"cvc\", $$v)},expression:\"formData.cvc\"}}),_c('div',{staticClass:\"column is-12 pt-2\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Postal Code\"),_c('Info',{attrs:{\"tabindex\":\"-1\",\"title\":\"Postal Code\",\"information\":\"The postal code of the credit card holder's mailing address.\"}})],1)]),_c('valid-input',{attrs:{\"name\":\"zipCode\",\"type\":\"text\",\"vid\":\"zipCode\",\"placeholder\":\"Zip Code\",\"maxlength\":\"5\",\"rules\":\"required|max:5\",\"tabindex\":\"5\"},model:{value:(_vm.formData.zipCode),callback:function ($$v) {_vm.$set(_vm.formData, \"zipCode\", $$v)},expression:\"formData.zipCode\"}})],1),(_vm.formData.addCreditCardPaymentMethod === true)?_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Alias\"),_c('Info',{attrs:{\"tabindex\":\"-1\",\"title\":\"Name\",\"information\":\"Assign a name to your account. This can be any name that you want to assign.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountAliasCreditCard\",\"type\":\"text\",\"vid\":\"accountAliasCreditCard\",\"placeholder\":\"Account Alias\",\"rules\":\"max:255\",\"tabindex\":\"6\"},model:{value:(_vm.formData.accountAliasCreditCard),callback:function ($$v) {_vm.$set(_vm.formData, \"accountAliasCreditCard\", $$v)},expression:\"formData.accountAliasCreditCard\"}})],1):_vm._e(),_c('div',{staticClass:\"column is-12 pl-5\"},[_c('b-checkbox',{staticClass:\"has-left-text\",attrs:{\"tabindex\":\"7\"},model:{value:(_vm.formData.addCreditCardPaymentMethod),callback:function ($$v) {_vm.$set(_vm.formData, \"addCreditCardPaymentMethod\", $$v)},expression:\"formData.addCreditCardPaymentMethod\"}},[_vm._v(\"Save this Payment Method?\")])],1)]):_vm._e(),(\n _vm.formData.paymentMethodType &&\n _vm.formData.paymentMethodType != undefined &&\n _vm.formData.paymentMethodType == 'bankaccount'\n )?_c('fieldset',{staticClass:\"box is-7\"},[_c('div',{staticClass:\"column is-12\",staticStyle:{\"padding\":\"10px\",\"white-space\":\"nowrap\"}},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Type\"),_c('Info',{attrs:{\"title\":\"Title\",\"information\":\"The type of the bank account.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Account Type\",\"vid\":\"accountType\",\"aria-required\":\"The account type is required\",\"rules\":\"required\"},model:{value:(_vm.formData.accountType),callback:function ($$v) {_vm.$set(_vm.formData, \"accountType\", $$v)},expression:\"formData.accountType\"}},_vm._l((_vm.accountTypes),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Holder Name\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The account holder name.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountHolderName\",\"type\":\"text\",\"vid\":\"accountHolderName\",\"placeholder\":\"Account Holder Name\",\"rules\":\"required|max:50\"},model:{value:(_vm.formData.accountHolderName),callback:function ($$v) {_vm.$set(_vm.formData, \"accountHolderName\", $$v)},expression:\"formData.accountHolderName\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Routing Number\"),_c('Info',{attrs:{\"title\":\"Routing Number\",\"information\":\"The routing number of the Bank Account.\"}})],1),_c('valid-input',{attrs:{\"name\":\"routingNumber\",\"type\":\"text\",\"vid\":\"routingNumber\",\"placeholder\":\"Routing Number\",\"rules\":\"required|max:255\"},model:{value:(_vm.formData.routingNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"routingNumber\", $$v)},expression:\"formData.routingNumber\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Number\"),_c('Info',{attrs:{\"title\":\"Account Number\",\"information\":\"The account number of the Bank Account.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountNumber\",\"type\":\"text\",\"vid\":\"accountNumber\",\"placeholder\":\"Account Number\",\"rules\":\"required|max:255\"},model:{value:(_vm.formData.accountNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"accountNumber\", $$v)},expression:\"formData.accountNumber\"}})],1),(_vm.formData.addBankPaymentMethod === true)?_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Alias\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"Assign a name to your account. This can be any name that you want to assign.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountAliasBankAccount\",\"type\":\"text\",\"vid\":\"accountAliasBankAccount\",\"placeholder\":\"Account Alias\",\"rules\":\"max:255\"},model:{value:(_vm.formData.accountAliasBankAccount),callback:function ($$v) {_vm.$set(_vm.formData, \"accountAliasBankAccount\", $$v)},expression:\"formData.accountAliasBankAccount\"}})],1):_vm._e(),_c('div',{staticClass:\"column is-12 pl-5\"},[_c('b-checkbox',{staticClass:\"has-left-text\",model:{value:(_vm.formData.addBankPaymentMethod),callback:function ($$v) {_vm.$set(_vm.formData, \"addBankPaymentMethod\", $$v)},expression:\"formData.addBankPaymentMethod\"}},[_vm._v(\"Save this Payment Method?\")])],1)]):_vm._e(),_c('fieldset',{staticClass:\"box is-7\"},[_c('div',{staticClass:\"pt-5\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Mailing in Your Payment\"),_c('Info',{attrs:{\"title\":\"Mailing in Your Payment\",\"information\":\"You may mail your payment at no additional cost.\"}})],1),_c('div',[_vm._v(\"You may mail your payment at no additional cost to:\")]),_c('div',[_vm._v(_vm._s(_vm.hoaName))]),_c('div',[_vm._v(_vm._s(_vm.paymentStreet))]),_c('div',[_vm._v(_vm._s(_vm.paymentCityStateZip))]),_c('div',[_vm._v(\" \")]),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.accountNumberLine)}})])]),_c('div',[_vm._v(\"Standard fees will apply for credit and bank transactions\")]),_c('div',{staticClass:\"pt-5\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" Send Payment \")])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}],null,false,993853583)})],1)]):_vm._e()])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import moment from 'moment'\r\n\r\nvar field = {\r\n width: '100px',\r\n display: 'inline-block',\r\n paddingRight: '6px',\r\n textAlign: 'left'\r\n}\r\n\r\nlet DEFAULT_FORM_VALUES = {\r\n outstandingBalance: 0,\r\n paymentAmount: 0,\r\n paymentAmountRaw: 0,\r\n ownerPaymentMethodID: 0,\r\n cardType: '',\r\n paymentMethodType: '',\r\n lastFourDigits: '',\r\n creditCardNumber: '',\r\n cardHolderName: '',\r\n expirationDate: null,\r\n cvc: '',\r\n accountHolderName: '',\r\n accountType: '',\r\n bankName: '',\r\n routingNumber: '',\r\n accountNumber: '---',\r\n addBankPaymentMethod: false,\r\n addCreditCardPaymentMethod: false,\r\n zipcode: ''\r\n}\r\n\r\nexport const data = () => ({\r\n formComplete: false,\r\n formData: { ...DEFAULT_FORM_VALUES },\r\n loading: true,\r\n isDebug: true,\r\n toggle: false,\r\n openOnFocus: true,\r\n requestJwtToken: '',\r\n convenienceFee: 0,\r\n paymentMethods: [],\r\n paymentMethodTypes: [],\r\n accountTypes: [],\r\n accountAliasBankAccount: '',\r\n accountAliasCreditCard: '',\r\n hoaName: '',\r\n paymentStreet: '',\r\n paymentCityStateZip: '',\r\n accountNumber: '',\r\n accountNumberLine: '',\r\n formatDateFn: function(value) {\r\n return value && value != undefined\r\n ? moment(value.toString(), 'YYYY/MM/DD HH:mm:ss')\r\n .format('MM-DD-YYYY')\r\n .toString()\r\n : ''\r\n },\r\n\r\n formatter: new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n minimumFractionDigits: 2\r\n }),\r\n\r\n styles: {\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n },\r\n amountField: Object.assign({}, field, {\r\n width: '125px'\r\n })\r\n },\r\n\r\n masks: {\r\n creditCard: {\r\n creditCard: true\r\n },\r\n numeral: {\r\n numeral: true,\r\n numeralThousandsGroupStyle: 'thousand',\r\n prefix: '$'\r\n },\r\n custom: {\r\n delimiters: [',', '.'],\r\n blocks: [3, 3, 2],\r\n numericOnly: true\r\n }\r\n }\r\n})\r\n","/*\r\n import { arSettingStore } from '@/services/ARSettings/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await reserveStore.dispatch ('getByHoaId', {\r\n hoaId\r\n });\r\n */\r\n\r\n async getByHoaId({}, { hoaID }) {\r\n try {\r\n console.debug('in getByHoaId...' + hoaID)\r\n\r\n let path = `/AccountsReceivable/ARSetting/GetByHOAID?hoaID=${hoaID}`\r\n\r\n const result = await kms.get(path)\r\n\r\n if (isDebug == true) console.debug('getByHoaId=' + JSON.stringify(result))\r\n\r\n return {\r\n result: result\r\n }\r\n } catch (exception) {\r\n console.debug(`There was a problem retrieving the A/R Settings.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n result: {}\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const arSettingStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import { outstandingPayment } from '@/services/Payments/HomeOwner/OutstandingPayment/store'\r\nimport { ownerPaymentMethod } from '@/services/OwnerPaymentMethods/store'\r\nimport { epicGateway } from '@/services/EpicGateway/store'\r\nimport { arSettingStore } from '@/services/ARSettings/store'\r\nimport { ValidationError } from '@/services/errors'\r\nimport { mapActions } from 'vuex'\r\nimport { notifyError } from '@/services/notify'\r\nimport luhn from 'luhn'\r\nimport { isNumeric } from '@/utilities/validate/isNumeric'\r\nimport moment from 'moment'\r\n\r\nexport const methods = {\r\n ...mapActions('user', ['selectHoaId']),\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n if (this.$refs.form) {\r\n this.$refs.form.reset()\r\n }\r\n\r\n await this.loadOutstandingBalance()\r\n\r\n await this.loadPaymentMethods()\r\n\r\n await this.loadPaymentMethodTypes()\r\n\r\n await this.loadAccountTypes()\r\n\r\n this.loading = false\r\n },\r\n\r\n async onInput(event) {\r\n this.formData.paymentAmountRaw = event.target._vCleave.getRawValue().replace('$', '') //getFormattedValue()\r\n console.debug('onInput=' + this.formData.paymentAmountRaw)\r\n\r\n await this.loadServiceFees()\r\n },\r\n\r\n addPaymentMethodRedirect() {\r\n this.$router.push({\r\n path: '/billingtabs/ownerPaymentMethods#tab'\r\n })\r\n },\r\n\r\n returnToParent() {\r\n this.$router.push({\r\n path: '/'\r\n })\r\n },\r\n\r\n async loadPaymentMethodTypes() {\r\n await epicGateway.dispatch('getMakePaymentTypeList').then(t => {\r\n if (t && t.list && t.list != undefined) {\r\n console.log('list=' + JSON.stringify(t.list))\r\n this.paymentMethodTypes = t.list\r\n }\r\n })\r\n },\r\n\r\n async loadAccountNumberFromArSetting() {\r\n const params = {\r\n hoaID: this.currentHoaId\r\n }\r\n\r\n await arSettingStore.dispatch('getByHoaId', params).then(({ result }) => {\r\n if (result != undefined && result) {\r\n this.accountNumber = `${result.lockboxID}-${this.currentOwnerId}`\r\n this.accountNumberLine = `Please be sure to include your Account Number, ${this.accountNumber}, on your check and make your check payable to, '${this.hoaName}'.`\r\n }\r\n })\r\n },\r\n\r\n async loadServiceFees() {\r\n const params = {\r\n hoaID: this.currentHoaId\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('getServiceFees', {\r\n params: params\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n const percentage = Number.parseFloat(result.creditCardPercentageServiceFee) * 0.01\r\n console.debug('percentage=' + percentage)\r\n const creditCardPercentage = percentage * this.formData.paymentAmountRaw || 0\r\n console.debug('creditCardPercentage=' + creditCardPercentage)\r\n const achFlatFeeService = result.achFlatServiceFee\r\n\r\n if (this.formData.paymentMethodType === 'creditcard') {\r\n this.convenienceFee = creditCardPercentage\r\n console.debug('creditCardPercentage...' + creditCardPercentage)\r\n } else if (this.formData.paymentMethodType === 'bankaccount') {\r\n this.convenienceFee = achFlatFeeService\r\n console.debug('achFlatFeeService...' + achFlatFeeService)\r\n } else if (this.formData.paymentMethodType === 'stored') {\r\n console.debug('stored...' + this.formData.ownerPaymentMethodID)\r\n if (this.formData.ownerPaymentMethodID && this.formData.ownerPaymentMethodID > 0) {\r\n console.debug('stored...')\r\n let feeCreditCard = this.paymentMethods.filter(\r\n f =>\r\n f.label.indexOf('Credit Card') > -1 &&\r\n f.value === this.formData.ownerPaymentMethodID\r\n )\r\n if (feeCreditCard[0] !== undefined && feeCreditCard[0]) {\r\n if (feeCreditCard[0].value === this.formData.ownerPaymentMethodID) {\r\n this.convenienceFee = creditCardPercentage\r\n }\r\n }\r\n\r\n let feeBankAccount = this.paymentMethods.filter(\r\n f =>\r\n f.label.indexOf('Bank Account') > -1 &&\r\n f.value === this.formData.ownerPaymentMethodID\r\n )\r\n if (feeBankAccount[0] !== undefined && feeBankAccount[0]) {\r\n if (feeBankAccount[0].value === this.formData.ownerPaymentMethodID) {\r\n this.convenienceFee = achFlatFeeService\r\n }\r\n }\r\n }\r\n }\r\n }\r\n })\r\n },\r\n\r\n async loadOutstandingBalance() {\r\n const params = {\r\n hoaID: this.currentHoaId,\r\n ownerID: this.currentOwnerId\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('getOverallBalance', {\r\n params: params\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n this.formData.outstandingBalance = this.formatter.format(result.balanceAmount)\r\n }\r\n })\r\n },\r\n\r\n async loadAccountTypes() {\r\n await ownerPaymentMethod.dispatch('getBankAccountTypeList').then(t => {\r\n if (t && t.list && t.list != undefined) {\r\n console.log('list=' + JSON.stringify(t.list))\r\n this.accountTypes = t.list\r\n }\r\n })\r\n },\r\n\r\n async getFortisJwtOneTimeToken() {\r\n await outstandingPayment\r\n .dispatch('getOneTimeFortisJwtToken', {\r\n hoaID: this.currentHoaId\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n if (this.isDebug === true)\r\n console.debug('getOneTimeFortisJwtToken' + JSON.stringify(result))\r\n\r\n if (result) {\r\n this.requestJwtToken = result\r\n }\r\n }\r\n })\r\n },\r\n\r\n async loadPaymentMethods() {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.currentOwnerId\r\n )\r\n\r\n const params = {\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : this.authUser.ownerUserID || 0\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('getPaymentMethodList', {\r\n params: params\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.paymentMethods = list\r\n }\r\n })\r\n },\r\n\r\n getPayload() {\r\n if (this.isDebug == true) console.debug('this.formData=' + JSON.stringify(this.formData))\r\n\r\n const payload = {\r\n ownerID: this.currentOwnerId,\r\n paymentAmount: this.formData.paymentAmountRaw || 0,\r\n ownerPaymentMethodID: this.formData.ownerPaymentMethodID || 0,\r\n postalCode: this.formData.zipCode || ''\r\n }\r\n\r\n return payload\r\n },\r\n\r\n async onFormSubmit() {\r\n if (this.isDebug == true) console.debug('in onFormSubmit....' + JSON.stringify(this.formData))\r\n\r\n if (\r\n !this.formData ||\r\n this.formData == undefined ||\r\n !this.formData.paymentMethodType ||\r\n this.formData.paymentMethodType == undefined\r\n ) {\r\n notifyError('There was a problem processing your payment.')\r\n return\r\n }\r\n\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n try {\r\n await this.getFortisJwtOneTimeToken()\r\n\r\n if (this.formData.paymentMethodType == 'stored') {\r\n const params = this.getPayload()\r\n let validationMessages = ''\r\n\r\n if (!this.formData.paymentAmountRaw || this.formData.paymentAmountRaw == 0) {\r\n validationMessages = '
Please enter a payment amount.
'\r\n }\r\n\r\n if (!this.formData.ownerPaymentMethodID || this.formData.ownerPaymentMethodID <= 0) {\r\n validationMessages += '
Please select a stored payment method.
'\r\n }\r\n\r\n if (validationMessages != '') {\r\n notifyError(validationMessages)\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n this.loading = true\r\n\r\n await outstandingPayment.dispatch('addSendPayment', {\r\n payload: params,\r\n done: ({ invalidMessage }) => {\r\n if (invalidMessage !== undefined && invalidMessage && invalidMessage.length > 0) {\r\n notifyError(invalidMessage)\r\n loadingComponent.close()\r\n return\r\n } else {\r\n this.loading = false\r\n loadingComponent.close()\r\n this.returnToParent()\r\n }\r\n\r\n loadingComponent.close()\r\n }\r\n })\r\n } else if (this.formData.paymentMethodType == 'creditcard') {\r\n //Validate credit card number with luhn\r\n var isValid = luhn.validate(this.formData.creditCardNumber)\r\n\r\n if (isValid == false) {\r\n notifyError('Please enter a valid credit card number.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n const lastFourDigits = this.formData.creditCardNumber\r\n .toString()\r\n .slice(\r\n this.formData.creditCardNumber.toString().length - 4,\r\n this.formData.creditCardNumber.toString().length\r\n )\r\n\r\n if (\r\n this.$refs.cardExpirationDateComponent &&\r\n this.$refs.cardExpirationDateComponent != undefined\r\n ) {\r\n this.formData.expirationDate = this.$refs.cardExpirationDateComponent.getValue()\r\n\r\n if (!this.formData.expirationDate || this.formData.expirationDate == undefined) {\r\n notifyError('The expiration date is required.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n const today = moment()\r\n if (moment(this.formData.expirationDate) < today) {\r\n notifyError('The expiration date must be greater than the current date.')\r\n loadingComponent.close()\r\n return\r\n }\r\n }\r\n\r\n const zipCode = this.formData.zipCode.toString()\r\n\r\n const registerParams = {\r\n account_number: this.formData.creditCardNumber || '',\r\n method: 'credit_card'\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmountRaw || 0,\r\n name: this.formData.cardHolderName || '',\r\n expMonth: this.formData.expirationDate.month || '',\r\n expYear: this.formData.expirationDate.year || '',\r\n cvv: this.formData.cvc || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n loadingComponent.close()\r\n return\r\n } else if (result) {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.currentOwnerId\r\n )\r\n\r\n const params = {\r\n method: 'card_token',\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : this.authUser.ownerUserID,\r\n paymentMethodType: 'Credit Card',\r\n lastFourDigits: lastFourDigits,\r\n paymentAmount: this.formData.paymentAmountRaw || 0,\r\n token: result.token_number || '',\r\n tokenType: result.token_type || '',\r\n cardHolderName: this.formData.cardHolderName || '',\r\n expMonth: this.formData.expirationDate.month || '',\r\n expYear: this.formData.expirationDate.year || '',\r\n savePaymentMethod: this.formData.addCreditCardPaymentMethod || false,\r\n accountAlias: this.formData.accountAliasCreditCard || '',\r\n postalCode: zipCode || ''\r\n }\r\n\r\n //Register a second one-time token for saving this payment method\r\n await outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmountRaw || 0,\r\n name: this.formData.cardHolderName || '',\r\n expMonth: this.formData.expirationDate.month || '',\r\n expYear: this.formData.expirationDate.year || '',\r\n cvv: this.formData.cvc || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n loadingComponent.close()\r\n return\r\n } else if (result) {\r\n params.savePaymentToken = result.token_number\r\n\r\n await outstandingPayment.dispatch('addOneTimeCreditCardPayment', {\r\n payload: params,\r\n done: ({ invalidMessage }) => {\r\n if (\r\n invalidMessage !== undefined &&\r\n invalidMessage &&\r\n invalidMessage.length > 0\r\n ) {\r\n notifyError(invalidMessage)\r\n loadingComponent.close()\r\n return\r\n } else {\r\n this.loading = false\r\n loadingComponent.close()\r\n this.returnToParent()\r\n }\r\n\r\n loadingComponent.close()\r\n }\r\n })\r\n }\r\n })\r\n }\r\n })\r\n } else if (this.formData.paymentMethodType == 'bankaccount') {\r\n if (this.formData.accountNumber.length < 5 || this.formData.accountNumber.length > 17) {\r\n notifyError('Please enter five to seventeen numbers for the account number.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.accountNumber }) == false) {\r\n notifyError('Please enter only numbers for the account number.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n if (this.formData.routingNumber.length != 9) {\r\n notifyError('Please enter 9 numbers for the routing number.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.routingNumber }) == false) {\r\n notifyError('Please enter only numbers for the routing number.')\r\n loadingComponent.close()\r\n return\r\n }\r\n\r\n const lastFourDigits = this.formData.accountNumber\r\n .toString()\r\n .slice(\r\n this.formData.accountNumber.toString().length - 4,\r\n this.formData.accountNumber.toString().length\r\n )\r\n\r\n const registerParams = {\r\n account_number: this.formData.accountNumber || '',\r\n routing_number: this.formData.routingNumber || '',\r\n bank_account_type: this.formData.accountType || '',\r\n method: 'echeck'\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmountRaw || 0,\r\n name: this.formData.cardHolderName || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n loadingComponent.close()\r\n return\r\n } else if (result) {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.currentOwnerId\r\n )\r\n\r\n const params = {\r\n method: 'echeck',\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : this.authUser.ownerUserID,\r\n paymentMethodType: 'Bank Account',\r\n lastFourDigits: lastFourDigits,\r\n token: result.token_number || '',\r\n tokenType: result.token_type || '',\r\n paymentAmount: this.formData.paymentAmountRaw || 0,\r\n accountType: this.formData.accountType || '',\r\n accountHolderName: this.formData.accountHolderName || '',\r\n savePaymentMethod: this.formData.addBankPaymentMethod || false,\r\n accountAlias: this.formData.accountAliasBankAccount || ''\r\n }\r\n outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmountRaw || 0,\r\n name: this.formData.cardHolderName || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n loadingComponent.close()\r\n return\r\n } else if (result) {\r\n params.savePaymentToken = result.token_number\r\n\r\n await outstandingPayment.dispatch('addOneTimeBankAccountPayment', {\r\n payload: params,\r\n done: ({ invalidMessage }) => {\r\n if (\r\n invalidMessage !== undefined &&\r\n invalidMessage &&\r\n invalidMessage.length > 0\r\n ) {\r\n notifyError(invalidMessage)\r\n loadingComponent.close()\r\n return\r\n } else {\r\n this.loading = false\r\n loadingComponent.close()\r\n this.returnToParent()\r\n }\r\n\r\n loadingComponent.close()\r\n }\r\n })\r\n }\r\n })\r\n }\r\n })\r\n }\r\n } catch (e) {\r\n // If this is a validation error, get the details for each field\r\n if (e instanceof ValidationError) {\r\n this.$refs.form.setErrors(e.fields)\r\n }\r\n\r\n loadingComponent.close()\r\n\r\n notifyError('There was a problem sending your payment.' + e)\r\n }\r\n this.loading = false\r\n loadingComponent.close()\r\n }\r\n}\r\n","/*\r\n Example:\r\n import parseStreet from '@/utilities/address/parseStreet'\r\n\r\n const parsedStreet = parseStreet ({\r\n address: {\r\n addressOne\r\n addressTwo\r\n\r\n foreignAddress\r\n\r\n // foreign address fields\r\n addressThree\r\n addressFour\r\n addressFive\r\n\r\n // USA address fields\r\n city\r\n state\r\n postalCode\r\n }\r\n })\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\n\r\nexport default ({ address }) => {\r\n if (typeof address !== 'object' || address === null) {\r\n return ''\r\n }\r\n\r\n /*\r\n false -> USA Address\r\n addressOne\r\n addressTwo (if non-empty)\r\n city, state postalCode\r\n\r\n true -> foreign\r\n addressOne\r\n addressTwo\r\n addressThree\r\n addressFour (if non-empty)\r\n addressFive (if non-empty)\r\n */\r\n var isForeign = _get(address, 'foreignAddress', false)\r\n\r\n if (!isForeign) {\r\n let _address = _get(address, 'addressOne', '')\r\n\r\n if (_address && _address.length > 0) {\r\n _address\r\n }\r\n\r\n const addressTwo = _get(address, 'addressTwo', null)\r\n if (typeof addressTwo === 'string' && addressTwo.length > 0) {\r\n _address += ', ' + addressTwo\r\n }\r\n\r\n const addressLine1 = _get(address, 'addressLine1', '')\r\n if (typeof addressLine1 === 'string' && addressLine1.length > 0) {\r\n _address += ' ' + addressLine1\r\n }\r\n\r\n const addressLine2 = _get(address, 'addressLine2', '')\r\n if (typeof addressLine2 === 'string' && addressLine2.length > 0) {\r\n _address += ', ' + addressLine2\r\n }\r\n\r\n return _address\r\n } else {\r\n let _address = _get(address, 'addressOne', '')\r\n const addressTwo = _get(address, 'addressTwo', '')\r\n const addressThree = _get(address, 'addressThree', '')\r\n const addressFour = _get(address, 'addressFour', '')\r\n const addressFive = _get(address, 'addressFive', '')\r\n\r\n if (typeof addressTwo === 'string' && addressTwo.length > 0) {\r\n _address += ' ' + addressTwo\r\n }\r\n if (typeof addressThree === 'string' && addressThree.length > 0) {\r\n _address += ' ' + addressThree\r\n }\r\n if (typeof addressFour === 'string' && addressFour.length > 0) {\r\n _address += ' ' + addressFour\r\n }\r\n if (typeof addressFive === 'string' && addressFive.length > 0) {\r\n _address += ' ' + addressFive\r\n }\r\n\r\n return _address\r\n }\r\n}\r\n","/*\r\n Example:\r\n import parseCityStateZip from '@/utilities/address/parseCityStateZip'\r\n\r\n const parsedAddress = parseCityStateZip ({\r\n address: {\r\n // USA address fields\r\n city\r\n state\r\n postalCode\r\n }\r\n })\r\n*/\r\n\r\nimport _get from 'lodash/get'\r\n\r\nexport default ({ address }) => {\r\n if (typeof address !== 'object' || address === null) {\r\n // console.error('address/parse can only parse addresses that are iterable objects, got', address)\r\n return ''\r\n }\r\n\r\n /*\r\n false -> USA Address\r\n city, state postalCode\r\n\r\n */\r\n var isForeign = _get(address, 'foreignAddress', false)\r\n\r\n if (!isForeign) {\r\n let _address = ''\r\n\r\n const city = _get(address, 'city', null)\r\n if (typeof city === 'string') {\r\n _address += ' ' + city + ','\r\n }\r\n\r\n const state = _get(address, 'state', null)\r\n if (typeof state === 'string') {\r\n _address += ' ' + state\r\n }\r\n\r\n const postalCode = _get(address, 'postalCode', null)\r\n if (typeof postalCode === 'string') {\r\n _address += ' ' + postalCode\r\n }\r\n\r\n const zip = _get(address, 'zip', null)\r\n if (typeof zip === 'string') {\r\n _address += ' ' + zip\r\n }\r\n\r\n return _address\r\n }\r\n}\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayOutstandingBalance.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayOutstandingBalance.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PayOutstandingBalance.vue?vue&type=template&id=3cde49d4&\"\nimport script from \"./PayOutstandingBalance.vue?vue&type=script&lang=js&\"\nexport * from \"./PayOutstandingBalance.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&scoped=true&\"","/*\r\n Example:\r\n import { parseDate } from '@/utilities/Date/parse'\r\n\r\n const parsedDate = parseDate (date, 'LL');\r\n*/\r\nimport moment from 'moment'\r\n\r\nexport const parseDate = (date, format = 'LL') => {\r\n if (typeof date !== 'string') {\r\n console.debug(`parseDate can only parse a date string. got:`, { date })\r\n return date\r\n }\r\n\r\n try {\r\n const parsed = moment(date)\r\n if (parsed.isValid()) {\r\n date = moment(date).format(format)\r\n }\r\n } catch (exception) {\r\n if (exception && exception.message) {\r\n console.error(exception.message)\r\n } else {\r\n console.error(exception)\r\n }\r\n }\r\n\r\n return date\r\n}\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&scoped=true&\"","var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:({ display: 'flex' }),attrs:{\"links-menu\":\"\"}},[(_vm.breakpoint === 'desktop')?_c('ul',{staticClass:\"details-menu\",style:(_vm.styles_.ul),attrs:{\"role\":\"navigation\"}},_vm._l((_vm.tabs),function(tab,index){return _c('li',{key:tab.name},[_c('router-link',{staticClass:\"h7\",attrs:{\"to\":{\n name: (\"\" + _vm.prefix + (tab.name)),\n hash: '#tab',\n params: Object.assign(\n {\n index: index\n },\n _vm.params\n )\n }}},[_vm._v(\" \"+_vm._s(tab.label)+\" \")])],1)}),0):_vm._e(),_c('div',{style:({ flexGrow: 1 })},[(['tablet', 'mobile'].includes(_vm.breakpoint))?_c('b-field',[_c('b-select',{style:({ maxWidth: '300px', width: '100%', margin: '0 auto' }),attrs:{\"rounded\":\"\"},model:{value:(_vm.selectedTab),callback:function ($$v) {_vm.selectedTab=$$v},expression:\"selectedTab\"}},_vm._l((_vm.tabs),function(key,index){return _c('option',{key:index},[_vm._v(\" \"+_vm._s(key.label)+\" \")])}),0)],1):_vm._e(),_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=bac35f7c&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=bac35f7c&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bac35f7c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return ((_vm.visible && _vm.visible === true) || _vm.visible === undefined)?_c('b-button',{class:_vm.isprimary !== undefined && _vm.isprimary === true\n ? 'button is-primary is-small is-outline is-rounded'\n : 'button is-info is-light is-small is-outline is-rounded',attrs:{\"title\":_vm.tooltip,\"disabled\":_vm.disabled && _vm.disabled !== undefined && _vm.disabled === true},on:{\"click\":function($event){$event.preventDefault();return _vm.onClick.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.text))]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=036d99d6&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\r\n\timport { ownerPaymentMethod } from '@/services/OwnerPaymentMethods/store';\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport _get from 'lodash/get'\r\nimport kms from '@/services/kms'\r\nimport { notifyProblem, notifyError, notifyMessage } from '@/services/notify'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await ownerPaymentMethod.dispatch ('getOwnerPaymentMethods', {\r\n hoaId\r\n });\r\n */\r\n async getOwnerPaymentMethods({}, { params }) {\r\n if (isDebug == true) console.debug('getOwnerPaymentMethods=' + JSON.stringify(params))\r\n try {\r\n const result = await kms.get(`/Roster/OwnerPaymentMethod/List`, {\r\n params\r\n })\r\n\r\n let list = _get(result, 'results', [])\r\n if (!Array.isArray(list)) {\r\n list = []\r\n }\r\n\r\n return {\r\n list: list\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The owner payment method list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async deleteOwnerPaymentMethod({ dispatch }, { ownerPaymentMethodID, done }) {\r\n try {\r\n const path = `/Roster/OwnerPaymentMethod/${ownerPaymentMethodID}?forceDelete=false`\r\n\r\n const results = await kms.delete(path)\r\n\r\n if (isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n const wasDeleted = _get(results, 'deleted', false)\r\n\r\n if (wasDeleted === true) {\r\n notifyMessage(`Successfully deleted this payment method.`)\r\n done()\r\n } else {\r\n notifyError('There was a problem deleting this payment method.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem deleting this payment method.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n //Payment Method Type List\r\n async getPaymentMethodTypeList({}) {\r\n try {\r\n let paymentMethods = [\r\n { value: 'Credit Card', label: 'Credit Card' },\r\n { value: 'Bank Account', label: 'Bank Account' }\r\n ]\r\n\r\n if (isDebug == true) console.debug('paymentMethods=' + JSON.stringify(paymentMethods))\r\n\r\n return {\r\n list: paymentMethods\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the payment method type list.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n //Bank Account Type List\r\n async getBankAccountTypeList({}) {\r\n try {\r\n let accountTypes = [\r\n { value: 'personal_checking', label: 'Personal Checking' },\r\n { value: 'business_checking', label: 'Business Checking' },\r\n { value: 'personal_savings', label: 'Personal Savings' },\r\n { value: 'business_savings', label: 'Business Savings' }\r\n ]\r\n\r\n if (isDebug == true) console.debug('accountTypes=' + JSON.stringify(accountTypes))\r\n\r\n return {\r\n list: accountTypes\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem retrieving the bank account type list.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n // Add OwnerPaymentMethod\r\n async addOwnerPaymentMethod(\r\n { dispatch },\r\n {\r\n ownerUserID,\r\n paymentMethodType,\r\n token,\r\n cardType,\r\n lastFourDigits,\r\n bankName,\r\n accountAlias,\r\n done\r\n }\r\n ) {\r\n if (isDebug == true) console.debug('...in addOwnerPaymentMethod')\r\n try {\r\n const results = await kms.post(`/Roster/OwnerPaymentMethod`, {\r\n ownerUserID,\r\n paymentMethodType,\r\n token,\r\n cardType,\r\n lastFourDigits,\r\n bankName,\r\n accountAlias\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.ownerPaymentMethodID > 0) {\r\n notifyMessage(`Successfully added the payment method.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem adding this payment method.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this payment method.`)\r\n console.error(exception)\r\n }\r\n },\r\n\r\n async submitScheduledPayment(\r\n { dispatch },\r\n { ownerID, ownerPaymentMethodID, scheduledDayPerMonth, payAmounts, done }\r\n ) {\r\n if (isDebug == true) console.debug('...in submitScheduledPayment')\r\n try {\r\n const results = await kms.post(`/Roster/Owner/SetScheduledPaymentWithWallet`, {\r\n ownerID,\r\n ownerPaymentMethodID,\r\n scheduledDayPerMonth,\r\n payAmounts\r\n })\r\n\r\n if (this.isDebug == true) console.debug('results=' + JSON.stringify(results))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (results.ownerID > 0) {\r\n console.debug(`Successfully successfully scheduled a payment.`)\r\n done({ details: results })\r\n } else {\r\n notifyError('There was a problem adding this scheduled payment.')\r\n }\r\n } catch (exception) {\r\n notifyProblem(`There was a problem adding this scheduled payment.`)\r\n console.error(exception)\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const ownerPaymentMethod = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"sectionStyles\":_vm.styles.pageContentSection}},[_c('div',{staticClass:\"box tile is-vertical is-12\"},[_c('div',{staticClass:\"level\"},[_c('span',{staticClass:\"title pt-2 pl-2\"},[_vm._v(\"Billing\")])]),_c('LinksMenu',{style:({ marginLeft: '10px' }),attrs:{\"aria-label\":\"account settings tabs\",\"tabs\":_vm.tabs,\"prefix\":\"billing.\"}},[_c('section',{style:({ overflowX: 'auto', flexGrow: 2, marginTop: '-10px' })},[_c('SlideTransition',{attrs:{\"name\":_vm.transitionName}},[_c('keep-alive',[_c('router-view')],1)],1)],1)])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n loading: true,\r\n isDebug: false,\r\n formatDateFn: function(value) {\r\n return value && value != undefined\r\n ? moment(value.toString(), 'YYYY/MM/DD HH:mm:ss')\r\n .format('MM-DD-YYYY')\r\n .toString()\r\n : ''\r\n },\r\n styles: {\r\n pageContentSection: {\r\n width: '100%'\r\n },\r\n mainContainer: {\r\n display: 'flex'\r\n },\r\n content: {\r\n margin: '0 auto',\r\n width: 'calc(100% - 160px)',\r\n overflowX: 'auto'\r\n },\r\n menu: {\r\n width: '260px',\r\n paddingLeft: '20px'\r\n }\r\n },\r\n tabs: [\r\n {\r\n label: 'Account Activity',\r\n name: 'accountActivity'\r\n },\r\n {\r\n label: 'Payment Methods',\r\n name: 'ownerPaymentMethods'\r\n },\r\n {\r\n label: 'Automatic Payments',\r\n name: 'scheduledPayments'\r\n },\r\n {\r\n label: 'Statements',\r\n name: 'statementsOfAccount'\r\n }\r\n ],\r\n transitionName: 'slide-up'\r\n})\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Main.vue?vue&type=template&id=5bb1556d&\"\nimport script from \"./Main.vue?vue&type=script&lang=js&\"\nexport * from \"./Main.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\r\n example:\r\n import { getOwner } from '@/services/Roster/Owner/getOwner';\r\n\r\n const { owner, exception } = await getOwner ({\r\n ownerID\r\n });\r\n*/\r\n//\r\nimport kms from '@/services/kms'\r\n//\r\nexport async function getOwner({ ownerID } = {}) {\r\n var result = {}\r\n\r\n try {\r\n result = await kms.get(`/Roster/Owner/${ownerID}`)\r\n } catch (exception) {\r\n console.debug(exception)\r\n\r\n return {\r\n owner: {},\r\n exception\r\n }\r\n }\r\n\r\n return {\r\n owner: result,\r\n exception: null\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":_vm.name}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Slide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Slide.vue?vue&type=template&id=308229b2&scoped=true&\"\nimport script from \"./Slide.vue?vue&type=script&lang=js&\"\nexport * from \"./Slide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Slide.vue?vue&type=style&index=0&id=308229b2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"308229b2\",\n null\n \n)\n\nexport default component.exports","/*\r\n import { isNumeric } from '@/utilities/validate/isNumeric';\r\n*/\r\n\r\nexport const isNumeric = function({ n }) {\r\n try {\r\n return !isNaN(parseFloat(n)) && isFinite(n)\r\n } catch (exception) {\r\n return false\r\n }\r\n}\r\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"role\":\"region\"}},[_c('div',[_c('b-notification',{attrs:{\"type\":\"is-info is-light\",\"has-icon\":\"\",\"aria-close-label\":\"Close notification\"}},[_vm._v(\" Automatic Payments allow you to set up your Homeowners Assessment payments to automatically debit from your credit card or bank account when they are due. These charges are typically applied around the 7th or 8th of the month that the assessment is applied. To enable Automatic Payments, select a Payment Method from the list below. If you do not have any Payment Methods listed, please go to the Payment Methods tab and add your payment method there, then return to this tab. \")])],1),_c('div',{staticClass:\"pt-5\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Payment Method\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"Select the stored payment that you want to use to schedule this payment.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Payment Method\",\"vid\":\"paymentMethodID\",\"aria-required\":\"The payment method is required\",\"rules\":\"required\"},model:{value:(_vm.ownerPaymentMethodID),callback:function ($$v) {_vm.ownerPaymentMethodID=$$v},expression:\"ownerPaymentMethodID\"}},_vm._l((_vm.paymentMethods),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1),_c('div',[_vm._v(\" \")]),(_vm.chargeTypeList !== undefined && _vm.chargeTypeList.length > 0)?_c('div',[_c('div',[_c('b-notification',{attrs:{\"type\":\"is-info is-light\",\"has-icon\":\"\",\"aria-close-label\":\"Close notification\"}},[_vm._v(\" You may select additional amounts to include in your automatic payment every month that apply to other outstanding charges as listed below. The amount added to your payment will be no more than the amount owed at the time. For example, if you specify $100.00 and only $50.00 is owed at the time of the automatic payment, then only $50.00 will be added your payment. \")])],1),_c('div',{staticClass:\"pt-5\"},[_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_vm._l((_vm.chargeTypeList),function(row,index){return [_c('div',{key:index,staticClass:\"columns\"},[_c('div',{staticClass:\"column is-4\"},[_c('b-field',{attrs:{\"label\":index === 0 ? 'Charge Type Name' : ''}},[_vm._v(\" \"+_vm._s(row.name || '')+\" \")])],1),_c('div',{staticClass:\"column is-4\"},[(index === 0)?_c('label',{staticClass:\"label\"},[_vm._v(\"Pay Amount\")]):_vm._e(),_c('b-input',{directives:[{name:\"cleave\",rawName:\"v-cleave\",value:(_vm.masks.numeral),expression:\"masks.numeral\"}],staticClass:\"is-small\",attrs:{\"name\":(\"Amount\" + (row.chargeTypeId)),\"type\":\"text\",\"vid\":(\"Amount\" + (row.chargeTypeId)),\"placeholder\":\"0.00\",\"aria-label\":\"PayAmount\",\"value\":_vm.formatter.format(\n row.additionalScheduledAmount != undefined &&\n row.additionalScheduledAmount\n ? row.AdditionalScheduledAmount\n : 0\n ),\"onkeypress\":\"return (event.charCode >= 48 || event.charCode == 46) && event.charCode <= 57\"},model:{value:(_vm.form.amount[index]),callback:function ($$v) {_vm.$set(_vm.form.amount, index, $$v)},expression:\"form.amount[index]\"}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.amountId[index]),expression:\"form.amountId[index]\"}],attrs:{\"type\":\"hidden\"},domProps:{\"value\":(_vm.form.amountId[index])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form.amountId, index, $event.target.value)}}})],1)])]}),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)],2)])]}}],null,false,1560172253)})],1)]):_vm._e(),(_vm.scheduledOwnerPaymentMethodID)?_c('div',{staticClass:\"pt-5\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){$event.preventDefault();return _vm.schedulePayment(false)}}},[_vm._v(\" Update Scheduled Payment\")]),_c('span',{staticClass:\"pl-3\"}),_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){$event.preventDefault();return _vm.confirmRemoveScheduledPayment.apply(null, arguments)}}},[_vm._v(\" Remove Scheduled Payment \")])]):_c('div',{staticClass:\"pt-5\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){$event.preventDefault();return _vm.schedulePayment(false)}}},[_vm._v(\" Schedule Payment \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { ownerAdditionalScheduledPaymentsStore } from '@/services/OwnerAdditionalScheduledPayments/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport { notifyProblem } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await ownerAdditionalScheduledPaymentsStore.dispatch ('getOwnerAdditionalScheduledPaymentsList', {\r\n ownerID,\r\n isEligible\r\n });\r\n */\r\n async getOwnerAdditionalScheduledPaymentsList({}, { ownerID, isEligible }) {\r\n console.log('in getOwnerAdditionalScheduledPaymentsList...')\r\n try {\r\n const result = await kms.get('/Roster/OwnerAdditionalScheduledPayment/List', {\r\n params: {\r\n ownerID,\r\n isEligible\r\n }\r\n })\r\n\r\n if (isDebug == true)\r\n console.debug('getOwnerAdditionalScheduledPaymentsList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The owner additional Scheduled Payment list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const ownerAdditionalScheduledPaymentsStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","/*\r\n import { chargeTypeStore } from '@/services/ChargeType/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nimport { notifyProblem } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await chargeTypeStore.dispatch ('getChargeTypeScheduleEligibleList', {\r\n ownerID,\r\n isEligible\r\n });\r\n */\r\n async getChargeTypeScheduleEligibleList({}, { hoaID, isEligible }) {\r\n console.log('in getChargeTypeScheduleEligibleList...')\r\n try {\r\n const result = await kms.get('/AccountsReceivable/ChargeType/List', {\r\n params: {\r\n hoaID,\r\n scheduledPaymentEligible: isEligible\r\n }\r\n })\r\n\r\n if (isDebug == true)\r\n console.debug('getChargeTypeScheduleEligibleList log=' + JSON.stringify(result))\r\n\r\n return {\r\n list: result.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The charge type Scheduled Payment Eligible list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const chargeTypeStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import _get from 'lodash/get'\r\nimport { outstandingPayment } from '@/services/Payments/HomeOwner/OutstandingPayment/store'\r\nimport { ownerPaymentMethod } from '@/services/OwnerPaymentMethods/store'\r\nimport { getOwner } from '@/services/Roster/Owner/getOwner'\r\nimport { notifyError, notifyMessage } from '@/services/notify'\r\nimport { ownerAdditionalScheduledPaymentsStore } from '@/services/OwnerAdditionalScheduledPayments/store'\r\nimport { chargeTypeStore } from '@/services/ChargeType/store'\r\n\r\nexport const methods = {\r\n async loadPaymentMethods() {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.currentOwnerId\r\n )\r\n\r\n console.debug('selectedOwnerUser[===' + JSON.stringify(selectedOwnerUser))\r\n\r\n const params = {\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : _get(this, 'authUser.ownerUserID', null)\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('getPaymentMethodList', {\r\n params: params\r\n })\r\n .then(({ list }) => {\r\n if (list) {\r\n this.paymentMethods = list\r\n }\r\n })\r\n },\r\n\r\n //async onInput(event) {\r\n // event.target = event.target._vCleave.getRawValue().replace('$', '') //getFormattedValue()\r\n //},\r\n\r\n async loadOwnerAdditionalScheduledPayments() {\r\n console.debug('in loadOwnerAdditionalScheduledPayments()...')\r\n\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n await ownerAdditionalScheduledPaymentsStore\r\n .dispatch('getOwnerAdditionalScheduledPaymentsList', {\r\n ownerID: this.currentOwnerId,\r\n isEligible: false\r\n })\r\n .then(({ list }) => {\r\n this.ownerAdditionalScheduledPayments = list\r\n })\r\n\r\n loadingComponent.close()\r\n },\r\n\r\n async loadSchedulePaymentEligibleChargeTypes() {\r\n console.debug('in loadSchedulePaymentEligibleChargeTypes()...')\r\n\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n await chargeTypeStore\r\n .dispatch('getChargeTypeScheduleEligibleList', {\r\n hoaID: this.currentHoaId,\r\n isEligible: true\r\n })\r\n .then(({ list }) => {\r\n this.chargeTypeList = list\r\n\r\n console.debug('chargeTypeList=' + JSON.stringify(this.chargeTypeList))\r\n\r\n let counter = 0\r\n Array.from(this.chargeTypeList).forEach(element => {\r\n if (element && element != undefined) {\r\n if (element && element != undefined && element.chargeTypeId) {\r\n var filteredOwnerAdditionalPaymentAmount = this.ownerAdditionalScheduledPayments.filter(\r\n f => f.chargeTypeID === element.chargeTypeId\r\n )\r\n\r\n console.debug(\r\n 'filteredOwnerAdditionalPaymentAmount[0]=' +\r\n JSON.stringify(filteredOwnerAdditionalPaymentAmount[0])\r\n )\r\n\r\n if (\r\n filteredOwnerAdditionalPaymentAmount[0] != undefined &&\r\n filteredOwnerAdditionalPaymentAmount[0]\r\n ) {\r\n element.additionalScheduledAmount = this.formatter.format(\r\n filteredOwnerAdditionalPaymentAmount[0].amount || 0\r\n )\r\n this.form.amount[counter] = this.formatter.format(\r\n filteredOwnerAdditionalPaymentAmount[0].amount || 0\r\n )\r\n } else {\r\n element.additionalScheduledAmount = 0\r\n this.form.amount[counter] = 0\r\n }\r\n\r\n this.form.amountId[counter] = element.chargeTypeId\r\n\r\n counter += 1\r\n }\r\n }\r\n })\r\n })\r\n\r\n loadingComponent.close()\r\n },\r\n\r\n async getOwner() {\r\n const { owner, exception } = await getOwner({\r\n ownerID: this.currentOwnerId\r\n })\r\n\r\n if (exception) {\r\n console.debug(exception)\r\n return\r\n }\r\n\r\n this.scheduledOwnerPaymentMethodID = _get(owner, ['scheduledOwnerPaymentMethodID'], null)\r\n this.ownerPaymentMethodID = _get(owner, ['scheduledOwnerPaymentMethodID'], null)\r\n },\r\n\r\n async updateSchedulePayment() {\r\n console.debug('in updateSchedulePayment...')\r\n },\r\n\r\n async confirmRemoveScheduledPayment() {\r\n this.$buefy.dialog.confirm({\r\n title: 'Removing Scheduled Payment',\r\n message: `Are you sure you want to remove this scheduled payment?`,\r\n confirmText: 'Remove Scheduled Payment',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: async () => await this.schedulePayment(true)\r\n })\r\n },\r\n\r\n async schedulePayment(remove) {\r\n console.debug('in schedulePayment...')\r\n if (!this.ownerPaymentMethodID && remove && remove === false) {\r\n notifyError('Please select a payment method')\r\n return\r\n }\r\n\r\n if (!this.ownerPaymentMethodID) {\r\n notifyError('Please select a payment method')\r\n return\r\n }\r\n\r\n if (!this.currentOwnerId) {\r\n notifyError('There was a problem retrieving your owner information.')\r\n return\r\n }\r\n\r\n this.loading = true\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n try {\r\n await this.onFormSubmit()\r\n\r\n console.debug('After form submit=' + JSON.stringify(this.ownerAdditionalScheduledPayments))\r\n\r\n await ownerPaymentMethod.dispatch('submitScheduledPayment', {\r\n ownerID: this.currentOwnerId,\r\n ownerPaymentMethodID: remove && remove === true ? null : this.ownerPaymentMethodID,\r\n scheduledDayPerMonth: null,\r\n payAmounts: this.chargeTypeList,\r\n done: ({ details }) => {\r\n if (details) {\r\n if (remove && remove === false) {\r\n notifyMessage(`Successfully scheduled a payment.`)\r\n } else if (remove && remove === true) {\r\n notifyMessage(`Successfully removed your scheduled payment.`)\r\n }\r\n this.reload()\r\n\r\n this.loading = false\r\n }\r\n }\r\n })\r\n } catch (e) {\r\n notifyError('There was a problem scheduling your payment.')\r\n loadingComponent.close()\r\n }\r\n\r\n this.loading = false\r\n loadingComponent.close()\r\n },\r\n\r\n async onFormSubmit() {\r\n console.log(\r\n 'formData=' +\r\n JSON.stringify(this.formData) +\r\n ', form.amount=' +\r\n JSON.stringify(this.form.amount) +\r\n ', form.amountId=' +\r\n JSON.stringify(this.form.amountId)\r\n )\r\n\r\n let formCounter = 0\r\n\r\n this.form.amount.forEach(element => {\r\n if (element && element != undefined) {\r\n const tempAmount = parseFloat(\r\n this.form.amount[formCounter].replace('$', '').replace(',', '')\r\n )\r\n console.debug('tempAmount=' + tempAmount)\r\n const payAmount = tempAmount > 0 ? tempAmount : 0\r\n\r\n console.debug('each form amount=' + payAmount + ', ' + this.form.amountId[formCounter])\r\n\r\n var filteredChargeType = this.chargeTypeList.filter(\r\n f => f.chargeTypeId === this.form.amountId[formCounter]\r\n )\r\n\r\n if (filteredChargeType[0] != null && filteredChargeType[0]) {\r\n filteredChargeType[0].additionalScheduledAmount = payAmount\r\n\r\n console.debug('filteredChargeType[0]=' + JSON.stringify(filteredChargeType[0]))\r\n }\r\n\r\n formCounter += 1\r\n }\r\n })\r\n },\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n await this.getOwner()\r\n await this.loadPaymentMethods()\r\n await this.loadOwnerAdditionalScheduledPayments()\r\n await this.loadSchedulePaymentEligibleChargeTypes()\r\n\r\n this.loading = false\r\n }\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n selectedOwnerPaymentMethod: null,\r\n ownerPaymentMethodID: null,\r\n ownerID: null,\r\n scheduledOwnerPaymentMethodID: null,\r\n paymentMethods: [],\r\n formatDateFn: function(value) {\r\n return value != null ? moment(value, 'YYYY/MM/DD HH:mm:ss').format('MM-DD-YYYY') : ''\r\n },\r\n ownerAdditionalScheduledPayments: [],\r\n chargeTypeList: [],\r\n form: {\r\n amount: [],\r\n amountId: []\r\n },\r\n\r\n formatter: new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n minimumFractionDigits: 2,\r\n numeralDecimalScale: 2\r\n }),\r\n\r\n masks: {\r\n creditCard: {\r\n creditCard: true\r\n },\r\n numeral: {\r\n numeral: true,\r\n numeralThousandsGroupStyle: 'thousand',\r\n prefix: '$'\r\n },\r\n custom: {\r\n delimiters: [',', '.'],\r\n blocks: [3, 3, 2],\r\n numericOnly: true\r\n }\r\n }\r\n})\r\n","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=47efa058&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"role\":\"region\"}},[_c('div',{staticClass:\"level-left\",style:({ display: 'flex', marginBottom: '12px', justifyContent: 'space-between' })},[_c('b-button',{attrs:{\"tests-id\":\"add-survey-button\",\"size\":\"is-small\",\"type\":\"is-primary\",\"rounded\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.createPaymentMethodModal()}}},[_vm._v(\" Add Payment Method \")]),_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1),_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"}}),_c('Modal',{attrs:{\"toggle\":_vm.toggle},on:{\"update:toggle\":function($event){_vm.toggle=$event}}},[_c('OwnerPaymentMethodModal',{attrs:{\"ownerPaymentMethod\":_vm.selectedOwnerPaymentMethod}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import _get from 'lodash/get'\r\nimport { ownerPaymentMethod } from '@/services/OwnerPaymentMethods/store'\r\nimport Button from '@/components/buttons/Button'\r\n\r\nexport const methods = {\r\n determineRows: function(list) {\r\n if (!Array.isArray(list)) {\r\n return\r\n }\r\n\r\n var rows = list.map(entry => {\r\n const id = _get(entry, 'ownerPaymentMethodID', 0)\r\n const cardType = _get(entry, 'cardType', '')\r\n const type = _get(entry, 'paymentMethodType', '')\r\n const lastFourDigits = _get(entry, 'lastFourDigits', '')\r\n const accountAlias = _get(entry, 'accountAlias', '')\r\n\r\n const identifier =\r\n !cardType || cardType.length == 0 ? lastFourDigits : `${cardType} - ${lastFourDigits}`\r\n\r\n return {\r\n type: type,\r\n accountAlias: accountAlias,\r\n lastFourDigits: lastFourDigits,\r\n erase: {\r\n component: Button,\r\n props: {\r\n onClick: () => {\r\n this.confirmDeletOwnerPaymentMethod(id, identifier)\r\n },\r\n text: 'Delete'\r\n }\r\n }\r\n }\r\n })\r\n\r\n this.rows = rows\r\n },\r\n\r\n createPaymentMethodModal() {\r\n this.selectedOwnerPaymentMethod = null\r\n this.toggle = true\r\n },\r\n\r\n confirmDeletOwnerPaymentMethod(id, name) {\r\n this.$buefy.dialog.confirm({\r\n title: 'Deleting Payment Method',\r\n message: `Are you sure you want to delete the payment method for '${name}'?`,\r\n confirmText: 'Delete Payment Method',\r\n type: 'is-danger',\r\n hasIcon: true,\r\n onConfirm: () => this.deleteOwnerPaymentMethod(id)\r\n })\r\n },\r\n\r\n async deleteOwnerPaymentMethod(id) {\r\n this.selectedOwnerPaymentMethod = null\r\n await ownerPaymentMethod.dispatch('deleteOwnerPaymentMethod', {\r\n ownerPaymentMethodID: id,\r\n done: () => {\r\n this.loading = false\r\n this.reRender()\r\n }\r\n })\r\n },\r\n\r\n async loadOwnerPaymentMethods() {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.currentOwnerId\r\n )\r\n\r\n const params = {\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : _get(this, 'authUser.ownerUserID', null)\r\n }\r\n\r\n if (this.isDebug == true) console.debug('in loadOwnerPaymentMethods()...')\r\n await ownerPaymentMethod\r\n .dispatch('getOwnerPaymentMethods', {\r\n params: params\r\n })\r\n .then(({ list }) => {\r\n this.ownerPaymentMethods = list\r\n this.determineRows(list)\r\n })\r\n },\r\n\r\n reRender() {\r\n //Necessary for now to force other tabs to re-render\r\n //this.$forceUpdate()\r\n //this.$router.go(0)\r\n this.reload()\r\n },\r\n\r\n async reload() {\r\n this.loading = true\r\n\r\n this.rows = []\r\n\r\n await this.loadOwnerPaymentMethods()\r\n\r\n this.loading = false\r\n }\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n selectedOwnerPaymentMethod: null,\r\n toggle: false,\r\n ownerPaymentMethodTypes: [],\r\n newID: 0,\r\n requestJwtToken: '',\r\n formatDateFn: function(value) {\r\n return value != null ? moment(value, 'YYYY/MM/DD HH:mm:ss').format('MM-DD-YYYY') : ''\r\n },\r\n\r\n filters: {\r\n show: false\r\n },\r\n\r\n region: {},\r\n\r\n rows: [],\r\n\r\n columns: [\r\n {\r\n field: 'type',\r\n label: 'Type',\r\n aria: 'Type',\r\n width: '50%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'accountAlias',\r\n label: 'Account Alias',\r\n aria: 'Account Alias',\r\n width: '30%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'lastFourDigits',\r\n label: 'Last Four Digits',\r\n aria: 'Last Four Digits',\r\n width: '20%',\r\n sortable: true,\r\n searchable: true\r\n }\r\n ],\r\n styles: {\r\n datePickerContainer: { display: 'flex', alignItems: 'end' },\r\n datePicker: { margin: 0, marginRight: '12px' }\r\n }\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"payment-method-modal\":\"\"}},[(_vm.formData)?_c('div',{staticClass:\"is-size-4\"},[_vm._v(_vm._s(_vm.buttonText)+\" Payment Method\")]):_vm._e(),_c('ValidationObserver',{ref:\"formGroup\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.submitPaymentMethod)}}},[_c('fieldset',[_c('div',{staticClass:\"form-grid\"},[_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Alias\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"Assign a name to your account. This can be any name that you want to assign.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountAlias\",\"type\":\"text\",\"vid\":\"accountAlias\",\"placeholder\":\"Account Alias\",\"rules\":\"max:255\"},model:{value:(_vm.formData.accountAlias),callback:function ($$v) {_vm.$set(_vm.formData, \"accountAlias\", $$v)},expression:\"formData.accountAlias\"}})],1),(_vm.formData.paymentMethodType == 'Credit Card')?_c('div',{staticClass:\"column is-12\"},[_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Credit Card Number\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The credit card number.\"}})],1),_c('b-input',{attrs:{\"name\":\"creditCardNumber\",\"type\":\"text\",\"vid\":\"creditCardNumber\",\"placeholder\":\"Credit Card Number\",\"rules\":\"required|max:100\"},model:{value:(_vm.formData.creditCardNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"creditCardNumber\", $$v)},expression:\"formData.creditCardNumber\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Card Holder Name\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The card holder name.\"}})],1),_c('valid-input',{attrs:{\"name\":\"cardHolderName\",\"type\":\"text\",\"vid\":\"cardHolderName\",\"placeholder\":\"Card Holder Name\",\"rules\":\"required|max:255\"},model:{value:(_vm.formData.cardHolderName),callback:function ($$v) {_vm.$set(_vm.formData, \"cardHolderName\", $$v)},expression:\"formData.cardHolderName\"}})],1),_c('div',{staticClass:\"column is-12 pt-2\"},[_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Expiration Date\"),_c('Info',{attrs:{\"title\":\"Expiration Date\",\"information\":\"The date that the credit card expires.\"}})],1),_c('b-field',[_c('DateMonthPicker',{ref:\"cardExpirationDateComponent\",attrs:{\"required\":\"\"}})],1)],1)]),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Postal Code\"),_c('Info',{attrs:{\"title\":\"Postal Code\",\"information\":\"The postal code of the credit card holder's mailing address.\"}})],1),_c('valid-input',{attrs:{\"name\":\"zipCode\",\"type\":\"text\",\"vid\":\"zipCode\",\"maxlength\":\"5\",\"placeholder\":\"Zip Code\",\"rules\":\"required|max:5\"},model:{value:(_vm.formData.zipCode),callback:function ($$v) {_vm.$set(_vm.formData, \"zipCode\", $$v)},expression:\"formData.zipCode\"}})],1)]):_vm._e(),(_vm.formData.paymentMethodType == 'Bank Account')?_c('div',{staticClass:\"column is-12\"},[_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Holder Name\"),_c('Info',{attrs:{\"title\":\"Name\",\"information\":\"The account holder name.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountHolderName\",\"type\":\"text\",\"vid\":\"accountHolderName\",\"placeholder\":\"Account Holder Name\",\"rules\":\"required|max:50\"},model:{value:(_vm.formData.accountHolderName),callback:function ($$v) {_vm.$set(_vm.formData, \"accountHolderName\", $$v)},expression:\"formData.accountHolderName\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Routing Number\"),_c('Info',{attrs:{\"title\":\"Routing Number\",\"information\":\"The routing number of the Bank Account.\"}})],1),_c('valid-input',{attrs:{\"name\":\"routingNumber\",\"type\":\"text\",\"vid\":\"routingNumber\",\"placeholder\":\"Routing Number\",\"rules\":\"required|max:255\"},model:{value:(_vm.formData.routingNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"routingNumber\", $$v)},expression:\"formData.routingNumber\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Number\"),_c('Info',{attrs:{\"title\":\"Account Number\",\"information\":\"The account number of the Bank Account.\"}})],1),_c('valid-input',{attrs:{\"name\":\"accountNumber\",\"type\":\"text\",\"vid\":\"accountNumber\",\"placeholder\":\"Account Number\",\"rules\":\"required|max:255\"},model:{value:(_vm.formData.accountNumber),callback:function ($$v) {_vm.$set(_vm.formData, \"accountNumber\", $$v)},expression:\"formData.accountNumber\"}})],1),_c('div',{staticClass:\"column is-12\",staticStyle:{\"padding\":\"10px\",\"white-space\":\"nowrap\"}},[_c('label',{staticClass:\"label\"},[_vm._v(\"Account Type\"),_c('Info',{attrs:{\"title\":\"Title\",\"information\":\"The type of the bank account.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Account Type\",\"vid\":\"accountType\",\"aria-required\":\"The account type is required\",\"rules\":\"required\"},model:{value:(_vm.formData.accountType),callback:function ($$v) {_vm.$set(_vm.formData, \"accountType\", $$v)},expression:\"formData.accountType\"}},_vm._l((_vm.accountTypes),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1)]):_vm._e(),_c('div',{staticClass:\"column is-12\",staticStyle:{\"padding\":\"10px\",\"white-space\":\"nowrap\"}},[_c('label',{staticClass:\"label\"},[_vm._v(\"Payment Method Type\"),_c('Info',{attrs:{\"title\":\"Title\",\"information\":\"The type of the payment method. Select 'Credit Card' or 'Bank Account'.\"}})],1),_c('valid-select',{attrs:{\"placeholder\":\"Payment Method Type\",\"vid\":\"paymentMethodType\",\"aria-required\":\"The payment method type is required\",\"rules\":\"required\"},model:{value:(_vm.formData.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.formData, \"paymentMethodType\", $$v)},expression:\"formData.paymentMethodType\"}},_vm._l((_vm.paymentMethodTypes),function(option){return _c('option',{key:option.value,domProps:{\"value\":option.value}},[_vm._v(_vm._s(option.label))])}),0)],1),_c('div',{staticClass:\"pt-5\"},[_c('button',{staticClass:\"button is-primary is-rounded\",attrs:{\"type\":\"submit\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.buttonText)+\" \")])])])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"providerErrors\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('span',[_vm._v(_vm._s(errors[0]))])])]}}],null,true)})],1)])])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function data() {\r\n return {\r\n formData: {\r\n cardType: '',\r\n paymentMethodType: '',\r\n lastFourDigits: '',\r\n creditCardNumber: '',\r\n cardHolderName: '',\r\n expirationDate: null,\r\n accountHolderName: '',\r\n accountType: '',\r\n bankName: '',\r\n routingNumber: '',\r\n accountNumber: '',\r\n accountAlias: '',\r\n zipCode: ''\r\n },\r\n paymentMethodTypes: [],\r\n accountTypes: [],\r\n isDebug: true,\r\n isOpen: false,\r\n loading: true,\r\n isFetching: false,\r\n openOnFocus: true,\r\n buttonText: 'Add',\r\n\r\n masks: {\r\n creditCard: {\r\n creditCard: true\r\n },\r\n numeral: {\r\n numeral: true,\r\n numeralThousandsGroupStyle: 'thousand',\r\n prefix: '$'\r\n },\r\n custom: {\r\n delimiters: [',', '.'],\r\n blocks: [3, 3, 2],\r\n numericOnly: true\r\n }\r\n }\r\n }\r\n}\r\n","import $ from 'jquery'\r\nimport { notifyError } from '@/services/notify'\r\nimport { ownerPaymentMethod } from '@/services/OwnerPaymentMethods/store'\r\nimport { outstandingPayment } from '@/services/Payments/HomeOwner/OutstandingPayment/store'\r\nimport { epicGateway } from '@/services/EpicGateway/store'\r\nimport luhn from 'luhn'\r\nimport { isNumeric } from '@/utilities/validate/isNumeric'\r\n\r\nexport const methods = {\r\n async reload() {\r\n this.loading = true\r\n\r\n await this.loadAccountTypes()\r\n\r\n await this.loadPaymentMethodTypes()\r\n\r\n this.buttonText = 'Add'\r\n this.loading = false\r\n },\r\n\r\n open() {\r\n this.formData = {}\r\n\r\n this.loading = false\r\n },\r\n\r\n async loadPaymentMethodTypes() {\r\n await ownerPaymentMethod.dispatch('getPaymentMethodTypeList').then(t => {\r\n if (t && t.list && t.list != undefined) {\r\n console.log('list=' + JSON.stringify(t.list))\r\n this.paymentMethodTypes = t.list\r\n }\r\n })\r\n },\r\n\r\n async loadAccountTypes() {\r\n await ownerPaymentMethod.dispatch('getBankAccountTypeList').then(t => {\r\n if (t && t.list && t.list != undefined) {\r\n console.log('list=' + JSON.stringify(t.list))\r\n this.accountTypes = t.list\r\n }\r\n })\r\n },\r\n\r\n async submitPaymentMethod() {\r\n if (this.formData && this.formData != undefined) {\r\n await this.addPaymentMethod()\r\n }\r\n },\r\n\r\n async getFortisJwtOneTimeToken() {\r\n await outstandingPayment\r\n .dispatch('getOneTimeFortisJwtToken', {\r\n hoaID: this.hoaId\r\n })\r\n .then(({ result }) => {\r\n if (result) {\r\n if (this.isDebug === true)\r\n console.debug('getOneTimeFortisJwtToken' + JSON.stringify(result))\r\n\r\n if (result) {\r\n this.requestJwtToken = result\r\n }\r\n }\r\n })\r\n },\r\n\r\n async addPaymentMethod() {\r\n if (!this.formData || this.formData == undefined) {\r\n notifyError('There was a problem processing this payment method.')\r\n return\r\n }\r\n\r\n if (\r\n this.$refs.cardExpirationDateComponent &&\r\n this.$refs.cardExpirationDateComponent != undefined\r\n ) {\r\n this.formData.expirationDate = this.$refs.cardExpirationDateComponent.getValue()\r\n\r\n if (!this.formData.expirationDate || this.formData.expirationDate == undefined) {\r\n notifyError('The expiration date is required.')\r\n return\r\n }\r\n }\r\n\r\n let lastFourDigits = ''\r\n\r\n await this.getFortisJwtOneTimeToken()\r\n\r\n if (this.formData.paymentMethodType && this.formData.paymentMethodType == 'Credit Card') {\r\n if (!this.formData.creditCardNumber) {\r\n notifyError('Please enter a credit card number.')\r\n return\r\n }\r\n\r\n //Validate credit card number with luhn\r\n var isValid = luhn.validate(this.formData.creditCardNumber)\r\n\r\n if (isValid == false) {\r\n notifyError('Please enter a valid credit card number.')\r\n return\r\n }\r\n\r\n lastFourDigits = this.formData.creditCardNumber\r\n .toString()\r\n .slice(\r\n this.formData.creditCardNumber.toString().length - 4,\r\n this.formData.creditCardNumber.toString().length\r\n )\r\n\r\n this.loading = true\r\n\r\n if (this.isDebug == true) console.debug('formData=' + JSON.stringify(this.formData))\r\n\r\n try {\r\n const registerParams = {\r\n account_number: this.formData.creditCardNumber || '',\r\n method: 'credit_card'\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmount || 0,\r\n name: this.formData.cardHolderName || '',\r\n expMonth: this.formData.expirationDate.month || '',\r\n expYear: this.formData.expirationDate.year || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (this.isDebug === true)\r\n console.debug('registerOneTimeToken cc=' + JSON.stringify(result))\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n return\r\n } else if (result) {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.ownerId\r\n )\r\n\r\n await epicGateway.dispatch('addOwnerPaymentMethodCreditCard', {\r\n cardHolderName: this.formData.cardHolderName || '',\r\n expMonth: this.formData.expirationDate.month || '',\r\n expYear: this.formData.expirationDate.year || '',\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : this.authUser.ownerUserID,\r\n paymentMethodType: this.formData.paymentMethodType || '',\r\n lastFourDigits: lastFourDigits,\r\n token: result.token_number || '',\r\n tokenType: result.token_type || '',\r\n accountAlias: this.formData.accountAlias || null,\r\n postalCode: this.formData.zipCode || null,\r\n done: async ({ details }) => {\r\n //auto-close modal\r\n if (details) {\r\n if (this.isDebug == true) console.debug('details=' + JSON.stringify(details))\r\n }\r\n\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n })\r\n }\r\n })\r\n } catch (e) {\r\n notifyError('There was a problem adding your payment method for a credit card.' + e)\r\n }\r\n\r\n this.loading = false\r\n }\r\n\r\n if (this.formData.paymentMethodType && this.formData.paymentMethodType == 'Bank Account') {\r\n if (this.formData.accountNumber.length < 5 || this.formData.accountNumber.length > 17) {\r\n notifyError('Please enter five to seventeen numbers for the account number.')\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.accountNumber }) == false) {\r\n notifyError('Please enter only numbers for the account number.')\r\n return\r\n }\r\n\r\n if (this.formData.routingNumber.length != 9) {\r\n notifyError('Please enter 9 numbers for the routing number.')\r\n return\r\n }\r\n\r\n if (isNumeric({ n: this.formData.routingNumber }) == false) {\r\n notifyError('Please enter only numbers for the routing number.')\r\n return\r\n }\r\n\r\n lastFourDigits = this.formData.accountNumber\r\n .toString()\r\n .slice(\r\n this.formData.accountNumber.toString().length - 4,\r\n this.formData.accountNumber.toString().length\r\n )\r\n\r\n try {\r\n const registerParams = {\r\n account_number: this.formData.accountNumber || '',\r\n routing_number: this.formData.routingNumber || '',\r\n bank_account_type: this.formData.accountType || '',\r\n method: 'echeck'\r\n }\r\n\r\n await outstandingPayment\r\n .dispatch('registerOneTimeToken', {\r\n params: registerParams,\r\n jwt: this.requestJwtToken,\r\n amount: this.formData.paymentAmount || 0,\r\n name: this.formData.cardHolderName || ''\r\n })\r\n .then(async ({ result }) => {\r\n if (result && result.status !== undefined && result.status) {\r\n notifyError(result.status)\r\n return\r\n } else if (result) {\r\n const selectedOwnerUser = this.authUser.ownerUsers.filter(\r\n f => f.ownerID === this.ownerId\r\n )\r\n\r\n await epicGateway.dispatch('addOwnerPaymentMethodBankAccount', {\r\n accountType: this.formData.accountType || '',\r\n accountHolderName: this.formData.accountHolderName || '',\r\n ownerUserID:\r\n selectedOwnerUser[0] !== undefined && selectedOwnerUser[0]\r\n ? selectedOwnerUser[0].ownerUserID\r\n : this.authUser.ownerUserID,\r\n paymentMethodType: this.formData.paymentMethodType || '',\r\n lastFourDigits: lastFourDigits,\r\n token: result.token_number || '',\r\n tokenType: result.token_type || '',\r\n accountAlias: this.formData.accountAlias || null,\r\n done: async ({ details }) => {\r\n //auto-close modal\r\n if (details) {\r\n if (this.isDebug == true) console.debug('details=' + JSON.stringify(details))\r\n }\r\n\r\n this.$emit('update:toggle', (this.toggle = false))\r\n $('#clickclose').click()\r\n this.loading = false\r\n }\r\n })\r\n }\r\n })\r\n } catch (e) {\r\n notifyError('There was a problem adding your payment method for a bank account.' + e)\r\n }\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=87e19b94&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=3b83a02c&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n","var baseOrderBy = require('./_baseOrderBy'),\n isArray = require('./isArray');\n\n/**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\nfunction orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n}\n\nmodule.exports = orderBy;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=style&index=0&id=32962919&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=style&index=0&id=32962919&lang=scss&scoped=true&\"","var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n","/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{staticClass:\"light-grey\",attrs:{\"role\":\"region\"}},[_c('div',{staticClass:\"pb-4\"},[_c('router-link',{attrs:{\"to\":\"/payOutstandingBalance\"}},[_c('button',{staticClass:\"button is-primary is-rounded\"},[_vm._v(\" Make a Payment \")])]),_c('button',{staticClass:\"button is-primary is-rounded ml-3\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadAccountActivityHistoryReport()}}},[_vm._v(\" View Account Activity PDF \")])],1),(_vm.pendingPaymentsMadeList && _vm.pendingPaymentsMadeList.length > 0)?_c('div',{staticClass:\"blue-title pb-1\"},[_vm._v(\" Pending \")]):_vm._e(),(_vm.pendingPaymentsMadeList && _vm.pendingPaymentsMadeList.length > 0)?_c('div',_vm._l((_vm.pendingPaymentsMadeList),function(item){return _c('div',{key:item.ownerElectronicPaymentID,staticClass:\"pb-2\"},[_c('div',{staticClass:\"container notification is-white\"},[_c('span',[_vm._v(_vm._s((\"A \" + (item.paymentMethodType) + \" payment of\")))]),_c('span',{staticClass:\"light-blue-text\"},[_vm._v(_vm._s((\" \" + (item.amount) + \" \")))]),_c('span',[_vm._v(_vm._s((\"submitted on \" + (item.createdDate) + \" and is \" + (item.status) + \" Settlement\")))])])])}),0):_vm._e(),_c('div',{staticClass:\"columns pt-5\"},[_c('div',{staticClass:\"column is-5\",style:({ width: '220px' })},[_c('b-field',{attrs:{\"label\":\"Balance Owed\"}},[_c('h5',{staticClass:\"margin-0\",attrs:{\"account-activity-balance\":\"\"}},[_vm._v(_vm._s(_vm._f(\"accounting\")(_vm.ownerAccountBalance)))])])],1),_c('div',{staticClass:\"colum is-5\",style:({ padding: '10px 20px', width: '350px' })},[_c('label',{staticClass:\"label\"},[_vm._v(\"Summary\")]),_c('ul',_vm._l((_vm.ownerAccountChargeTypeBalances),function(charge){return _c('li',{key:charge.chargeTypeId},[_c('label',{staticClass:\"h7 margin-0 is-inline-block has-width-100\"},[_vm._v(\" \"+_vm._s(charge.chargeTypeName))]),_c('label',{staticClass:\"h7 margin-0 is-inline-block has-width-100 has-text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"accounting\")(charge.amount))+\" \")])])}),0)])]),_c('div',{staticClass:\"blue-title pt-5 pb-1\"},[_vm._v(\"History\")]),_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{style:({ width: '100%', height: '60px' })},[_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1)]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { runAccountActivity } from '@/services/Reports/RunReport/AccountActivity/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport { notifyProblem } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n async runAccountActivityHistoryBase64Report({}, { params }) {\r\n console.log('in runAccountActivityHistoryBase64Report...')\r\n try {\r\n const result = await kms.get(\r\n `/AccountsReceivable/Reports/AccountActivityHistory/GetAsBaseSixtyFour?ownerID=${params.ownerID}&startDate=${params.startDate}&endDate=${params.endDate}&format=${params.format}`\r\n )\r\n\r\n if (isDebug == true)\r\n console.debug('runAccountActivityHistoryBase64Report log=' + JSON.stringify(result))\r\n\r\n return {\r\n returned: result\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The account activity history report could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n returned: ''\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const runAccountActivity = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","import _get from 'lodash/get'\r\nimport { parseDate } from '@/utilities/Date/parse'\r\nimport { bankSummary } from '@/services/Payments/HomeOwner/BankSummary/store'\r\nimport _orderBy from 'lodash/orderBy'\r\nimport { runAccountActivity } from '@/services/Reports/RunReport/AccountActivity/store'\r\nimport { base64toBlob, showPdf } from '@/services/blobutility'\r\n\r\nexport const methods = {\r\n determineRows: function(list) {\r\n if (!Array.isArray(list)) {\r\n return\r\n }\r\n\r\n var dateFormat = 'LL'\r\n\r\n var formatter = new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n minimumFractionDigits: 2\r\n })\r\n\r\n var rows = list.map(entry => {\r\n const transactionDate = parseDate(_get(entry, 'transactionDate', null), dateFormat)\r\n const description = _get(entry, 'description', '')\r\n const transactionType = _get(entry, 'transactionType', '')\r\n let tempAmount = _get(entry, 'amount', 0)\r\n let amount = formatter.format(tempAmount)\r\n\r\n if (tempAmount < 0) {\r\n tempAmount = tempAmount * -1\r\n amount = formatter.format(tempAmount)\r\n\r\n amount = `(${amount})`\r\n }\r\n const runningBalance = formatter.format(_get(entry, 'runningBalance', 0))\r\n\r\n return {\r\n transactionDate: transactionDate,\r\n description: description,\r\n transactionType: transactionType,\r\n amount: amount,\r\n runningBalance: runningBalance\r\n }\r\n })\r\n\r\n this.rows = rows\r\n },\r\n\r\n collapseRow() {\r\n this.expandRowIndex = -1\r\n },\r\n\r\n expandRow(index) {\r\n this.expandRowIndex = index\r\n },\r\n\r\n async downloadAccountActivityHistoryReport() {\r\n const loadingComponent = this.$buefy.loading.open({\r\n container: null\r\n })\r\n\r\n const params = {\r\n ownerID: this.currentOwnerID,\r\n startDate: '',\r\n endDate: '',\r\n format: 'PDF'\r\n }\r\n\r\n await runAccountActivity\r\n .dispatch('runAccountActivityHistoryBase64Report', {\r\n params\r\n })\r\n .then(({ returned }) => {\r\n loadingComponent.close()\r\n\r\n if (returned && returned != undefined) {\r\n if (this.isDebug == true) console.debug('base64pdf........................' + returned)\r\n\r\n const contentType = 'application/pdf'\r\n const blob = base64toBlob(returned, contentType)\r\n\r\n //this.refreshRedirect()\r\n\r\n showPdf(blob)\r\n }\r\n return\r\n })\r\n },\r\n\r\n determinePendingRows: function(list) {\r\n if (list) {\r\n var filtered = list.filter(f => f.status == 'Pending')\r\n\r\n if (filtered) {\r\n var dateFormat = 'LL'\r\n\r\n var formatter = new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n minimumFractionDigits: 2\r\n })\r\n\r\n this.pendingPaymentsMadeList = filtered.map(entry => {\r\n const ownerElectronicPaymentID = _get(entry, 'ownerElectronicPaymentID', 0)\r\n const paymentMethodType = _get(entry, 'paymentMethodType', '')\r\n const lastFourDigits = _get(entry, 'lastFourDigits', '')\r\n const amount = formatter.format(_get(entry, 'amount', 0))\r\n const status = _get(entry, 'status', '')\r\n const createdDate = parseDate(_get(entry, 'createdDate', null), dateFormat)\r\n\r\n return {\r\n ownerElectronicPaymentID: ownerElectronicPaymentID,\r\n paymentMethodType: paymentMethodType,\r\n lastFourDigits: lastFourDigits,\r\n amount: amount,\r\n status: status,\r\n createdDate: createdDate\r\n }\r\n })\r\n }\r\n }\r\n },\r\n\r\n async loadPaymentHistory() {\r\n const params = {\r\n hoaId: this.currentHoaId,\r\n ownerID: this.currentOwnerId\r\n }\r\n\r\n await bankSummary\r\n .dispatch('getPaymentHistoryList', {\r\n params\r\n })\r\n .then(({ list }) => {\r\n this.determineRows(list)\r\n })\r\n },\r\n\r\n async loadPendingPaymentsMade() {\r\n const params = {\r\n ownerID: this.currentOwnerId\r\n }\r\n\r\n await bankSummary\r\n .dispatch('getPendingPaymentsMadeList', {\r\n params\r\n })\r\n .then(({ list }) => {\r\n this.determinePendingRows(_orderBy(list, 'createdDate', 'desc'))\r\n })\r\n },\r\n\r\n reload() {\r\n this.loading = true\r\n\r\n this.$store.dispatch('hoa/loadOwnerAccountTransactions', {\r\n ownerID: this.currentOwnerId,\r\n startDate: null,\r\n endDate: null,\r\n showWaiverSummaries: true\r\n })\r\n\r\n this.rows = []\r\n this.loadPaymentHistory()\r\n this.loadPendingPaymentsMade()\r\n\r\n this.loading = false\r\n }\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n toggle: false,\r\n accountActivityList: [],\r\n expandRowIndex: -1,\r\n pendingPaymentsMadeList: [],\r\n ownerAccountBalance: null,\r\n formatDateFn: function(value) {\r\n return value != null ? moment(value, 'YYYY/MM/DD HH:mm:ss').format('MM-DD-YYYY') : ''\r\n },\r\n\r\n filters: {\r\n show: true\r\n },\r\n\r\n region: {},\r\n\r\n rows: [],\r\n\r\n formatter: new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n minimumFractionDigits: 2\r\n }),\r\n\r\n columns: [\r\n {\r\n field: 'transactionDate',\r\n label: 'Date',\r\n aria: 'Date',\r\n width: '20%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'description',\r\n label: 'Description',\r\n aria: 'Description',\r\n width: '30%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'transactionType',\r\n label: 'Type',\r\n aria: 'Type',\r\n width: '20%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'amount',\r\n label: 'Amount',\r\n aria: 'Amount',\r\n width: '15%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'runningBalance',\r\n label: 'Balance',\r\n aria: 'Balance',\r\n width: '15%',\r\n sortable: true,\r\n searchable: true\r\n }\r\n ],\r\n\r\n styles: {\r\n dateSelector: {\r\n display: 'flex',\r\n padding: '12px',\r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n flexWrap: 'wrap',\r\n alignItems: 'center',\r\n justifyContent: 'flex-end'\r\n },\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n }\r\n }\r\n})\r\n","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=32962919&scoped=true&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\nimport style0 from \"./List.vue?vue&type=style&index=0&id=32962919&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32962919\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PageContentLayoutOnly',{attrs:{\"role\":\"region\"}},[_c('ModernTable',{attrs:{\"region\":_vm.region,\"filters\":_vm.filters,\"rows\":_vm.rows,\"columns\":_vm.columns,\"pagination\":{\n perPage: 12\n },\"loading\":_vm.loading,\"headerColor\":\"#FFF\",\"condensed\":\"\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{style:({ width: '100%', height: '60px' })},[_c('b-button',{class:'filter-button ' + (_vm.filters.show ? 'active' : ''),style:({ float: 'right', background: 'none', border: 0 }),attrs:{\"type\":\"is-ghost\"},on:{\"click\":function($event){_vm.filters.show = !_vm.filters.show}}},[_c('b-icon',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"pack\":\"mdi\",\"icon\":\"filter-outline\",\"size\":\"is-small\"}}),_c('div',{staticStyle:{\"display\":\"inline-block\"}},[_vm._v(\"Filter\")])],1)],1)]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\n import { ownerStatementsStore } from '@/services/OwnerStatements/store'\r\n*/\r\n\r\nimport Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport { notifyProblem } from '@/services/notify'\r\nimport kms from '@/services/kms'\r\n\r\nconst isDebug = true\r\n\r\n/* eslint-disable no-empty-pattern */\r\nconst actions = {\r\n /*\r\n const { list } = await ownerStatementsStore.dispatch ('getOwnerStatementList', {\r\n hoaId\r\n });\r\n */\r\n\r\n async getOwnerStatementList({}, { ownerID }) {\r\n console.log('in getOwnerStatementList...' + ownerID)\r\n try {\r\n const results = await kms.get('/AccountsReceivable/OwnerStatement/List', {\r\n params: {\r\n ownerID\r\n }\r\n })\r\n\r\n if (isDebug == true)\r\n console.debug('getOwnerStatementList log=' + JSON.stringify(results.results))\r\n\r\n return {\r\n list: results.results\r\n }\r\n } catch (exception) {\r\n notifyProblem(`The Owner Statements list could not be retrieved.`)\r\n console.error(exception)\r\n }\r\n\r\n return {\r\n list: []\r\n }\r\n },\r\n\r\n async getDocumentFile({ dispatch }, { params, done }) {\r\n const path = `/AccountsReceivable/OwnerStatement/GetFile`\r\n const result = await kms.get(path, {\r\n params\r\n })\r\n\r\n if (this.isDebug == true) console.debug('getDocumentFile=' + JSON.stringify(result))\r\n\r\n if (dispatch && dispatch != undefined) console.debug(dispatch)\r\n\r\n if (result) {\r\n console.debug(`Successfully retrieved the owner statement.`)\r\n done({ details: result })\r\n } else {\r\n console.error('There was a problem retrieving the owner statement.')\r\n }\r\n }\r\n}\r\n/* eslint-enable no-empty-pattern */\r\n\r\nVue.use(Vuex)\r\nexport const ownerStatementsStore = new Vuex.Store({\r\n state: {},\r\n mutations: {},\r\n getters: {},\r\n actions\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(\n (typeof _vm.ownerStatementID === 'string' || typeof _vm.ownerStatementID === 'number') &&\n _vm.documentID > 0\n )?_c('span',[_c('button',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadPdf(_vm.ownerStatementID)}}},[_c('svg',{staticClass:\"w-6 h-6\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"}})])])]):_c('span',[_vm._v(\"   \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Download.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Download.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Download.vue?vue&type=template&id=0b04600c&\"\nimport script from \"./Download.vue?vue&type=script&lang=js&\"\nexport * from \"./Download.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import _get from 'lodash/get'\r\nimport { parseDate } from '@/utilities/Date/parse'\r\nimport { ownerStatementsStore } from '@/services/OwnerStatements/store'\r\nimport moment from 'moment'\r\nimport { base64toBlob, showPdf } from '@/services/blobutility'\r\nimport Download from '../component/Download'\r\nimport { notifyMessage, notifyWarning, notifyProblem } from '@/services/notify'\r\n\r\nexport const methods = {\r\n async downloadPdf(ownerStatementID) {\r\n if (this.isDebug == true) console.debug('downloadPdf...')\r\n\r\n if (!ownerStatementID || ownerStatementID == undefined) {\r\n notifyProblem('The statements of this account are invalid for download.')\r\n }\r\n\r\n try {\r\n const params = {\r\n ownerStatementID: ownerStatementID,\r\n asBase64: true,\r\n asRawBase64: true\r\n }\r\n\r\n await ownerStatementsStore.dispatch('getDocumentFile', {\r\n params,\r\n done: ({ details }) => {\r\n if (details) {\r\n if (this.isDebug == true) console.debug('base64pdf........................' + details)\r\n\r\n const contentType = 'application/pdf'\r\n const blob = base64toBlob(details, contentType)\r\n showPdf(blob)\r\n notifyMessage(`Successfully downloaded the statements of account.`)\r\n return\r\n }\r\n }\r\n })\r\n } catch (e) {\r\n if (this.isDebug == true) console.debug(e)\r\n notifyWarning('There was a problem downloading the statements of account.')\r\n }\r\n },\r\n\r\n determineRows: function(list) {\r\n if (list) {\r\n var dateFormat = 'LL'\r\n\r\n this.rows = list.map(entry => {\r\n const billingPeriod = _get(entry, 'billingPeriod', '')\r\n const billingPeriodParsed = billingPeriod\r\n ? moment(billingPeriod).format('MMMM') + ' ' + moment(billingPeriod).format('YYYY')\r\n : ''\r\n\r\n const statementType = _get(entry, 'statementType', '')\r\n const deliveryType = _get(entry, 'deliveryType', '')\r\n const recipientName = _get(entry, 'mailingDeliveryItem.recipientName', '')\r\n const recipientEmailAddresses = _get(\r\n entry,\r\n 'mailingDeliveryItem.recipientEmailAddresses',\r\n ''\r\n )\r\n const recipientJsonString = _get(entry, 'mailingDeliveryItem.recipientAddressJSON', '')\r\n let recipientAddress = ''\r\n\r\n if (recipientJsonString) {\r\n const address = JSON.parse(recipientJsonString)\r\n console.debug('address=' + JSON.stringify(address))\r\n\r\n if (address) {\r\n recipientAddress = `${address.AddressLine1 || ''} ${address.AddressLine2 ||\r\n ''}, ${address.City || ''}, ${address.State || ''} ${address.Zip || ''}`\r\n }\r\n }\r\n const mailingDate = parseDate(_get(entry, 'createdDate', null), dateFormat)\r\n\r\n return {\r\n billingPeriod: billingPeriodParsed,\r\n statementType: statementType\r\n ? statementType[0].toUpperCase() + statementType.slice(1)\r\n : '',\r\n deliveryType: deliveryType ? deliveryType[0].toUpperCase() + deliveryType.slice(1) : '',\r\n recipientName,\r\n addressOrEmail: recipientAddress ? recipientAddress : recipientEmailAddresses,\r\n mailingDate,\r\n document: {\r\n component: Download,\r\n props: {\r\n documentID: _get(entry, ['documentID'], 0),\r\n ownerStatementID: _get(entry, 'ownerStatementID', 0),\r\n downloadPdf: ownerStatementID => {\r\n this.downloadPdf(ownerStatementID)\r\n }\r\n }\r\n }\r\n }\r\n })\r\n }\r\n },\r\n\r\n async loadOwnerStatements() {\r\n const params = {\r\n ownerID: this.currentOwnerId\r\n }\r\n\r\n console.debug('authUser ownerID=' + params)\r\n\r\n await ownerStatementsStore\r\n .dispatch('getOwnerStatementList', {\r\n ownerID: this.currentOwnerId\r\n })\r\n .then(({ list }) => {\r\n this.determineRows(list)\r\n })\r\n },\r\n\r\n reload() {\r\n this.loading = true\r\n\r\n this.rows = []\r\n this.loadOwnerStatements()\r\n\r\n this.loading = false\r\n }\r\n}\r\n","import moment from 'moment'\r\n\r\nexport const data = () => ({\r\n isDebug: true,\r\n loading: false,\r\n toggle: false,\r\n formatDateFn: function(value) {\r\n return value != null ? moment(value, 'YYYY/MM/DD HH:mm:ss').format('MM-DD-YYYY') : ''\r\n },\r\n\r\n filters: {\r\n show: true\r\n },\r\n\r\n region: {},\r\n\r\n rows: [],\r\n\r\n columns: [\r\n {\r\n field: 'billingPeriod',\r\n label: 'Billing Period',\r\n aria: 'Billing Period',\r\n width: '15%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'statementType',\r\n label: 'Statement Type',\r\n aria: 'Statement Type',\r\n width: '10%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'deliveryType',\r\n label: 'Delivery Type',\r\n aria: 'Delivery Type',\r\n width: '15%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'recipientName',\r\n label: 'Recipient',\r\n aria: 'Recipient',\r\n width: '20%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'addressOrEmail',\r\n label: 'Address/Email',\r\n aria: 'Address/Email',\r\n width: '30%',\r\n sortable: true,\r\n searchable: true\r\n },\r\n {\r\n field: 'mailingDate',\r\n label: 'Mailing Date',\r\n aria: 'Mailing Date',\r\n width: '10%',\r\n sortable: true,\r\n searchable: true\r\n }\r\n ],\r\n\r\n styles: {\r\n dateSelector: {\r\n display: 'flex',\r\n padding: '12px',\r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n flexWrap: 'wrap',\r\n alignItems: 'center',\r\n justifyContent: 'flex-end'\r\n },\r\n filterButton: {\r\n float: 'right',\r\n marginTop: '4px'\r\n }\r\n }\r\n})\r\n","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./List.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./List.vue?vue&type=template&id=0b60f987&\"\nimport script from \"./List.vue?vue&type=script&lang=js&\"\nexport * from \"./List.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}