{"version":3,"sources":["webpack:///./src/components/mixins/inputHelper.js","webpack:///./src/views/applicant/home/LoanDeliveredDetail.vue","webpack:///src/views/applicant/home/LoanDeliveredDetail.vue","webpack:///./src/views/applicant/home/LoanDeliveredDetail.vue?e4c8","webpack:///./src/views/applicant/home/LoanDeliveredDetail.vue?244a","webpack:///./src/helpers/applicantInfoHelper.js","webpack:///./src/filters.js","webpack:///./src/views/applicant/onboarding/components/loan-payments/PaymentInformation.vue","webpack:///src/views/applicant/onboarding/components/loan-payments/PaymentInformation.vue","webpack:///./src/views/applicant/onboarding/components/loan-payments/PaymentInformation.vue?45b0","webpack:///./src/views/applicant/onboarding/components/loan-payments/PaymentInformation.vue?a206","webpack:///./src/views/applicant/onboarding/components/loan-payments/PaymentInformation.vue?20c9","webpack:///./src/views/applicant/home/LoanDeliveredDetail.vue?53e0","webpack:///./src/components/applicant/projects/detail/ApplicantPaymentsPlan.vue","webpack:///src/components/applicant/projects/detail/ApplicantPaymentsPlan.vue","webpack:///./src/components/applicant/projects/detail/ApplicantPaymentsPlan.vue?d31b","webpack:///./src/components/applicant/projects/detail/ApplicantPaymentsPlan.vue?a7ec"],"names":["methods","reg","value","caps","trim","this","upper","trimSpaces","cleanTildes","toUpperCase","s","r","toLowerCase","replace","RegExp","uppercase","render","_vm","_c","_self","hasDeliveredLoans","attrs","isMounted","showCards","staticClass","model","activeTab","callback","$$v","expression","_v","class","globalCreditStatus","color","_s","status","on","$event","stopPropagation","showMasterLoanDetail","roleGeneralData","days","_e","slot","explicitMoneyFormat","duesList","total","due","amortization","interest","tax","client_comission","client_comission_tax","penalty","penalty_tax","moratorium_interest","moratorium_interest_tax","currentMasterPayment","constitutionPaymentDateFormat","payment_date","payment","with_due","hasDirectBilling","user","direct_billing","bank","clabe","showDirectBillingPrompt","showPaymentDetailPrompt","_l","deliveredLoans","loan","index","key","alias","id","getLoanPaymentData","currentLoan","isLoanOnTime","loan_status","setDetailSingleLoanPayment","hasDuesSingleLoan","calculateDaysDiff","dues_data","currentLoanNextPayment","client_commission_tax","master","payed","dues","showMasterLoanPayments","showSingleLoanDetail","singleLoanTitle","totalMonthlyPayments","showSingleLoanPaymentDetail","project_id","allLoansPaymentData","allMasterTables","getDay","monthlyPayments","getBankAccountsItems","length","directives","name","rawName","hasError","errorText","isSuccess","bankAccountSelectedId","item","text","showCreateBankAccountPrompt","canDirectBilling","showDirectBillingContractPrompt","getBankAccountSelected","acceptDirectBilling","apply","arguments","errorMssg","staticStyle","saveBankAccount","ref","staticRenderFns","mixins","components","ApplicantPaymentsPlan","LatestDirectBillingAcceptanceContract","PaymentInformation","props","type","default","data","contractAcceptDirectBillingType","minScreen","loans","currentDate","applicantPaymentInfo","applicantBankAccounts","computed","isSmallerScreen","items","setCurrentDate","m","console","getNextPayment","geolocation","contractType","lowerPeriodicity","bankAccountId","title","acceptText","cancelText","bank_account_id","payload","sumProjectDues","duesData","copyToClipboard","navigator","component","aid","requiredObjects","params","join","response","axios","get","e","warn","ApplicantId","failed","res","UserId","moralTypeValue","moralForeignTypeValue","moralFinancialTypeValue","personalTypeValue","personalForeignTypeValue","userIsMoral","person_type","userIsForeign","formatPrice","val","toFixed","toString","parseValue","str","pattern","parseInt","_m","clabe_stp","showCopy","setTimeout","optionActiveTab","payments","scopedSlots","_u","fn","indextr","_f","initial_debt","final_debt","paid","advanceCapitalPayments","humanDateFormat","created_at","masterGlobal","old_period_payment","new_period_payment","projectId","required","filters","human_date"],"mappings":"kHAAe,QACbA,QAAS,CACPC,IAAIC,EAAOC,GAAO,EAAOC,GAAO,GAC9B,OAAY,MAATF,GAA0B,IAATA,EACX,GAGNC,EACME,KAAKC,MAAMJ,EAAOE,GAEnBA,EACCC,KAAKE,WAAWL,GAGhBA,GAGXI,MAAMJ,EAAOE,GAAO,GAClB,OAAa,MAATF,GAA0B,IAATA,EACZ,GAEFG,KAAKG,YAAYN,EAAOE,GAAMK,eAEvCD,YAAYE,EAAGN,GAAO,GACpB,IAAIO,EAAID,EAAEE,cAiBV,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,EAAIyB,MAEl3iB+E,EAAkB,G,qHCgWP,GACfnB,2BACAoB,qCACAC,YACAC,6BACAC,6CACAC,2BAEAC,OACAxG,WACAyG,aACAC,aAGAC,WACAC,mCACAC,eACA1G,YACA2G,SACA/D,kBACAhD,aACAuD,iBACAO,4BACAE,YACAgD,qBACA7E,0BACAlB,wBACAkD,0BACAM,yBACAL,wBACAG,+BACAF,mBACAvB,2BACAmE,0BACApE,2BACA6C,mCACAwB,yBACA7B,2BACAG,+BACA5C,WACAmD,eACAxE,gBAEA,gBACA,wBACA,qBACA,4BACA,gBACA,+EACA,wDACA,8BAEA,4CAEA,wBACA,sBAEA4F,aACA,2CACAC,kBACA,qDAEAtH,oBACA,qCAEA0D,eACA,iGAEA9C,qBACA,SACAG,sBACAF,2BAEA,mBACA,gCACA,iDACA,4BACA,aACA,4DACAiG,uBACAA,iCAKA,UAEA/B,uBACA,mBACA,WASA,OARA,uCACA,wBACAwC,QACAzI,WACA2G,6CAIA,EAEA,UAGAI,yBACA,8EAEAF,mBACA,0CAGA,+DAEAjD,mBACA,oCAEAmB,oBACA,0CAGAjF,SACA4I,iBACA,oCACA,kDACA,OACAC,SAEA,8BAEA,iBACA,IACA,6EACA,uBACA,iCACA,+BACA,qDACA,wDACA,yCAEA,kBACA,SACAC,eACA,+CAGA,2BACA,8BACA,4EACA,iCAEA,wBACA,8DACA,mBACA,yBAEA,iBACA,kDACA,sBAEAC,kBAEA,mCACA,MACA,2BAGA,wBACA,wEAEA,mDACA,CAEA,iCACA,yCAEA,wBACA,wEAGA,mDAIA,4BACA,0BAEA,OADA,qIACA,EAEA,gDACA,IACA,OACAC,wCACAC,kDACAC,6CACAC,gDAEA,iFACA,gCACA,qBACA,wCACA,gCACA,iBACAlH,gBACAmH,iCACAvC,uGACAwC,qBACAC,sBAEA,SACA,qBACA,6CACA,mEAEA,8BAIA,wBAKA,GAJA,oBAIA,iBAKA,0BAKA,gDACA,IACA,OACApF,iBACAqF,sBAEA,yBACA,8DACAC,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AG,wCAAwCZ,EAAG,QAAQ,CAACM,YAAY,QAAQ,CAACP,EAAIa,GAAG,sCAAsC,IAAI,IAAI,IAAI,IAAI,GAAGb,EAAIyB,QAE9pI+E,EAAkB,G,gDCsFP,GACfnB,6BACAyB,OACAgF,WAAA/E,qBAAAgF,aACAJ,cAAA5E,eAAAgF,YAAA/E,aAEAP,uBACAQ,OACA,OACA8D,UACA9F,mBACAuG,2BAEAV,kBACAzK,aACAkJ,YAGA,gBACA,qBACA,wBACA,uBACA,kBACA,sBAEAyC,SACAC,cACA,8CAGAlN,SACAmL,mBACA,wBACA,IACA,WAEAjB,EADA,+BACAA,oEAGAA,qEAEA,8BAEA,SACA,mBCpI4Y,I,YCOxYL,EAAY,eACd,EACA7I,EACAyG,GACA,EACA,KACA,KACA,MAIa,OAAAoC,E","file":"js/chunk-1c600a14.5ea693f3.js","sourcesContent":["export default {\n methods: {\n reg(value, caps = false, trim = false){\n if(value == null || value == ''){\n return \"\";\n }\n\n if(caps){\n return this.upper(value, trim);\n }\n else if(trim) {\n return this.trimSpaces(value);\n }\n else {\n return value;\n }\n },\n upper(value, trim = false) {\n if (value == null || value == '') {\n return \"\";\n }\n return this.cleanTildes(value, trim).toUpperCase();\n },\n cleanTildes(s, trim = false){\n var r = s.toLowerCase();\n r = r.replace(new RegExp(\"[àáâãäå]\", 'g'),\"a\");\n r = r.replace(new RegExp(\"æ\", 'g'),\"ae\");\n r = r.replace(new RegExp(\"ç\", 'g'),\"c\");\n r = r.replace(new RegExp(\"[èéêë]\", 'g'),\"e\");\n r = r.replace(new RegExp(\"[ìíîï]\", 'g'),\"i\");\n //r = r.replace(new RegExp(\"ñ\", 'g'),\"n\"); \n r = r.replace(new RegExp(\"[òóôõö]\", 'g'),\"o\");\n r = r.replace(new RegExp(\"œ\", 'g'),\"oe\");\n //r = r.replace(new RegExp(\"[ùúûü]\", 'g'),\"u\");\n r = r.replace(new RegExp(\"[ùúû]\", 'g'),\"u\");\n r = r.replace(new RegExp(\"[ýÿ]\", 'g'),\"y\");\n \n if(trim){\n r = r.replace(/\\s/g,'');\n }\n\n return r;\n },\n trimSpaces(s){\n return s.replace(/\\s/g,'');\n },\n uppercase(value){\n if (value == null || value == '') {\n return \"\";\n }\n return value.toUpperCase();\n }\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.hasDeliveredLoans)?_c('div',{attrs:{\"id\":\"loan-delivered-detail\"}},[(_vm.isMounted && _vm.showCards)?_c('vs-tabs',{staticClass:\"tabs-shadow-none\",attrs:{\"id\":\"loan-tabs\"},model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('vs-tab',{attrs:{\"label\":\"Global\"}},[_c('vx-card',[_c('h2',{staticClass:\"pl-2 mb-4\"},[_vm._v(\"Mis créditos activos\")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col sm:w-full md:w-1/4\"},[_c('div',{staticClass:\"flex justify-left items-baseline mb-2 pl-2\"},[_c('vs-chip',{staticClass:\"bg-rg-green-light bold text-md\",class:_vm.globalCreditStatus.color},[_vm._v(_vm._s(_vm.globalCreditStatus.status))]),_c('p',{staticClass:\"clickable-img text-sm ml-2\",on:{\"click\":function($event){$event.stopPropagation();_vm.showMasterLoanDetail = true}}},[_c('u',[_vm._v(\"Ver detalle\")])])],1),(_vm.globalCreditStatus.status != 'Al corriente')?_c('div',[(_vm.roleGeneralData.days)?_c('p',{staticClass:\"mb-2 pl-4\"},[_c('span',{staticClass:\"bold text-danger\"},[_vm._v(_vm._s(_vm.roleGeneralData.days))])]):_vm._e(),_c('p',{staticClass:\"pl-4\"},[_vm._v(\"Pago pendiente\")]),_c('vs-collapse',[_c('vs-collapse-item',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('h2',[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.due)))])]),_c('ul',[_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Amortización: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.amortization)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.interest + _vm.duesList.total.tax))+\" \")]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Comisiones + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.client_comission + _vm.duesList.total.client_comission_tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Penalización + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.penalty + _vm.duesList.total.penalty_tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses moratorios + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.duesList.total.moratorium_interest + _vm.duesList.total.moratorium_interest_tax)))])])])],1)],1):_c('div',[(_vm.currentMasterPayment != null)?_c('div',[_c('p',{staticClass:\"pl-4\"},[_vm._v(\"Próximo pago (\"+_vm._s(_vm.constitutionPaymentDateFormat(_vm.currentMasterPayment.payment_date))+\")\")]),_c('vs-collapse',[_c('vs-collapse-item',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('h2',[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentMasterPayment.payment)))])]),_c('ul',[_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Amortización: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentMasterPayment.amortization)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentMasterPayment.interest + _vm.currentMasterPayment.tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Comisiones + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentMasterPayment.client_comission)))]),(_vm.currentMasterPayment.with_due)?_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses moratorios + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentMasterPayment.moratorium_interest))+\" \")]):_vm._e()])])],1)],1):_c('div',[_c('h6',[_vm._v(\"Sin información del pago.\")])])]),(!_vm.hasDirectBilling)?_c('div',{staticClass:\"flex justify-left mt-2 pl-2\"},[_c('vs-button',{staticClass:\"mr-2\",attrs:{\"size\":\"small\",\"color\":\"dark\",\"type\":\"border\"},on:{\"click\":function($event){$event.stopPropagation();_vm.showDirectBillingPrompt = true}}},[_vm._v(\"Domiciliar\")]),_c('vs-button',{attrs:{\"size\":\"small\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();_vm.showPaymentDetailPrompt = true}}},[_vm._v(\"Pagar\")])],1):_c('div',{staticClass:\"mt-2 pl-2\"},[_c('p',{staticClass:\"black mb-2\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Pago domiciliado\")]),_vm._v(\" \"+_vm._s(_vm.user.direct_billing.bank)+\" \"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.user.direct_billing.clabe))])]),_c('p',{staticClass:\"black underline text-sm cursor-pointer\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDirectBillingPrompt = true}}},[_vm._v(\"Cambiar cuenta\")])])])])])],1),_vm._l((_vm.deliveredLoans),function(loan,index){return _c('vs-tab',{key:index,attrs:{\"label\":`${loan.alias} (${loan.id})`},on:{\"click\":function($event){$event.stopPropagation();return _vm.getLoanPaymentData(loan.id)}}},[(_vm.currentLoan != null)?_c('vx-card',[_c('h2',{staticClass:\"pl-2 mb-4\"},[_vm._v(_vm._s(loan.alias)+\" \"),_c('span',{staticClass:\"font-regular\"},[_vm._v(\"(\"+_vm._s(loan.id)+\")\")])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col sm:w-full md:w-1/4\"},[_c('div',{staticClass:\"flex justify-left items-baseline mb-2 pl-2\"},[_c('vs-chip',{staticClass:\"bold text-md\",class:!_vm.isLoanOnTime ? 'bg-chip-danger-light' : 'bg-rg-green-light'},[_vm._v(_vm._s(_vm.currentLoan.loan_status))]),_c('p',{staticClass:\"clickable-img text-sm ml-2\",on:{\"click\":function($event){$event.stopPropagation();_vm.setDetailSingleLoanPayment(`${loan.alias} (${loan.id})`)}}},[_c('u',[_vm._v(\"Ver detalle\")])])],1),(_vm.hasDuesSingleLoan)?_c('div',[(!_vm.isLoanOnTime)?_c('p',{staticClass:\"mb-2 pl-4\"},[_vm._v(\"Días de atraso: \"),_c('span',{staticClass:\"bold text-danger\"},[_vm._v(_vm._s(_vm.calculateDaysDiff(_vm.currentLoan.dues_data.payment_date)))])]):_vm._e(),_c('p',{staticClass:\"pl-4\"},[_vm._v(\"Pago pendiente\")]),_c('vs-collapse',[_c('vs-collapse-item',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('h2',[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.due)))])]),_c('ul',[_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Amortización: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.amortization)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.interest + _vm.currentLoan.dues_data.tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Comisiones + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.client_comission + _vm.currentLoan.dues_data.client_comission_tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Penalización + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.penalty + _vm.currentLoan.dues_data.penalty_tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses moratorios + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues_data.moratorium_interest + _vm.currentLoan.dues_data.moratorium_interest_tax)))])])])],1)],1):_c('div',[(_vm.currentLoanNextPayment != null)?_c('div',[(!_vm.isLoanOnTime)?_c('p',{staticClass:\"mb-2 pl-4\"},[_vm._v(\"Días de atraso: \"),_c('span',{staticClass:\"bold text-danger\"},[_vm._v(_vm._s(_vm.calculateDaysDiff(_vm.currentLoanNextPayment.payment_date)))])]):_vm._e(),_c('p',{staticClass:\"pl-4\"},[_vm._v(\"Próximo pago (\"+_vm._s(_vm.constitutionPaymentDateFormat(_vm.currentLoanNextPayment.payment_date))+\")\")]),_c('vs-collapse',[_c('vs-collapse-item',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('h2',[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentLoanNextPayment.payment)))])]),_c('ul',[_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Amortización: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoanNextPayment.amortization)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoanNextPayment.interest + _vm.currentLoanNextPayment.tax)))]),_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Comisiones + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoanNextPayment.client_comission + _vm.currentLoanNextPayment.client_commission_tax)))]),(_vm.currentLoanNextPayment.with_due)?_c('li',{staticClass:\"text-sm\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Intereses moratorios + IVA: \")]),_vm._v(\" \"+_vm._s(_vm.explicitMoneyFormat(_vm.currentLoanNextPayment.moratorium_interest))+\" \")]):_vm._e()])])],1)],1):_c('div',[_c('h6',[_vm._v(\"Sin información del pago.\")])])]),(!_vm.hasDirectBilling)?_c('div',{staticClass:\"flex justify-left mt-2 pl-2\"},[_c('vs-button',{staticClass:\"mr-2\",attrs:{\"size\":\"small\",\"color\":\"dark\",\"type\":\"border\"},on:{\"click\":function($event){$event.stopPropagation();_vm.showDirectBillingPrompt = true}}},[_vm._v(\"Domiciliar\")]),_c('vs-button',{attrs:{\"size\":\"small\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();_vm.showPaymentDetailPrompt = true}}},[_vm._v(\"Pagar\")])],1):_c('div',{staticClass:\"mt-2 pl-2\"},[_c('p',{staticClass:\"black mb-2\"},[_c('span',{staticClass:\"bold\"},[_vm._v(\"Pago domiciliado\")]),_vm._v(\" \"+_vm._s(_vm.user.direct_billing.bank)+\" \"),_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.user.direct_billing.clabe))])]),_c('p',{staticClass:\"black underline text-sm cursor-pointer\",on:{\"click\":function($event){$event.stopPropagation();_vm.showDirectBillingPrompt = true}}},[_vm._v(\"Cambiar cuenta\")])])])])]):_vm._e()],1)})],2):_vm._e(),(_vm.isMounted)?_c('vs-popup',{staticClass:\"md-popup header-primary\",attrs:{\"title\":\"Detalle de Mis créditos activos\",\"active\":_vm.showMasterLoanDetail},on:{\"update:active\":function($event){_vm.showMasterLoanDetail=$event}}},[_c('ul',{staticClass:\"p-3\"},[_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-primary mr-2 mt-2 mb-1\"}),_vm._v(\" Pagado: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.master.total.payed)))])]),_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-danger mr-2 mt-2 mb-1\"}),_vm._v(\" Atrasado: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.master.total.dues)))])]),_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-grey mr-2 mt-2 mb-1\"}),_vm._v(\" Por pagar: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.master.total.payment - _vm.master.total.payed)))])])]),_c('p',{staticClass:\"clickable-img text-sm ml-2 black\",on:{\"click\":function($event){$event.stopPropagation();_vm.showMasterLoanPayments = true}}},[_c('u',[_vm._v(\"Ver plan de pagos\")])]),(_vm.isMounted)?_c('vs-popup',{staticClass:\"extended-popup header-primary\",attrs:{\"title\":\"Consolidado de Mis créditos activos\",\"active\":_vm.showMasterLoanPayments},on:{\"update:active\":function($event){_vm.showMasterLoanPayments=$event}}},[_c('ApplicantPaymentsPlan',{attrs:{\"projectId\":\"0\",\"masterGlobal\":true}})],1):_vm._e()],1):_vm._e(),(_vm.showSingleLoanDetail)?_c('vs-popup',{staticClass:\"md-popup header-primary\",attrs:{\"title\":`Detalle de ${_vm.singleLoanTitle}`,\"active\":_vm.showSingleLoanDetail},on:{\"update:active\":function($event){_vm.showSingleLoanDetail=$event}}},[_c('ul',{staticClass:\"p-3\"},[_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-primary mr-2 mt-2 mb-1\"}),_vm._v(\" Pagado: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.totalMonthlyPayments.payed)))])]),_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-danger mr-2 mt-2 mb-1\"}),_vm._v(\" Atrasado: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.dues)))])]),_c('li',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"bullet bg-grey mr-2 mt-2 mb-1\"}),_vm._v(\" Por pagar: \"),_c('br')]),_c('h3',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.explicitMoneyFormat(_vm.currentLoan.totalMonthlyPayments.payment - _vm.currentLoan.totalMonthlyPayments.payed)))])])]),_c('p',{staticClass:\"clickable-img text-sm ml-2 black\",on:{\"click\":function($event){$event.stopPropagation();_vm.showSingleLoanPaymentDetail = true}}},[_c('u',[_vm._v(\"Ver plan de pagos\")])]),(_vm.isMounted)?_c('vs-popup',{staticClass:\"extended-popup header-primary\",attrs:{\"title\":`Consolidado de ${_vm.singleLoanTitle}`,\"active\":_vm.showSingleLoanPaymentDetail},on:{\"update:active\":function($event){_vm.showSingleLoanPaymentDetail=$event}}},[(_vm.showSingleLoanPaymentDetail)?_c('ApplicantPaymentsPlan',{attrs:{\"projectId\":_vm.currentLoan.project_id}}):_vm._e()],1):_vm._e()],1):_vm._e(),(_vm.isMounted)?_c('vs-popup',{staticClass:\"md-popup header-primary\",attrs:{\"active\":_vm.showPaymentDetailPrompt,\"title\":\"Abonar\"},on:{\"update:active\":function($event){_vm.showPaymentDetailPrompt=$event}}},[_c('PaymentInformation')],1):_vm._e(),(_vm.isMounted)?_c('vs-popup',{staticClass:\"md-popup header-primary\",attrs:{\"active\":_vm.showDirectBillingPrompt,\"title\":\"Activa tu pago automático\"},on:{\"update:active\":function($event){_vm.showDirectBillingPrompt=$event}}},[_c('div',{staticClass:\"m-4 black\"},[_c('h5',{staticClass:\"mt-2 mb-4 black bold\"},[_vm._v(\"Fechas de corte\")]),_c('p',{staticClass:\"mb-4\"},[_vm._v(\" El pago de tus créditos se hará automáticamente las siguientes fechas: \")]),_c('ul',{staticClass:\"mb-base\"},_vm._l((_vm.allLoansPaymentData.allMasterTables),function(loan,index){return _c('li',{staticClass:\"mb-2\"},[_c('p',[_vm._v(_vm._s(loan.alias)+\" \"+_vm._s(loan.project_id)+\" | \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"Día \"+_vm._s(_vm.getDay(loan.monthlyPayments[0].payment_date)))])])])}),0),_c('p',{staticClass:\"mb-base\"},[_vm._v(\" Es posible que el cargo demore un par de días en verse reflejado. \"),_c('br'),_vm._v(\"Asegúrate de contar con los fondos suficientes en tu cuenta. \")]),(_vm.getBankAccountsItems.length > 0)?_c('vs-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"sm:w-full md:w-3/4 lg:w-3/4 mb-2\",attrs:{\"label\":\"Elige tu cuenta\",\"name\":\"bank_accounts\",\"danger\":_vm.hasError('bank_accounts'),\"danger-text\":_vm.errorText('bank_accounts'),\"success\":_vm.isSuccess('bank_accounts'),\"placeholder\":\"Seleccione una opción\"},model:{value:(_vm.bankAccountSelectedId),callback:function ($$v) {_vm.bankAccountSelectedId=$$v},expression:\"bankAccountSelectedId\"}},_vm._l((_vm.getBankAccountsItems),function(item,index){return _c('vs-select-item',{key:index,staticClass:\"w-full\",attrs:{\"value\":item.value,\"text\":item.text}})}),1):_vm._e(),_c('p',{staticClass:\"text-sm cursor-pointer mb-base\",on:{\"click\":function($event){$event.stopPropagation();_vm.showCreateBankAccountPrompt = true}}},[_vm._v(\"+ Agregar cuenta\")]),(!_vm.canDirectBilling)?_c('vs-alert',{staticClass:\"h-full my-4 mb-base\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-info\",\"color\":\"#FFEE8D\",\"active\":\"true\"}},[_c('span',{staticClass:\"text-sm black\"},[_vm._v(\"Por el momento no contamos con un convenio con esa institución financiera. Prueba con otra cuenta o \"),_c('b',[_vm._v(\"registra una cuenta adicional\")]),_vm._v(\". \")])]):_vm._e(),_c('vs-button',{attrs:{\"disabled\":_vm.bankAccountSelectedId == null || !_vm.canDirectBilling,\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();_vm.showDirectBillingContractPrompt = true}}},[_vm._v(\"Continuar\")]),(_vm.isMounted)?_c('vs-popup',{staticClass:\"extended-popup header-primary pb-0\",attrs:{\"id\":\"contractPopup\",\"title\":`Activa tu pago automático`,\"active\":_vm.showDirectBillingContractPrompt},on:{\"update:active\":function($event){_vm.showDirectBillingContractPrompt=$event}}},[_c('div',[(_vm.getBankAccountSelected)?_c('latest-direct-billing-acceptance-contract',{attrs:{\"bank-account\":_vm.getBankAccountSelected,\"user-role\":\"applicant\"}}):_vm._e()],1),_c('section',{staticClass:\"contract-footer p-3\"},[_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.acceptDirectBilling.apply(null, arguments)}}},[_vm._v(\"Aceptar\")])],1)]):_vm._e(),_c('vs-popup',{staticClass:\"md-popup header-primary\",attrs:{\"active\":_vm.showCreateBankAccountPrompt,\"title\":\"Registra una cuenta\"},on:{\"update:active\":function($event){_vm.showCreateBankAccountPrompt=$event}}},[_c('div',{staticClass:\"p-4\"},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\" Da de alta una cuenta bancaria a tu nombre para automatizar tus pagos. \"),_c('br'),_vm._v(\"Haremos una transferencia de $0.01 para confirmar que la cuenta es tuya. \")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col sm:w-full md:w-1/2\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"label\":\"CLABE\",\"name\":\"clabe\",\"danger\":_vm.hasError('clabe'),\"danger-text\":_vm.errorText('clabe'),\"success\":_vm.isSuccess('clabe'),\"icon-pack\":\"feather\"},model:{value:(_vm.clabe),callback:function ($$v) {_vm.clabe=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"clabe\"}})],1),(_vm.errorMssg)?_c('vs-alert',{staticClass:\"mb-3 mt-4 w-full ml-4 mr-4\",staticStyle:{\"height\":\"auto\"},attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-alert-triangle\",\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMssg))])]):_vm._e()],1),_c('vs-button',{staticClass:\"mt-4\",attrs:{\"disabled\":_vm.clabe == null,\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.saveBankAccount.apply(null, arguments)}}},[_vm._v(\"Registrar\")])],1)])],1)]):_vm._e(),_c('rg-geolocator',{ref:\"rgGeolocator\"})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoanDeliveredDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoanDeliveredDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LoanDeliveredDetail.vue?vue&type=template&id=38a72fc2&\"\nimport script from \"./LoanDeliveredDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./LoanDeliveredDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LoanDeliveredDetail.vue?vue&type=style&index=0&id=38a72fc2&prod&lang=css&\"\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","export default {\n methods: {\n async getApplicantData(aid, requiredObjects){\n try{\n // ?filter[status]=3 // ejemplo de filtro\n let params = \"with[]=\" + requiredObjects.join(\"&with[]=\");\n let response = await axios.get(`/api/v1/applicant/${aid}?${params}`);\n return response.data;\n }\n catch(e){\n this.warn(e);\n return null;\n }\n },\n async getApplicantPaymentInfo(ApplicantId){\n try{\n const response = await axios.get(`api/v1/applicant/${ApplicantId}/paymentData`);\n return response.data;\n }\n catch (e) {\n this.failed = true;\n return null;\n }\n },\n async getUserAccounts() {\n try {\n const res = await axios.get(`api/v1/userBankAccounts/${this.UserId}`);\n return res.data;\n }\n catch (e) {\n return null;\n }\n },\n moralTypeValue(){\n return 0;\n },\n moralForeignTypeValue(){\n return 3;\n },\n moralFinancialTypeValue(){\n return 4;\n },\n personalTypeValue(){\n return 1;\n },\n personalForeignTypeValue(){\n return 2;\n },\n userIsMoral(person_type){\n return (person_type === this.moralTypeValue() || person_type === this.moralForeignTypeValue());\n },\n userIsForeign(person_type){\n return (person_type === this.moralForeignTypeValue() || person_type === this.personalForeignTypeValue());\n },\n },\n }","function filterBy (list, value) {\n return list.filter(function(user){\n return user.business_name.toLowerCase().indexOf(value) >= 0;\n });\n};\nfunction formatPrice (value) {\n let val = (value/1).toFixed(2)\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")\n};\n\nfunction formatPriceProject (value) {\n let val = (value/1).toFixed(0)\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")\n};\n\nfunction parseValue(str) {\n const pattern = /\\$|\\,/ig;\n return parseInt(str.replace(pattern, ''))\n}\n\nfunction parseFloatValue(str) {\n const pattern = /\\$|\\,/ig;\n return parseFloat(str.replace(pattern, ''))\n}\n\nexport {filterBy, formatPrice, parseFloatValue, parseValue, formatPriceProject}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-card p-4\",attrs:{\"id\":\"PaymentInformation\"}},[_c('div',{staticClass:\"ml-4 m-4\"},[_vm._m(0),_c('ul',{staticClass:\"black\"},[_c('li',{staticClass:\"mb-base\"},[_c('p',{staticClass:\"mb-2 bold\"},[_vm._v(\"Cuenta CLABE\")]),_c('div',{staticClass:\"flex\"},[_c('p',{attrs:{\"id\":\"cuentaClabe\"}},[_vm._v(_vm._s(_vm.applicantPaymentInfo.clabe_stp))]),_c('feather-icon',{staticClass:\"cursor-pointer grey\",attrs:{\"icon\":\"CopyIcon\",\"svgClasses\":\"w-5 h-5 ml-4 text-grey\"},on:{\"click\":function($event){return _vm.copyToClipboard('cuentaClabe')}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCopy[0]),expression:\"showCopy[0]\"}],staticClass:\"text-sm ml-4\",attrs:{\"id\":\"cuentaClabeSpan\"}},[_vm._v(\"- Copiado\")])],1)]),_vm._m(1),_c('li',{staticClass:\"mb-base\"},[_c('p',{staticClass:\"mb-2 bold\"},[_vm._v(\"Beneficiario\")]),_c('div',{staticClass:\"flex mb-base\"},[_c('p',{attrs:{\"id\":\"beneficiario\"}},[_vm._v(\"RedGirasol\")]),_c('feather-icon',{staticClass:\"cursor-pointer grey\",attrs:{\"icon\":\"CopyIcon\",\"svgClasses\":\"w-5 h-5 ml-4 text-grey\"},on:{\"click\":function($event){return _vm.copyToClipboard('beneficiario')}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCopy[1]),expression:\"showCopy[1]\"}],staticClass:\"text-sm ml-4\",attrs:{\"id\":\"beneficiarioSpan\"}},[_vm._v(\"- Copiado\")])],1),_c('p',{staticClass:\"mb-2 bold\"},[_vm._v(\"RFC\")]),_c('div',{staticClass:\"flex\"},[_c('p',{attrs:{\"id\":\"rgTax\"}},[_vm._v(\"RGI160414TR9\")]),_c('feather-icon',{staticClass:\"cursor-pointer grey\",attrs:{\"icon\":\"CopyIcon\",\"svgClasses\":\"w-5 h-5 ml-4 text-grey\"},on:{\"click\":function($event){return _vm.copyToClipboard('rgTax')}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCopy[2]),expression:\"showCopy[2]\"}],staticClass:\"text-sm ml-4\",attrs:{\"id\":\"rgTaxSpan\"}},[_vm._v(\"- Copiado\")])],1)])]),_c('vs-alert',{staticClass:\"h-full my-4 mb-base\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-info\",\"color\":\"#C2C2C2\"}},[_c('p',{staticClass:\"black\"},[_vm._v(\"Solo podrás abonar desde una cuenta que esté a tu nombre. Si el nombre de la cuenta no coincide, los fondos serán devueltos a la cuenta de origen. \")])])],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"mt-4 black mb-base\"},[_vm._v(\"Registra tu CLABE personalizada en la app de tu banco \"),_c('br'),_vm._v(\"y transfiere cuando lo desees.\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('li',{staticClass:\"mb-base\"},[_c('p',{staticClass:\"mb-2 bold\"},[_vm._v(\"Banco\")]),_c('p',[_vm._v(\"STP (Sistema de Transferencias y Pagos)\")])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentInformation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentInformation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PaymentInformation.vue?vue&type=template&id=1df1dbc9&\"\nimport script from \"./PaymentInformation.vue?vue&type=script&lang=js&\"\nexport * from \"./PaymentInformation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PaymentInformation.vue?vue&type=style&index=0&id=1df1dbc9&prod&lang=css&\"\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","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentInformation.vue?vue&type=style&index=0&id=1df1dbc9&prod&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoanDeliveredDetail.vue?vue&type=style&index=0&id=38a72fc2&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"payments-plan-popup\"}},[(_vm.isMounted)?_c('div',[_c('vs-tabs',{staticClass:\"tabs-shadow-none\",attrs:{\"alignment\":\"fixed\"},model:{value:(_vm.optionActiveTab),callback:function ($$v) {_vm.optionActiveTab=$$v},expression:\"optionActiveTab\"}},[_c('vs-tab',{key:\"payments\",attrs:{\"label\":\"Plan de pagos\"}},[_c('div',{staticClass:\"tab-text\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('vs-table',{ref:\"paymentsPlanTable\",attrs:{\"data\":_vm.payments.monthlyPayments,\"stripe\":\"\",\"noDataText\":\"No hay registros disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return [_vm._l((data),function(payment,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',[_vm._v(_vm._s(indextr + 1))]),_c('vs-td',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm._f(\"human_date\")(payment.payment_date)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.payment)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.initial_debt)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.amortization)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.interest)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.tax)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.final_debt)))]),(payment.paid == 1)?_c('vs-td',{staticClass:\"bold\",staticStyle:{\"text-align\":\"center\",\"color\":\"ForestGreen\"}},[_vm._v(\"Pagado\")]):(payment.with_due)?_c('vs-td',{staticClass:\"bold\",staticStyle:{\"text-align\":\"center\",\"color\":\"red\"}},[_vm._v(\"Retrasado\")]):_c('vs-td',{staticClass:\"bold\",staticStyle:{\"text-align\":\"center\",\"color\":\"DarkOrange\"}},[_vm._v(\"Por pagar\")])],1)}),_c('vs-tr',[_c('vs-td',{staticClass:\"bold\"},[_vm._v(\"Total\")]),_c('vs-td'),_c('vs-td',{staticClass:\"bold\"},[_vm._v(\"$\"+_vm._s(_vm.formatPrice(_vm.payments.totalMonthlyPayments.payment)))]),_c('vs-td'),_c('vs-td',{staticClass:\"bold\"},[_vm._v(\"$\"+_vm._s(_vm.formatPrice(_vm.payments.totalMonthlyPayments.amortization)))]),_c('vs-td',{staticClass:\"bold\"},[_vm._v(\"$\"+_vm._s(_vm.formatPrice(_vm.payments.totalMonthlyPayments.interest)))]),_c('vs-td',{staticClass:\"bold\"},[_vm._v(\"$\"+_vm._s(_vm.formatPrice(_vm.payments.totalMonthlyPayments.tax)))]),_c('vs-td'),_c('vs-td')],1)]}}],null,false,3109340860)},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Mes\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Fecha de pago\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Pago\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Saldo inicial\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Amortización\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Intereses\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"IVA\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Saldo final\")]),_c('vs-th',{staticClass:\"bold\"})],1)],2)],1)])])]),_c('vs-tab',{key:\"advance_payments\",attrs:{\"label\":\"Pagos anticipados parciales\"}},[_c('vs-table',{ref:\"advancePaymentsPlanTable\",attrs:{\"data\":_vm.payments.advanceCapitalPayments,\"stripe\":\"\",\"noDataText\":\"Aquí aparecerán los pagos anticipados parciales que realices.\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(payment,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.humanDateFormat(payment.created_at)))]),(_vm.masterGlobal)?_c('vs-td',{staticClass:\"bold\"},[_vm._v(_vm._s(payment.alias))]):_vm._e(),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.payment)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.amortization)))]),_c('vs-td',[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.old_period_payment)))]),_c('vs-td',{staticClass:\"text-primary bold\"},[_vm._v(\"$\"+_vm._s(_vm.formatPrice(payment.new_period_payment)))])],1)})}}],null,false,2677924819)},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Fecha del pago anticipado\")]),(_vm.masterGlobal)?_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Proyecto\")]):_vm._e(),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Monto del pago total\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Aplicado a amortización\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Monto de pago del periodo anterior\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Monto de pago del periodo nuevo\")])],1)],2)],1)],1)],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicantPaymentsPlan.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicantPaymentsPlan.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ApplicantPaymentsPlan.vue?vue&type=template&id=5feef7da&\"\nimport script from \"./ApplicantPaymentsPlan.vue?vue&type=script&lang=js&\"\nexport * from \"./ApplicantPaymentsPlan.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":""}