1import{k}from"./chunk-DBB3PKOU.js";import{b as D,e as F}from"./chunk-DTV26CKL.js";import{r as T}from"./chunk-RE4JJFV5.js";import"./chunk-COEKBYWO.js";import"./chunk-E2K2LIS4.js";import{a as L}from"./chunk-KJKRX6VS.js";import{b as A}from"./chunk-4WMDX4SQ.js";import"./chunk-IQLKO45Z.js";import"./chunk-V6KBZVCY.js";import"./chunk-6FQQM4CE.js";import{j as S}from"./chunk-VTTO24NQ.js";import"./chunk-Y5VOXWTF.js";import{q as E}from"./chunk-YWHNFDXQ.js";import{f as y}from"./chunk-GW33KQPR.js";import{U as z}from"./chunk-TUEKBDZZ.js";import"./chunk-RLPOKPIS.js";import"./chunk-TPES7EAS.js";import{G as I,H as w}from"./chunk-QXJM3TTT.js";import{F as u,x as b}from"./chunk-TMOIAHHX.js";import{$a as s,Ib as o,Jb as g,Kb as C,Wa as p,Xa as l,Za as v,_a as m,bb as t,cb as e,ga as i,mc as x,oc as h,sa as r,tb as f,za as d}from"./chunk-DJNWGYMM.js";import{ea as P,f as O}from"./chunk-VOZAGDK7.js";import"./chunk-E5QWB6YB.js";function R(c,_){if(c&1&&(t(0,"tr")(1,"td")(2,"div",7),o(3),e()(),t(4,"td",20),o(5),e(),t(6,"td",21),o(7),e()()),c&2){let n=_.$implicit;i(3),g(n.name),i(2),g(n.teamCnt),i(2),C("$",n.fee)}}function j(c,_){if(c&1&&(t(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"span",7),o(6,"INVOICE"),e(),t(7,"span",8),o(8),e()(),t(9,"div",9)(10,"span",7),o(11,"PAYMENT DATE"),e(),t(12,"span",10),o(13),x(14,"date"),e()(),t(15,"div",11)(16,"div",6)(17,"span",7),o(18,"CUSTOMER"),e(),t(19,"span",8),o(20),e()()()(),t(21,"div",12)(22,"div",11)(23,"div",7),o(24,"Register & Play INC"),e()()()()(),t(25,"div",13)(26,"div",14)(27,"table",15)(28,"thead")(29,"tr")(30,"th"),o(31,"DIVISION"),e(),t(32,"th"),o(33,"# of Teams"),e(),t(34,"th",16),o(35,"TOTAL"),e()()(),t(36,"tbody"),m(37,R,8,3,"tr",null,v),e()()(),t(39,"table",17)(40,"tbody")(41,"tr",18)(42,"td"),o(43,"TOTAL"),e(),t(44,"td",19),o(45),e()()()()()()),c&2){let n=f();i(8),g(n.invoiceID),i(5),g(h(14,4,n.invoice.header.timestamp,"MMM d, y")),i(7),g(n.invoice.header.customer),i(17),s(n.invoice.divisions),i(8),C("$",n.invoice.total.totalFee)}}var N=(()=>{class c{api;route;notify;invoice;invoiceID;_unsubscribeAll;constructor(n,a,M){this.api=n,this.route=a,this.notify=M,this._unsubscribeAll=new O}ngOnInit(){this.invoiceID=this.route.snapshot.params.id,this.api.get("Billing/invoice/"+this.invoiceID,!0).pipe(P(this._unsubscribeAll)).subscribe({next:n=>{this.invoice=n},error:n=>{this.notify.openToaster(n.error?n.error:"An error has occured","error")}})}ngOnDestroy(){this._unsubscribeAll.next(!0),this._unsubscribeAll.complete()}static \u0275fac=function(a){return new(a||c)(r(L),r(y),r(T))};static \u0275cmp=d({type:c,selectors:[["invoice-compact"]],decls:3,vars:1,consts:[["id","invoice","fxLayout","row",1,"compact","page-layout","blank"],[1,"invoice-container"],[1,"card"],[1,"header"],["fxLayout","row","fxLayoutAlign","space-between stretch"],[1,"client"],["fxLayout","row","fxLayoutAlign","start center",1,"invoice-number"],[1,"title"],[1,"number"],["fxLayout","row","fxLayoutAlign","start center",1,"due-date"],[1,"date"],[1,"info"],["fxLayout","row","fxLayoutAlign","start center",1,"issuer","blue"],[1,"content"],[2,"min-height","500px"],[1,"simple","invoice-table"],[1,"text-right"],[1,"simple","invoice-table-footer"],[1,"total"],[1,"pr-32"],[1,"pl-32"],[1,"text-right","pr-32"]],template:function(a,M){a&1&&(t(0,"div",0)(1,"div",1),p(2,j,46,7,"div",2),e()()),a&2&&(i(2),l(M.invoice?2:-1))},dependencies:[u,I,w,E,S,z,A,k,D,F,b],styles:["#invoice.compact[_ngcontent-%COMP%]{padding:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%]{padding:64px;margin:0 auto;overflow-x:auto}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:900px;min-width:900px;max-width:900px;padding:64px 88px;overflow:hidden;background:#fff;box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .invoice-date[_ngcontent-%COMP%]{font-size:14px;color:#0000008a;margin-bottom:32px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .invoice-number[_ngcontent-%COMP%]{font-size:18px;padding-bottom:2px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .invoice-number[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#0000008a}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .invoice-number[_ngcontent-%COMP%] .number[_ngcontent-%COMP%]{color:#000000de;padding-left:6px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .due-date[_ngcontent-%COMP%]{font-size:18px;padding-bottom:16px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .due-date[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#0000008a}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .due-date[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{color:#000000de;padding-left:6px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .client[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#0000008a;line-height:22px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]{margin-right:-88px;padding-right:66px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:96px;padding:0 8px;border-right:1px solid rgba(255,255,255,.7)}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{padding:16px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%]{margin-top:64px;font-size:15px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000000de;border-bottom:1px solid rgba(0,0,0,.12)}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-left:8px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding-right:8px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#000000de;border-bottom:1px solid rgba(0,0,0,.12)}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:8px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-right:8px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] .detail[_ngcontent-%COMP%]{margin-top:8px;font-size:12px;color:#0000008a;max-width:360px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%]{margin:32px 0 72px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:right;font-size:16px;font-weight:600;color:#0000008a;border-bottom:none;padding:4px 8px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{text-align:left}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.discount[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:32px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.total[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:24px 8px;border-top:1px solid rgba(0,0,0,.12);font-size:20px;font-weight:300;color:#000}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:15px;font-weight:600;margin-bottom:24px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], #invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .small-note[_ngcontent-%COMP%]{-ms-flex:0 1 auto;flex:0 1 auto}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:32px;min-width:32px;margin-right:24px}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .small-note[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#0000008a;line-height:18px}@media print{#invoice.compact[_ngcontent-%COMP%]{background:#fff}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%]{padding:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:100%;min-width:0;background:none;padding:0;box-shadow:none}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .invoice-date[_ngcontent-%COMP%]{margin-bottom:16pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]{padding-right:0;margin-right:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%]{margin-top:16pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:10pt;max-width:60pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-left:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding-right:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-right:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:10pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table[_ngcontent-%COMP%] .detail[_ngcontent-%COMP%]{margin-top:4pt;font-size:9pt;max-width:none}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%]{margin:16pt 0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:13pt;padding:4pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{text-align:left;padding-left:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-right:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.discount[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:16pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.total[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:16pt 4pt 0;font-size:16pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.total[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .invoice-table-footer[_ngcontent-%COMP%] tr.total[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-right:0}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:10pt;margin-bottom:8pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-right:8pt}#invoice.compact[_ngcontent-%COMP%] .invoice-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .small-note[_ngcontent-%COMP%]{font-size:8pt;line-height:normal}}"]})}return c})(
1);var cn=[{path:":id",component:N}];export{cn as invoiceRoutes};
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.