{"version":3,"sources":["webpack:///./src/views/share/contracts/DirectBillingContract/LatestDirectBillingAcceptanceContract.vue?024c","webpack:///./src/components/mixins/dateHelper.js","webpack:///./src/views/share/contracts/DirectBillingContract/LatestDirectBillingAcceptanceContract.vue","webpack:///src/views/share/contracts/DirectBillingContract/LatestDirectBillingAcceptanceContract.vue","webpack:///./src/views/share/contracts/DirectBillingContract/LatestDirectBillingAcceptanceContract.vue?80db","webpack:///./src/views/share/contracts/DirectBillingContract/LatestDirectBillingAcceptanceContract.vue?d4d4","webpack:///./src/components/mixins/formatHelper.js"],"names":["methods","constitutionDateFormat","value","moment","String","locale","format","constitutionPaymentDateFormat","explicitDateFormat","sessionFormat","regularDateFormat","yearDateFormat","midDateFormat","humanDateFormat","dateTimeFormat","dateTime12Format","compactDateFormat","logDateFormat","timeAgoFormat","fromNow","calculateAgeFromDate","diff","minDateForValidAge","years","subtract","calculateDaysDiff","m","n","validatedDate","isValid","getDateFromInputs","yy","mm","dd","yint","parseInt","mint","year","month","day","nextAccreditationDate","add","setDateToEndOfDay","d","endOf","end","setDateToStartOfDay","startOf","start","signatureFormatDate","signatureValidityDate","incomeSpecial","toUpperCase","timeStampFormat","formatDatepicker","isAfter","date","maxDate","limit","getPreviousMonth","step","getDay","render","_vm","this","_c","_self","staticClass","staticStyle","_v","_s","todayDate","attrs","_m","loanType","roleId","userRole","user","lower_periodicity","bankAccount","bank_name","clabe","complete_name","staticRenderFns","name","props","mixins","data","computed","component","format_price","decimales","val","toFixed","replace","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","phoneFormat","substr","phoneFormatV2","visibleLastNChars","chars","valueString","length","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","isMoral","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","diccionario","lngSuma","lngDigito","indexOf","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanTypeIcons","id","url","filename","icon","find","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision"],"mappings":"mIAAA,W,kCCAA,yBACe,QACbA,QAAS,CACPC,uBAAuBC,GACrB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,OAGrDC,8BAA8BL,GAC5B,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,iBAGrDE,mBAAmBN,GACjB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQI,OAAO,+BAGxCG,cAAcP,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQI,OAAO,sBAGxCI,kBAAkBR,GAChB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDK,eAAeT,GACb,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDM,cAAcV,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,2BAGrDO,gBAAgBX,GACd,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDQ,eAAeZ,GACb,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,qBAGrDS,iBAAiBb,GACf,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,sBAGrDU,kBAAkBd,GAChB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,sBAGrDW,cAAcf,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,iCAGrDY,cAAchB,GACZ,GA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AO,GAAKA,GAExEiB,EAAY,GAAKD,EAAU,GAC3B,IAAIG,EAA8B,IAAbF,EAAmBA,EAAY,EACpD,OAAOjH,EAAQ,IAAMmH,EAErB,OAAO,GAGXC,qBAAqB/I,GACnB,MAAc,KAAVA,EAAqBA,EAEhBA,EAAM4F,QAAQ,iBAAkB,aAG3CoD,gBAAgBhJ,GACd,OAAgB,GAATA,EAAa,SAAW,SAGjCiJ,gBAAgBzE,GACd,MAAM0E,EAAgB,CACpB,CACEC,GAAI,EACJC,IAAK,mEACLC,SAAU,iBAEZ,CACEF,GAAI,EACJC,IAAK,kEACLC,SAAU,gBAEZ,CACEF,GAAI,EACJC,IAAK,kEACLC,SAAU,oBAEZ,CACEF,GAAI,EACJC,IAAK,kEACLC,SAAU,uBAId,GAAgB,OAAZ7E,EACF,OAAO0E,EACF,CACL,IAAII,EAAOJ,EAAcK,KAAKC,GAAMA,EAAGL,KAAO3E,GAC1C4E,EAAM,mEAIV,OAHIE,IACFF,EAAME,EAAKF,KAENA,IAGXK,6BAA6BC,GAC3B,GAAIA,GAAU,EACZ,OAAO,EAET,MAAMC,EAAqC,IACrCC,EAAe,IACrB,IAAIC,EAA8BF,EAAmCC,EACjEE,EAAc,EAAEH,EAAmCE,EACnDE,EAAoBL,EAAOI,EAC/B,OAAOC","file":"js/chunk-77af7f27.833c5664.js","sourcesContent":["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!./LatestDirectBillingAcceptanceContract.vue?vue&type=style&index=0&id=eb4814a6&prod&scoped=true&lang=css&\"","import moment from 'moment'\nexport default {\n methods: {\n constitutionDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('LL');\n }\n },\n constitutionPaymentDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM');\n }\n },\n explicitDateFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY [a las] hh:mm a')\n }\n },\n sessionFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY h:mm a')\n }\n },\n regularDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY')\n }\n },\n yearDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY/MM/DD')\n }\n },\n midDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY')\n }\n },\n humanDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('D MMM YYYY')\n }\n },\n dateTimeFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY HH:mm')\n }\n },\n dateTime12Format(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY h:mm a')\n }\n },\n compactDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMM [´]YY')\n }\n },\n logDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY HH:mm')\n }\n },\n timeAgoFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").fromNow();\n }\n },\n calculateAgeFromDate(value){\n if(value){\n return moment().diff(value, 'years');\n }\n },\n minDateForValidAge(years){\n return moment().subtract(years, 'years').format();\n },\n calculateDaysDiff(value){\n if(value){\n let m = moment(String(value));\n let n = moment();\n return n.diff(m, 'days');\n }\n },\n validatedDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\";\n }\n }\n },\n getDateFromInputs(yy,mm,dd){\n let yint = parseInt(yy);\n let mint = parseInt(mm);\n mint -= 1;\n if(yint <= 20){\n // suponer que el año es entre 2000 y 2010\n yint += 2000;\n }\n else {\n // suponer que el año es menor a 2000\n yint += 1900;\n }\n\n let m = moment({ year: yint, month: mint, day: dd});\n if(m.isValid()){\n return m.format('YYYY-MM-DD');\n }\n else {\n return false;\n }\n },\n nextAccreditationDate(value){\n if(value){\n let m = moment(String(value)).add(180, 'days');\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\"\n }\n },\n setDateToEndOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.endOf('day')\n let end = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return end;\n },\n setDateToStartOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.startOf('day');\n let start = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return start;\n },\n signatureFormatDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY HH:mm:ss');\n }\n }\n return \"No establecido\";\n },\n signatureValidityDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n }\n return \"No establecido\";\n },\n incomeSpecial(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('MMMM - YYYY').toUpperCase();\n }\n }\n return \"No establecido\";\n },\n timeStampFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD-MM-YYYY-HH_mm_ss')\n }\n },\n formatDatepicker(value)\n {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY-MM-DD')\n }\n },\n isAfter(date, maxDate, limit = 'year')\n {\n return moment(date).isAfter(maxDate, limit); \n },\n getPreviousMonth(date, format = \"MMMM\", step = 1)\n {\n return moment(date).locale(\"es\").subtract(step, 'months').format(format);\n },\n getDay(date)\n {\n return moment(date).locale(\"es\").format('DD');\n }\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('section',[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"alt-2\"}),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h1',{staticStyle:{\"padding-top\":\"4pt\",\"text-align\":\"center\"}},[_vm._v(\"FORMATO DE AUTORIZACIÓN DE CARGO A CUENTA\")]),_c('br'),_c('h2',{staticStyle:{\"text-align\":\"right\"}},[_vm._v(\"Monterrey, Nuevo León, a \"+_vm._s(_vm.midDateFormat(_vm.todayDate))+\" \")]),_c('br'),_c('p',{staticStyle:{\"padding-left\":\"9pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"Instruyó y autorizo que, con base en la información que se indica en esta comunicación, se realicen cargos periódicos en mi cuenta conforme a lo siguiente:\")]),_c('ol',{attrs:{\"id\":\"l1\"}},[_vm._m(0),_c('li',{attrs:{\"data-list-text\":\"2.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"justify\"}},[_vm._v(\"Bien, servicio o crédito o préstamo, a pagar: \"),_c('b',[_vm._v(_vm._s(_vm.loanType))]),_vm._v(\". En su caso, el número de identificación generado por el proveedor (dato no obligatorio): \"),_c('b',[_vm._v(_vm._s(_vm.roleId))]),_vm._v(\".\")]),_c('br')]),_vm._m(1),_c('li',{attrs:{\"data-list-text\":\"4.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-18pt\",\"text-align\":\"left\"}},[_vm._v(\"Periodicidad del pago (Facturación) (Ejemplo: semanal, quincenal, mensual, bimestral, semestral, anual, etc.): \")]),(_vm.userRole == 'investor')?_c('h2',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\" Mensual \")]):_c('h2',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(_vm._s(_vm.user.lower_periodicity))]),_c('br')]),_c('li',{attrs:{\"data-list-text\":\"5.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"left\"}},[_vm._v(\"Nombre del banco que lleva la cuenta de depósito a la vista o de ahorro en la que se realizará el cargo:\")]),_c('h2',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(_vm._s(_vm.bankAccount.bank_name))]),_c('br')]),_c('li',{attrs:{\"data-list-text\":\"6.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"left\"}},[_vm._v(\"Cualquiera de los datos de identificación de la cuenta, siguientes:.\")]),_vm._m(2),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"Clave Bancaria Estandarizada (“CLABE”) de la Cuenta (18 dígitos): \"),_c('b',[_vm._v(_vm._s(_vm.bankAccount.clabe))]),_vm._v(\", o \"),_c('br'),_vm._v(\" Número de teléfono móvil asociado a la Cuenta: \"),_c('span',{staticClass:\"s1\"},[_vm._v(\" \")]),_c('b',[_vm._v(\"N/A\")]),_c('span',{staticClass:\"s1\"},[_vm._v(\"         \")]),_vm._v(\".\")]),_c('br')]),_vm._m(3),_vm._m(4),_vm._m(5)]),_c('br'),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"En lugar de lo anterior, esta instrucción y autorización de cargo a mi cuenta vence en la siguiente fecha:\")]),_vm._m(6),_c('p',{staticStyle:{\"padding-top\":\"12pt\",\"padding-left\":\"9pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"Estoy enterado de que en cualquier momento podré solicitar la cancelación de la presente domiciliación sin costo a mi cargo.\")]),_c('br'),_c('p',{staticStyle:{\"padding-left\":\"9pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"Asimismo, estoy enterado que, en caso de que esta Domiciliación sea para el pago de un Crédito Asociado a la Nómina, la institución que lleva mi cuenta de depósito inmovilizará los recursos provenientes de prestaciones laborales que se abonen a ella, en la fecha de abono previa más próxima a aquella en que deba realizarse el pago de dicho Crédito Asociado a la Nómina, por el monto correspondiente al pago respectivo. Por lo anterior, reconozco que no podré hacer uso de los recursos abonados a mi cuenta por el monto correspondiente desde la fecha mencionada.*\")]),_c('br'),_c('p',{staticClass:\"s6\",staticStyle:{\"padding-left\":\"9pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"*La Institución no estará obligada a incluir en el presente Anexo este párrafo, en aquellos casos en que la fecha de abono de los recursos provenientes de prestaciones laborales sea la misma fecha en la que se deba realizar el pago correspondiente.\")]),_c('br'),_c('br'),_c('p',{staticClass:\"s1\",staticStyle:{\"text-align\":\"center\"}},[_c('span',{staticClass:\"h2\"},[_vm._v(_vm._s(_vm.user.complete_name))]),_c('br'),_c('span',{staticClass:\"s7\"}),_c('span',{staticClass:\"h2\"},[_vm._v(\"(NOMBRE O RAZÓN SOCIAL DEL TITULAR DE LA CUENTA)\")])])])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('li',{attrs:{\"data-list-text\":\"1.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"justify\"}},[_vm._v(\"Nombre del proveedor del bien, servicio o crédito o préstamo, según corresponda, que pretende pagarse por medio de la presente domiciliación: \"),_c('b',[_vm._v(\"RED GIRASOL S.A.P.I. de C.V., INSTITUCIÓN DE FINANCIAMIENTO COLECTIVO\")]),_vm._v(\".\")]),_c('br')])\n},function (){var _vm=this,_c=_vm._self._c;return _c('li',{attrs:{\"data-list-text\":\"3.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"justify\"}},[_vm._v(\"Tratándose de los pagos del crédito o préstamo objeto de esta Domiciliación, indicar a continuación si este es designado como un Crédito Asociado a la Nómina respecto del cual, de conformidad con las disposiciones emitidas por el Banco de México en la Circular 3/2012 o aquellas otras emitidas posteriormente, el banco que lleva la cuenta aquí referida deba realizar los cargos respectivos en el lugar del orden de prelación que deba seguirse con respecto a los demás cargos solicitados a esa misma cuenta:\")]),_c('br'),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"SÍ ____ NO __\"),_c('b',[_vm._v(\"X\")]),_vm._v(\"__\")]),_c('br')])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"s1\",staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_c('span',{staticClass:\"p\"},[_vm._v(\"Número de tarjeta de débito (16 dígitos): N/A;\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('li',{attrs:{\"data-list-text\":\"7.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"left\"}},[_vm._v(\"Monto máximo fijo del cargo autorizado por el periodo de facturación: \"),_c('b',[_vm._v(\"$50,000 MXN\")]),_c('span',{staticClass:\"s1\"}),_vm._v(\".\")]),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"En lugar del monto máximo fijo, si el crédito indicado en esta comunicación es de un crédito revolvente asociado a una tarjeta de crédito que no sea designado en esta misma solicitud como un Crédito Asociado a la Nómina, el titular de la cuenta podrá optar por autorizar alguna de las opciones de cargo siguientes (marcar con una X la opción que, en su caso, corresponda):\")]),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"line-height\":\"21pt\",\"text-align\":\"justify\"}},[_vm._v(\"El importe del pago mínimo del periodo: \"),_c('span',{staticClass:\"s2\"},[_vm._v(\"□\")])]),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"justify\"}},[_vm._v(\"El saldo total para no generar intereses en el periodo: \"),_c('span',{staticClass:\"s2\"},[_vm._v(\"□\")]),_vm._v(\", o\")]),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"Un monto fijo: (en este último caso, especificar el monto: $\"),_c('span',{staticClass:\"s1\"},[_vm._v(\"      \")]),_vm._v(\"). \")]),_c('br')])\n},function (){var _vm=this,_c=_vm._self._c;return _c('li',{attrs:{\"data-list-text\":\"8.\"}},[_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"justify\"}},[_vm._v(\"Como excepción a lo anterior, si el crédito indicado en esta comunicación es un crédito revolvente designado como Crédito Asociado a la Nómina, indicar a continuación si el cargo mensual deberá hacerse por el límite máximo del 10% del promedio de los abonos en la cuenta indicada en esta solicitud por las cantidades correspondientes a las prestaciones laborales del cuentahabiente, calculado conforme a las disposiciones emitidas por el Banco de México o, en lugar de dicho límite, un porcentaje inferior (marcar con una X la opción que, en su caso, corresponda):\")]),_c('p',{staticStyle:{\"padding-top\":\"3pt\",\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"Límite máximo del 10%\"),_c('span',{staticClass:\"s2\"},[_vm._v(\"□\")])]),_c('p',{staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"Límite menor del 10% \"),_c('span',{staticClass:\"s2\"},[_vm._v(\"□ \")]),_vm._v(\"El cual será del \"),_c('span',{staticClass:\"s1\"},[_vm._v(\"        \")]),_vm._v(\"(indicar porcentaje) \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('li',{attrs:{\"data-list-text\":\"9.\"}},[_c('p',{staticClass:\"s3\",staticStyle:{\"padding-top\":\"12pt\",\"padding-left\":\"23pt\",\"text-indent\":\"-14pt\",\"text-align\":\"left\"}},[_vm._v(\"Esta instrucción y autorización de cargo a mi cuenta se mantendrá vigente por plazo indeterminado \"),_c('b',[_vm._v(\"X\")]),_vm._v(\".\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"s5\",staticStyle:{\"padding-left\":\"23pt\",\"text-indent\":\"0pt\",\"text-align\":\"left\"}},[_vm._v(\"       \"),_c('span',{staticClass:\"s2\"},[_vm._v(\"□\")]),_c('span',{staticClass:\"p\"},[_vm._v(\".\")])])\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!./LatestDirectBillingAcceptanceContract.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!./LatestDirectBillingAcceptanceContract.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LatestDirectBillingAcceptanceContract.vue?vue&type=template&id=eb4814a6&scoped=true&\"\nimport script from \"./LatestDirectBillingAcceptanceContract.vue?vue&type=script&lang=js&\"\nexport * from \"./LatestDirectBillingAcceptanceContract.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LatestDirectBillingAcceptanceContract.vue?vue&type=style&index=0&id=eb4814a6&prod&scoped=true&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 \"eb4814a6\",\n null\n \n)\n\nexport default component.exports","export default {\n methods: {\n format_price(value, decimales = 0) {\n let val = (value / 1).toFixed(decimales).replace(\",\", \".\");\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n },\n costFormat(value) {\n if (!value) { return \"$0\"; }\n if (value == \"Pendiente\") { return value; }\n else {\n return \"$\" + this.format_price(value, 2);\n }\n },\n costFormatNoCents(value) {\n if (!value) { return \"$0\"; }\n if (value === \"Pendiente\") { return value; }\n else return \"$\" + this.format_price(value);\n },\n prcgFormat(value, decimales = 0) {\n if (!value) { return \"0%\"; }\n if (value == \"Pendiente\") { return value; }\n else { return value.toFixed(decimales) + \"%\"; }\n },\n decimalsFormat(value, decimales = 0) {\n if (!value) { return 0; }\n if (value == \"Pendiente\") { return 0; }\n else { return value.toFixed(decimales); }\n },\n explicitMoneyFormat(value, decimales = 2) {\n if (value == null) return \"\";\n else {\n return \"$\" + this.format_price(value, decimales);\n }\n },\n mxnFormat(value, decimales = 0) {\n if (!value) { return \"$0MXN\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), decimales) + \" MXN\";\n }\n },\n moneyFormat(value) {\n if (!value) { return \"$0\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), 0);\n }\n },\n decimalPercentFormat(value, decimales = 2) {\n if (!value) return \"0%\";\n else {\n return (value * 100).toFixed(decimales) + \"%\";\n }\n },\n roundedFormat(value, decimales = 2) {\n if (!value) { return 0; }\n else {\n let c = value.toFixed(decimales);\n let cd = Math.round(c);\n return cd.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n },\n phoneFormat(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 2) + ') ' + value.substr(2, 4) + '-' + value.substr(6, 4)\n }\n },\n phoneFormatV2(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 3) + ') ' + value.substr(2, 3) + ' ' + value.substr(6, 4)\n }\n },\n visibleLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n let phoneLength = valueString.length;\n const firstChars = \"*\".repeat(phoneLength - chars);\n const last4Digits = valueString.slice(firstChars.length);\n return firstChars + last4Digits;\n }\n }\n },\n visibleOnlyLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n return valueString.slice(-4);\n }\n }\n },\n capitalizeFirstLetter(value) {\n if (!value) return value\n else {\n const arr = value.split(\" \");\n for (let i = 0; i < arr.length; i++) {\n arr[i] = arr[i].charAt(0).toUpperCase() + arr[i].slice(1);\n\n }\n\n return arr.join(\" \");\n }\n },\n //Función para validar un RFC\n isValidRfcFormat(rfc) {\n if(rfc) {\n const patternPM = \"^(([A-ZÑ&]{3})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n const patternPF = \"^(([A-ZÑ&]{4})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n return rfc.match(patternPM) || rfc.match(patternPF);\n } else {\n return false;\n }\n },\n //Función para validar un RFC por tipo de persona\n isValidRfcFormatByPersonType(rfc, isMoral) {\n if(rfc) {\n // Formato para PF\n let pattern = /^[A-Z]{4}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n let genericRFC1 = \"XAXX010101000\";\n let genericRFC2 = \"XEXX010101000\";\n if(isMoral) {\n // Formato para PM\n pattern = /^[A-Z]{3}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n }\n\n return rfc.match(pattern) && rfc != genericRFC1 && rfc != genericRFC2;\n } else {\n return false;\n }\n },\n //Función para validar una CURP\n isValidCurpFormat(curp) {\n if(curp) {\n const pattern = /^([A-Z][AEIOUX][A-Z]{2}\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\\d])(\\d)$/;\n let isValid = curp.match(pattern);\n if (!isValid) //Coincide con el formato general?\n return false;\n //Fuente https://consultas.curp.gob.mx/CurpSP/\n let diccionario = \"0123456789ABCDEFGHIJKLMNÑOPQRSTUVWXYZ\";\n let lngSuma = 0.0;\n let lngDigito = 0.0;\n for (let i = 0; i < 17; i++) {\n lngSuma = lngSuma + diccionario.indexOf(isValid[1].charAt(i)) * (18 - i);\n }\n lngDigito = 10 - lngSuma % 10;\n let verifierDigit = (lngDigito != 10) ? lngDigito : 0;\n return isValid[2] == verifierDigit;\n } else {\n return false;\n }\n },\n anonymousFormatPhone(value){\n if (value === \"\") return value\n else {\n return value.replace(/^(?:\\D*\\d){8}/g, \"********\");\n }\n },\n genderTranslate(value) {\n return value == 1 ? \"Hombre\" : \"Mujer\";\n },\n //Función para obtener el icono del tipo de proyecto o todos con el param 'all'\n getLoanTypeIcon(loanType) {\n const loanTypeIcons = [\n {\n id: 1,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\",\n filename: \"Crédito Solar\"\n },\n {\n id: 4,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pyme.png\",\n filename: \"Crédito PyME\"\n },\n {\n id: 5,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pers.png\",\n filename: \"Crédito Personal\"\n },\n {\n id: 6,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-auto.png\",\n filename: \"Crédito Automotriz\"\n }\n ];\n\n if (loanType == \"all\") {\n return loanTypeIcons;\n } else {\n let icon = loanTypeIcons.find(lt => lt.id === loanType);\n let url = \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\";\n if (icon) {\n url = icon.url;\n }\n return url;\n }\n },\n getAmountWithNoCommissionTax(amount){\n if (amount <= 0) {\n return 0;\n }\n const processingAdministrationCommission = .02;\n const mexicoTaxIva = .16;\n let commissionWithTaxPercentage = processingAdministrationCommission*mexicoTaxIva;\n let percentage = (1+processingAdministrationCommission+commissionWithTaxPercentage);\n let amountNoCommision = amount/percentage;\n return amountNoCommision;\n }\n }\n}"],"sourceRoot":""}