PageSourceSearch

https://creditos.somosziro.com/chunk-2R36MF3E.js

js somosziro.com collected 2026-10-07 04:17:52 UTC 4,630 bytes, 1 lines download raw bytes

1import{a as P}from"./chunk-SHRCAJF4.js";import{a as D,b as E,c as I,d as L,e as w}from"./chunk-D2LIGGDE.js";import{a as Q}from"./chunk-AFXH3XJZ.js";import{a as j}from"./chunk-2KGWD6Y7.js";import{d as c,t as A}from"./chunk-GBJFERBN.js";import{a as F}from"./chunk-TLJ5UPI2.js";import"./chunk-TZF5454P.js";import{Da as o,Ea as p,Gb as b,Mb as x,Na as N,Qb as C,Sa as m,a as u,b as v,ba as f,cb as r,db as i,dc as S,eb as n,pc as y,rc as _,vb as d,w as g,xb as s,za as h}from"./chunk-4P234F3D.js";function M(l,e){if(l&1&&(r(0,"div",20)(1,"div",21),n(2,"img",22),i(),r(3,"div",23)(4,"div",24)(5,"span",25),d(6),i(),r(7,"span",26),d(8),x(9,"currency"),i(),r(10,"span"),d(11),i(),r(12,"span"),d(13),i()()()()),l&2){let t=e.$implicit;o(2),m("src",t.shop_commerce_url_log,h),o(4),s(" Proveedor: ",t.shop_name," "),o(2),s(" Valor: ",C(9,5,t.value_credit,"$","symbol","1.0-0")," "),o(3),s("# de orden: ",t.order_number,""),o(2),s("Estado: ",t.credit_state,"")}}var B=class l{constructor(e,t){this.customerService=e;this.loaderService=t}customerName;valueNextQuote=0;deadlineNextQuote="";mora=!1;creditApproved=0;creditAvaillable=0;creditNotDelivered=0;messageLate;purchasesNotDelivered={data:[],currentPage:1,lastPage:null,loading:!1};breadcrumbItems=[{label:"Mis compras sin entregar",url:"/clientes/compras-sin-entregar"}];ngOnInit(){this.getData()}getData(){c(this.loaderService,!0),g([this.customerService.getDataDashboard(),this.customerService.getPurchasesNotDelivered(this.purchasesNotDelivered.currentPage)]).subscribe({next:([e,t])=>{this.customerName=e.data.name+" "+e.data.last_name,this.valueNextQuote=e.data.min_payment,this.deadlineNextQuote=e.data.next_due_date,this.mora=e.data.mora,this.creditApproved=e.data.credit_approved,this.creditAvaillable=e.data.credit_available,this.creditNotDelivered=e.data.quota_used_undelivered,this.messageLate=e.data.message_late,this.purchasesNotDelivered=v(u({},this.purchasesNotDelivered),{data:t.data.data,currentPage:t.data.current_page,lastPage:t.data.last_page}),console.log(this.purchasesNotDelivered),c(this.loaderService,!1)},error:e=>{console.log(e),c(this.loaderService,!1)}})}static \u0275fac=function(t){return new(t||l)(p(j),p(A))};static \u0275cmp=f({type:l,selectors:[["app-customer-purchases-not-delivered"]],standalone:!0,features:[b],decls:22,vars:12,consts:[["title","Mis compras sin entregar","homeUrl","/clientes/inicio",3,"rolNotVisible","items"],[1,"container-fluid","p-4","bg-white","custom-scroll-container",2,"height","100vh","color","#064853"],[1,"row","gy-4"],[1,"col-12","col-lg-7","order-lg-1","d-flex","flex-column","justify-content-end"],[1,"d-lg-none","mb-2"],[3,"name"],[1,"row","g-3"],[1,"col-12"],[3,"text","value"],[1,"col-6","col-md-6","d-none","d-lg-block"],["href","https://creditos.somosziro.com/general/fastpayment","text","Pagar","icon","fa-money-bill"],["href","https://creditos.somosziro.com/general/fastpayment","text","Abonar a mi deuda"],[1,"col-12","col-lg-5","order-lg-0","d-none","d-lg-block"],[3,"customerName","valueNextQuote","deadlineNextQuote","mora","messageLate"],[1,"col-12","col-lg-7","order-lg-4"],["title","Compras sin entregar","icon","fa-cart-shopping"],["class","px-4 py-2 d-flex",4,"ngFor","ngForOf"],[1,"col-12","col-lg-5","order-lg-3"],[1,"row","gap-4"],["text","Regresar al menu inicial","route","/clientes/inicio",3,"icon"],[1,"px-4","py-2","d-flex"],[1,"w-25","pe-4","d-flex","align-items-center","justify-content-center",2,"max-width","100px"],[1,"img-fluid",3,"src"],[1,"w-75","d-flex","align-items-center","justify-content-between",2,"font-size","12px"],[1,"d-flex","flex-column"],[1,"fs-6"],[1,"fw-semibold"]],template:function(t,a){t&1&&(n(0,"app-breadcrumb",0),r(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),n(5,"app-customer-name",5),i(),r(6,"div",6)(7,"div",7),n(8,"app-credit-line-card",8),i(),r(9,"div",9),n(10,"app-green-button",10),i(),r(11,"div",9),n(12,"app-green-button",11),i()()(),r(13,"div",12),n(14,"app-customer-info",13),i(),r(15,"div",14)(16,"app-list-items-card",15),N(17,M,14,10,"div",16),i()(),r(18,"div",17)(19,"div",18),n(20,"app-do-you-need-help")(21,"app-blue-button",19),i()()()()),t&2&&(m("rolNotVisible",!0)("items",a.breadcrumbItems),o(5),m("name",a.customerName),o(3),m("text","Cupo usado sin confirmaci\xF3n de entrega")("value",a.creditNotDelivered),o(6),m("customerName",a.customerName)("valueNextQuote",a.valueNextQuote)("deadlineNextQuote",a.deadlineNextQuote)("mora",a.mora)("messageLate",a.messageLate),o(3),m("ngForOf",a.purchasesNotDelivered.data),o(4),m("icon",!0))},dependencies:[_,S,y,L,w,Q,E,I,P,D,F],encapsulation:2})};export{B as CustomerPurchasesNotDeliveredComponent};

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.