PageSourceSearch

https://sudseguros.com/_next/static/chunks/pages/reports/optativo/tj/emision_cobro-2a763cb0eaeba76a.js

js sudseguros.com collected 2026-10-02 00:58:46 UTC 12,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4104],{75985:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>g});var i=r(37876),l=r(14232),n=r(56222),x=r(55751),t=r(58582),c=r(35003),d=r(41316),A=r(28902),a=r(72147),j=r(88992),E=r(85812),o=r(78522),h=r(4055),u=r(32061),I=r(47696),D=r(30813),N=r(86368),C=r(84266),O=r(40421),v=r(17310),R=r(81026),F=r(40532),f=r(8085),m=r(58836),_=r(75774),p=r(56952),S=r(37161);let b=e=>{let{insurances:s}=e,[r,n]=(0,l.useState)(new Set),[d,A]=(0,l.useState)("oldest");return(0,l.useEffect)(()=>{},[s]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.A,{sx:{mt:2},children:(0,i.jsx)(x.A,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:(0,i.jsx)(c.A,{variant:"h6",fontWeight:"bold",children:"Resultados de la b\xfasqueda"})})}),(0,i.jsx)(x.A,{sx:{mt:3},children:(0,i.jsx)(m.A,{component:t.A,sx:{...N.kz,overflowX:"auto"},children:(0,i.jsxs)(_.A,{size:"small",sx:{width:"400%"},children:[(0,i.jsx)(p.A,{children:(0,i.jsxs)(F.A,{sx:N.J5,children:[(0,i.jsx)(f.A,{sx:N.jv,children:"SUCURSAL"}),(0,i.jsx)(f.A,{sx:N.jv,children:"AGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CEDULA DEL ASEGURADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"EXTENSION DEL ASEGURADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NOMBRE DEL ASEGURADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NIT ASEGURADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CODIGO DE CLIENTE"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FECHA DE NACIMIENTO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"EDAD"}),(0,i.jsx)(f.A,{sx:N.jv,children:"GENERO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NUMERO DE POLIZA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NUMERO DE CERTIFICADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"TIPO DE SEGURO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"TARJETA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"PLAN"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CAPITAL ASEGURADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"SERIAL DE D\xc9BITO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NRO LIQUIDACI\xd3N"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FECHA EMISION"}),(0,i.jsx)(f.A,{sx:N.jv,children:"INICIO DE VIGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FIN DE VIGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"TIPO DE COBRO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FECHA DE REVERSI\xd3N"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NRO FACTURA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FECHA COBRO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FECHA FACTURACI\xd3N"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NRO DE CUOTA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"TIPO DE POLIZA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"ESTADO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"FRECUENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CEDULA DEL VENDEDOR"}),(0,i.jsx)(f.A,{sx:N.jv,children:"EXTENSI\xd3N DEL VENDEDOR"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NOMBRE DEL VENDEDOR"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CARGO"}),(0,i.jsx)(f.A,{sx:N.jv,children:"NOMBRE DEL JEFE DE AGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CEDULA DEL JEFE DE AGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"EXTENSI\xd3N DEL JEFE DE AGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"CARGO DEL JEFE DE AGENCIA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"PRIMA COMERCIAL"}),(0,i.jsx)(f.A,{sx:N.jv,children:"PRIMA NETA"}),(0,i.jsx)(f.A,{sx:N.jv,children:"INCENTIVO VENDEDOR"}),(0,i.jsx)(f.A,{sx:N.jv,children:"INCENTIVO JEFE"}),(0,i.jsx)(f.A,{sx:N.jv,children:"COMISION COBRANZ"})]})}),(0,i.jsx)(S.A,{children:s.map((e,s)=>("".concat(e.prefix,"-").concat(e.id),(0,i.jsxs)(F.A,{sx:{"&:hover":{backgroundColor:"#fafafa"},borderBottom:"1px solid #f0f0f0"},children:[(0,i.jsx)(f.A,{sx:N.FW,children:e.SUCURSAL}),(0,i.jsx)(f.A,{sx:N.FW,children:e.AGENCIA}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CEDULA DEL ASEGURADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["EXTENSION DEL ASEGURADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NOMBRE DEL ASEGURADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NIT ASEGURADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CODIGO DE CLIENTE"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FECHA DE NACIMIENTO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e.EDAD}),(0,i.jsx)(f.A,{sx:N.FW,children:e.GENERO}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NUMERO DE POLIZA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NUMERO DE CERTIFICADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["TIPO DE SEGURO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e.TARJETA}),(0,i.jsx)(f.A,{sx:N.FW,children:e.PLAN}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CAPITAL ASEGURADO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["SERIAL DE D\xc9BITO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NRO LIQUIDACI\xd3N"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FECHA EMISION"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["INICIO DE VIGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FIN DE VIGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["TIPO DE COBRO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FECHA DE REVERSI\xd3N"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NRO FACTURA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FECHA COBRO"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["FECHA FACTURACION"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NRO DE CUOTA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["TIPO DE POLIZA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e.ESTADO}),(0,i.jsx)(f.A,{sx:N.FW,children:e.FRECUENCIA}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CEDULA DEL VENDEDOR"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["EXTENSI\xd3N DEL VENDEDOR"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NOMBRE DEL VENDEDOR"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e.CARGO}),(0,i.jsx)(f.A,{sx:N.FW,children:e["NOMBRE DEL JEFE DE AGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CEDULA DEL JEFE DE AGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["EXTENSI\xd3N DEL JEFE DE AGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["CARGO DEL JEFE DE AGENCIA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["PRIMA COMERCIAL"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["PRIMA NETA"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["INCENTIVO VENDEDOR"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["INCENTIVO JEFE"]}),(0,i.jsx)(f.A,{sx:N.FW,children:e["COMISION COBRANZA"]})]},e["SERIAL DE DEBITO"])))})]})})})]})};var y=r(36857);let T=()=>{var e,s;let{themeStretch:r}=(0,E.Mp)(),[F,f]=(0,l.useState)([]),[m,_]=(0,l.useState)(null),[p,S]=(0,l.useState)(1),[T,L]=(0,l.useState)(!1),[W,g]=(0,l.useState)(!0),[U,G]=(0,l.useState)(!1),[P,M]=(0,l.useState)(null),V=(0,l.useRef)({}),B=(0,l.useRef)(null),w=(0,l.useRef)(0),k=(0,j.mN)(D.or);(0,l.useEffect)(()=>{(0,I.bQ)().then(_)},[]);let J=k.watch("branch_office_id"),H=(0,l.useMemo)(()=>
1{if(!(null==m?void 0:m.retailer_state_branch_offices)||!(null==m?void 0:m.agencies)||!(null==J?void 0:J.id))return null==m?void 0:m.agencies;let e=m.retailer_state_branch_offices.filter(e=>e.branch_office_id===J.id).map(e=>e.id);return m.agencies.filter(s=>e.includes(s.retailer_state_branch_office_id))},[J,m]),z=(0,l.useCallback)(async e=>{let s=++w.current;if(V.current[e]){M(V.current[e]),S(e);return}let r=k.getValues();B.current=r,L(!0),await (0,I.N5)("emision_cobros_tj",r,e=>L(e),f,r=>{s===w.current&&(r&&(V.current[e]=r),M(r))},e),L(!1)},[k]);(0,l.useEffect)(()=>{let e=++w.current,s=k.getValues();B.current=s,(0,I.N5)("emision_cobros_tj",s,()=>{},()=>{},s=>{e===w.current&&(s&&(V.current[1]=s),M(s),L(!1))},1).finally(()=>{g(!1)})},[k]);let X=(0,l.useCallback)(async e=>{if(V.current[e]||e<1)return;let s=k.getValues();await (0,I.N5)("emision_cobros_tj",s,()=>{},()=>{},s=>{s&&(V.current[e]=s)},e)},[k]),q=(0,l.useCallback)(async e=>{let s=++w.current;V.current={},B.current=e,S(1),L(!0),await (0,I.N5)("emision_cobros_tj",e,L,f,e=>{s===w.current&&(e&&(V.current[1]=e),M(e))},1),L(!1)},[]),Z=(0,l.useCallback)(async e=>{await z(e),X(e+1)},[z,X]),Q=(0,l.useCallback)(()=>{k.reset(),M(null),V.current={},B.current=null,S(1),f([])},[k]),Y=(0,l.useCallback)(async()=>{await (0,I.nc)("emision_cobros_tj",k.getValues(),G,f)},[k]);return(0,i.jsxs)(n.A,{maxWidth:!r&&"xl",children:[(0,i.jsx)(R.A,{message:F,breadcrumbKey:"breadcrumbs_collection_report_vi",title:"REPORTE DE EMISIONES Y COBROS TARJETA"}),(0,i.jsx)(x.A,{children:(0,i.jsxs)(t.A,{variant:"outlined",elevation:0,sx:N.PS,children:[(0,i.jsx)(x.A,{sx:N.oV,children:(0,i.jsx)(c.A,{variant:"h6",sx:N.oS,children:"Filtros de B\xfasqueda"})}),(0,i.jsx)(x.A,{sx:{p:3},children:(0,i.jsx)(j.Op,{...k,children:(0,i.jsx)("form",{onSubmit:k.handleSubmit(q),children:(0,i.jsxs)(d.Ay,{container:!0,spacing:3,children:[(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"combo_check_all_round",label:"Productos",id:"modules",required:!1,array:[{id:"tj",name:"Tarjeta"}]}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"text_round",label:"Nro de Certificado",id:"policy_number"}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"combo_round",label:"Sucursal",id:"branch_office_id",required:!1,array:null==m?void 0:m.branch_offices}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"combo_round",label:"Agencia",id:"agency_id",required:!1,array:H||(null==m?void 0:m.agencies)}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"combo_round",label:"Usuario",id:"user_id",required:!1,array:null==m?void 0:m.users_option}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"text_round",label:"Cliente",id:"client"}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:2,children:(0,i.jsx)(o.default,{field:{type:"text_round",label:"C.I.",id:"dni"}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:2,children:(0,i.jsx)(o.default,{field:{type:"combo_round",label:"Extensi\xf3n",id:"extension",required:!1,array:null==m?void 0:m.extensions}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"date_round",label:"Fecha Cobro Inicio",id:"transaction_start_date"}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:4,children:(0,i.jsx)(o.default,{field:{type:"date_round",label:"Fecha Cobro Fin",id:"transaction_end_date"}})}),(0,i.jsx)(d.Ay,{item:!0,xs:12,md:12,children:(0,i.jsxs)(x.A,{sx:N.MW,children:[(0,i.jsx)(A.A,{variant:"outlined",startIcon:(0,i.jsx)(C.A,{}),sx:N.k$,onClick:Q,children:"Limpiar"}),(0,i.jsx)(A.A,{type:"submit",variant:"contained",startIcon:(0,i.jsx)(h.A,{}),sx:N.d3,children:"Buscar"}),(0,i.jsx)(A.A,{variant:"outlined",startIcon:U?(0,i.jsx)(a.A,{size:20,color:"inherit"}):(0,i.jsx)(O.A,{}),sx:N.DP,onClick:Y,disabled:U,children:U?"Exportando...":"Exportar"})]})})]})})})})]})}),(0,i.jsx)(x.A,{sx:{mt:3},children:T||W?(0,i.jsx)(y.A,{rows:50}):(null==P||null==(e=P.data)?void 0:e.length)>0?(0,i.jsx)(b,{insurances:P.data}):P?(0,i.jsx)(v.A,{message:"No se encontraron resultados",severity:"info"}):null}),P&&(null==P||null==(s=P.data)?void 0:s.length)>0&&(0,i.jsx)(u.A,{currentPage:null==P?void 0:P.page,totalPages:(null==P?void 0:P.total_pages)||1,totalItems:null==P?void 0:P.total,itemsPerPage:null==P?void 0:P.per_page,onPageChange:Z})]})};var L=r(64647),W=r(81561);function g(){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(W.P,{children:(0,i.jsx)(T,{})})})}g.getLayout=e=>(0,i.jsx)(L.A,{children:e})},81026:(e,s,r)=>{"use strict";r.d(s,{A:()=>o});var i=r(37876);r(14232);var l=r(35003),n=r(55751),x=r(7579),t=r(36332),c=r(9673),d=r(2121),A=r(67525),a=r(3659),j=r(73475),E=r(92060);let o=e=>{let{message:s=[],breadcrumbKey:r="",title:o=""}=e,h=new Date,u="".concat(h.getDate(),"/").concat(h.getMonth()+1,"/").concat(h.getFullYear());return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(A.A,{title:o,array:[]}),(0,i.jsx)(j.A,{array:(0,E.F)(r)}),s.length>0&&(0,i.jsx)(a.A,{array:s,type:"error"}),(0,i.jsx)(l.A,{variant:"caption",color:"text.secondary",children:"Consulta y gestiona los reportes de p\xf3lizas de Seguros"}),(0,i.jsxs)(n.A,{sx:{display:"flex",alignItems:"center",gap:1,p:1.5}
1,children:[(0,i.jsxs)(l.A,{variant:"caption",sx:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(t.A,{fontSize:"small",sx:{mr:.5},color:"primary"}),"Resumen ejecutivo"]}),(0,i.jsx)(x.A,{orientation:"vertical",flexItem:!0}),(0,i.jsxs)(l.A,{variant:"caption",sx:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(d.A,{fontSize:"small",sx:{mr:.5},color:"primary"}),"Actualizado: ",u]}),(0,i.jsx)(x.A,{orientation:"vertical",flexItem:!0}),(0,i.jsxs)(l.A,{variant:"caption",sx:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(c.A,{fontSize:"small",sx:{mr:.5},color:"primary"}),"Datos verificados"]})]})]})}},84036:(e,s,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/reports/optativo/tj/emision_cobro",function(){return r(75985)}])},84266:(e,s,r)=>{"use strict";var i=r(29563);s.A=void 0;var l=i(r(59628)),n=r(37876);s.A=(0,l.default)((0,n.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh")}},e=>{e.O(0,[204,2757,758,2733,8230,1912,9725,6534,6471,2894,9529,5947,2517,58,9510,484,4650,963,7602,4397,6632,7198,2128,4904,6420,4244,636,6593,8792],()=>e(e.s=84036)),_N_E=e.O()}]);

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.