1import{a as J,b as K}from"./chunk-H3OMKULF.js";import{E as S,d as Y,e as z,f as Q,g as U,h as Z,hb as E,i as q,lb as G}from"./chunk-OZJMZDFX.js";import"./chunk-WKMR4ARB.js";import{F as w,G as V}from"./chunk-GQHDQWOR.js";import{g as h}from"./chunk-VCBAIUER.js";import{Ab as _,Bb as v,Cc as r,Db as C,Dc as p,Eb as B,Ec as c,Fb as I,Gb as F,Hb as n,Ia as L,Ib as a,Sb as P,Tf as b,Ub as g,Vf as j,Za as t,eg as O,fg as k,hc as o,ib as T,ic as u,jb as y,jc as f,jd as N,kc as m,la as x,ld as A,nb as H,nd as D,od as R,yf as $}from"./chunk-3OZK3H4Q.js";function te(e,l){if(e&1&&(n(0,"p",18)(1,"span"),o(2),r(3,"number"),a()()),e&2){let i=g().$implicit;t(2),f("CHF ",c(3,1,i.SalePrice,"1.2-2"))}}function ne(e,l){if(e&1&&(n(0,"div",13)(1,"p",14),o(2),n(3,"span",15),o(4),a(),n(5,"span",16),o(6," - "),a(),n(7,"span",15),o(8),a(),n(9,"span",16),o(10," - "),a(),n(11,"span",15),o(12),r(13,"translate"),a()(),n(14,"p",17),o(15),r(16,"translate"),a(),_(17,te,4,4,"p",18),a()),e&2){let i=l.$implicit;t(2),f(" ",i.Brand," "),t(2),m("",i.ArticleName," - ",i.Color),t(4),u(i.ArticleNo),t(4),m("",p(13,9,"SIZE"),": ",i.Size),t(3),m("",i.Quantity," ",p(16,11,"ARTICLES")),t(2),v(i.SalePrice?17:-1)}}function ae(e,l){if(e&1&&(n(0,"div",10)(1,"div",11)(2,"div",5)(3,"p",6),o(4),r(5,"date"),a(),n(6,"p",7),o(7),a()(),n(8,"p",8),o(9),r(10,"translate"),a(),n(11,"p",9),o(12),r(13,"number"),a()(),n(14,"div",12),B(15,ne,18,13,"div",13,C),a()()),e&2){let i=l.$implicit;t(4),u(c(5,5,i.SalesDate,"dd.MM.yyyy")),t(3),u(i.Branch),t(2),m(" ",i.ArticleCount," ",p(10,8,"ARTICLES")," "),t(3),f("CHF ",c(13,10,i.TotalPrice,"1.2-2")),t(3),I(i.Positions)}}function oe(e,l){if(e&1&&(n(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),o(4,"local_mall"),a()(),n(5,"mat-panel-description")(6,"div",5)(7,"p",6),o(8),r(9,"translate"),r(10,"date"),a(),n(11,"p",7),o(12),a()(),n(13,"p",8),o(14),r(15,"translate"),a(),n(16,"p",9),o(17),r(18,"number"),a()()(),B(19,ae,17,13,"div",10,C),a()),e&2){let i=l.$implicit;t(8),m(" ",p(9,7,"BILL")," ",c(10,9,i.InvoiceDate,"dd.MM.yyyy")," "),t(4),m("","NUMBER"," ",i.InvoiceNumber),t(2),m(" ",i.ArticleCount," ",p(15,12,"ARTICLES")," "),t(3),f("CHF ",c(18,14,i.InvoiceAmount,"1.2-2")),t(2),I(i.CustomerSales)}}function re(e,l){if(e&1&&(n(0,"div",1)(1,"div",4)(2,"mat-accordion"),B(3,oe,21,17,"mat-expansion-panel",null,C),r(5,"async"),a()()()),e&2){let i=g();t(3),I(p(5,0,i.service.items$))}}function pe(e,l){e&1&&(n(0,"div",2)(1,"h4"),o(2),r(3,"translate"),a()()),e&2&&(t(2),u(p(3,1,"NO_BILL_HISTORY_AVAILABLE")))}var X=(()=>{class e extends j{_extendedOnInit(){this.service.apiParameters={limit:12},this.service.init()}static{this.\u0275fac=(()=>{let i;return function(d){return(i||(i=L(e)))(d||e)}})()}static{this.\u0275cmp=T({type:e,selectors:[["bills-history"]],standalone:!1,features:[H],decls:9,vars:11,consts:[["pageTitle","BILLS_HISTORY"],[1,"customPage-container"],[1,"customError-container"],[3,"emitNextLoad","disabled"],[1,"customAnnual-container"],[1,"dateLocation-container"],[1,"date-paragraph"],[1,"location-paragraph"],[1,"articles-container"],[1,"price-container"],[1,"matExpansionBody-container"],[1,"matExpansionHeader-container"],[1,"matExpansionDetail-container"],[1,"article-container"],[1,"article-description"],[1,"article-gray"],[1,"article-separator"],[1,"article-count"],[1,"article-price"]],template:function(s,d){if(s&1&&(n(0,"megaCMS-page-layout")(1,"layout-custom",0),_(2,re,6,2,"div",1),r(3,"async"),_(4,pe,4,3,"div",2),r(5,"async"),r(6,"async"),n(7,"mega-infinit-load-component",3),r(8,"async"),P("emitNextLoad",function(ie){return d.service.loadNextItems(ie)}),a()()()),s&2){let M;t(2),v(((M=p(3,3,d.service.items$))==null?null:M.length)>0?2:-1),t(2),v(!p(5,5,d.service.items$)||p(6,7,d.service.items$).length<=0?4:-1),t(3),F("disabled",p(8,9,d.service.isInfinitLoadFinished$))}},dependencies:[E,J,S,Z,Y,z,U,Q,w,N,D,A,O],encapsulation:2})}}return e})();var le=[{path:"",component:X}],ee=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=y({type:e})}static{this.\u0275inj=x({imports:[h.forChild(le),h]})}}return e})();var Ne=(()=>{class e{static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275mod=y({type:e})}static{this.\u0275inj=x({providers:[{provide:$,useValue:"/users/me/invoices/history"},b],imports:[R,ee,k,E,K,G,S,q,V]})}}return e})();export{Ne as BillsHistoryModule};
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.