PageSourceSearch

https://monteactivoclientes.fundacionunicaja.com/chunk-JAHYVIFE.js

js fundacionunicaja.com collected 2026-10-02 03:03:51 UTC 5,187 bytes, 1 lines download raw bytes

1import{a as W,b as X}from"./chunk-3B5MK4G6.js";import{b as Z,c as ee}from"./chunk-4U3HVIG2.js";import{a as te}from"./chunk-4I46ZOYL.js";import"./chunk-D3DAZ3GL.js";import{c as K}from"./chunk-4SVSF4AO.js";import"./chunk-63AC46V7.js";import"./chunk-OIANWAJJ.js";import{a as Q}from"./chunk-S6RHC4OQ.js";import{a as J}from"./chunk-WCQ5MRGP.js";import{d as P,f as R,g as $,h as G,i as j,k as L,l as V,m as U,q}from"./chunk-FYPEPGSC.js";import{a as B,b as F}from"./chunk-NSR42SGR.js";import{b as H,c as Y,d as z}from"./chunk-RHTNV24R.js";import{a as k}from"./chunk-IVKBMZBT.js";import"./chunk-NY7GZANU.js";import"./chunk-4YRY4IP2.js";import{h as M}from"./chunk-ZT4Y4NFU.js";import{h as O,m as w,y as A,z as E}from"./chunk-YX6KSJVM.js";import{u as N}from"./chunk-AV36S2ZU.js";import{Ab as h,Bb as d,Ea as i,Fa as c,Kb as T,Ta as D,Tb as a,U as v,Ub as l,Xa as f,Y as C,db as o,eb as n,fb as g,na as x,nb as S,rb as b,sb as I,zb as p}from"./chunk-LMB57KD4.js";import"./chunk-4CLCTAJ7.js";function oe(m,e){m&1&&(o(0,"h1",17),p(1),a(2,"translate"),n()),m&2&&(i(),d(" ",l(2,1,"delivery_on_account.title")," "))}var _=class m{constructor(e,t,r,s){this.dataService=e;this.reportesService=t;this.message=r;this.translateService=s}destroy=v(x);userService=v(Q);route=v(M);loanNumber;idOper=null;capitalPendiente=0;capitalTotal=0;deliveryForm=new G({ammount:new j("",[P.required])});ngOnInit(){this.loanNumber=this.route.snapshot.paramMap.get("loanId"),this.idOper=this.route.snapshot.paramMap.get("id"),this.getLoanDetail()}getLoanDetail(){this.userService.getDetallePrestamo(this.loanNumber).subscribe({next:e=>{this.capitalPendiente=e.capitalPendiente,this.capitalTotal=e.capitalConcedido},error:e=>{}})}register(){if(this.deliveryForm.valid&&this.capitalPendiente!=0){debugger;let e=this.capitalTotal*.7,{ammount:t}=this.deliveryForm.value,r=this.capitalTotal-(this.capitalPendiente-Number(t));if(Number(t)<this.capitalPendiente&&e>r){this.dataService.setImporte(Number(t));let s={idOperacion:Number(this.idOper),fecha:this.formatDateToCustomString(new Date),importe:+t};this.reportesService.generarReportesAC(s).subscribe({next:u=>{this.userService.updateToken().pipe(J(this.destroy)).subscribe({next:y=>{this.dataService.setToken(y.token),window.location.href=u.url}})},error:u=>{}})}else this.message.add({severity:"error",summary:"Error",detail:this.translateService.instant("delivery_on_account.validation_messages.error")})}}goBack(){window.history.back()}formatDateToCustomString(e){let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0"),u=String(e.getHours()).padStart(2,"0"),y=String(e.getMinutes()).padStart(2,"0"),ie=String(e.getSeconds()).padStart(2,"0"),re=String(e.getMilliseconds()).padStart(3,"0");return`${t}-${r}-${s} ${u}:${y}:${ie}.${re}`}static \u0275fac=function(t){return new(t||m)(c(k),c(te),c(O),c(H))};static \u0275cmp=C({type:m,selectors:[["app-delivery-on-account"]],standalone:!0,features:[T],decls:29,vars:24,consts:[[1,"lower-container-trim"],[3,"title"],[1,"container","container--sm","md:py-8","lg:py-10"],[1,"flex","flex-col","gap-y-4","lg:gap-y-[0.625rem]"],[1,"hidden","lg:flex","items-center","gap-x-3","py-3","pr-4"],["styleClass","w-9 h-9","icon","pi pi-arrow-left",3,"onClick","text"],[1,"sr-only"],[1,"text-l","font-light","text-[#333543]","max-w-[17.375rem]"],[1,"font-bold"],["pTemplate","header"],["aria-labelledby","form-title",1,"flex","flex-col","gap-y-3","pt-3","lg:pt-0","border-t","lg:border-0","border-t-solid","border-neutral-300",3,"formGroup"],[1,"hidden","lg:block","text-l","font-light"],[1,"form-group","form-group--amount"],["for","integeronly"],["styleClass","w-full text-right","inputId","integeronly","formControlName","ammount","locale","es-ES","suffix","\u20AC"],["type","submit","styleClass","w-full",1,"lg:pb-[0.625rem]",3,"onClick","label","disabled"],["severity","info",1,"xs:px-5","md:px-0",3,"detail"],["id","form-title",1,"text-lg","text-neutral-800","pb-3","lg:hidden"]],template:function(t,r){t&1&&(o(0,"div",0),g(1,"app-bar-go-back",1),o(2,"section",2)(3,"div",3)(4,"div",4)(5,"p-button",5),S("onClick",function(){return r.goBack()}),o(6,"span",6),p(7),a(8,"translate"),n()(),o(9,"p",7),p(10),a(11,"translate"),o(12,"span",8),p(13),n()()(),o(14,"p-card"),D(15,oe,3,3,"ng-template",9),o(16,"form",10)(17,"p",11),p(18),a(19,"translate"),n(),o(20,"div",12)(21,"label",13),p(22),a(23,"translate"),n(),g(24,"p-inputNumber",14),n(),o(25,"p-button",15),a(26,"translate"),S("onClick",function(){return r.register()}),n()()(),g(27,"app-message",16),a(28,"translate"),n()()()),t&2&&(i(),I("title","Tu pr\xE9stamo ",r.loanNumber,""),i(4),f("text",!0),i(2),d(" ",l(8,12,"delivery_on_account.previous_page")," "),i(3),d(" ",l(11,14,"delivery_on_account.of_your_loan")," "),i(3),h(r.loanNumber),i(3),f("formGroup",r.deliveryForm),i(2),d(" ",l(19,16,"delivery_on_account.enter_amount")," "),i(4),h(l(23,18,"delivery_on_account.amount")),i(3),b("label",l(26,20,"delivery_on_account.button.label.submit")),f("disabled",r.deliveryForm.invali
1d),i(2),b("detail",l(28,22,"delivery_on_account.validation_messages.info")))},dependencies:[q,L,R,$,V,U,F,B,w,Z,X,W,E,A,K,ee,z,Y,N]})};export{_ as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.