dealpos 25.42.3 → 25.42.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/browser/{chunk-JU5FQANB.js → chunk-2UQLDUAC.js} +1 -1
  2. package/browser/{chunk-PFAAD3XG.js → chunk-2X5ASLFQ.js} +2 -2
  3. package/browser/{chunk-UVRUHQSK.js → chunk-2ZZ6LRSK.js} +2 -2
  4. package/browser/chunk-3TPCIQTX.js +1 -0
  5. package/browser/{chunk-KQXOWLTB.js → chunk-3VZD4NHF.js} +1 -1
  6. package/browser/{chunk-IJ3Y6CA4.js → chunk-426IRMLK.js} +1 -1
  7. package/browser/{chunk-44ZWYZS2.js → chunk-4QIOM7LI.js} +1 -1
  8. package/browser/{chunk-WQ7RE4CS.js → chunk-4QUBIODV.js} +1 -1
  9. package/browser/{chunk-SHMXCJ6Q.js → chunk-56IONBTZ.js} +1 -1
  10. package/browser/{chunk-DKPNAGIM.js → chunk-56K6E74R.js} +1 -1
  11. package/browser/{chunk-XNJJHLJK.js → chunk-5OTEU5ZX.js} +1 -1
  12. package/browser/{chunk-BNYTLFGU.js → chunk-6NX4GWBD.js} +1 -1
  13. package/browser/{chunk-HQQWO76P.js → chunk-6PPRM5TJ.js} +1 -1
  14. package/browser/{chunk-KGTS7TDO.js → chunk-6SQ55MY2.js} +1 -1
  15. package/browser/{chunk-YLVSXMRV.js → chunk-7HOWFXKG.js} +1 -1
  16. package/browser/{chunk-GI3H7BEZ.js → chunk-7O5TK73M.js} +1 -1
  17. package/browser/chunk-7PMDXUYJ.js +1 -0
  18. package/browser/{chunk-TIZ2QYSJ.js → chunk-7SJSO64L.js} +1 -1
  19. package/browser/{chunk-URAQZQ3A.js → chunk-7WT2CL3Y.js} +1 -1
  20. package/browser/{chunk-ZSE5MOHQ.js → chunk-AAXRMRTM.js} +1 -1
  21. package/browser/{chunk-DTU55DE5.js → chunk-AUOW2T4F.js} +1 -1
  22. package/browser/{chunk-DV7Z45N7.js → chunk-B3EZA6CX.js} +4 -4
  23. package/browser/{chunk-RB5D6LBP.js → chunk-B6L52L6A.js} +1 -1
  24. package/browser/chunk-BBGWXLHJ.js +1 -0
  25. package/browser/chunk-BKCZEGZR.js +14 -0
  26. package/browser/{chunk-QJ4LGJCR.js → chunk-BUPX3XPT.js} +1 -1
  27. package/browser/{chunk-6PHBFF3O.js → chunk-BW5D7NMN.js} +1 -1
  28. package/browser/chunk-BXQFETBZ.js +1 -0
  29. package/browser/{chunk-6WBSRYV3.js → chunk-CEKWDJF4.js} +1 -1
  30. package/browser/{chunk-UZCYUQUH.js → chunk-CHETA67M.js} +1 -1
  31. package/browser/{chunk-VSF6PYZW.js → chunk-CKNQ2YZ5.js} +1 -1
  32. package/browser/{chunk-TQZQYUFG.js → chunk-CMHBQ7I6.js} +1 -1
  33. package/browser/{chunk-5BZEOCFN.js → chunk-CVL2DR7E.js} +1 -1
  34. package/browser/{chunk-7STOC3NI.js → chunk-D5YUOO4X.js} +1 -1
  35. package/browser/{chunk-DQQS3EIT.js → chunk-D7S3W7TY.js} +1 -1
  36. package/browser/{chunk-GPP3J3W4.js → chunk-DBERRJC6.js} +1 -1
  37. package/browser/{chunk-WJOZLY6Q.js → chunk-DDILJVFU.js} +1 -1
  38. package/browser/{chunk-PDXIH2U4.js → chunk-DKQHZLAC.js} +1 -1
  39. package/browser/{chunk-4NW7A5EC.js → chunk-DZM2KQQZ.js} +1 -1
  40. package/browser/chunk-E4DPE3J5.js +1 -0
  41. package/browser/{chunk-2CU7XQYN.js → chunk-EG4UO6IY.js} +1 -1
  42. package/browser/{chunk-LH2QJXQV.js → chunk-ELIDPKL7.js} +1 -1
  43. package/browser/{chunk-RGMTX4XI.js → chunk-EMW2WRXZ.js} +1 -1
  44. package/browser/{chunk-6A45AGTK.js → chunk-FCUQZ5CM.js} +1 -1
  45. package/browser/{chunk-Y6VMIGXC.js → chunk-FKLSH2TV.js} +1 -1
  46. package/browser/{chunk-SN4VGYRI.js → chunk-FUV2BXRH.js} +1 -1
  47. package/browser/{chunk-SEXQYEXV.js → chunk-FVG3VTH5.js} +1 -1
  48. package/browser/{chunk-5OS5VELO.js → chunk-FVKF2ZOS.js} +1 -1
  49. package/browser/{chunk-UEQT5HE5.js → chunk-FXLWJQC3.js} +1 -1
  50. package/browser/{chunk-IQ26VFNR.js → chunk-FZCJDAJY.js} +1 -1
  51. package/browser/{chunk-F6XARCNS.js → chunk-G2NZ3D7U.js} +1 -1
  52. package/browser/{chunk-HAGFCQCM.js → chunk-G3XRMYTN.js} +1 -1
  53. package/browser/{chunk-RPHW7OGR.js → chunk-GRXET2IV.js} +8 -8
  54. package/browser/{chunk-XHUPVI6X.js → chunk-GTLBCZKI.js} +1 -1
  55. package/browser/{chunk-VOH7SSVN.js → chunk-GVQSFCBR.js} +1 -1
  56. package/browser/{chunk-IQ4IMICT.js → chunk-GZSXRIAG.js} +1 -1
  57. package/browser/{chunk-EENVAF36.js → chunk-HUH7L2ZO.js} +1 -1
  58. package/browser/{chunk-772SQL5I.js → chunk-HZIKNLNL.js} +1 -1
  59. package/browser/chunk-I6NYJUEM.js +1 -0
  60. package/browser/{chunk-WCS36NF2.js → chunk-IA7CYVCE.js} +1 -1
  61. package/browser/{chunk-CD3BSGAP.js → chunk-IJ6QEGE5.js} +1 -1
  62. package/browser/{chunk-TUQ4INQ4.js → chunk-IMEZ6PAI.js} +1 -1
  63. package/browser/{chunk-H6LHYTUN.js → chunk-J75KTT4W.js} +1 -1
  64. package/browser/{chunk-WAABNVJP.js → chunk-J7BBAETB.js} +1 -1
  65. package/browser/{chunk-FAJUK2PL.js → chunk-JNZU3NGN.js} +1 -1
  66. package/browser/{chunk-3HEL5YEK.js → chunk-JOEBVACW.js} +1 -1
  67. package/browser/{chunk-RD5CYEVA.js → chunk-JULIPCEM.js} +1 -1
  68. package/browser/{chunk-M3CM7YGB.js → chunk-KIFEAYRI.js} +1 -1
  69. package/browser/{chunk-BCWXNNN7.js → chunk-KM74FUZX.js} +1 -1
  70. package/browser/{chunk-7ERQEWVF.js → chunk-KUPGFZQE.js} +1 -1
  71. package/browser/{chunk-BO3TFY6M.js → chunk-L35K766G.js} +1 -1
  72. package/browser/{chunk-OZMOBU7L.js → chunk-L4BVAFES.js} +1 -1
  73. package/browser/{chunk-BDN45ELK.js → chunk-LC77SA54.js} +2 -2
  74. package/browser/{chunk-SRPF6NEK.js → chunk-LNYKIRHF.js} +1 -1
  75. package/browser/{chunk-AEHOTFB4.js → chunk-LQW5KOAB.js} +1 -1
  76. package/browser/{chunk-LNLKT2JE.js → chunk-LXSLO5QA.js} +1 -1
  77. package/browser/chunk-LZJVR4FQ.js +1 -0
  78. package/browser/{chunk-OG45AMIC.js → chunk-M5273AKK.js} +1 -1
  79. package/browser/{chunk-4QBEH76F.js → chunk-MEUJUJB2.js} +1 -1
  80. package/browser/{chunk-BLLHTNS3.js → chunk-MJ4WF7R3.js} +2 -2
  81. package/browser/{chunk-DNSE6AZ3.js → chunk-MLU3FELE.js} +1 -1
  82. package/browser/{chunk-TY4CJST2.js → chunk-MXYELOCB.js} +1 -1
  83. package/browser/{chunk-NGOXBKLO.js → chunk-N6JJCZ2M.js} +1 -1
  84. package/browser/{chunk-SK3O35VZ.js → chunk-NGYW35CT.js} +1 -1
  85. package/browser/{chunk-AQC5G2DR.js → chunk-NKGA724S.js} +1 -1
  86. package/browser/{chunk-ZTTYI7IT.js → chunk-NM5ZUXKR.js} +1 -1
  87. package/browser/{chunk-GGPT7WIY.js → chunk-NUQK6FIB.js} +1 -1
  88. package/browser/{chunk-75EESXJE.js → chunk-NXSTJXP3.js} +1 -1
  89. package/browser/{chunk-V7HLUR6T.js → chunk-NZ5JPAQ5.js} +1 -1
  90. package/browser/{chunk-GINOZV6C.js → chunk-O6PVWRA5.js} +1 -1
  91. package/browser/{chunk-BXAYNP7A.js → chunk-O7SRWU2B.js} +1 -1
  92. package/browser/{chunk-QCXWKQ7Z.js → chunk-P3HCTQ6S.js} +1 -1
  93. package/browser/{chunk-JPA7JINL.js → chunk-PGBIXI75.js} +1 -1
  94. package/browser/{chunk-ZTJ2EZKC.js → chunk-PLDUPO6N.js} +1 -1
  95. package/browser/{chunk-NXXNEU5Q.js → chunk-PNMCM55F.js} +1 -1
  96. package/browser/{chunk-FBCM6PP2.js → chunk-PTJ5SIZX.js} +1 -1
  97. package/browser/{chunk-IAY6YLM3.js → chunk-PTZ5432I.js} +1 -1
  98. package/browser/{chunk-5JGMZUVO.js → chunk-PXTRJOQN.js} +1 -1
  99. package/browser/{chunk-7LAYIAWW.js → chunk-Q4BNG6BK.js} +1 -1
  100. package/browser/{chunk-UQP7S73H.js → chunk-Q6HOM6AN.js} +1 -1
  101. package/browser/{chunk-7Z6VQ4SB.js → chunk-Q6RSS3F7.js} +1 -1
  102. package/browser/{chunk-3A4C23H5.js → chunk-QIC57EUK.js} +1 -1
  103. package/browser/{chunk-2L54CRB2.js → chunk-QMNZ3US5.js} +1 -1
  104. package/browser/{chunk-PRBPKAI4.js → chunk-QOPR5ZBR.js} +1 -1
  105. package/browser/{chunk-ITLMINSX.js → chunk-QWYLRTIQ.js} +1 -1
  106. package/browser/{chunk-THXV6YJP.js → chunk-R24JXSUW.js} +1 -1
  107. package/browser/{chunk-3RWVYWJF.js → chunk-R6G33VWA.js} +1 -1
  108. package/browser/{chunk-6EEZ723H.js → chunk-RDD5CPPK.js} +1 -1
  109. package/browser/{chunk-XYXJ6BJZ.js → chunk-RJKR4QDZ.js} +7 -7
  110. package/browser/{chunk-KBO5VO7S.js → chunk-RQGT2FPJ.js} +1 -1
  111. package/browser/{chunk-AOHNHNJ4.js → chunk-S3Y4J5BM.js} +1 -1
  112. package/browser/{chunk-UAZRVFNB.js → chunk-SA2OFGXH.js} +1 -1
  113. package/browser/{chunk-CEPFELMI.js → chunk-SDOP6ILP.js} +1 -1
  114. package/browser/{chunk-JYNN4IZB.js → chunk-SS5QJI73.js} +1 -1
  115. package/browser/{chunk-5R4YDHD4.js → chunk-SVCDSCAK.js} +1 -1
  116. package/browser/{chunk-TZ74SUXJ.js → chunk-SZUQ6U7I.js} +1 -1
  117. package/browser/{chunk-6G37ZXRX.js → chunk-T3BPEHU7.js} +1 -1
  118. package/browser/{chunk-2PBMTCNB.js → chunk-TIRPKUJZ.js} +1 -1
  119. package/browser/{chunk-JATL56N2.js → chunk-U54UEN3C.js} +1 -1
  120. package/browser/{chunk-SYXYAJTH.js → chunk-UCXUJQTY.js} +1 -1
  121. package/browser/chunk-UR42CPXD.js +3 -0
  122. package/browser/{chunk-3C333WA4.js → chunk-UX44UC2P.js} +1 -1
  123. package/browser/{chunk-32HLQMIF.js → chunk-UYTJTLZV.js} +1 -1
  124. package/browser/{chunk-GC3UJT2Q.js → chunk-VELV6XCP.js} +1 -1
  125. package/browser/{chunk-ZH7IWOYT.js → chunk-VQARO64W.js} +1 -1
  126. package/browser/{chunk-6O33MUM6.js → chunk-W3FK7XY3.js} +1 -1
  127. package/browser/{chunk-G37NEDUK.js → chunk-WDXFLK4E.js} +1 -1
  128. package/browser/{chunk-EMP32K7Q.js → chunk-WGHPXYWX.js} +1 -1
  129. package/browser/{chunk-6CQ6XYJG.js → chunk-WP4MYTR2.js} +1 -1
  130. package/browser/{chunk-A7PNRSF2.js → chunk-XPQKTZA5.js} +1 -1
  131. package/browser/{chunk-VVIPBL5F.js → chunk-XU7DNLG3.js} +1 -1
  132. package/browser/{chunk-537VP6ZK.js → chunk-Y7V4JJ46.js} +1 -1
  133. package/browser/{chunk-TKNGHZIN.js → chunk-YCQYZPDK.js} +1 -1
  134. package/browser/{chunk-PYAKNXHZ.js → chunk-YIJ62FAK.js} +1 -1
  135. package/browser/{chunk-4R4W625N.js → chunk-ZIWHZGBX.js} +1 -1
  136. package/browser/{chunk-GHPZLWLY.js → chunk-ZRKESXDB.js} +1 -1
  137. package/browser/index.html +2 -2
  138. package/browser/{main-MFGSWEQQ.js → main-2YFFQ7PU.js} +2 -2
  139. package/package.json +1 -1
  140. package/browser/chunk-7MYFXXHY.js +0 -1
  141. package/browser/chunk-HMER2IC5.js +0 -1
  142. package/browser/chunk-Q4H53ZUG.js +0 -1
  143. package/browser/chunk-TM46LANH.js +0 -14
  144. package/browser/chunk-UDE6XZO3.js +0 -3
  145. package/browser/chunk-VPC43VHO.js +0 -1
  146. package/browser/chunk-ZGGEHIOZ.js +0 -1
@@ -1 +1 @@
1
- import{a as wt,b as Qn}from"./chunk-KBO5VO7S.js";import{a as Un,b as $n}from"./chunk-IJ3Y6CA4.js";import{b as Vn,c as Fn,d as jn}from"./chunk-GPP3J3W4.js";import{a as z,b as Ct,c as Vt}from"./chunk-AEHOTFB4.js";import{a as dt}from"./chunk-MPSML3FA.js";import{a as zt}from"./chunk-JPXXXD26.js";import{a as Rt}from"./chunk-WO3LDDSF.js";import{D as Ln,G as Jt,H as Jn,N as It,O as I,d as Pt,g as K,n as Bt,o as j,q as st,u as Lt,y as Ot}from"./chunk-5OS5VELO.js";import{a as D,d as St}from"./chunk-ZZGSAFGO.js";import{$a as e,$b as An,Ab as ht,Ac as m,Bb as wn,Bc as M,Cc as mt,Db as f,E as T,Eb as At,Fc as Y,Gb as Nt,Hb as Ht,Ib as o,Ja as Tt,Jb as i,K as hn,Kb as _,Lb as x,Ma as _t,Mb as v,Nb as Mt,Od as h,Pc as tt,Qb as Dn,Rb as c,Td as Mn,Ub as Tn,Va as s,Wa as J,Wc as q,Xa as N,Y as B,Ya as rt,Yc as L,Yd as S,Zb as kn,Zc as y,_b as En,aa as k,bd as zn,cd as w,d as vn,da as yn,db as u,dc as Z,dd as Bn,ec as a,ed as V,fa as E,fc as P,gc as C,gd as R,hc as gt,ic as yt,jd as ft,ka as vt,kb as b,lb as bt,mc as Nn,na as Sn,nc as Hn,o as bn,oc as Rn,qb as d,rc as et,sc as it,t as F,ua as In,ub as H,vb as r,wb as un,wd as A,yb as ct,zb as Et,zc as g}from"./chunk-UXRO4UFY.js";import{a as xn}from"./chunk-7DCB7DB2.js";function Zn(n,l){if(n&1&&(x(0),_(1,"pos-receipt",1),v()),n&2){let t=c();e(),r("receiptParam",t.receiptParam)("data",t.model.Data)("emailVisibleRestriction",!t.roleService.sell.Email)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("priceVisibleRestriction",!t.roleService.sell.PriceVisible)("stylesheet",t.model.StylesSheet)("saveLastPrintDate",!0)}}var Ft=class n{constructor(l,t,p,O){this.httpService=l;this.activeRoute=t;this.titleService=p;this.roleService=O;this.destroy$=new vn}model;receiptParam;destroy$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),p=this.activeRoute.snapshot.queryParamMap.get("Price"),O=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:l,Template:t,Price:p,Print:O},this.httpService.post(I.InvoiceMini,this.receiptParam).pipe(yn(this.destroy$)).subscribe($=>{this.model=$,this.model.Data.InvoiceID=l,this.setBrowserTitle($);let nt=this.activeRoute.snapshot.queryParamMap.get("Print"),lt=this.activeRoute.snapshot.queryParamMap.get("Printer");lt&&(this.model.Template.PrintLX300=lt=="EpsonLX300"),parseInt(nt)==1&&window.setTimeout(function(){window.print()},500)})}setBrowserTitle(l){let p=`Invoice Mini | ${l.Data.Number}`;this.titleService.setTitle(p)}preventOpenContextMenu(l){return alert("This function is disabled."),l.preventDefault(),!1}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A),u(St))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,p){t&1&&Dn("contextmenu",function($){return p.preventOpenContextMenu($)})},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction","stylesheet","saveLastPrintDate"]],template:function(t,p){t&1&&d(0,Zn,2,8,"ng-container",0),t&2&&r("ngIf",p.model)},dependencies:[y,Fn],encapsulation:2})};function qn(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),v()),n&2){let t=l.ngIf,p=c();e(),r("receiptParam",p.receiptParam)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("workOrderMode",!1)("fullMode",!0)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0)}}var jt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.titleService=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};receiptParam;data$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),p=this.activeRoute.snapshot.queryParamMap.get("Price"),O=this.activeRoute.snapshot.queryParamMap.get("Print"),$=this.activeRoute.snapshot.queryParamMap.get("Printer");this.receiptParam={ID:l,Template:t,Price:p,Print:O},this.data$=this.httpService.post(I.InvoiceA4,this.receiptParam).pipe(F(nt=>($&&(nt.Template.PrintLX300=$=="EpsonLX300"),nt)),E(nt=>{this.setBrowserTitle(nt),parseInt(O)==1&&window.setTimeout(function(){window.print()},500)}),B(1))}setBrowserTitle(l){let p=`Invoice A4 | ${l.Data.Invoice.Number}`;this.titleService.setTitle(p)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"receiptParam","data","printTemplate","config","barcodeOptions","workOrderMode","fullMode","stylesheet","saveLastPrintDate"]],template:function(t,p){t&1&&(d(0,qn,2,9,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function Kn(n,l){if(n&1&&(x(0),_(1,"park-order",1),v()),n&2){let t=l.ngIf;e(),r("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var Ut=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.SalesOrderReceiptMini,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-sales-order"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,Kn,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Un,w],encapsulation:2})};var Yn=(n,l)=>({lx300:n,"print-normal":l}),te=n=>({width:n});function ne(n,l){n&1&&_(0,"link",43)}function ee(n,l){n&1&&_(0,"link",44)}function ie(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;ct(et(3,te,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Template.Logo,J)}}function oe(n,l){if(n&1&&(x(0),d(1,ie,1,5,"img",46),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t.Template.Logo)}}function le(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;r("src",t.Template.Logo,J)}}function ae(n,l){if(n&1&&d(0,le,1,1,"img",48),n&2){let t=c(2).ngIf;r("ngIf",t.Template.Logo)}}function re(n,l){if(n&1&&(o(0,"div",10),d(1,oe,2,1,"ng-container",45)(2,ae,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function ce(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),C("(",t.Data.Contact.MemberIdentification,")")}}function pe(n,l){if(n&1&&(o(0,"div",49)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",50)(5,"strong"),a(6),i(),d(7,ce,2,1,"span",1),o(8,"div",51)(9,"div")(10,"span"),a(11),i()(),o(12,"div")(13,"span"),a(14),i()(),o(15,"div"),_(16,"span",14),i(),o(17,"div")(18,"span"),a(19),i()()()()()),n&2){let t=c().ngIf;e(3),P(t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer),e(3),P(t.Data.ContactDisplay),e(),r("ngIf",t.Data.Contact.MemberIdentification),e(4),P(t.Data.Contact.Email),e(3),P(t.Data.Contact.Phone?t.Data.Contact.Phone:t.Data.Contact.Mobile),e(2),r("innerHTML",t.Data.Contact.Address,s),e(3),P(t.Data.City)}}function ge(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function de(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function _e(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function Ce(n,l){n&1&&(o(0,"th"),a(1," PO# "),i())}function me(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().ngIf;e(),C(" ",M(2,1,t.Data.Invoice.Due,"dd MMM yyyy")," ")}}function Pe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),P(t.Data.ToP)}}function se(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function Oe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function ue(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),C(", ",t.Data.ShippingAddress.Phone,"")}}function Me(n,l){if(n&1&&(o(0,"div",52)(1,"h3"),a(2),i(),o(3,"div",50)(4,"div"),a(5),d(6,ue,2,1,"span",1),i(),_(7,"div",14),o(8,"div"),a(9),i()()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress," "),e(3),C(" ",t.Data.ShippingAddress.Recipient,""),e(),r("ngIf",t.Data.ShippingAddress.Phone),e(),r("innerHTML",t.Data.ShippingAddress.Street,s),e(2),C(" ",t.Data.ShippingAddress.City," ")}}function fe(n,l){n&1&&(o(0,"th",53),a(1," Disc "),i())}function xe(n,l){if(n&1&&(_(0,"i",56),g(1,"newlines")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.Note),s)}}function ve(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function be(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C(" -",t.DiscountAmount," ")}}function he(n,l){if(n&1&&(o(0,"td",57),d(1,ve,2,1,"div",1)(2,be,2,1,"div",1),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0)}}function ye(n,l){if(n&1&&(o(0,"tr")(1,"td",15),a(2),i(),o(3,"td"),a(4),o(5,"div"),d(6,xe,2,3,"i",54),i()(),o(7,"td"),a(8),i(),o(9,"td",15),a(10),g(11,"number"),i(),o(12,"td"),a(13),i(),o(14,"td",15),a(15),g(16,"number"),i(),d(17,he,3,2,"td",55),o(18,"td",15),a(19),g(20,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,$=c();e(2),C("",p+1,"."),e(2),C(" ",t.Name," "),e(2),r("ngIf",t.Note!=null),e(2),P(t.Code),e(2),P(m(11,9,t.Quantity)),e(3),P(t.UOMName),e(2),P(m(16,11,t.UnitPrice)),e(2),r("ngIf",$.isDiscount),e(2),C(" ",M(20,13,t.Total,O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Se(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(3);e(),C("Qty : ",m(2,1,t.totalQty),";")}}function Ie(n,l){if(n&1&&(o(0,"tr")(1,"th"),d(2,Se,3,3,"span",1),a(3),i(),o(4,"td"),a(5,":"),i(),o(6,"td",58),a(7),i(),o(8,"td",26),a(9),g(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c().ngIf,O=c();e(2),r("ngIf",O.count>1),e(),C("",t.Label," "),e(4),P(t.CurrencySymbol),e(2),C(" ",M(10,4,t.Amount,p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function we(n,l){if(n&1&&(o(0,"td",60),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data.TotalInWords," ")}}function De(n,l){if(n&1&&(o(0,"tr"),_(1,"th",14),o(2,"td"),a(3,":"),i(),d(4,we,2,1,"td",59),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t.Data.TotalInWords)}}function Te(n,l){if(n&1&&(o(0,"span")(1,"span",61),a(2),g(3,"date"),i(),a(4),g(5,"number"),_(6,"br"),i()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("hidden",p.Data.Payments),e(),P(M(3,5,t.Date,"dd MMM yy")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",m(5,8,t.Amount)," ")}}function ke(n,l){if(n&1&&(o(0,"tr"),_(1,"th",14),o(2,"td"),a(3,":"),i(),o(4,"td"),d(5,Te,7,10,"span",29),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t.Data.Invoice.PaymentStateID==2?"Down Payment":"Payment",s),e(4),r("ngForOf",t.Data.Payments)}}function Ee(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Delivery"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",62)(7,"li"),a(8),i()()()()),n&2){let t=c().ngIf;e(8),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function Ae(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",62),_(7,"li",14),g(8,"newlines"),i()()()),n&2){let t=c().ngIf;e(7),r("innerHTML",m(8,1,t.Data.Invoice==null?null:t.Data.Invoice.Note),s)}}function Ne(n,l){if(n&1&&(o(0,"div",63)(1,"h5"),a(2),i(),o(3,"div",36),a(4,"\xA0"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function He(n,l){if(n&1&&(o(0,"div",64)(1,"h5"),a(2),i(),o(3,"div",36),a(4,"\xA0"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Re(n,l){if(n&1&&_(0,"div",65),n&2){let t=c().ngIf;r("innerHTML",t.Template.FooterRight,s)}}function ze(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ne,1,0,"link",3)(4,ee,1,0,"link",4),o(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,re,4,2,"div",10),o(11,"div",11)(12,"h2"),a(13),i(),o(14,"small"),a(15),i(),o(16,"div",12)(17,"div",13),_(18,"span",14),g(19,"newlines"),i(),o(20,"div",15),_(21,"span",14),g(22,"newlines"),i()()()(),d(23,pe,20,7,"div",16),i(),o(24,"div",17)(25,"h1")(26,"strong"),a(27),i(),o(28,"span"),a(29),i()(),o(30,"div")(31,"table")(32,"thead")(33,"tr")(34,"th"),a(35,"Date"),i(),d(36,ge,2,0,"th",1)(37,de,2,0,"th",1)(38,_e,2,0,"th",1)(39,Ce,2,0,"th",1),i()(),o(40,"tbody")(41,"tr")(42,"td"),a(43),g(44,"date"),i(),d(45,me,3,4,"td",1)(46,Pe,2,1,"td",1)(47,se,2,1,"td",1)(48,Oe,2,1,"td",1),i()()()(),d(49,Me,10,5,"div",18),i()()(),o(50,"section",19)(51,"div",20)(52,"table",21)(53,"thead",22)(54,"tr")(55,"th",23),a(56,"No"),i(),o(57,"th"),a(58,"Name"),i(),o(59,"th",24),a(60,"Code"),i(),o(61,"th",25),a(62,"Qty"),i(),o(63,"th",26),a(64,"UOM"),i(),o(65,"th",27),a(66),i(),d(67,fe,2,0,"th",28),o(68,"th",27),a(69),i()()(),o(70,"tbody"),d(71,ye,21,16,"tr",29),i(),o(72,"tr",30)(73,"td",31)(74,"table",32)(75,"tbody"),d(76,Ie,11,7,"tr",29),i()()()()()()(),o(77,"table",33),d(78,De,5,2,"tr",1)(79,ke,6,2,"tr",1)(80,Ee,9,1,"tr",1)(81,Ae,9,3,"tr",1),i(),o(82,"div")(83,"div")(84,"div",34)(85,"div",35)(86,"h5"),a(87),i(),o(88,"div",36),a(89,"\xA0"),i()(),d(90,Ne,5,1,"div",37)(91,He,5,1,"div",38),o(92,"div",39)(93,"h5"),a(94),i(),o(95,"div",36),a(96),i()()()()(),o(97,"div",40),_(98,"div",41),d(99,Re,1,1,"div",42),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,39,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngIf",t.Template.PrintLX300),e(),r("ngIf",t.Template.PrintLX300),e(),r("ngClass",it(48,Yn,t.Template.PrintLX300,!t.Template.PrintLX300)),e(5),f(t.Template.Logo?10:-1),e(3),P(t.Template.Title),e(2),P(t.Template.Field),e(3),r("innerHTML",m(19,41,t.Template.Address),s),e(3),r("innerHTML",m(22,43,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t.Data.Prefixed),e(2),C(" ",t.Data.Invoice==null?null:t.Data.Invoice.Number," "),e(7),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.SaleVisible),e(),r("ngIf",(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber)!=null),e(4),P(M(44,45,t.Data.Invoice==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(2),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.SaleVisible),e(),r("ngIf",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber),e(),r("ngIf",t.Data.ShippingAddress),e(17),C(" Price(",t.Data.CurrencySymbol,") "),e(),r("ngIf",p.isDiscount),e(2),C(" Total(",t.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Data.Items),e(5),r("ngForOf",t.Data.Aggregate),e(2),r("ngIf",(t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||t.Data.TotalInWords),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&t.Data.Payments.length>0),e(),r("ngIf",(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO)!=null&&(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateID)!=3&&(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.DeliveryInfoVisible)),e(),r("ngIf",t.Data.Invoice==null?null:t.Data.Invoice.Note),e(6),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy," "),e(3),r("ngIf",(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==1||(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(),r("ngIf",(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(3),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy," "),e(2),C(" ",t.Data.ItemTransfer==null?null:t.Data.ItemTransfer.Courier," "),e(2),r("ngClass",!t.Template.FooterRight&&"single")("innerHTML",t.Template.FooterLeft,s),e(),r("ngIf",t.Template.FooterRight)}}var $t=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;isDiscount=!1;count;totalQty;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t.Print,this.httpService.post(I.CustomerPoInvoice,t).pipe(F(p=>(t.Printer&&(p.Template.PrintLX300=t.Printer=="EpsonLX300"),p))))),E(t=>{this.calculateQty(t),this.isHasDiscount(t),l==1&&window.setTimeout(function(){window.print()},500)}))}calculateQty(l){this.count=0,this.totalQty=0;for(let t of l?.Data?.Items)this.totalQty+=t.Quantity,this.count++}isHasDiscount(l){let t=l?.Data?.Items;t&&(this.isDiscount=t.some(p=>p.Discount>0||p.DiscountAmount>0))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-customer-po"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],[1,"print_container",3,"ngClass"],[1,"sales_order_A4"],[1,"header","clearfix","row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"col-7","p-0","ms-2","header-left"],[1,"company","row"],[1,"col-auto"],[1,"companyBody","col-8","g-0","p-0","m-0"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact","style","min-width: 400px",4,"ngIf"],[1,"col","p-0","m-0","header_right"],["class","contact shippingAddress",4,"ngIf"],[1,"cart-mini-items"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#fdf3c6"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],["class","number text-end","style","width: 20px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer",2,"border","1px solid transparent"],["colspan","9",1,"number","noTopPad"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],[1,"signature"],[1,"left"],[1,"name"],["class","left leftSmall",4,"ngIf"],["class","left rightSmall",4,"ngIf"],[1,"right"],[1,"note"],[1,"left",3,"ngClass","innerHTML"],["class","right",3,"innerHTML",4,"ngIf"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[4,"ngIf","ngIfElse"],["class","col-md-12 px-0",3,"style","src",4,"ngIf"],[1,"col-md-12","px-0",3,"src"],["class","col-md-12 px-0",3,"src",4,"ngIf"],[1,"contact",2,"min-width","400px"],[1,"box"],[1,"customer_info"],[1,"contact","shippingAddress"],[1,"number","text-end",2,"width","20px"],["class","special-TinyMCE","style","word-break: break-all",3,"innerHTML",4,"ngIf"],["class","number red text-end",4,"ngIf"],[1,"special-TinyMCE",2,"word-break","break-all",3,"innerHTML"],[1,"number","red","text-end"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[3,"hidden"],[1,"float"],[1,"left","leftSmall"],[1,"left","rightSmall"],[1,"right",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ze,100,51,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,j,st,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var xt=(O=>(O[O.TRANSFER_ORDER=0]="TRANSFER_ORDER",O[O.OUTBOUND=1]="OUTBOUND",O[O.INBOUND=2]="INBOUND",O[O.INVOICE_DELIVERY=3]="INVOICE_DELIVERY",O))(xt||{});var Be=(n,l)=>({lx300:n,"print-normal":l}),Le=n=>({width:n}),Je=(n,l)=>({"justify-content-between":n,"justify-content-end":l});function Ve(n,l){n&1&&_(0,"link",9)}function Fe(n,l){n&1&&_(0,"link",10)}function je(n,l){if(n&1&&(x(0),_(1,"POS-print-mode",52),v()),n&2){let t=c(2);e(),r("paperPrints",t.paperPrintMode)}}function Ue(n,l){if(n&1&&(x(0),_(1,"img",54),v()),n&2){let t=c(3);e(),ct(et(3,Le,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),r("src",t.printTemplate.Logo,J)}}function $e(n,l){if(n&1&&_(0,"img",54),n&2){let t=c(3);r("src",t.printTemplate.Logo,J)}}function Qe(n,l){if(n&1&&(o(0,"div",15),d(1,Ue,2,5,"ng-container",53)(2,$e,1,1,"ng-template",null,2,Y),i()),n&2){let t=Z(3),p=c(2);e(),r("ngIf",(p.config==null||p.config.PrintConfigInvoice==null||p.config.PrintConfigInvoice.LogoConfig==null?null:p.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function We(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function Ge(n,l){n&1&&(o(0,"th"),a(1," ToP "),i())}function Xe(n,l){n&1&&(o(0,"th"),a(1," Sales "),i())}function Ze(n,l){n&1&&(x(0),o(1,"th"),a(2,"PO#"),i(),v())}function qe(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c(2);e(),C(" ",M(2,1,t.data.DueDate,"dd MMM yyyy")," ")}}function Ke(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),C(" ",t.data.ToP," ")}}function Ye(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),C(" ",t.data.SalesName," ")}}function ti(n,l){if(n&1&&(x(0),o(1,"td"),a(2),i(),v()),n&2){let t=c(2);e(2),P(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function ni(n,l){if(n&1&&(o(0,"div",55),_(1,"h3",56),o(2,"div"),a(3),_(4,"div",56)(5,"div",56),i()()),n&2){let t=c(2);un("margin-right","15px"),e(),r("innerHtml",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,s),e(2),gt(" ",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Name," ",!(t.data==null||t.data.Shipping==null)&&t.data.Shipping.Phone?", "+(t.data==null||t.data.Shipping==null?null:t.data.Shipping.Phone):""," "),e(),r("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Address,s),e(),r("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.City,s)}}function ei(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.Contact.Email)}}function ii(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(3);e(),r("innerHTML",t.data.Contact.Address,s)}}function oi(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function li(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.City)}}function ai(n,l){if(n&1&&(o(0,"div",57),_(1,"span",17),o(2,"strong",58),a(3),i(),o(4,"div",59),d(5,ei,3,1,"div",12)(6,ii,2,1,"div",12)(7,oi,3,1,"div",12)(8,li,3,1,"div",12),i()()),n&2){let t=c(2);e(),r("innerHTML",t.data.IsInDelivery?t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle:t.config.PrintConfigInvoice.DocumentLabel.Customer,s),e(2),gt("",t.data.Contact.Title," ",t.data.Contact.Name,""),e(2),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function ri(n,l){n&1&&(o(0,"th",60),a(1," Code "),i())}function ci(n,l){if(n&1&&(o(0,"th",34),a(1),i()),n&2){let t=c(2);e(),C(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function pi(n,l){n&1&&Mt(0)}function gi(n,l){if(n&1&&d(0,pi,1,0,"ng-container",61),n&2){c();let t=Z(66);r("ngTemplateOutlet",t)}}function di(n,l){n&1&&Mt(0)}function _i(n,l){if(n&1&&d(0,di,1,0,"ng-container",61),n&2){c();let t=Z(66);r("ngTemplateOutlet",t)}}function Ci(n,l){if(n&1&&(o(0,"th",62),a(1),i(),o(2,"th",63),a(3),i()),n&2){let t=c(2);e(),C("Cost (",t.data.currencySymbol,")"),e(2),C(" Total Cost (",t.data.currencySymbol,") ")}}function mi(n,l){n&1&&Mt(0)}function Pi(n,l){if(n&1&&d(0,mi,1,0,"ng-container",61),n&2){c();let t=Z(70);r("ngTemplateOutlet",t)}}function si(n,l){n&1&&Mt(0)}function Oi(n,l){if(n&1&&d(0,si,1,0,"ng-container",61),n&2){c();let t=Z(70);r("ngTemplateOutlet",t)}}function ui(n,l){if(n&1&&(o(0,"th",64),a(1),i(),o(2,"th",65),a(3,"%"),i(),o(4,"th",66),a(5),i()),n&2){let t=c(2);e(),C("Price (",t.data.currencySymbol,")"),e(4),C(" Total Price (",t.data.currencySymbol,") ")}}function Mi(n,l){n&1&&(o(0,"th"),a(1,"Note"),i())}function fi(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),C(" Price (",t.data.currencySymbol,") ")}}function xi(n,l){if(n&1&&(o(0,"th",66),a(1),i()),n&2){let t=c(2);e(),C(" Total Price (",t.data.currencySymbol,") ")}}function vi(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),C(" Cost (",t.data.currencySymbol,") ")}}function bi(n,l){if(n&1&&(o(0,"th",63),a(1),i()),n&2){let t=c(2);e(),C(" Total Cost (",t.data.currencySymbol,") ")}}function hi(n,l){if(n&1&&(o(0,"div")(1,"small",70),a(2),i()()),n&2){let t=c().$implicit;e(2),P(t.StorageLocation)}}function yi(n,l){if(n&1&&_(0,"i",72),n&2){let t=c(2).$implicit;r("innerHTML",t.Note,s)}}function Si(n,l){if(n&1&&(o(0,"div"),d(1,yi,1,1,"i",71),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Note!=null)}}function Ii(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function wi(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.Unit),"")}}function Di(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.UnitQuantity),"")}}function Ti(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.Unit)," ")}}function ki(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.UnitQuantity)," ")}}function Ei(n,l){if(n&1&&(o(0,"td"),d(1,Ti,3,3,"span",12)(2,ki,3,3,"span",12),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Unit),e(),r("ngIf",t.UnitQuantity)}}function Ai(n,l){n&1&&Mt(0)}function Ni(n,l){if(n&1&&d(0,Ai,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function Hi(n,l){n&1&&Mt(0)}function Ri(n,l){if(n&1&&d(0,Hi,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function zi(n,l){n&1&&Mt(0)}function Bi(n,l){if(n&1&&d(0,zi,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function Li(n,l){n&1&&Mt(0)}function Ji(n,l){if(n&1&&d(0,Li,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function Vi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.UnitCost),s)}}function Fi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.TotalCost),s)}}function ji(n,l){if(n&1&&d(0,Vi,2,3,"td",69)(1,Fi,2,3,"td",69),n&2){let t=c(3);r("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)),e(),r("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible))}}function Ui(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function $i(n,l){if(n&1&&_(0,"td",73),n&2){let t=c(2).$implicit;r("innerHTML",t.Discount,s)}}function Qi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.TotalPrice),s)}}function Wi(n,l){if(n&1&&d(0,Ui,2,3,"td",69)(1,$i,1,1,"td",69)(2,Qi,2,3,"td",69),n&2){let t=c(3);r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)),e(),r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)),e(),r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible))}}function Gi(n,l){if(n&1&&(o(0,"td"),_(1,"span",74),i()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note?t.Note:t.PONote,s)}}function Xi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Zi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.TotalPrice),s)}}function qi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitCost),s)}}function Ki(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.TotalCost),s)}}function Yi(n,l){if(n&1&&(o(0,"tr")(1,"td",67),a(2),i(),o(3,"td")(4,"div"),a(5),d(6,hi,3,1,"div",12),i(),_(7,"app-serial-note",68),d(8,Si,2,1,"div",12),i(),d(9,Ii,2,1,"td",12),o(10,"td",45),a(11),g(12,"number"),d(13,wi,3,3,"span",12)(14,Di,3,3,"span",12),i(),d(15,Ei,3,2,"td",12),o(16,"td"),a(17),i(),d(18,Ni,1,1,"ng-container")(19,Ri,1,1,"ng-container")(20,Bi,1,1,"ng-container")(21,Ji,1,1,"ng-container")(22,ji,2,2,"ng-template",null,3,Y)(24,Wi,3,3,"ng-template",null,4,Y)(26,Gi,2,1,"td",12)(27,Xi,2,3,"td",69)(28,Zi,2,3,"td",69)(29,qi,2,3,"td",69)(30,Ki,2,3,"td",69),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(2),C("",p+1,"."),e(3),C(" ",t.Name," "),e(),r("ngIf",O.config==null||O.config.PrintConfigDelivery==null?null:O.config.PrintConfigDelivery.Visibility.StorageLocationVisible),e(),r("serials",t.Serial),e(),r("ngIf",O.data.IsTransfer),e(),r("ngIf",O.config==null||O.config.PrintConfigDelivery==null?null:O.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(2),C(" ",m(12,20,t.Quantity)," "),e(2),r("ngIf",t.Unit!=1&&t.Unit!=null&&(O.config.PrintConfigInvoice==null||O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",t.UnitQuantity!=1&&t.UnitQuantity!=null&&(O.config.PrintConfigInvoice==null||O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",O.config.ModuleSell.ProductDialog.UnitQtyLabel&&(O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(2),P(t.UOMName),e(),f(O.type==O.printingType.INBOUND&&O.roleService.product.Cost?18:-1),e(),f(O.type==O.printingType.TRANSFER_ORDER&&(!(O.config==null||O.config.PrintConfigDelivery==null)&&O.config.PrintConfigDelivery.Visibility.CostVisible)&&O.roleService.product.Cost?19:-1),e(),f(O.type==O.printingType.TRANSFER_ORDER&&(!(O.config==null||O.config.PrintConfigDelivery==null)&&O.config.PrintConfigDelivery.Visibility.PriceVisible)&&O.roleService.product.Price?20:-1),e(),f(O.type==O.printingType.OUTBOUND&&O.roleService.product.Price?21:-1),e(5),r("ngIf",!O.data.IsTransfer),e(),r("ngIf",O.data.isPrice&&O.data.unitPrice!=null),e(),r("ngIf",O.data.isPrice&&O.data.unitPrice!=null),e(),r("ngIf",O.data.isCost&&O.data.unitCost!=null),e(),r("ngIf",O.data.isCost&&O.data.unitCost!=null)}}function to(n,l){if(n&1&&(o(0,"td",42)(1,"div",75)(2,"span",76),a(3,"Weight: "),i(),o(4,"span",76),a(5),g(6,"number"),i()()()),n&2){let t=c(2);e(5),C("",m(6,1,t.totalWeight())," gr")}}function no(n,l){if(n&1&&_(0,"td",43),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function eo(n,l){n&1&&_(0,"td")}function io(n,l){n&1&&_(0,"td")}function oo(n,l){if(n&1&&(o(0,"td",44)(1,"b"),a(2),g(3,"number"),i()()),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),P(m(3,2,t.TotalCost))}}function lo(n,l){n&1&&_(0,"td")}function ao(n,l){n&1&&_(0,"td")}function ro(n,l){if(n&1&&(o(0,"td",77)(1,"b"),a(2),g(3,"number"),i()()),n&2){let t=c(2);e(2),P(m(3,1,t.TotalPrice))}}function co(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(4);e(),P(t.data.Items.length>1?"Qty: "+m(2,1,t.TotalQty):"")}}function po(n,l){if(n&1&&(o(0,"tr")(1,"th",79),d(2,co,3,3,"span",12),a(3),i(),o(4,"th"),a(5,":"),i(),o(6,"th",80),a(7),i(),o(8,"th",34),a(9),g(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c(3);e(2),r("ngIf",p.config.PrintConfigInvoice.ItemsFooter.TotalQuantityVisible),e(),C(" ",t.Label," "),e(4),P(t.CurrencySymbol),e(2),C(" ",M(10,4,t.Amount,p.data.TrailingZero)," ")}}function go(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",80),a(6),i(),o(7,"td",34),a(8),g(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c(3);e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount,p.data.TrailingZero)," ")}}function _o(n,l){if(n&1&&(o(0,"div",49)(1,"table",78)(2,"tbody"),d(3,po,11,7,"tr",40)(4,go,10,6,"tr",40),i()()()),n&2){let t=c(2);e(3),r("ngForOf",t.data.AmountSummary),e(),r("ngForOf",t.data.PaidAmountSummary)}}function Co(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),r("innerHTML",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note),s)}}function mo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),r("innerHTML",t.data==null?null:t.data.Status,s)}}function Po(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"date"),i()()()()),n&2){let t=c(3);e(2),C(" ",t.config.ModuleSell.Shipping.DateLabel," "),e(6),C(" ",M(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function so(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Approved by"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),P(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Approval)}}function Oo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Remaining"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"sum"),g(10,"number"),i()()()()),n&2){let t=c(3);e(8),C(" ",m(10,4,(t.data==null?null:t.data.FinalAmount)-M(9,1,t.data==null?null:t.data.Payments,"Amount"))," ")}}function uo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Courier"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),C(" ",t.data.ItemTransfer.Courier," ")}}function Mo(n,l){if(n&1&&(o(0,"table",81),d(1,Co,8,1,"tr",12)(2,mo,8,1,"tr")(3,Po,10,5,"tr",12)(4,so,9,1,"tr",12)(5,Oo,11,6,"tr",12)(6,uo,9,1,"tr",12),i()),n&2){let t=c(2);e(),r("ngIf",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note)),e(),f(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Visibility==null)&&t.config.PrintConfigDelivery.Visibility.StatusVisible?2:-1),e(),r("ngIf",t.data.CustomDate&&t.config.ModuleSell.Shipping.DateLabel),e(),r("ngIf",t.config.PrintConfigDelivery.Visibility.ApprovalVisible),e(),r("ngIf",t.config.PrintConfigDelivery.Footer.RemainingAmountVisible),e(),r("ngIf",t.data.ItemTransfer.Courier)}}function fo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,s)}}function xo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,s)}}function vo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,s)}}function bo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function ho(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,s)}}function yo(n,l){if(n&1&&(o(0,"div",92),_(1,"div",93),i()),n&2){let t=c(3);e(),r("innerHTML",t.printTemplate.DeliveryNote,s)}}function So(n,l){if(n&1&&_(0,"small",94),n&2){let t=c(3);r("innerHTML",t.data.Creator,s)}}function Io(n,l){if(n&1&&(o(0,"div",83)(1,"div",84),d(2,fo,5,1,"div",85)(3,xo,5,1,"div",85)(4,vo,5,1,"div",85)(5,bo,5,1,"div",85)(6,ho,5,1,"div",85),i(),d(7,yo,2,1,"div",86),o(8,"div",87),d(9,So,1,1,"small",88),i()()),n&2){let t=c(2);e(),r("ngClass",it(8,Je,t.signatureCount()>1,t.signatureCount()==1)),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker),e(),r("ngIf",!t.data.IsTransfer),e(2),r("ngIf",t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}function wo(n,l){if(n&1&&(o(0,"div",11),d(1,je,2,1,"ng-container",12),o(2,"div")(3,"div",13)(4,"div",14),d(5,Qe,4,2,"div",15),o(6,"div",16),_(7,"h2",17)(8,"small",17),o(9,"div")(10,"div"),_(11,"div",17),g(12,"newlines"),i(),o(13,"div"),_(14,"div",17),g(15,"newlines"),_(16,"br"),i()()()()(),o(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"strong"),a(22),g(23,"uppercase"),i(),_(24,"span",17),i()(),o(25,"div",22)(26,"table",23)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),i(),d(31,We,2,0,"th",12)(32,Ge,2,0,"th",12)(33,Xe,2,0,"th",12)(34,Ze,3,0,"ng-container",12),i()(),o(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),i(),d(40,qe,3,4,"td",12)(41,Ke,2,1,"td",12)(42,Ye,2,1,"td",12)(43,ti,3,1,"ng-container",12),i()()()()(),o(44,"div",24),d(45,ni,6,7,"div",25),i()()(),o(46,"div",26),d(47,ai,9,7,"div",27),i(),o(48,"div",28)(49,"div",29)(50,"table",30)(51,"thead")(52,"tr",31)(53,"th",32),a(54,"No"),i(),o(55,"th"),a(56,"Name"),i(),d(57,ri,2,0,"th",33),o(58,"th",34),a(59,"Qty"),i(),d(60,ci,2,1,"th",35),o(61,"th",36),a(62,"UOM"),i(),d(63,gi,1,1,"ng-container")(64,_i,1,1,"ng-container")(65,Ci,4,2,"ng-template",null,0,Y)(67,Pi,1,1,"ng-container")(68,Oi,1,1,"ng-container")(69,ui,6,2,"ng-template",null,1,Y)(71,Mi,2,0,"th",12)(72,fi,2,1,"th",37)(73,xi,2,1,"th",38)(74,vi,2,1,"th",37)(75,bi,2,1,"th",39),i()(),o(76,"tbody"),d(77,Yi,31,22,"tr",40),i(),o(78,"tfoot")(79,"tr",41),d(80,to,7,3,"td",42)(81,no,1,1,"td",43),o(82,"td",44)(83,"b"),a(84,"Total"),i()(),o(85,"td",45)(86,"b"),a(87),g(88,"number"),i()(),d(89,eo,1,0,"td",12)(90,io,1,0,"td",12)(91,oo,4,4,"td",46)(92,lo,1,0,"td",12)(93,ao,1,0,"td",12)(94,ro,4,3,"td",47),i()()()(),d(95,_o,5,2,"div",48),o(96,"div",49),d(97,Mo,7,6,"table",50),i(),d(98,Io,10,11,"div",51),i()()),n&2){let t=c();r("ngClass",it(60,Be,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),e(),r("ngIf",t.hasInvoiceOption),e(),ht("",t.printTemplate.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(3),f(t.printTemplate.Logo?5:-1),e(2),r("innerHTML",t.printTemplate.Title,s),e(),r("innerHTML",t.printTemplate.Field,s),e(3),r("innerHTML",m(12,49,t.printTemplate.Address),s),e(3),r("innerHTML",m(15,51,t.printTemplate.ContactInfo),s),e(8),C(" ",m(23,53,t.data.Prefixed)," "),e(2),r("innerHTML",t.data.ItemTransfer.Number,s),e(7),r("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Advanced==null?null:t.config.PrintConfigDelivery.Advanced.PrintPONumber)&&(t.data.PO==null?null:t.data.PO.ReferenceNumber)),e(4),P(M(39,55,t.data.ItemTransfer.Date,"dd MMM yyyy")),e(2),r("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Advanced==null?null:t.config.PrintConfigDelivery.Advanced.PrintPONumber)&&(t.data.PO==null?null:t.data.PO.ReferenceNumber)),e(),un("margin-top","40px"),e(),r("ngIf",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Name),e(2),r("ngIf",t.data.Contact.Name),e(10),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(3),r("ngIf",t.config.ModuleSell.ProductDialog.UnitQtyLabel&&(t.config.PrintConfigInvoice.ItemsTable==null||t.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:t.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(3),f(t.type==t.printingType.INBOUND&&t.roleService.product.Cost&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)?63:-1),e(),f(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost?64:-1),e(3),f(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.roleService.product.Price?67:-1),e(),f(t.type==t.printingType.OUTBOUND&&t.roleService.product.Price&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)?68:-1),e(3),r("ngIf",!t.data.IsTransfer),e(),r("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),r("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),r("ngIf",t.data.isCost&&t.data.unitCost!=null),e(),r("ngIf",t.data.isCost&&t.data.unitCost!=null),e(2),r("ngForOf",t.data.Items),e(3),f(t.totalWeight()>0&&(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Footer==null)&&t.config.PrintConfigDelivery.Footer.TotalWeightVisible)?80:81),e(2),r("colSpan",1),e(5),P(m(88,58,t.TotalQty)),e(2),r("ngIf",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",t.data.AmountSummary),e(2),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Footer.DeliveryNoteVisible),e(),r("ngIf",t.config.PrintConfigGeneral.Visibility.Visible)}}var ut=class n{constructor(l,t,p){this.activeRoute=l;this.decimalPipe=t;this.roleService=p}data;printTemplate;config;hasInvoiceOption=!1;paperPrintMode=[];type=0;stylesheet;printingType=xt;TotalPack;TotalCost;TotalPrice;TotalQty;GuidEmpty=D.GuidEmpty;totalWeight=_t(0);signatureCount=_t(0);ngOnChanges(l){this.TotalPack=0,this.TotalCost=0,this.TotalPrice=0,this.TotalQty=0;let t=0;if(l.data.currentValue){for(let p of this.data.Items)this.TotalPack+=p.Pack,this.TotalCost+=p.TotalCost,this.TotalPrice+=p.TotalPrice,this.TotalQty+=p.Quantity,t+=p.TotalWeight;this.totalWeight.set(t),this.checkSignatureCount()}}checkSignatureCount(){let l=[this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Courier,this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Recipient,this.config?.PrintConfigDelivery?.FooterLabel.Warehouse,this.config?.PrintConfigDelivery?.FooterLabel.DeliveredBy,this.config?.PrintConfigDelivery?.FooterLabel.Checker].filter(t=>D.IsNotEmpty(t));this.signatureCount.set(l.length)}static \u0275fac=function(t){return new(t||n)(u(h),u(R),u(St))};static \u0275cmp=b({type:n,selectors:[["pos-customer-delivery"]],inputs:{data:"data",printTemplate:"printTemplate",config:"config",hasInvoiceOption:"hasInvoiceOption",paperPrintMode:"paperPrintMode",type:"type",stylesheet:"stylesheet"},standalone:!1,features:[In],decls:5,vars:6,consts:[["CostHeader",""],["PriceHeader",""],["DEFAULTWIDTH",""],["CostBody",""],["PriceBody",""],["rel","stylesheet"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["class","print_container outdelivery_print_container",3,"ngClass",4,"ngIf"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"print_container","outdelivery_print_container",3,"ngClass"],[4,"ngIf"],[1,"col-7","p-0","ms-2","header-left","header-left-delivery"],[1,"row","g-0"],[1,"col-auto","shop-logo"],[1,"col-8","g-0","p-0","m-0","ms-3","shop-description"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"row","g-0","me-0","justify-content-end","invoice_number"],[1,"col-12","d-flex","justify-content-end"],[1,"h2","text-end"],[1,"p-0","col-auto","d-flex","justify-content-end","table-delivery"],[1,"table","table-sm","table-bordered"],[1,"row","d-flex","justify-content-end"],["class","col-9 border contact shippingAddress",3,"margin-right",4,"ngIf"],[1,"row","px-3","mx-0","mt-0","justify-content-between"],["class","col-auto border",4,"ngIf"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"table","table-striped","table-sm","table-bordered",2,"width","100%"],[2,"background-color","#fdf3c6"],[2,"width","20px"],["style","width: 75px",4,"ngIf"],[2,"width","50px"],["style","width: 50px",4,"ngIf"],[2,"width","40px"],["style","width: 80px",4,"ngIf"],["style","width: 130px",4,"ngIf"],["style","width: 125px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-none"],["colspan","2"],[3,"colSpan"],[1,"text-end",3,"colSpan"],[1,"text-center"],["class","text-end",3,"colSpan",4,"ngIf"],["class","text-end",4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"col-md-12"],["class","info m-0",4,"ngIf"],["class","col-12 signature-b",4,"ngIf"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[4,"ngIf","ngIfElse"],[1,"col-md-12","logo",3,"src"],[1,"col-9","border","contact","shippingAddress"],[3,"innerHtml"],[1,"col-auto","border"],[1,"ms-2"],[1,"customer_info"],[2,"width","75px"],[4,"ngTemplateOutlet"],[2,"width","85px"],[2,"width","125px"],[2,"width","80px"],[2,"width","10px","text-align","right"],[2,"width","130px"],[1,"py-5"],[3,"serials"],["class","text-end",3,"innerHTML",4,"ngIf"],[1,"fst-italic","fs-6","text-body-secondary"],["style","word-break: break-all",3,"innerHTML",4,"ngIf"],[2,"word-break","break-all",3,"innerHTML"],[1,"text-end",3,"innerHTML"],[1,"note-span",2,"word-break","break-all",3,"innerHTML"],[1,"item-delivery-weight"],[1,"fw-bold"],[1,"text-end"],[1,"table","table-sm","table-borderless","d-flex","justify-content-end"],["colspan","3"],[1,"currency"],[1,"info","m-0"],[1,"float"],[1,"col-12","signature-b"],[1,"d-flex","justify-content-between","align-items-center",3,"ngClass"],["style","height: 120px; width: 150px",4,"ngIf"],["class","note",4,"ngIf"],[1,"col-12","d-flex","justify-content-center"],["class","d-block text-center fst-italic py-2","style","font-size: 12px",3,"innerHTML",4,"ngIf"],[2,"height","120px","width","150px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],[1,"left",3,"innerHTML"],[1,"d-block","text-center","fst-italic","py-2",2,"font-size","12px",3,"innerHTML"]],template:function(t,p){t&1&&(_(0,"link",5),g(1,"StylesheetSafeUrl"),d(2,Ve,1,0,"link",6)(3,Fe,1,0,"link",7)(4,wo,99,63,"div",8)),t&2&&(H("href",p.stylesheet!=null&&p.stylesheet.SizeA4?m(1,4,p.stylesheet==null?null:p.stylesheet.SizeA4):null,N),e(2),r("ngIf",p.data&&(p.printTemplate==null?null:p.printTemplate.PrintLX300)),e(),r("ngIf",p.data&&(p.printTemplate==null?null:p.printTemplate.PrintLX300)),e(),r("ngIf",p.data))},dependencies:()=>[q,L,y,zn,Ct,dt,Bn,R,V,K,j,st,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9e9e9e;padding:5px}div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.contact[_ngcontent-%COMP%]{float:left}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.note-span[_ngcontent-%COMP%] p{margin:0}.grid_footer[_ngcontent-%COMP%], .grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0!important}']})},Qt=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,It,Vn,Vt,dt]})};var Gt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}printType=xt;data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.OutDeliveryInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-out-delivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,p){if(t&1&&(_(0,"pos-customer-delivery",0),g(1,"async"),g(2,"async"),g(3,"async"),g(4,"async")),t&2){let O,$,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",($=m(2,7,p.data$))==null?null:$.Template)("config",(nt=m(3,9,p.data$))==null?null:nt.AppConfigJSON)("type",p.printType.OUTBOUND)("stylesheet",(lt=m(4,11,p.data$))==null?null:lt.StylesSheet)}},dependencies:[ut,w],encapsulation:2})};var Do=(n,l)=>({lx300:n,"print-normal":l});function To(n,l){n&1&&_(0,"link",18)}function ko(n,l){n&1&&_(0,"link",19)}function Eo(n,l){n&1&&_(0,"link",20)}function Ao(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.ContactDisplay)}}function No(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Email)}}function Ho(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Mobile)}}function Ro(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Phone)}}function zo(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Address,s)}}function Bo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.CityName)}}function Lo(n,l){if(n&1&&(o(0,"div",21)(1,"div",22)(2,"h4"),_(3,"span",17),i(),d(4,Ao,2,1,"strong",0)(5,No,3,1,"div",0)(6,Ho,3,1,"div",0)(7,Ro,3,1,"div",0)(8,zo,2,1,"div",0)(9,Bo,3,1,"div",0),i()()),n&2){let t=c().ngIf;e(3),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,s),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Jo(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Recipient)}}function Vo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Street)}}function Fo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Phone)}}function jo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.City)}}function Uo(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Description,s)}}function $o(n,l){if(n&1&&(o(0,"div",7)(1,"div",23)(2,"div",9),_(3,"span",17),i(),d(4,Jo,2,1,"strong",0)(5,Vo,3,1,"div",0)(6,Fo,3,1,"div",0)(7,jo,3,1,"div",0)(8,Uo,2,1,"div",0),i()()),n&2){let t=c().ngIf;e(3),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress,s),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Street),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Mobile),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.City),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Description)}}function Qo(n,l){if(n&1&&(x(0),o(1,"div",24)(2,"div",25)(3,"div",26)(4,"span",9),a(5),i()()()(),v()),n&2){let t=c().ngIf;e(5),P(t==null||t.Data==null?null:t.Data.TypeName)}}function Wo(n,l){n&1&&(o(0,"th"),a(1," Code "),i())}function Go(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function Xo(n,l){if(n&1&&(o(0,"tr"),_(1,"td",33),i()),n&2){let t=c().$implicit,p=c(2).ngIf;e(),r("colSpan",!(p==null||p.AppConfigJSON==null)&&p.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible?4:3)("innerHTML",t.Note,s)}}function Zo(n,l){if(n&1&&(o(0,"tbody")(1,"tr")(2,"td",32),a(3),i(),o(4,"td"),a(5),i(),d(6,Go,2,1,"td",0),o(7,"td",32),a(8),g(9,"number"),i()(),d(10,Xo,2,2,"tr",0),i()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf;e(3),P(p+1),e(2),C(" ",t.Name," "),e(),r("ngIf",O==null||O.AppConfigJSON==null||O.AppConfigJSON.PrintConfigPackingSlip==null?null:O.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible),e(2),P(m(9,5,t.Quantity)),e(2),r("ngIf",(O==null||O.AppConfigJSON==null||O.AppConfigJSON.PrintConfigInvoice==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible)&&t.Note)}}function qo(n,l){if(n&1&&(o(0,"div",13)(1,"div",8)(2,"table",27)(3,"thead",28)(4,"tr")(5,"th",29),a(6,"No"),i(),o(7,"th",30),a(8,"Name"),i(),d(9,Wo,2,0,"th",0),o(10,"th",29),a(11,"Qty"),i()()(),d(12,Zo,11,7,"tbody",31),i()()()),n&2){let t=c().ngIf;e(9),r("ngIf",t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible),e(3),r("ngForOf",t==null||t.Data==null?null:t.Data.List)}}function Ko(n,l){if(n&1&&(o(0,"div",13)(1,"div",8),_(2,"div",34),i()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Yo(n,l){if(n&1&&(x(0),d(1,To,1,0,"link",1)(2,ko,1,0,"link",2)(3,Eo,1,0,"link",3),_(4,"link",4),g(5,"StylesheetSafeUrl"),o(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"span"),a(12),i()()()(),d(13,Lo,10,7,"div",10)(14,$o,9,6,"div",11)(15,Qo,6,1,"ng-container",0)(16,qo,13,2,"div",12)(17,Ko,3,1,"div",12),o(18,"div",13)(19,"div",8)(20,"div",14)(21,"div",15)(22,"div",16),_(23,"span",17),i()()()()()()(),v()),n&2){let t=l.ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(5,13,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("ngClass",it(15,Do,t==null||t.Template==null?null:t.Template.PrintLX300,!(!(t==null||t.Template==null)&&t.Template.PrintLX300))),e(5),gt("",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigOthers==null?null:t.AppConfigJSON.PrintConfigOthers.Header.PackingReceiptTitle," : ",t==null||t.Data==null?null:t.Data.Delivery.Number,""),e(),r("ngIf",!(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Recipient)),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Shipping),e(),r("ngIf",t==null||t.Data==null?null:t.Data.TypeName),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null?null:t.AppConfigJSON.PrintConfigPackingSlip.ProductTableVisible),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null?null:t.AppConfigJSON.PrintConfigPackingSlip.RenderInvoiceNote)&&(t==null||t.Data==null?null:t.Data.Invoice.Note)!=null),e(6),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}var Xt=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.PackingSlipInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-packing-slip"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery"],[3,"ngClass"],[1,"row","g-0","mb-2"],[1,"col"],[1,"fw-bold"],["class","row g-0 pt-3 mb-2",4,"ngIf"],["class","row g-0 mb-2",4,"ngIf"],["class","row g-0",4,"ngIf"],[1,"row","g-0"],["id","signatureNote"],[1,"note"],[1,"d-flex","justify-content-md-start"],[3,"innerHTML"],["href",rt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"row","g-0","pt-3","mb-2"],[1,"col","border","border-dark","py-2","px-2"],[1,"col","border","border-dark","py-2","px-2","mb-2"],[1,"row","mb-2"],[1,"col","text-end","my-2"],[1,"border","border-dark","py-2","px-2","mb-2","text-center"],[1,"table","table-striped","table-sm","table-bordered","w-100"],[2,"background","#fdf3c6"],[1,"text-end",2,"width","10%"],[2,"width","80%"],[4,"ngFor","ngForOf"],[1,"text-align"],[1,"fst-italic",3,"colSpan","innerHTML"],[1,"p-5","text-center",2,"border","1px dotted black","background-color","#fceca3",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,Yo,24,18,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}"]})};function tl(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),v()),n&2){let t=l.ngIf,p=c();e(),r("data",t.Data)("workOrderMode",!0)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!0)("stylesheet",t.StylesSheet)}}var Zt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.WorkOrderReceipt,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-work-order"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","workOrderMode","printTemplate","config","barcodeOptions","invoiceOption","stylesheet"]],template:function(t,p){t&1&&(d(0,tl,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function nl(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),o(2,"div",2),_(3,"pos-customer-delivery",3),i(),v()),n&2){let t=l.ngIf,p=c();e(),r("data",t.Invoice)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!1)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0),e(2),r("data",t.Delivery)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var qt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceAndDelivery,t))),F(t=>{if(t.Delivery){let p=t.Invoice?.Order;p.Note=t.Invoice?.Invoice?.Note,t.Delivery.PO=p}return t.Template.PrintLX300=l.Printer=="EpsonLX300",t}),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-delivery"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","printTemplate","config","barcodeOptions","invoiceOption","workOrderMode","stylesheet","saveLastPrintDate"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,nl,4,12,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,ut,w],encapsulation:2})};function el(n,l){if(n&1&&(x(0),_(1,"pos-customer-delivery",1),v()),n&2){let t=l.ngIf,p=c();e(),r("hasInvoiceOption",!0)("paperPrintMode",p.paperPrintMode)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var Kt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.initPrintOption(t),this.httpService.post(I.TransferOrderReceipt,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),this.printInvoice(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}printInvoice(l){l.Print==1&&window.setTimeout(function(){window.print()},500)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-transfer"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"hasInvoiceOption","paperPrintMode","data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,el,2,6,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,ut,w],encapsulation:2})};var Yt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}data$;printType=xt;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t.Print,this.httpService.post(I.InDeliveryInvoice,t).pipe(F(p=>(t.Printer&&(p.Template.PrintLX300=t.Printer=="EpsonLX300"),p))))),E(t=>{this.title.setTitle(t.Title),l==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-indelivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,p){if(t&1&&(_(0,"pos-customer-delivery",0),g(1,"async"),g(2,"async"),g(3,"async"),g(4,"async")),t&2){let O,$,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",($=m(2,7,p.data$))==null?null:$.Template)("config",(nt=m(3,9,p.data$))==null?null:nt.AppConfig)("type",p.printType.INBOUND)("stylesheet",(lt=m(4,11,p.data$))==null?null:lt.StylesSheet)}},dependencies:[ut,w],encapsulation:2})};var ll=["class","component"],al=n=>({width:n});function rl(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;ct(et(3,al,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Template==null?null:t.Template.Logo,J)}}function cl(n,l){if(n&1&&(x(0),d(1,rl,1,5,"img",37),v()),n&2){let t=c(4).ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo)}}function pl(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;r("src",t.Template==null?null:t.Template.Logo,J)}}function gl(n,l){if(n&1&&d(0,pl,1,1,"img",39),n&2){let t=c(4).ngIf;r("ngIf",t.Template==null?null:t.Template.Logo)}}function dl(n,l){if(n&1&&(o(0,"div",30),d(1,cl,2,1,"ng-container",36)(2,gl,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c(3).ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function _l(n,l){if(n&1&&(o(0,"div",29),d(1,dl,4,2,"div",30),o(2,"div",31),_(3,"h2",32)(4,"small",32),o(5,"div",33),_(6,"div",34),g(7,"newlines"),_(8,"div",35),g(9,"newlines"),i()()()),n&2){let t=c(2).ngIf;e(),f(t.Template!=null&&t.Template.Logo?1:-1),e(2),r("innerHTML",t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(7,5,t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(9,7,t.Template==null?null:t.Template.ContactInfo),s)}}function Cl(n,l){if(n&1&&_(0,"strong",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null?null:t.Data.ContactDisplay,s)}}function ml(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Pl(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone,s)}}function sl(n,l){if(n&1&&(_(0,"div",32),g(1,"newlines")),n&2){let t=c(3).ngIf;r("innerHTML",m(1,1,t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Ol(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.City,s)}}function ul(n,l){if(n&1&&(o(0,"div",40),_(1,"h3",32),o(2,"div",41),d(3,Cl,1,1,"strong",42),o(4,"div",43),d(5,ml,1,1,"div",42)(6,Pl,1,1,"div",42)(7,sl,2,3,"div",42)(8,Ol,1,1,"div",42),i()()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,s),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Ml(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function fl(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function xl(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c(2).ngIf;e(),C(" ",M(2,1,t.Data==null?null:t.Data.Due,"dd MMM yyyy")," ")}}function vl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data==null?null:t.Data.ToP," Days ")}}function bl(n,l){n&1&&(o(0,"th"),a(1," Category "),i())}function hl(n,l){n&1&&(o(0,"th",16),a(1,"UOM"),i())}function yl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function Sl(n,l){if(n&1&&(o(0,"th",17),a(1," Price ("),d(2,yl,2,1,"span",1),a(3,") "),i()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Il(n,l){n&1&&(o(0,"th",18),a(1,"Disc"),i())}function wl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function Dl(n,l){if(n&1&&(o(0,"th",44),a(1," Total ("),d(2,wl,2,1,"span",1),a(3,") "),i()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Tl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Category," ")}}function kl(n,l){if(n&1&&_(0,"i",53),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function El(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"quantityFraction"),i()),n&2){let t=c().$implicit;e(),C("x ",m(2,1,t.UnitQuantity),"")}}function Al(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.UOMName?t.UOMName:"-")}}function Nl(n,l){if(n&1&&(_(0,"td",35),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Hl(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Rl(n,l){if(n&1&&(o(0,"div"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C("-",m(2,1,t.DiscountAmount),"")}}function zl(n,l){if(n&1&&(o(0,"td",51),d(1,Hl,2,1,"div")(2,Rl,3,3,"div"),i()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Bl(n,l){if(n&1&&(o(0,"td",54),a(1),g(2,"amountFraction"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.Total)," ")}}function Ll(n,l){if(n&1&&(o(0,"tr"),_(1,"td",45),d(2,Tl,2,1,"td",1),o(3,"td")(4,"span",46),a(5),i(),_(6,"app-serial-note",47),d(7,kl,1,1,"i",48),i(),_(8,"td",32),o(9,"td",49),a(10),g(11,"quantityFraction"),d(12,El,3,3,"span",1),i(),d(13,Al,2,1,"td")(14,Nl,2,3,"td",50)(15,zl,3,2,"td",51)(16,Bl,3,3,"td",52),i()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf,$=c();e(),r("innerHTML",p+1,s),e(),r("ngIf",O.AppConfigJSON.PrintConfigGeneral==null?null:O.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note!=null),e(),r("innerHTML",t.Code,s),e(2),C(" ",m(11,12,t.Quantity)," "),e(2),r("ngIf",t.UnitQuantity!=1),e(),f($.isUomVisible()?13:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost),e(),f(!(O==null||O.Data==null)&&O.Data.IsInRoleCost&&$.isDiscVisible()?15:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost)}}function Jl(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td",57),a(4,":"),i(),o(5,"td",58),a(6),i(),o(7,"td",16),a(8),g(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",m(9,3,t.Amount)," ")}}function Vl(n,l){if(n&1&&(o(0,"td",55)(1,"table",56)(2,"tbody"),d(3,Jl,10,5,"tr",20),i()()()),n&2){let t=c(2).ngIf;e(3),r("ngForOf",t.Data==null?null:t.Data.Aggregate)}}function Fl(n,l){if(n&1&&(o(0,"td",61),a(1),g(2,"newlines"),i()),n&2){let t=c(3).ngIf;e(),C(" ",m(2,1,t.Data==null?null:t.Data.TotalInWord)," ")}}function jl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2),i(),o(3,"td",57),a(4,":"),i(),d(5,Fl,3,3,"td",60),i()),n&2){let t=c(2).ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t.Data==null?null:t.Data.TotalInWord)}}function Ul(n,l){if(n&1&&(o(0,"tr")(1,"th",59)(2,"span"),a(3),i()(),o(4,"td",57),a(5,":"),i(),o(6,"td")(7,"ul",62),_(8,"li",32),g(9,"newlines"),i()()()),n&2){let t=c(2).ngIf;e(3),P((t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)==2?"Down Payment":"Payment"),e(5),r("innerHTML",m(9,2,t.Data==null?null:t.Data.PaymentLabel),s)}}function $l(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Remaining"),i(),o(3,"td",57),a(4,":"),i(),o(5,"td")(6,"ul",62)(7,"li"),a(8),g(9,"number"),i()()()()),n&2){let t=c(2).ngIf;e(8),C(" ",m(9,1,t.Data==null?null:t.Data.Remaining)," ")}}function Ql(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Attention"),i(),o(3,"td",57),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c(2).ngIf;e(6),P(t.Data==null?null:t.Data.Att)}}function Wl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Note"),i(),o(3,"td",57),a(4,":"),i(),_(5,"td",32),g(6,"newlines"),i()),n&2){let t=c(2).ngIf;e(5),r("innerHTML",m(6,1,t.Data==null?null:t.Data.Note),s)}}function Gl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Status"),i(),o(3,"td",57),a(4,":"),i(),_(5,"td",32),g(6,"newlines"),i()),n&2){c();let t=Rn(66);e(5),r("innerHTML",m(6,1,t),s)}}function Xl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column1,s)}}function Zl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column2,s)}}function ql(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column3,s)}}function Kl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column4,s)}}function Yl(n,l){if(n&1&&(o(0,"div")(1,"div",63),d(2,Xl,5,1,"div",64)(3,Zl,5,1,"div",64)(4,ql,5,1,"div",64)(5,Kl,5,1,"div",64),i()()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column1),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column2),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column3),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column4)}}function ta(n,l){if(n&1&&(_(0,"div",68),g(1,"SafeHtml")),n&2){let t=c(2).ngIf;r("innerHTML",t.Template!=null&&t.Template.FooterNote?m(1,1,t.Template==null?null:t.Template.FooterNote):"",s)}}function na(n,l){if(n&1&&_(0,"small",69),n&2){let t=c(2).ngIf;r("innerHTML",t.Data==null?null:t.Data.Creator,s)}}function ea(n,l){if(n&1&&(o(0,"div",4),_(1,"POS-print-mode",5),o(2,"div",6)(3,"div")(4,"div",7),d(5,_l,10,9,"div",8)(6,ul,9,6,"div",9),i(),o(7,"div",10)(8,"h1")(9,"strong"),a(10),i(),o(11,"span"),a(12),i()(),o(13,"div")(14,"table")(15,"thead")(16,"tr")(17,"th"),a(18,"Date"),i(),d(19,Ml,2,0,"th",1)(20,fl,2,0,"th",1),i()(),o(21,"tbody")(22,"tr")(23,"td"),a(24),g(25,"date"),i(),d(26,xl,3,4,"td",1)(27,vl,2,1,"td",1),i()()()()()(),o(28,"div",11)(29,"table",12)(30,"thead")(31,"tr")(32,"th",13),a(33,"No"),i(),d(34,bl,2,0,"th",1),o(35,"th"),a(36,"Name"),i(),o(37,"th",14),a(38,"Code"),i(),o(39,"th",15),a(40,"Qty"),i(),d(41,hl,2,0,"th",16)(42,Sl,4,1,"th",17)(43,Il,2,0,"th",18)(44,Dl,4,1,"th",19),i()(),o(45,"tbody"),d(46,Ll,17,14,"tr",20),i(),o(47,"tfoot")(48,"tr",21),_(49,"td",22),o(50,"td",23)(51,"b"),a(52,"Total"),i()(),o(53,"td",24)(54,"b"),a(55),g(56,"sum"),g(57,"quantityFraction"),i()(),d(58,Vl,4,1,"td",25),i()()()(),o(59,"div")(60,"table",26),d(61,jl,6,2,"tr",1)(62,Ul,10,4,"tr",1)(63,$l,10,3,"tr",1)(64,Ql,7,1,"tr",1)(65,Wl,7,3,"tr",1),Nn(66)(67),d(68,Gl,7,3,"tr",1),i(),o(69,"div"),d(70,Yl,6,4,"div",1),i()(),d(71,ta,2,3,"div",27)(72,na,1,1,"small",28),i()()),n&2){let t=c().ngIf,p=c();e(),r("paperPrints",p.paperPrintMode),e(2),ht("",t.Template==null?null:t.Template.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",(t.Data==null?null:t.Data.Contact)||(t.Data==null?null:t.Data.ContactDisplay)),e(4),P(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),C(" ",t.Data==null?null:t.Data.Invoice.Data.Number," "),e(7),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(4),C(" ",M(25,30,t.Data==null?null:t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(7),r("ngIf",t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(7),f(p.isUomVisible()?41:-1),e(),f(!(t==null||t.Data==null)&&t.Data.IsInRoleCost?42:-1),e(),f(!(t==null||t.Data==null)&&t.Data.IsInRoleCost&&p.isDiscVisible()?43:-1),e(),r("ngIf",t==null||t.Data==null?null:t.Data.IsInRoleCost),e(2),r("ngForOf",t.Data==null?null:t.Data.Items),e(9),P(m(57,36,M(56,33,t.Data==null?null:t.Data.Items,"Quantity"))),e(3),r("ngIf",t==null||t.Data==null?null:t.Data.IsInRoleCost),e(3),r("ngIf",(t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)&&(t==null||t.Data==null?null:t.Data.IsInRoleCost)&&(t==null?null:t.ConfigCostVisible)),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&(t.Data==null?null:t.Data.PaymentLabel)),e(),r("ngIf",(t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)<=2&&(t==null||t.Data==null?null:t.Data.IsInRoleCost)&&(t==null?null:t.ConfigCostVisible)&&(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.RemainingVisible)),e(),r("ngIf",t.Data==null?null:t.Data.Att),e(),r("ngIf",(t.Data==null?null:t.Data.Note)&&(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)),e();let O=Hn(t.Data==null||t.Data.Invoice==null||t.Data.Invoice.Data==null?null:t.Data.Invoice.Data.StateLabel),$=t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible;e(2),r("ngIf",O&&$),e(2),r("ngIf",t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}function ia(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ea,73,39,"div",3),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,2,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngIf",t.Data)}}var tn=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}paperPrintMode;isDiscVisible=_t(!0);isUomVisible=_t(!0);data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.SupplierInvoiceReceipt,t))),F(t=>{l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300");let p=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=p?.Visibility?.CostVisible,t}),E(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),this.initUomVisible(t.Data),this.initPrintOption(l),l.Print==1&&window.setTimeout(function(){window.print()},500)}))}initDiscVisible(l){let p=(l.Items?l.Items:[]).some(O=>O.Discount>0||O.DiscountAmount>0);this.isDiscVisible.set(p)}initUomVisible(l){let p=(l.Items?l.Items:[]).some(O=>D.IsNotEmpty(O.UOMName));this.isUomVisible.set(p)}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice",8,"component"]],standalone:!1,attrs:ll,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],["class","print_container",4,"ngIf"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_print_container"],[1,"col-7","p-0","ms-2","header-left"],["class","company row",4,"ngIf"],["class","contact","style","overflow-x: hidden",4,"ngIf"],[1,"col","p-0","m-0","header_right"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"number","text-center",2,"width","20px"],[2,"width","100px"],[1,"text-end",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],[1,"number","text-end",2,"width","70px"],["class","number","style","width: 90px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-0"],["colspan","2"],[1,"number","align-top",2,"vertical-align","top"],[1,"text-end","align-top"],["class","number noTopPad","colspan","4","style","padding-top: 0 !important",4,"ngIf"],[1,"info","table-secondary"],["class","note mt-4",3,"innerHTML",4,"ngIf"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company","row"],[1,"col-auto"],[1,"companyBody","col-8","g-0","p-0","m-0"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[4,"ngIf","ngIfElse"],["class","col-md-12 px-0",3,"style","src",4,"ngIf"],[1,"col-md-12","px-0",3,"src"],["class","col-md-12 px-0",3,"src",4,"ngIf"],[1,"contact",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"number",2,"width","90px"],[1,"number","text-center",3,"innerHTML"],[1,"d-block"],[1,"d-block",3,"serials"],["style","word-break: break-word",3,"innerHTML",4,"ngIf"],[1,"text-end"],["class","number",3,"innerHTML",4,"ngIf"],[1,"text-end","text-danger"],["class","number",4,"ngIf"],[2,"word-break","break-word",3,"innerHTML"],[1,"number"],["colspan","4",1,"number","noTopPad",2,"padding-top","0 !important"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"sep"],[1,"currency"],[1,"bg-light-gray"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note","mt-4",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ia,4,4,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,dt,w,R,V,K,j,Ot,Rt,zt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group} .invoice_mini, .sales_order_mini[_ngcontent-%COMP%]{margin:0!important}']})};function oa(n,l){if(n&1&&(o(0,"small",12),a(1),i()),n&2){let t=c().ngIf;e(),P(t==null||t.Template==null?null:t.Template.Field)}}function la(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Balance"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),g(7,"number"),i()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Point))}}function aa(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Expired"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),g(7,"IsMinDate"),i()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Expired))}}function ra(n,l){if(n&1&&_(0,"div",13),n&2){let t=c().ngIf;r("innerHTML",t==null||t.Template==null?null:t.Template.FooterLeft,s)}}function ca(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div")(5,"h1",3),a(6),i(),d(7,oa,2,1,"small",4),o(8,"p",5),_(9,"span",6),g(10,"newlines"),_(11,"span",6),g(12,"newlines"),i(),o(13,"h2",7),a(14),i(),o(15,"div",8)(16,"span"),a(17),g(18,"date"),i(),o(19,"span",9),a(20),g(21,"date"),i()(),o(22,"h3"),a(23,"Customer"),i(),o(24,"table",10)(25,"tr")(26,"td"),a(27,"Name"),i(),o(28,"td"),a(29,":"),i(),o(30,"td"),a(31),i()(),o(32,"tr")(33,"td"),a(34,"Code"),i(),o(35,"td"),a(36,":"),i(),o(37,"td"),a(38),i()(),o(39,"tr")(40,"td"),a(41,"Charged Point"),i(),o(42,"td"),a(43,":"),i(),o(44,"td"),a(45),g(46,"number"),i()(),o(47,"tr")(48,"td"),a(49,"Treatment Type"),i(),o(50,"td"),a(51,":"),i(),o(52,"td"),a(53),i()(),d(54,la,8,3,"tr",0)(55,aa,8,3,"tr",0),o(56,"tr")(57,"td"),a(58,"Doctor"),i(),o(59,"td"),a(60,":"),i(),o(61,"td"),a(62),i()(),o(63,"tr")(64,"td"),a(65,"Note"),i(),o(66,"td"),a(67,":"),i(),o(68,"td"),a(69),i()(),o(70,"tr")(71,"td"),a(72,"Note 2"),i(),o(73,"td"),a(74,":"),i(),o(75,"td"),a(76),i()(),o(77,"tr")(78,"td"),a(79,"Assistant"),i(),o(80,"td"),a(81,":"),i(),o(82,"td"),a(83),i()(),o(84,"tr")(85,"td"),a(86,"Duration"),i(),o(87,"td"),a(88,":"),i(),o(89,"td"),a(90),g(91,"DateDiffInMinute"),i()()(),d(92,ra,1,1,"div",11),i()(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,21,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(5),P(t==null||t.Template==null?null:t.Template.Title),e(),r("ngIf",t==null||t.Template==null?null:t.Template.Address),e(2),r("innerHTML",m(10,23,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(12,25,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(3),C(" ",t==null||t.Data==null?null:t.Data.Title," "),e(3),C("Date : ",M(18,27,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"dd MMM yyyy"),""),e(3),C("Time : ",M(21,30,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"HH:mm:ss"),""),e(11),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(7),P(t==null||t.Data==null?null:t.Data.ContactCode),e(7),gt(" ",M(46,33,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.PointBurned,"1.2-2")," ",t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.VariantName," "),e(8),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.TreatmentTypeName),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Package),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Package),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.DoctorName),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note2),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.AssistantName),e(7),C(" ",M(91,36,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.StartTime,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.EndTime)," Minute(s) "),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Footer==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}var nn=class n{constructor(l,t,p){this.httpService=l;this.route=t;this.titleService=p}id;data$;ngOnInit(){let t={ID:this.route.snapshot.queryParams.ID||this.id};this.data$=this.httpService.post(I.TreatmentInvoice,t).pipe(E(p=>{this.titleService.setTitle(p.Title)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-treatment"]],inputs:{id:"id"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoiceHeader"],["class","tagline",4,"ngIf"],[1,"address"],[3,"innerHTML"],["id","lblInvoiceNumber"],[1,"datetime","clearfix"],[1,"pull-right"],[1,"customer"],["class","note",3,"innerHTML",4,"ngIf"],[1,"tagline"],[1,"note",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ca,93,39,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,w,R,V,j,Jt,Ln,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}@media print{.print_container[_ngcontent-%COMP%]{display:block}}']})};var pa=n=>({width:n});function ga(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;ct(et(3,pa,(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function da(n,l){if(n&1&&(x(0),d(1,ga,1,5,"img",34),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function _a(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function Ca(n,l){if(n&1&&d(0,_a,1,1,"img",36),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function ma(n,l){if(n&1&&(o(0,"div",8),d(1,da,2,1,"ng-container",33)(2,Ca,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Pa(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function sa(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function Oa(n,l){if(n&1&&(o(0,"div",37)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",38)(5,"strong"),a(6),i(),o(7,"div",39),d(8,Pa,3,1,"div",1)(9,sa,3,1,"div",1),o(10,"div"),_(11,"span",12),g(12,"newlines"),i(),o(13,"div")(14,"span"),a(15),i()()()()()),n&2){let t=c().ngIf;e(3),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer," "),e(3),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(12,6,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),s),e(4),P(t==null||t.Data==null?null:t.Data.City)}}function ua(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function Ma(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),P(t==null||t.Data==null?null:t.Data.SalesName)}}function fa(n,l){if(n&1&&(o(0,"th",40),a(1),i()),n&2){let t=c().ngIf;e(),C(" Price(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function xa(n,l){if(n&1&&(o(0,"th",40),a(1),i()),n&2){let t=c().ngIf;e(),C(" Total(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function va(n,l){if(n&1&&_(0,"p",45),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function ba(n,l){if(n&1&&(o(0,"td",13),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function ha(n,l){if(n&1&&(o(0,"td",13),a(1),g(2,"TrailingZero"),i()),n&2){let t=c().$implicit,p=c().ngIf;e(),C(" ",M(2,1,t.Total,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ya(n,l){if(n&1&&(o(0,"tr")(1,"td",13),a(2),i(),o(3,"td")(4,"span"),a(5),i(),d(6,va,1,1,"p",41),i(),o(7,"td"),a(8),i(),o(9,"td",42),a(10),g(11,"number"),i(),o(12,"td"),a(13),i(),d(14,ba,3,3,"td",43),o(15,"td",44),a(16),i(),d(17,ha,3,4,"td",43),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(2),C(" ",p+1+"."," "),e(3),P(t.Name),e(),r("ngIf",t.Note!=null),e(2),P(t.Code),e(2),C(" ",m(11,9,t.Quantity)," "),e(3),P(t.UOMName),e(),r("ngIf",O.priceVisible),e(2),C(" ",t.Discount!=0?"-"+t.Discount+"%":""," "),e(),r("ngIf",O.priceVisible)}}function Sa(n,l){if(n&1&&(o(0,"td",27)(1,"div",46),a(2),g(3,"sum"),g(4,"number"),i()()),n&2){let t=c().ngIf;e(2),C(" Qty: ",m(4,4,M(3,1,t==null||t.Data==null?null:t.Data.Items,"Quantity"))," ")}}function Ia(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",47),a(6),i(),o(7,"td",22),a(8),g(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function wa(n,l){if(n&1&&(o(0,"td",49),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null||t.Data==null?null:t.Data.TotalInWords," ")}}function Da(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),d(5,wa,2,1,"td",48),i()),n&2){let t=c().ngIf;e(2),C(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null)&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t==null||t.Data==null?null:t.Data.TotalInWords)}}function Ta(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"date"),i()),n&2){let t=c().$implicit;e(),C(" ",M(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function ka(n,l){if(n&1&&(o(0,"span"),d(1,Ta,3,4,"span",1),g(2,"checkPropValueIsSame"),a(3),g(4,"number"),_(5,"br"),i()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("ngIf",M(2,4,p==null||p.Data==null?null:p.Data.Payments,"Date")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",t.Amount<(p==null||p.Data==null?null:p.Data.FinalAmount)?" - "+m(4,7,t.Amount):""," ")}}function Ea(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),d(6,ka,6,9,"span",25),i()()),n&2){let t=c().ngIf;e(2),C(" ",(t==null||t.Data==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment"," "),e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.Payments)}}function Aa(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note :"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",50)(7,"li"),_(8,"div",12),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Na(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column1,s)}}function Ha(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column2,s)}}function Ra(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column3,s)}}function za(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column4,s)}}function Ba(n,l){if(n&1&&(o(0,"div",51),d(1,Na,5,1,"div",52)(2,Ha,5,1,"div",52)(3,Ra,5,1,"div",52)(4,za,5,1,"div",52),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column1),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column2),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column3),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column4)}}function La(n,l){if(n&1&&(o(0,"div",59),_(1,"span",12),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterLeft),s)}}function Ja(n,l){if(n&1&&(o(0,"div",60),_(1,"span",12),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterRight),s)}}function Va(n,l){if(n&1&&(o(0,"div",56),d(1,La,3,3,"div",57)(2,Ja,3,3,"div",58),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.FooterLeft),e(),r("ngIf",t==null||t.Template==null?null:t.Template.FooterRight)}}function Fa(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,ma,4,2,"div",8),o(9,"div",9)(10,"h2"),a(11),i(),o(12,"small"),a(13),i(),o(14,"div",10)(15,"div",11),_(16,"span",12),g(17,"newlines"),i(),o(18,"div",13),_(19,"span",12),g(20,"newlines"),i()()()(),d(21,Oa,16,8,"div",14),i(),o(22,"div",15)(23,"h1")(24,"strong"),a(25),i(),o(26,"span"),a(27),i()(),o(28,"div")(29,"table")(30,"thead")(31,"tr")(32,"th"),a(33,"Date"),i(),d(34,ua,2,0,"th"),i()(),o(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),i(),d(40,Ma,2,1,"td"),i()()()()()()(),o(41,"section",16)(42,"div",17)(43,"table",18)(44,"thead")(45,"tr")(46,"th",19),a(47,"No"),i(),o(48,"th"),a(49,"Name"),i(),o(50,"th",20),a(51,"Code"),i(),o(52,"th",21),a(53,"Qty"),i(),o(54,"th",22),a(55,"UOM"),i(),d(56,fa,2,1,"th",23),o(57,"th",24),a(58,"%"),i(),d(59,xa,2,1,"th",23),i()(),o(60,"tbody"),d(61,ya,18,11,"tr",25),i(),o(62,"tfoot")(63,"tr",26),d(64,Sa,5,6,"td",27),o(65,"td",28)(66,"table",29)(67,"tbody"),d(68,Ia,10,6,"tr",25),i()()()()()()()(),o(69,"table",30),d(70,Da,6,2,"tr",1)(71,Ea,7,2,"tr",1)(72,Aa,9,1,"tr",1),i(),o(73,"div")(74,"div"),d(75,Ba,5,4,"div",31),i()(),d(76,Va,3,2,"div",32),i(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,23,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(7),f(!(t==null||t.Template==null)&&t.Template.Logo?8:-1),e(3),P(t==null||t.Template==null?null:t.Template.Title),e(2),P(t==null||t.Template==null?null:t.Template.Field),e(3),r("innerHTML",m(17,25,t==null||t.Template==null?null:t.Template.Address),s),e(3),r("innerHTML",m(20,27,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",t==null||t.Data==null?null:t.Data.ContactDisplay),e(4),P(t==null||t.Data==null?null:t.Data.Prefixed),e(2),C(" ",t==null||t.Data==null?null:t.Data.Invoice.Number," "),e(7),f(!(t==null||t.Data==null)&&t.Data.SalesName?34:-1),e(4),C(" ",M(39,29,t==null||t.Data==null?null:t.Data.Invoice.Date,"dd MMM yyyy")," "),e(2),f(!(t==null||t.Data==null)&&t.Data.SalesName?40:-1),e(16),r("ngIf",p.priceVisible),e(3),r("ngIf",p.priceVisible),e(2),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(3),f((t==null||t.Data==null?null:t.Data.Items.length)>1?64:-1),e(),r("colSpan",(t==null||t.Data==null?null:t.Data.Items.length)>1?4:8),e(3),r("ngForOf",t==null||t.Data==null?null:t.Data.Aggregate),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null||t.Data==null?null:t.Data.TotalInWords)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&(t==null||t.Data==null||t.Data.Payments==null?null:t.Data.Payments.length)>0),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Invoice.Note),e(3),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Visibility==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}var en=class n{constructor(l,t,p,O){this.httpService=l;this.activeRoute=t;this.roleService=p;this.title=O;this.priceVisible=p.sell.PriceVisible}priceVisible;data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.EstimateInvoice,l)),E(l=>{this.title.setTitle(l.Title)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(St),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-estimate"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company","row"],[1,"col-auto"],[1,"g-0","p-0","m-0","shop-description"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","150px"],[2,"width","50px"],["class","number","style","width: 100px",4,"ngIf"],[1,"number",2,"width","30px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","4"],[1,"number","noTopPad",3,"colSpan"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],["class","signature row justify-content-between",4,"ngIf"],["class","note",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[1,"contact"],[1,"box"],[1,"customer_info"],[1,"number",2,"width","100px"],["class","text-body-secondary","style","word-break: break-all",3,"innerHTML",4,"ngIf"],[1,"number",2,"position","relative"],["class","number",4,"ngIf"],[1,"number","red"],[1,"text-body-secondary",2,"word-break","break-all",3,"innerHTML"],[1,"fw-bold","text-end"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note"],["class","left",4,"ngIf"],["class","right",4,"ngIf"],[1,"left"],[1,"right"]],template:function(t,p){t&1&&(d(0,Fa,77,32,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,K,j,st,Ot,Jn,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var ja=(n,l)=>({"text-success":n,"text-danger":l});function Ua(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Code," ")}}function $a(n,l){if(n&1&&(o(0,"div",13)(1,"div",12),a(2,"NOTE"),i(),o(3,"div",12),a(4),i()()),n&2){let t=c().ngIf;e(4),C(" ",t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Note," ")}}function Qa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf,p=c();e(2),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxableSales," "),e(2),C(" ",M(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxableSale,p.decimal)," ")}}function Wa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxExemptSales," "),e(2),C(" ",M(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxExemptSale,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function Ga(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Quantity," ")}}function Xa(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Variant Sales"),i(),d(4,Ga,5,2,"div",31),o(5,"div",22)(6,"div",23),a(7,"Total"),i(),o(8,"div",24),a(9),g(10,"sum"),g(11,"number"),i()()()),n&2){let t=c().ngIf;e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.VariantSales),e(5),C(" ",m(11,5,M(10,2,t==null||t.Data==null?null:t.Data.VariantSales,"Quantity"))," ")}}function Za(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2,"Visitors"),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf;e(4),C(" ",m(5,1,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)," ")}}function qa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.NetSales)," ")}}function Ka(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Category Sales"),i(),d(4,qa,6,4,"div",31),o(5,"div",22)(6,"div",23),a(7,"Total"),i(),o(8,"div",24),a(9),g(10,"sum"),g(11,"number"),i()()()),n&2){let t=c().ngIf;e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.CategorySales),e(5),C(" ",m(11,5,M(10,2,t==null||t.Data==null?null:t.Data.CategorySales,"NetSales"))," ")}}function Ya(n,l){n&1&&(o(0,"div",38),a(1,"\xB1"),i())}function tr(n,l){if(n&1&&(o(0,"div",43),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;r("ngClass",it(4,ja,t.ShortOver>0,t.ShortOver<0)),e(),C(" ",m(2,2,t.ShortOver)," ")}}function nr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),g(5,"number"),i(),o(6,"div",38),a(7),g(8,"number"),i(),d(9,Ya,2,0,"div",41)(10,tr,3,7,"div",42),i()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,5,t.Start)," "),e(3),C(" ",m(8,7,t.Amount)," "),e(2),r("ngIf",t.ShortOver),e(),r("ngIf",t.ShortOver)}}function er(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"Balance"),i(),o(4,"div",32)(5,"div",38),a(6,"Type"),i(),o(7,"div",38),a(8,"Start"),i(),o(9,"div",38),a(10,"End"),i()(),d(11,nr,11,9,"div",39),o(12,"div",32)(13,"div",38),a(14,"Total"),i(),o(15,"div",38),a(16),g(17,"sum"),g(18,"number"),i(),o(19,"div",38),a(20),g(21,"sum"),g(22,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.Payment),e(5),C(" ",m(18,6,M(17,3,t==null||t.Data==null?null:t.Data.Payment,"Start"))," "),e(4),C(" ",m(22,11,M(21,8,t==null||t.Data==null?null:t.Data.Payment,"Amount"))," ")}}function ir(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Received)," ")}}function or(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Account Receivable"),i(),o(4,"div",22)(5,"div",23),a(6,"Amount"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Transaction"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.InvoiceAR.Amount)," "),e(6),C(" ",m(15,4,t==null||t.Data==null?null:t.Data.InvoiceAR.Count)," ")}}function lr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),g(5,"number"),i(),o(6,"div",38),a(7),g(8,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,3,t.Quantity)," "),e(3),C(" ",m(8,5,t.Total)," ")}}function ar(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",44),a(3,"Products w. Commission"),i(),o(4,"div",40)(5,"div",38),a(6,"Name"),i(),o(7,"div",38),a(8,"Qty"),i(),o(9,"div",38),a(10,"Total"),i()(),d(11,lr,9,7,"div",39),o(12,"div",40)(13,"div",38),a(14,"Total"),i(),o(15,"div",38),a(16),g(17,"sum"),g(18,"number"),i(),o(19,"div",38),a(20),g(21,"sum"),g(22,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.VariantCommission),e(5),C(" ",m(18,6,M(17,3,t==null||t.Data==null?null:t.Data.VariantCommission,"Quantity"))," "),e(4),C(" ",m(22,11,M(21,8,t==null||t.Data==null?null:t.Data.VariantCommission,"Total"))," ")}}function rr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",21),a(3,"Return"),i(),o(4,"div",22)(5,"div",23),a(6,"Quantity"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Total Price"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.ReturnTotal)," "),e(6),C(" ",m(15,4,t==null||t.Data==null?null:t.Data.ReturnPrice)," ")}}function cr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"Void Invoice"),i(),o(4,"div",22)(5,"div",23),a(6,"Transaction"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Invoice"),i(),o(13,"div",24),a(14),i()(),o(15,"div",22)(16,"div",23),a(17,"Total"),i(),o(18,"div",24),a(19),g(20,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,3,t==null||t.Data==null?null:t.Data.TotalVoid)," "),e(6),C(" ",t==null||t.Data==null?null:t.Data.VoidInvoiceRange," "),e(5),C(" ",m(20,5,t==null||t.Data==null?null:t.Data.TotalVoidSales)," ")}}function pr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"History"),i(),o(4,"div",22)(5,"div",23),a(6,"Z-Count"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Current Gross"),i(),o(13,"div",23),a(14),g(15,"TrailingZero"),i()(),o(16,"div",22)(17,"div",23),a(18,"Previous"),i(),o(19,"div",24),a(20),g(21,"number"),i()(),o(22,"div",22)(23,"div",23),a(24,"Accumulated"),i(),o(25,"div",24),a(26),g(27,"TrailingZero"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,4,t==null||t.Data==null?null:t.Data.ZCount)," "),e(6),C(" ",M(15,6,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.TrailingZero)," "),e(6),C(" ",m(21,9,t==null||t.Data==null?null:t.Data.AccumulatedHistory)," "),e(6),C(" ",m(27,11,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax)+(t==null||t.Data==null?null:t.Data.AccumulatedHistory))," ")}}function gr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",21),a(3,"Point"),i(),o(4,"div",22)(5,"div",23),a(6,"Point Used"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Point Discount"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.PointUsed)," "),e(6),C(" ",m(15,4,(t==null||t.Data==null?null:t.Data.PointUsed)*(t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.POS.LoyaltyPoint.EarnPointAmount))," ")}}function dr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),i(),o(5,"div",38),a(6),g(7,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.PriceDisplay," "),e(2),C(" ",t.Quantity," "),e(2),C(" ",m(7,3,t.Total)," ")}}function _r(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",45),a(3,"Denomination"),i(),o(4,"div",40)(5,"div",38),a(6,"Cash Denomination"),i(),o(7,"div",38),a(8,"Qty"),i(),o(9,"div",38),a(10,"Total"),i()(),d(11,dr,8,5,"div",39),o(12,"div",46)(13,"div",47),a(14,"Total"),i(),o(15,"div",48),a(16),g(17,"sum"),g(18,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.Denominations),e(5),C(" ",m(18,5,M(17,2,t==null||t.Data==null?null:t.Data.Denominations,"Total"))," ")}}function Cr(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Amount)," ")}}function mr(n,l){if(n&1&&(o(0,"div",49),_(1,"div",5),o(2,"h2",50),a(3,"Expense"),i(),o(4,"div",22)(5,"div",23),a(6,"Label"),i(),o(7,"div",24),a(8,"Amount"),i()(),d(9,Cr,6,4,"div",31),i()),n&2){let t=c().ngIf;e(9),r("ngForOf",t==null||t.Data==null?null:t.Data.Expenses)}}function Pr(n,l){if(n&1&&(o(0,"div",40)(1,"div",51),a(2),i(),o(3,"div",52),a(4),i(),o(5,"div",53),a(6),g(7,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Count," "),e(2),C(" ",m(7,3,t.SalesNet)," ")}}function sr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",45),a(3,"Sales Type"),i(),o(4,"div",40)(5,"div",51),a(6,"Type"),i(),o(7,"div",52),a(8,"Qty"),i(),o(9,"div",53),a(10,"Amount"),i()(),d(11,Pr,8,5,"div",39),o(12,"div",22)(13,"div",23),a(14,"Total"),i(),o(15,"div",53),a(16),g(17,"sum"),g(18,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.ListSalesType),e(5),C(" ",m(18,5,M(17,2,t==null||t.Data==null?null:t.Data.ListSalesType,"SalesNet"))," ")}}function Or(n,l){if(n&1&&(o(0,"div",1),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"span"),a(6),i()(),_(7,"div",5),o(8,"div",6)(9,"h2",7),a(10),i(),o(11,"i",8),a(12),i(),_(13,"div",9),g(14,"newlines"),d(15,Ua,2,1,"div",10),_(16,"div",9),g(17,"newlines"),i(),_(18,"div"),o(19,"div")(20,"div",11)(21,"div",12),a(22,"CASHIER"),i(),o(23,"div",12),a(24),i()(),o(25,"div",13)(26,"div",12),a(27,"REGISTER"),i(),o(28,"div",12),a(29),i()(),d(30,$a,5,1,"div",14),i(),_(31,"div",15),o(32,"div")(33,"div",16)(34,"div",12),a(35,"START TIME"),i(),o(36,"div",12),a(37,"END TIME"),i()(),o(38,"div",17)(39,"div",12)(40,"span",18),a(41),g(42,"date"),i()(),o(43,"div",12)(44,"span",18),a(45),g(46,"date"),i()()(),o(47,"div",19)(48,"div",12),a(49),g(50,"date"),i(),o(51,"div",12),a(52),g(53,"date"),i()()(),o(54,"div",20),_(55,"div",5),o(56,"h2",21),a(57,"Sales"),i(),o(58,"div",22)(59,"div",23),a(60,"New Sales"),i(),o(61,"div",24),a(62),g(63,"number"),i()(),o(64,"div",22)(65,"div",23),a(66,"Discount"),i(),o(67,"div",24),a(68),g(69,"number"),i()(),o(70,"div",22)(71,"div",23),a(72),i(),o(73,"div",24),a(74),g(75,"number"),i()(),d(76,Qa,6,5,"div",25)(77,Wa,6,5,"div",25),o(78,"div",22)(79,"div",23),a(80),i(),o(81,"div",24),a(82),g(83,"number"),i()(),o(84,"div",22)(85,"div",23),a(86),i(),o(87,"div",24),a(88),g(89,"number"),i()()(),d(90,Xa,12,7,"div",26),o(91,"div",20),_(92,"div",5),o(93,"h2",27),a(94,"Summary"),i(),o(95,"div",22)(96,"div",23),a(97,"Transaction"),i(),o(98,"div",24),a(99),i()(),o(100,"div",22)(101,"div",28),a(102,"Invoice"),i(),o(103,"div",29),a(104),i()(),o(105,"div",22)(106,"div",23),a(107,"Item Sold"),i(),o(108,"div",24),a(109),g(110,"number"),i()(),d(111,Za,6,3,"div",25),i(),d(112,Ka,12,7,"div",26)(113,er,23,13,"div",26),o(114,"div",20),_(115,"div",5),o(116,"h2",30),a(117,"Payment Method"),i(),d(118,ir,6,4,"div",31),o(119,"div",32)(120,"div",23),a(121,"Total"),i(),o(122,"div",24),a(123),g(124,"sum"),g(125,"number"),i()()(),d(126,or,16,6,"div",26)(127,ar,23,13,"div",26)(128,rr,16,6,"div",26)(129,cr,21,7,"div",26)(130,pr,28,13,"div",26)(131,gr,16,6,"div",26)(132,_r,19,7,"div",26)(133,mr,10,1,"div",33)(134,sr,19,7,"div",26),o(135,"div",34),_(136,"span",35),g(137,"newlines"),i(),o(138,"span",36),a(139),i()()()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,44,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(5),P(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.header==null?null:t.AppConfigJSON.PrintConfigClosure.header.RegisterClosure),e(4),C(" ",t==null||t.Template==null?null:t.Template.Title," "),e(2),C(" ",t==null||t.Template==null?null:t.Template.Field," "),e(),r("innerHTML",m(14,46,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode),e(),r("innerHTML",m(17,48,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(8),C(" ",t==null||t.Data==null?null:t.Data.Cashier," "),e(5),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Name," "),e(),r("ngIf",(t==null||t.Data==null||t.Data.Session==null||t.Data.Session.Note==null?null:t.Data.Session.Note.length)>0),e(11),P(M(42,50,t==null||t.Data==null?null:t.Data.StartTime,"HH:mm")),e(4),P(M(46,53,t==null||t.Data==null?null:t.Data.EndTime,"HH:mm")),e(4),C(" ",M(50,56,t==null||t.Data==null?null:t.Data.StartTime,"dd MMM")," "),e(3),C(" ",M(53,59,t==null||t.Data==null?null:t.Data.EndTime,"dd MMM")," "),e(10),C(" ",M(63,62,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.GrossSales,p.decimal)," "),e(6),C(" ",M(69,65,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Discount,p.decimal)," "),e(4),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",M(75,68,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount,p.decimal)," "),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible),e(3),C(" ",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigCore==null?null:t.AppConfigJSON.PrintConfigCore.SurchargePcg)||"Surcharge"," "),e(2),C(" ",m(83,71,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Surcharge)," "),e(4),C(" Sales + ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",m(89,73,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithoutTax)+(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount))," "),e(2),r("ngIf",(t==null||t.Data==null?null:t.Data.VariantSales.length)>0&&(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.ClosureVariant)),e(9),C(" ",t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Orders," "),e(5),C(" ",t==null||t.Data==null?null:t.Data.InvoiceRange," "),e(5),C(" ",m(110,75,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.ItemsQuantity)," "),e(2),r("ngIf",(t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)!=null),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.CategorySalesVisible),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Balance),e(5),r("ngForOf",t==null||t.Data==null?null:t.Data.Payment),e(5),C(" ",m(125,80,M(124,77,t==null||t.Data==null?null:t.Data.Payment,"Received"))," "),e(3),r("ngIf",(t==null||t.Data==null?null:t.Data.InvoiceAR.Count)>0),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.ProductsWithCommission),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.ReturnTotal)<0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.TotalVoid)>0&&(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.VoidInvoice)),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.HistoryVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.PointUsed),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.Denominations.length)>0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.Expenses.length)>0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.ListSalesType.length)>0),e(2),r("innerHTML",m(137,82,t==null||t.Template==null?null:t.Template.EodFooter),s),e(3),P(t==null||t.Data==null?null:t.Data.PrintDate)}}var on=class n{constructor(l,t,p){this.activatedRoute=l;this.httpService=t;this.title=p}decimal="";data$;ngOnInit(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.ClouserReceipt,l)),F(l=>(this.title.setTitle(l.Title),l.Data.Denominations=this.filterDenomination(l),this.initDecimal(l.AppConfigJSON),l)),B(1))}initDecimal(l){let t=l.PrintConfigGeneral.TrailingZero;t!=0?this.decimal="1."+t+"-"+t:this.decimal="0.0-0"}filterDenomination(l){let t=l.Data?.Denominations;return t&&(t=t.filter(p=>!(p.Quantity==0&&p.Total==0))),t}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-register-closure"]],standalone:!1,decls:2,vars:3,consts:[["class","print_container",4,"ngIf"],[1,"print_container"],["rel","stylesheet","type","text/css"],[1,"closure_print_container","container-fluid"],[1,"header"],[1,"dotted"],[1,"text-center","my-2"],[1,"m-0","fw-bold"],[1,"d-block"],[1,"mt-2",3,"innerHTML"],[4,"ngIf"],[1,"row","text-center","g-0","mt-2","mb-1"],[1,"col-6"],[1,"row","text-center","g-0","mb-1"],["class","row text-center g-0 mb-1",4,"ngIf"],[1,"sep","mt-2"],[1,"row","text-center","g-0","mt-2"],[1,"row","text-center","g-0","my-2"],[1,"time"],[1,"row","text-center","g-0"],[1,"pane","my-5"],[1,"mx-auto","text-center","col-4"],[1,"row","g-0"],[1,"col-6","text-start"],[1,"col-6","text-end"],["class","row g-0",4,"ngIf"],["class","pane my-5",4,"ngIf"],[1,"mx-auto","text-center","col-5"],[1,"col-5","text-start","d-flex","align-items-center"],[1,"col-7","text-end"],[1,"mx-auto","text-center","col-8"],["class","row g-0",4,"ngFor","ngForOf"],[1,"row","g-0","fw-bold","text-center"],["class","pane my-3",4,"ngIf"],[1,"footPrint"],["id","eodfooter",1,"ps-0",3,"innerHTML"],[1,"printDate","fw-bold"],[1,"mx-auto","text-center","col-7"],[1,"col-4"],["class","row g-0 text-center",4,"ngFor","ngForOf"],[1,"row","g-0","text-center"],["class","col-4",4,"ngIf"],["class","col-4 offset-4",3,"ngClass",4,"ngIf"],[1,"col-4","offset-4",3,"ngClass"],[1,"mx-auto","text-center","col-10"],[1,"mx-auto","text-center","col-6"],[1,"row","g-0","fw-bold"],[1,"col-8","text-start"],[1,"col-4","text-center"],[1,"pane","my-3"],[1,"mx-auto","text-center",2,"width","80px"],[1,"col-4","text-start"],[1,"col-2"],[1,"col-4","text-end"]],template:function(t,p){t&1&&(d(0,Or,140,84,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,st,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{margin:0;padding:0;text-align:center;font-family:Arial;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:238px;text-align:left}div.header[_ngcontent-%COMP%]{text-align:center;margin:10px 0 0}.preline.center[_ngcontent-%COMP%]{text-align:center;white-space:pre-line;word-break:break-word}.preline.left[_ngcontent-%COMP%]{text-align:left;white-space:pre-line;word-break:break-word}div.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:700;letter-spacing:10px}div.headerOutlet[_ngcontent-%COMP%]{text-align:center}h1[_ngcontent-%COMP%]{font-size:20px!important}div.headerOutlet[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{border:none!important;font-size:35px!important;font-weight:400;margin:0;padding:0}table.cashier[_ngcontent-%COMP%]{width:225px!important;margin-left:10px}table.cashier[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:25px}table.start[_ngcontent-%COMP%]{float:left;width:49%}table.end[_ngcontent-%COMP%]{float:right;width:49%}table.start[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:10px}table.start[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%]{height:45px}table.start[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.start[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center}table[_ngcontent-%COMP%] tr.footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:700}span.time[_ngcontent-%COMP%]{border:1px dotted Black;font-size:18px;font-weight:700;padding:3px 15px;background-color:#ffffbf}div.pane[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Roboto Slab,serif;font-size:12px;margin-top:-9px}.fontsize-12[_ngcontent-%COMP%]{font-size:12px}table.plain[_ngcontent-%COMP%]{width:100%}th.number[_ngcontent-%COMP%], td.number[_ngcontent-%COMP%]{text-align:right!important}span.printDate[_ngcontent-%COMP%]{text-align:center;display:block}div.dotted[_ngcontent-%COMP%]{border-bottom:1px dotted Black;margin:0}div.sep[_ngcontent-%COMP%]{border-bottom:1px solid Black;margin:0;padding:0}div.footPrint[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{padding-left:15px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:12px;padding:5px 8px}']})};var ur=(n,l)=>({"col-8":n,col:l}),Mr=n=>({width:n});function fr(n,l){if(n&1&&_(0,"img",24),n&2){let t=c(2).ngIf;ct(et(3,Mr,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function xr(n,l){if(n&1&&(x(0),d(1,fr,1,5,"img",23),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function vr(n,l){if(n&1&&_(0,"img",24),n&2){let t=c(2).ngIf;r("src",t==null?null:t.Template.Logo,J)}}function br(n,l){if(n&1&&d(0,vr,1,1,"img",25),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function hr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),i()(),o(6,"tr",28)(7,"td"),a(8),i(),o(9,"td",29),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function yr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),i()(),o(6,"tr",28)(7,"td"),a(8),i(),o(9,"td",29),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function Sr(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3),_(4,"POS-print-mode",4),o(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,xr,2,1,"ng-container",10)(11,br,1,1,"ng-template",null,0,Y),i(),o(13,"div",11)(14,"h2"),a(15),i(),o(16,"small"),a(17),i(),o(18,"div",12),a(19),i()()()(),o(20,"div",13)(21,"h1")(22,"strong"),a(23,"JOB ORDER #"),i(),o(24,"span",14),a(25),i()()()(),o(26,"h1",15),a(27),i(),o(28,"span",16),a(29,"Output Item(s)"),i(),o(30,"table",17)(31,"thead")(32,"tr",6)(33,"th"),a(34,"Name"),i(),o(35,"th",18),a(36,"Qty"),i()()(),d(37,hr,11,4,"tbody",19),i(),o(38,"span",16),a(39,"Material Item(s)"),i(),o(40,"table",17)(41,"thead")(42,"tr",6)(43,"th"),a(44,"Name"),i(),o(45,"th",18),a(46,"Qty"),i()()(),d(47,yr,11,4,"tbody",19),i(),o(48,"p",20),a(49),i(),o(50,"small",21),a(51),g(52,"date"),i(),o(53,"small",22),a(54),i()()(),v()),n&2){let t=l.ngIf,p=Z(12),O=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,15,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(3),r("paperPrints",O.paperPrintMode),e(6),r("ngIf",(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)>0)("ngIfElse",p),e(3),r("ngClass",it(20,ur,t==null?null:t.Template.Title,!(t!=null&&t.Template.Title))),e(2),P(t==null?null:t.Template.Title),e(2),P(t==null?null:t.Template.Field),e(2),C(" ",t==null?null:t.Template.Address," "),e(6),P(t==null?null:t.Title),e(2),P(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Name),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Header),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Material),e(2),P(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Note),e(2),P(M(52,17,t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),P(t==null||t.Data==null?null:t.Data.User.Name)}}var ln=class n{constructor(l,t,p){this.activeRoute=l;this.httpService=t;this.title=p}paperPrintMode=[];data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.JobOrderInvoice,t))),E(t=>{this.title.setTitle(`Job Order #${t.Title}`),this.initPaperModeConfig(l)}),B(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"8cm",link:"/print/JobOrderMini",param:l},{label:"A4",link:"/print/JobOrder",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-job-order"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"header"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row"],[1,"col-auto","shop-logo"],[4,"ngIf","ngIfElse"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[1,"contact_info","clearfix"],[1,"col","p-0","m-0","header_right"],["id","lblInvoiceNumber"],[1,"jobOrderHeader"],[1,"titleJB"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"address","topHolder"],["id","lblCreated",1,"timestamp"],["id","lblCreator",1,"creator"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,p){t&1&&(d(0,Sr,55,23,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,Ct,w,V,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Ir(n,l){if(n&1&&(o(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),i()(),o(6,"tr",19)(7,"td"),a(8),i(),o(9,"td",20),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function wr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),i()(),o(6,"tr",19)(7,"td"),a(8),i(),o(9,"td",20),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function Dr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2),_(4,"POS-print-mode",3),o(5,"div",4)(6,"h1",5),a(7),i(),o(8,"p",6),a(9),i(),o(10,"h2",7),a(11),i(),o(12,"span",8),a(13,"Output Item(s)"),i(),o(14,"table",9)(15,"thead")(16,"tr",10)(17,"th"),a(18,"Name"),i(),o(19,"th",11),a(20,"Qty"),i()()(),d(21,Ir,11,4,"tbody",12),i(),o(22,"span",13),a(23,"Material Item(s)"),i(),o(24,"table",9)(25,"thead")(26,"tr",10)(27,"th"),a(28,"Name"),i(),o(29,"th",11),a(30,"Qty"),i()()(),d(31,wr,11,4,"tbody",12),i(),o(32,"p",14),a(33),i(),o(34,"small",15),a(35),g(36,"date"),i(),o(37,"small",16),a(38),i()()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,10,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("paperPrints",p.paperPrintMode),e(3),P(t==null||t.Template==null?null:t.Template.Title),e(2),P(t==null||t.Data==null?null:t.Data.JobOrder.Name),e(2),P(t==null?null:t.Title),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Header),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Material),e(2),P(t==null||t.Data==null?null:t.Data.JobOrder.Note),e(2),P(M(36,12,t==null||t.Data==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),P(t==null||t.Data==null?null:t.Data.User.Name)}}var an=class n{constructor(l,t,p){this.activeRoute=l;this.httpService=t;this.title=p}paperPrintMode=[];data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.initPaperModeConfig(l),this.httpService.post(I.JobOrderMiniInvoice,l))),E(l=>{this.title.setTitle(l.Title)}),B(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"A4",link:"/print/JobOrder",param:l},{label:"8cm",link:"/print/JobOrderMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-job-order-mini"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"invoiceHeader"],[1,"address"],["id","InvoiceNumber"],[1,"title"],[1,"plain","w-100"],[1,"header"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"title","topHolder"],[1,"address","topHolder"],[1,"timestamp",2,"font-size","9px"],[1,"creator",2,"font-size","9px"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,p){t&1&&(d(0,Dr,39,15,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,w,V,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Tr(n,l){if(n&1&&(_(0,"img",33),g(1,"images")),n&2){let t=c(2).ngIf;r("src",m(1,1,t.Template==null?null:t.Template.Logo),J)}}function kr(n,l){if(n&1&&(o(0,"div",26),d(1,Tr,2,3,"img",27),o(2,"div",28),_(3,"h2",29)(4,"small",29),o(5,"div",30),_(6,"div",31),g(7,"newlines"),_(8,"div",32),g(9,"newlines"),i()()()),n&2){let t=c().ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo),e(2),r("innerHTML",t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(7,5,t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(9,7,t.Template==null?null:t.Template.ContactInfo),s)}}function Er(n,l){if(n&1&&_(0,"strong",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Name,s)}}function Ar(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Nr(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Phone,s)}}function Hr(n,l){if(n&1&&(_(0,"div",29),g(1,"newlines")),n&2){let t=c(2).ngIf;r("innerHTML",m(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Rr(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.CityName,s)}}function zr(n,l){if(n&1&&(o(0,"div",34),_(1,"h3",29),o(2,"div",35),d(3,Er,1,1,"strong",36),o(4,"div",37),d(5,Ar,1,1,"div",36)(6,Nr,1,1,"div",36)(7,Hr,2,3,"div",36)(8,Rr,1,1,"div",36),i()()()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,s),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Br(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function Lr(n,l){n&1&&(o(0,"th"),a(1," Top "),i())}function Jr(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().ngIf;e(),C(" ",M(2,1,t.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Vr(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.Top," ")}}function Fr(n,l){n&1&&(o(0,"th",16),a(1,"Disc"),i())}function jr(n,l){if(n&1&&(o(0,"div",41),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Ur(n,l){if(n&1&&(o(0,"div",41),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.DiscountAmount)," ")}}function $r(n,l){if(n&1&&(o(0,"td"),d(1,jr,2,1,"div",41)(2,Ur,3,3,"div",41),i()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Qr(n,l){if(n&1&&(o(0,"tr"),_(1,"td",38)(2,"td",29)(3,"td",29)(4,"td",38),g(5,"quantityFraction"),_(6,"td",29),o(7,"td",39),a(8),g(9,"number"),i(),d(10,$r,3,2,"td"),_(11,"td",40),g(12,"amountFraction"),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(),r("innerHTML",p+1,s),e(),r("innerHTML",t.Name,s),e(),r("innerHTML",t.Code,s),e(),r("innerHTML",m(5,8,t.Quantity),s),e(2),r("innerHTML",t.UOMName,s),e(2),P(m(9,10,t.UnitPrice)),e(2),f(O.isDiscVisible()?10:-1),e(),r("innerHTML",m(12,12,t.Total),s)}}function Wr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",42),a(6),i(),o(7,"td",43),a(8),g(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",m(9,3,t.Amount)," ")}}function Gr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Wordify"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",45),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.totalInWords),s)}}function Xr(n,l){if(n&1&&(o(0,"tr"),_(1,"th",29),o(2,"td",44),a(3,":"),i(),_(4,"td",45),g(5,"date"),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null?null:t.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,s),e(3),r("innerHTML",M(5,2,t.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),s)}}function Zr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",46),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.Data.Note),s)}}function qr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",45),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",t==null||t.Data==null||t.Data.Data==null?null:t.Data.Data.StateLabel,s)}}function Kr(n,l){if(n&1&&(o(0,"div",53),_(1,"h5",29),o(2,"div",49),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy,s)}}function Yr(n,l){if(n&1&&(o(0,"div",54),_(1,"h5",29),o(2,"div",49),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function tc(n,l){if(n&1&&(o(0,"div",47)(1,"div",48),_(2,"h5",29),o(3,"div",49),a(4,"\xA0"),i()(),d(5,Kr,4,1,"div",50)(6,Yr,4,1,"div",51),o(7,"div",52),_(8,"h5",29)(9,"div",49),i()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy,s),e(3),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(2),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy,s)}}function nc(n,l){if(n&1&&(o(0,"small",55),a(1," Print by: "),o(2,"small"),a(3),i(),a(4),g(5,"date"),i()),n&2){let t=c().ngIf;e(3),P(t.Template==null?null:t.Template.DisplayName),e(),C(" ",M(5,2,t.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function ec(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div")(5,"div",3),d(6,kr,10,9,"div",4)(7,zr,9,6,"div",5),i(),o(8,"div",6)(9,"div",7)(10,"div",8)(11,"h1")(12,"strong"),a(13),i(),o(14,"span"),a(15),i()(),o(16,"table")(17,"thead")(18,"tr")(19,"th"),a(20,"Date"),i(),d(21,Br,2,0,"th",0),g(22,"IsMinDate"),d(23,Lr,2,0,"th",0),g(24,"IsMinDate"),i()(),o(25,"tbody")(26,"tr")(27,"td"),a(28),g(29,"date"),i(),d(30,Jr,3,4,"td",0),g(31,"IsMinDate"),d(32,Vr,2,1,"td",0),g(33,"IsMinDate"),i()()()()()()(),o(34,"div",9)(35,"table",10)(36,"thead")(37,"tr")(38,"th",11),a(39,"No"),i(),o(40,"th"),a(41,"Name"),i(),o(42,"th",12),a(43,"Code"),i(),o(44,"th",13),a(45,"Qty"),i(),o(46,"th",14),a(47,"UOM"),i(),o(48,"th",15),a(49),i(),d(50,Fr,2,0,"th",16),o(51,"th",15),a(52),i()()(),o(53,"tbody"),d(54,Qr,13,14,"tr",17),i(),o(55,"tfoot")(56,"tr",18)(57,"td",19)(58,"b"),a(59,"Total"),i()(),o(60,"td",20),a(61),g(62,"sum"),g(63,"quantityFraction"),i(),o(64,"td",20),a(65),i(),o(66,"td",21)(67,"table",22)(68,"tbody"),d(69,Wr,10,5,"tr",17),i()()()()()()(),o(70,"table",23),d(71,Gr,7,3,"tr",0)(72,Xr,6,5,"tr",0),g(73,"IsMinDate"),d(74,Zr,7,3,"tr")(75,qr,6,1,"tr"),i(),o(76,"div"),d(77,tc,10,4,"div",24),i(),d(78,nc,6,5,"small",25),i(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,27,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(3),ht("",t.Template==null?null:t.Template.CssClass," header"),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.Data.Contact),e(6),P(t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),P(t.Data.Data.Number),e(6),r("ngIf",m(22,29,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(24,31,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(5),C(" ",M(29,33,t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",m(31,36,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(33,38,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(17),C(" Price (",t.Data.CurrencySymbol,") "),e(),f(p.isDiscVisible()?50:-1),e(2),C(" Total (",t.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Data.Item),e(3),r("colSpan",3),e(4),C(" ",m(63,43,M(62,40,t.Data.Item,"Quantity"))," "),e(4),C(" ",t.Data.Item.UOMName," "),e(4),r("ngForOf",t.Data.Aggregate),e(2),r("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible),e(),r("ngIf",m(73,45,t.Data.Invoice.CustomDateField)!="-"),e(2),f(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.Note&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)?74:-1),e(),f(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.StateLabel&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible)?75:-1),e(2),r("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var rn=class n{constructor(l,t,p){this.httpService=l;this.route=t;this.title=p}isDiscVisible=_t(!0);data$;ngOnInit(){let l=this.route.snapshot.queryParams;this.data$=this.route.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>this.httpService.post(I.SupplierPoReceipt,t)),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),l.Print==1&&setTimeout(()=>window.print(),500)}))}initDiscVisible(l){let p=(l.Item?l.Item:[]).some(O=>O.Discount>0||O.DiscountAmount>0);this.isDiscVisible.set(p)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-po"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container","supplierpo"],[1,"header_left"],["class","company",4,"ngIf"],["class","contact d-flex align-items-center","style","overflow-x: hidden",4,"ngIf"],[1,"header_right"],[1,"invoice_number"],[1,"mt-4"],[1,"cartItems"],[1,"plain","w-100"],[1,"text-center",2,"width","20px"],[2,"width","100px"],[1,"number","text-end",2,"width","30px"],[1,"UOMWidth",2,"width","40px"],[1,"number","text-end",2,"width","100px"],[1,"number",2,"width","80px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],[1,"empty-column","align-top","text-end",3,"colSpan"],[1,"empty-column","align-top","text-center"],["colspan","3",1,"number","noTopPad","text-end"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"info",2,"max-width","50%"],["class","signature",4,"ngIf"],["class","printed",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"float",3,"src"],[1,"contact","d-flex","align-items-center",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"text-center",3,"innerHTML"],[1,"text-end"],[1,"text-end",3,"innerHTML"],[1,"text-end","text-danger"],[1,"currency"],[2,"width","50px"],[2,"width","5px"],[1,"val",3,"innerHTML"],[1,"val",2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"signature"],["Class","left"],[1,"name"],["Class","left leftSmall",4,"ngIf"],["Class","left rightSmall",4,"ngIf"],[1,"right"],["Class","left leftSmall"],["Class","left rightSmall"],[1,"printed"]],template:function(t,p){t&1&&(d(0,ec,79,47,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,K,j,Jt,Pt,Rt,zt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function ic(n,l){if(n&1&&(_(0,"img",32),g(1,"images")),n&2){let t=c(2).ngIf;Tn("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function oc(n,l){if(n&1&&(o(0,"div",26),d(1,ic,2,3,"img",27),o(2,"div",28),_(3,"h2",29)(4,"small",29),o(5,"div",30)(6,"div",31),_(7,"span",29),i(),o(8,"div",16),_(9,"span",29),g(10,"newlines"),i()()()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(2),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(3),r("innerHTML",t==null||t.Template==null?null:t.Template.Address,s),e(2),r("innerHTML",m(10,5,t==null||t.Template==null?null:t.Template.ContactInfo),s)}}function lc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function ac(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function rc(n,l){if(n&1&&(o(0,"div",33)(1,"h3"),_(2,"span",29),i(),o(3,"div",34)(4,"strong"),a(5),i(),o(6,"div",35),d(7,lc,3,1,"div",0)(8,ac,3,1,"div",0),o(9,"div",36),_(10,"span",29),i(),o(11,"div")(12,"span"),a(13),i()()()()()),n&2){let t=c().ngIf;e(2),r("innerHTML",(t==null||t.Data==null?null:t.Data.Prefixed)==="Outlet Delivery"?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer:t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,s),e(3),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(2),r("innerHTML",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address,s),e(3),P(t==null?null:t.City)}}function cc(n,l){n&1&&(o(0,"th"),a(1,"Code"),i())}function pc(n,l){n&1&&(o(0,"th",37),a(1," Cost "),i())}function gc(n,l){if(n&1&&(o(0,"th",37),a(1," Price"),_(2,"br"),a(3),i()),n&2){let t=c().ngIf;e(3),C("(",t==null||t.Data==null?null:t.Data.currencySymbol,") ")}}function dc(n,l){if(n&1&&(o(0,"div"),_(1,"small",29),i()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note,s)}}function _c(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.Code)}}function Cc(n,l){if(n&1&&(o(0,"th",42),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitCost)," ")}}function mc(n,l){if(n&1&&(_(0,"th",43),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Pc(n,l){if(n&1&&(o(0,"tr")(1,"td")(2,"div"),a(3),i(),_(4,"app-serial-note",38),d(5,dc,2,1,"div",0),i(),d(6,_c,2,1,"td"),_(7,"td",39),g(8,"number"),d(9,Cc,3,3,"th",40)(10,mc,2,3,"th",41),i()),n&2){let t=l.$implicit,p=c().ngIf;e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note),e(),f(!(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null||p.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&p.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?6:-1),e(),r("innerHTML",M(8,7,t.Quantity,"1.0-2"),s),e(2),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null?null:p.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(p==null?null:p.DataCostVisible)),e(),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null?null:p.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(p==null||p.Data==null?null:p.Data.PriceVisible))}}function sc(n,l){if(n&1&&(o(0,"div",44),_(1,"div",45),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}function Oc(n,l){if(n&1&&(_(0,"span",46),g(1,"date")),n&2){let t=c().ngIf;r("innerHTML",M(1,1,t==null||t.Data==null?null:t.Data.Date,"dd MMM yyyy"),s)}}function uc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2),_(4,"POS-print-mode",3),o(5,"div",4)(6,"div",5)(7,"div",6),d(8,oc,11,7,"div",7)(9,rc,14,6,"div",8),i(),o(10,"div",9)(11,"h1")(12,"strong",10),a(13),i(),o(14,"span"),a(15),i()()()(),o(16,"section",11)(17,"div")(18,"span",12),a(19,"To"),i(),a(20),i(),o(21,"div"),a(22),i(),o(23,"div")(24,"span",12),a(25,"Courier"),i(),a(26),i()(),o(27,"section",13)(28,"div",14)(29,"table",15)(30,"thead")(31,"tr")(32,"th"),a(33,"Name"),i(),d(34,cc,2,0,"th"),o(35,"th",16),a(36,"Qty"),i(),d(37,pc,2,0,"th",17)(38,gc,4,1,"th",17),i()(),o(39,"tbody"),d(40,Pc,11,10,"tr",18),i(),o(41,"tfoot")(42,"tr")(43,"td"),a(44,"Total"),i(),o(45,"td",19),a(46),g(47,"sum"),i()(),o(48,"tr")(49,"td",20),a(50," Note : "),_(51,"span",21),i()()()()()(),o(52,"div",22),d(53,sc,2,1,"div",23),i(),o(54,"div",24),d(55,Oc,2,4,"span",25),i()()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,17,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("paperPrints",p.paperPrintMode),e(4),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name)&&!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(4),P(t==null||t.Data==null?null:t.Data.Prefixed),e(2),C(" ",t==null||t.Data==null?null:t.Data.ItemTransfer.Number," "),e(5),C(": ",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name," "),e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),e(4),C(": ",t==null||t.Data==null?null:t.Data.ItemTransfer.Courier," "),e(8),f(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null||t.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&t.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?34:-1),e(3),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(t==null?null:t.DataCostVisible)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(t==null||t.Data==null?null:t.Data.PriceVisible)),e(2),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(6),C(" ",M(47,19,t==null||t.Data==null?null:t.Data.Items,"Quantity")," "),e(5),r("innerHTML",t==null||t.Data==null?null:t.Data.ItemTransfer.Note,s),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var cn=class n{constructor(l,t,p){this.activatedRoute=l;this.httpService=t;this.title=p}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activatedRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.TransferOrderReceipt,t))),E(t=>{this.title.setTitle(t.Title),this.initPrintOption(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-transfer-mini"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"supplierinvoice_print_container"],[1,"header","clearfix",2,"max-width","230px"],[1,"header_left",2,"max-width","230px"],["class","company",4,"ngIf"],["class","contact","style","max-width: 230px",4,"ngIf"],[1,"header_right"],[1,"mr-0"],[1,"destination-courier",2,"padding-left","5px"],[1,"fw-bold"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number"],["style","width: 40px",4,"ngIf"],[4,"ngFor","ngForOf"],["colspan","3",1,"text-end"],["colspan","6"],[2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"sign","clearfix"],["class","note",4,"ngIf"],[1,"divDate"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address"],[1,"float",3,"src"],[1,"contact",2,"max-width","230px"],[1,"box",2,"max-width","210px"],[1,"customer_info"],[2,"max-width","205px"],[2,"width","40px"],[3,"serials"],[1,"number",3,"innerHTML"],["class","text-end",4,"ngIf"],["class","text-end","style","width: 40px",3,"innerHTML",4,"ngIf"],[1,"text-end"],[1,"text-end",2,"width","40px",3,"innerHTML"],[1,"note"],[1,"left",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,uc,56,22,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,dt,w,R,V,K,j,Pt,z],styles:['div.contact[_ngcontent-%COMP%]{display:none}div.number[_ngcontent-%COMP%]{float:right;margin-left:0!important;margin-right:0!important;text-align:center!important;width:100%!important}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;width:60px;float:left}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:80px;margin-left:5px;text-align:left}div.header_right[_ngcontent-%COMP%]{text-align:center!important}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Mc(n,l){if(n&1&&(_(0,"img",26),g(1,"images")),n&2){let t=c().ngIf;r("src",m(1,1,t==null?null:t.Template.Logo),J)}}function fc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function xc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function vc(n,l){if(n&1&&(o(0,"div",27)(1,"div",28)(2,"strong"),a(3),i(),o(4,"div",29),d(5,fc,3,1,"div",0)(6,xc,3,1,"div",0),o(7,"div"),_(8,"span",8),g(9,"newlines"),i(),o(10,"div")(11,"span"),a(12),i()()()()()),n&2){let t=c().ngIf,p=c();e(3),P(t==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(t!=null&&t.Data.IsTransfer)),e(),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(9,5,t==null?null:t.Data.Contact.Address),s),e(4),P(t==null?null:t.Data.City)}}function bc(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),g(3,"date"),i(),o(4,"td"),a(5),g(6,"date"),i(),o(7,"td"),a(8),i(),o(9,"td",21),a(10),g(11,"number"),i()()),n&2){let t=l.$implicit;e(2),P(M(3,4,t.Data.Date,"dd MMM yyyy")),e(3),P(M(6,7,t.Data.Due,"dd MMM")),e(3),P(t.Number),e(2),C(" ",m(11,10,t.RemainingPaymentBaseCurrency)," ")}}function hc(n,l){if(n&1&&(o(0,"td",32),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function yc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",8),o(2,"td",30),a(3,":"),i(),d(4,hc,2,1,"td",31),i()),n&2){let t=c().ngIf,p=c();e(),r("innerHTML",p.appConfig!=null&&p.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t==null?null:t.Data.TotalInWords)}}function Sc(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",30),a(4,":"),i(),o(5,"td")(6,"ul",33)(7,"li"),_(8,"span",34),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Ic(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function wc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function Dc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function Tc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function kc(n,l){if(n&1&&(o(0,"div",35)(1,"div",36),d(2,Ic,4,1,"div",37)(3,wc,4,1,"div",37)(4,Dc,4,1,"div",37)(5,Tc,4,1,"div",37),i()()),n&2){let t=c(2);e(2),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4)}}function Ec(n,l){if(n&1&&(o(0,"div",44),_(1,"span",8),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t!=null&&t.Template.FooterLeft?t==null?null:t.Template.FooterLeft:""),s)}}function Ac(n,l){if(n&1&&(o(0,"div",41),d(1,Ec,3,3,"div",42),o(2,"div",43),_(3,"span",8),g(4,"SafeHtml"),i()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.FooterRight),e(2),r("innerHTML",m(4,2,t!=null&&t.Template.FooterRight?t==null?null:t.Template.FooterRight:""),s)}}function Nc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Mc,2,3,"img",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),i()()(),d(16,vc,13,7,"div",12),i(),o(17,"div",13)(18,"h1")(19,"strong"),a(20),i(),o(21,"span"),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),i()()()()()()(),o(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),i(),o(41,"th",17),a(42,"Due"),i(),o(43,"th"),a(44,"Number"),i(),o(45,"th",18),a(46,"Total"),i()()(),o(47,"tbody"),d(48,bc,12,12,"tr",19),i(),o(49,"tfoot")(50,"tr")(51,"td",20),a(52),i(),o(53,"td",21),a(54),g(55,"sum"),g(56,"number"),i()()()()()(),o(57,"table",22),d(58,yc,5,2,"tr",0)(59,Sc,9,1,"tr",0),i(),o(60,"div")(61,"div",23),d(62,kc,6,4,"div",24),i(),d(63,Ac,5,4,"div",25),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,18,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngClass",p.printMode()||""),e(4),r("ngIf",t==null?null:t.Template.Logo),e(2),r("innerHTML",t==null?null:t.Template.Title,s),e(),r("innerHTML",t==null?null:t.Template.Field,s),e(2),r("innerHTML",m(13,20,t.Template.Address),s),e(2),r("innerHTML",m(15,22,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t==null?null:t.Data.Prefixed),e(2),C(" ",t==null?null:t.Data.Invoice.Number," "),e(10),P(M(33,24,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(16),r("ngForOf",t==null?null:t.Data.Items),e(4),C(" ",(t==null?null:t.Data.Items.length)>1?t==null?null:t.Data.Items.length:""," Invoice, Total: "),e(2),C(" ",m(56,30,M(55,27,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null?null:t.Data.TotalInWords)),e(),r("ngIf",t==null?null:t.Data.Invoice.Note),e(3),r("ngIf",(p.appConfig==null||p.appConfig.PrintConfigGeneral==null||p.appConfig.PrintConfigGeneral.Visibility==null?null:p.appConfig.PrintConfigGeneral.Visibility.Visible)&&((p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column1)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column2)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column3)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column4))),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var pn=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}data$;printMode=_t(null);appConfig;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.printMode.set(l.Mode),this.httpService.post(I.BulkSupplierInvoice,l))),E(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-bulk-supplier-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact border-0 px-0","style","overflow: visible !important",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","50px"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],["colspan","3",1,"number"],[1,"number"],[1,"info"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact","border-0","px-0",2,"overflow","visible !important"],[1,"box",2,"border","solid 1px #9e9e9e !important"],[1,"customer_info"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,p){t&1&&(d(0,Nc,64,32,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,Ot,Pt,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Hc(n,l){if(n&1&&(_(0,"img",30),g(1,"images")),n&2){let t=c().ngIf;r("src",m(1,1,t==null?null:t.Template.Logo),J)}}function Rc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function zc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function Bc(n,l){if(n&1&&(o(0,"div",31)(1,"h3"),_(2,"span",8),i(),o(3,"div",32)(4,"strong"),a(5),i(),o(6,"div",33),d(7,Rc,3,1,"div",0)(8,zc,3,1,"div",0),o(9,"div"),_(10,"span",8),g(11,"newlines"),i(),o(12,"div")(13,"span"),a(14),i()()()()()),n&2){let t=c().ngIf,p=c();e(2),r("innerHTML",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentLabel.Customer,s),e(3),P(t==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(t!=null&&t.Data.IsTransfer)),e(),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(11,6,t==null?null:t.Data.Contact.Address),s),e(4),P(t==null?null:t.Data.City)}}function Lc(n,l){n&1&&(o(0,"th",17),a(1,"Due"),i())}function Jc(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().$implicit;e(),P(M(2,1,t.Due,"dd MMM"))}}function Vc(n,l){if(n&1&&(o(0,"span",38),a(1,"x"),i(),o(2,"span"),a(3),g(4,"number"),i()),n&2){let t=c().$implicit;e(3),P(m(4,1,t.Quantity))}}function Fc(n,l){if(n&1&&(o(0,"p",35)(1,"span"),a(2),i(),o(3,"span",36),a(4),i(),d(5,Vc,5,3),o(6,"span",37),a(7),i(),o(8,"span"),a(9),g(10,"number"),i()()),n&2){let t=l.$implicit,p=l.$index;e(2),C("",p+1,"."),e(2),P(t.Name),e(),f(t.Quantity>1?5:-1),e(2),P("@"),e(2),P(m(10,5,t.Total))}}function jc(n,l){if(n&1&&Nt(0,Fc,11,7,"p",35,At),n&2){let t=c().$implicit;Ht(t.Items)}}function Uc(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),g(3,"date"),i(),d(4,Jc,3,4,"td"),o(5,"td",18)(6,"h5"),a(7),i(),d(8,jc,2,0),i(),o(9,"td",34),a(10),g(11,"number"),i()()),n&2){let t=l.$implicit,p=c(2);e(2),P(M(3,5,t.Date,"dd MMM yyyy")),e(2),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?4:-1),e(3),P(t.Number),e(),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.InvoiceDetailVisible?8:-1),e(2),C(" ",m(11,8,t.RemainingPaymentBaseCurrency)," ")}}function $c(n,l){if(n&1&&(o(0,"td",41),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function Qc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",8),o(2,"td",39),a(3,":"),i(),d(4,$c,2,1,"td",40),i()),n&2){let t=c().ngIf,p=c();e(),r("innerHTML",p.appConfig!=null&&p.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t==null?null:t.Data.TotalInWords)}}function Wc(n,l){if(n&1&&(o(0,"tr")(1,"th",42),a(2),i(),o(3,"td",42),a(4,":"),i(),o(5,"td",42),a(6),g(7,"number"),i()()),n&2){let t=c().ngIf,p=c();e(2),C(" ",p.appConfig.PrintConfigDebt.FooterLabel.RemainingLabel," "),e(4),P(m(7,2,t==null?null:t.Data.Remaining))}}function Gc(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().$implicit,p=c(3);e(),C(" ",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode)==3?"- ***"+mt(2,1,t.Code,4,t.Code.length-4):"- "+t.Code," ")}}function Xc(n,l){if(n&1&&_(0,"span",45),n&2){let t=c().$implicit;r("innerHTML",t.Note?t.Note+" - ":"",s)}}function Zc(n,l){if(n&1&&(o(0,"span")(1,"span",8),g(2,"date"),a(3),g(4,"date"),i(),o(5,"span"),a(6),i(),d(7,Gc,3,5,"span",0)(8,Xc,1,1,"span",44),o(9,"span"),a(10),g(11,"number"),i(),_(12,"br"),i()),n&2){let t=l.$implicit,p=c(3);e(),r("innerHTML",M(2,6,t.Date,"dd MMM yy")+" - ",s),e(2),C(" ",M(4,9,t.Date,"dd MMM yy")+" - "," "),e(3),P(t.MethodName),e(),r("ngIf",t.Code&&p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode!=1),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentNoteVisible),e(2),P(m(11,12,t.Amount))}}function qc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",43),o(2,"td",42),a(3,":"),i(),o(4,"td",42),d(5,Zc,13,14,"span",20),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",(t==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment",s),e(4),r("ngForOf",t==null?null:t.Data.Payments)}}function Kc(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",39),a(4,":"),i(),o(5,"td")(6,"ul",46)(7,"li"),_(8,"div",47),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Yc(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function tp(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function np(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function ep(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function ip(n,l){if(n&1&&(o(0,"div",48)(1,"div",49),d(2,Yc,4,1,"div",50)(3,tp,4,1,"div",50)(4,np,4,1,"div",50)(5,ep,4,1,"div",50),i()()),n&2){let t=c(2);e(2),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column1),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column2),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column3),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column4)}}function op(n,l){if(n&1&&(o(0,"div",57),_(1,"span",8),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),s)}}function lp(n,l){if(n&1&&(o(0,"div",54),d(1,op,3,3,"div",55),o(2,"div",56),_(3,"span",8),g(4,"SafeHtml"),i()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.FooterRight),e(2),r("innerHTML",m(4,2,!(t==null||t.Template==null)&&t.Template.FooterRight?t==null||t.Template==null?null:t.Template.FooterRight:""),s)}}function ap(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Hc,2,3,"img",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),i()()(),d(16,Bc,15,8,"div",12),i(),o(17,"div",13)(18,"h1")(19,"strong"),a(20),i(),o(21,"span"),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),i()()()()()()(),o(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),i(),d(41,Lc,2,0,"th",17),o(42,"th",18),a(43,"Number"),i(),o(44,"th",19),a(45,"Total"),i()()(),o(46,"tbody"),d(47,Uc,12,10,"tr",20),i(),o(48,"tfoot")(49,"tr"),_(50,"td",21),o(51,"td",22),a(52),i(),o(53,"td",23),a(54),g(55,"sum"),g(56,"number"),i()()()()()(),o(57,"table",24),d(58,Qc,5,2,"tr",0)(59,Wc,8,4,"tr")(60,qc,6,2,"tr",0),i(),o(61,"div",25)(62,"table",26),d(63,Kc,9,1,"tr",0),i()(),o(64,"div")(65,"div",27),d(66,ip,6,4,"div",28),i(),d(67,lp,5,4,"div",29),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,22,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngClass",p.printMode()||""),e(4),r("ngIf",t==null?null:t.Template.Logo),e(2),r("innerHTML",t==null?null:t.Template.Title,s),e(),r("innerHTML",t==null?null:t.Template.Field,s),e(2),r("innerHTML",m(13,24,t.Template.Address),s),e(2),r("innerHTML",m(15,26,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t==null?null:t.Data.Prefixed),e(2),C(" ",t==null?null:t.Data.Invoice.Number," "),e(10),P(M(33,28,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(9),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?41:-1),e(6),r("ngForOf",t==null?null:t.Data.Items),e(3),r("colSpan",!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?6:5),e(2),C(" ",t==null?null:t.Data.Items.length," Invoice, Total: "),e(2),C(" ",m(56,34,M(55,31,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null?null:t.Data.TotalInWords)),e(),f(t!=null&&t.Data.Remaining?59:-1),e(),r("ngIf",t==null?null:t.Data.Payments.length),e(3),r("ngIf",t==null?null:t.Data.Invoice.Note),e(3),r("ngIf",(p.appConfig==null||p.appConfig.PrintConfigGeneral==null||p.appConfig.PrintConfigGeneral.Visibility==null?null:p.appConfig.PrintConfigGeneral.Visibility.Visible)&&(p.appConfig.PrintConfigDebt.Signature.Column1||p.appConfig.PrintConfigDebt.Signature.Column2||p.appConfig.PrintConfigDebt.Signature.Column3||p.appConfig.PrintConfigDebt.Signature.Column4)),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var gn=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;appConfig;title=Sn(A);printMode=_t(null);ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.printMode.set(l.Mode),this.httpService.post(I.BulkInvoice,l))),E(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-bulk-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container","bulkinvoice_print_container","container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","100px"],["colspan","5"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],[3,"colSpan"],[1,"fw-bold"],[1,"number","fw-bold"],[1,"table-sm","table-bordered","table-secondary","info"],[1,"note-info"],[1,"info"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact"],[1,"box"],[1,"customer_info"],[1,"number"],[1,"invoice-item","text-dark","fst-normal"],[1,"ms-1"],[1,"text-dark","ms-1"],[1,"text-dark","mx-1"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"bg-light-gray"],[1,"bg-light-gray",3,"innerHTML"],["style","line-break: anywhere",3,"innerHTML",4,"ngIf"],[2,"line-break","anywhere",3,"innerHTML"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,p){t&1&&(d(0,ap,68,36,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,Bt,K,j,Ot,Pt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};var rp=(n,l)=>({"col-8":n,col:l}),cp=n=>({width:n}),pp=(n,l)=>({"text-success":n,"text-danger":l});function gp(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;ct(et(3,cp,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function dp(n,l){if(n&1&&(x(0),d(1,gp,1,5,"img",27),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function _p(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function Cp(n,l){if(n&1&&d(0,_p,1,1,"img",29),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function mp(n,l){if(n&1&&(o(0,"div",25),d(1,dp,2,1,"ng-container",26)(2,Cp,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.Config==null?null:p.Config.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Pp(n,l){n&1&&(o(0,"th",18),a(1," Price "),i())}function sp(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function Op(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td")(4,"div"),a(5),i(),_(6,"app-serial-note",30)(7,"i",31),i(),o(8,"td"),a(9),i(),o(10,"td"),a(11),g(12,"number"),i(),d(13,sp,3,3,"td",1),o(14,"td"),a(15),i()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf;e(2),P(p+1),e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("innerHTML",t.Note,s),e(2),P(t.Code),e(),Et(it(12,pp,t.Quantity>0,t.Quantity<0)),e(),C(" ",t.Quantity==null?t.Counted:m(12,10,t.Quantity)," "),e(2),r("ngIf",O==null||O.Config==null||O.Config.AdjustmentConfig==null||O.Config.AdjustmentConfig.Items==null?null:O.Config.AdjustmentConfig.Items.UnitPriceVisible),e(2),P(t.UOMName)}}function up(n,l){if(n&1&&(o(0,"tr")(1,"th",32),a(2,"Note"),i(),o(3,"td",33),a(4,":"),i(),_(5,"td",34),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHtml",m(6,1,t==null||t.Header==null?null:t.Header.Note),s)}}function Mp(n,l){if(n&1&&(o(0,"div",35)(1,"h5",36),a(2," \xA0 "),i(),o(3,"div",37),a(4," \xA0 "),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column1,s)}}function fp(n,l){if(n&1&&(o(0,"div",38)(1,"h5",36),a(2," \xA0 "),i(),o(3,"div",37),a(4," \xA0 "),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column2,s)}}function xp(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,mp,4,2,"div",8),o(9,"div",9),_(10,"h2",10)(11,"small",10),o(12,"div"),_(13,"div",10),g(14,"newlines"),_(15,"div",10),g(16,"newlines"),i()()()(),o(17,"div",11)(18,"h1")(19,"strong",12),a(20),i(),o(21,"span",13),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),i()()()()()()(),o(33,"div",14)(34,"table",15)(35,"thead",16)(36,"tr")(37,"th",17),a(38,"No"),i(),o(39,"th"),a(40,"Name"),i(),o(41,"th",18),a(42,"Code"),i(),o(43,"th",18),a(44,"Qty"),i(),d(45,Pp,2,0,"th",19),o(46,"th",18),a(47,"UOM"),i()()(),o(48,"tbody"),d(49,Op,16,15,"tr",20),i()()(),o(50,"table",21),d(51,up,7,3,"tr",1),i(),o(52,"div")(53,"div")(54,"div",22),d(55,Mp,5,1,"div",23)(56,fp,5,1,"div",24),i()()()()(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,15,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(7),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(),r("ngClass",it(21,rp,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(14,17,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(16,19,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(5),P(t==null||t.Config==null||t.Config.AdjustmentConfig==null?null:t.Config.AdjustmentConfig.HeaderTitle),e(2),C(" ",t==null||t.Header==null?null:t.Header.Number," "),e(10),C(" ",t==null||t.Header==null?null:t.Header.Date," "),e(13),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Items==null?null:t.Config.AdjustmentConfig.Items.UnitPriceVisible),e(4),r("ngForOf",t==null?null:t.DifferenceArray),e(2),r("ngIf",t==null||t.Header==null?null:t.Header.Note),e(4),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column1),e(),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column2)}}var dn=class n{constructor(l,t){this.httpService=l;this.activatedRoute=t}data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.AdjustmentInvoice,l)),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-printing-adjustment"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoice_print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],["class","shop-logo col-auto",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"adjustment-title"],[1,"invoice-number"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#fdf3c6"],[2,"width","50px"],[2,"width","80px"],["style","width: 80px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"table","table-sm","table-bordered","table-secondary","info","w-25"],[1,"signature","row","justify-content-between"],["class","col-3 signature-col1",4,"ngIf"],["class","col-3 signature-col2",4,"ngIf"],[1,"shop-logo","col-auto"],[4,"ngIf","ngIfElse"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[3,"serials"],["id","show",2,"color","cadetblue",3,"innerHTML"],[1,"bg-light-gray",2,"width","50px"],[2,"width","10px"],[3,"innerHtml"],[1,"col-3","signature-col1"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"col-3","signature-col2"]],template:function(t,p){t&1&&(d(0,xp,57,24,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,dt,w,R,j,z],styles:['div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}@media print{.shop-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}}']})};var vp=(n,l)=>({"col-8":n,col:l});function bp(n,l){if(n&1&&(_(0,"img",33),g(1,"images")),n&2){let t=c(2).ngIf;r("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function hp(n,l){if(n&1&&(o(0,"div",31),d(1,bp,2,3,"img",32),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function yp(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function Sp(n,l){if(n&1&&(o(0,"div",34)(1,"div",35)(2,"h3",36)(3,"span"),a(4),i()(),o(5,"div",37)(6,"strong"),a(7),i(),o(8,"div",38),d(9,yp,3,1,"div",0),o(10,"div")(11,"span"),a(12),g(13,"newlines"),i()(),o(14,"div")(15,"span"),a(16),i()()()()()()),n&2){let t=c().ngIf;e(4),P(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle),e(3),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(3),P(m(13,5,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address)),e(4),P(t==null||t.Data==null?null:t.Data.City)}}function Ip(n,l){if(n&1&&(o(0,"small"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.Note)}}function wp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function Dp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function Tp(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),_(5,"br"),d(6,Ip,2,1,"small",0),i(),o(7,"td",24),d(8,wp,3,3,"span",0),i(),o(9,"td",24),d(10,Dp,3,3,"span",0),i()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.AccountCode),e(2),C(" ",t.AccountName,""),e(2),r("ngIf",p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigAccounting==null?null:p.AppConfigJSON.PrintConfigAccounting.Visibility.JournalNoteAccountVisible),e(2),r("ngIf",t.DCTypeID==1),e(2),r("ngIf",t.DCTypeID==-1)}}function kp(n,l){if(n&1&&(o(0,"tr",39)(1,"th",40),a(2,"Note"),i(),o(3,"td",41),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Note," ")}}function Ep(n,l){if(n&1&&(o(0,"tr")(1,"th",16),a(2,"Reference"),i(),o(3,"td",42),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay," ")}}function Ap(n,l){if(n&1&&(o(0,"div",43)(1,"div",44)(2,"h5",45),a(3),i(),o(4,"div",46),a(5," \xA0 "),i()(),o(6,"div",44)(7,"h5",45),a(8),i(),o(9,"div",46),a(10," \xA0 "),i()(),o(11,"div",44)(12,"h5",45),a(13),i(),o(14,"div",46),a(15," \xA0 "),i()(),o(16,"div",44)(17,"h5",45),a(18),i(),o(19,"div",46),a(20," \xA0 "),i()()()),n&2){let t=c().ngIf;e(3),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.CreatedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ApprovedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.SignedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ReceivedBy," ")}}function Np(n,l){if(n&1&&(o(0,"small",47),a(1),i()),n&2){let t=c().ngIf;e(),C("",t==null||t.Data==null?null:t.Data.Creator," ")}}function Hp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,hp,2,1,"div",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div"),_(12,"div",8),g(13,"newlines"),_(14,"div",8),g(15,"newlines"),i()()(),d(16,Sp,17,7,"div",9),i(),o(17,"div",10)(18,"div",11)(19,"div",12)(20,"h1")(21,"strong"),a(22,"Journal #"),i(),o(23,"span"),a(24),i()()(),o(25,"div",12)(26,"div",13)(27,"div",14)(28,"table",15)(29,"thead",16)(30,"tr")(31,"th"),a(32,"Date"),i(),o(33,"th"),a(34,"Outlet"),i()()(),o(35,"tbody")(36,"tr",17)(37,"td",18),a(38),g(39,"date"),i(),o(40,"td",18),a(41),i()()()()()()()()()(),o(42,"div",19)(43,"div",20)(44,"table",21)(45,"thead",22)(46,"tr",23)(47,"th"),a(48,"Code"),i(),o(49,"th"),a(50,"Account"),i(),o(51,"th",24),a(52,"Debit"),i(),o(53,"th",24),a(54,"Credit"),i()()(),o(55,"tbody"),d(56,Tp,11,5,"tr",25),i(),o(57,"tfoot")(58,"tr"),_(59,"td",26),o(60,"td",24),a(61),g(62,"Filter"),g(63,"sum"),g(64,"number"),i(),o(65,"td",24),a(66),g(67,"Filter"),g(68,"sum"),g(69,"number"),i()()()()()(),o(70,"table",27),d(71,kp,7,1,"tr",28)(72,Ep,7,1,"tr",0),i(),d(73,Ap,21,4,"div",29)(74,Np,2,1,"small",30),i(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,18,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(6),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(),r("ngClass",it(45,vp,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),r("innerHtml",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHtml",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHtml",m(13,20,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHtml",m(15,22,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Sender)||(t==null||t.Data==null?null:t.Data.ContactDisplay)),e(8),P(t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Number),e(14),C(" ",M(39,24,t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Date,"dd MMM yyyy")," "),e(3),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.EntityName," "),e(15),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(5),C(" ",m(64,34,M(63,31,mt(62,27,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),C(" ",m(69,43,M(68,40,mt(67,36,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.JournalNoteFooterVisible),e(),r("ngIf",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null?null:t.AppConfigJSON.PrintConfigAccounting.Visibility.SignatureVisibility),e(),r("ngIf",(t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var _n=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceJournal,t))),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-journal"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],["class","shop-logo",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHtml"],["class","row ms-0 mt-3 header-customer",4,"ngIf"],[1,"col","p-0","m-0","header_right"],[1,"row","me-0","invoice_number"],[1,"w-100","d-flex","justify-content-end"],[1,"row"],[1,"col-12","d-flex","justify-content-end"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"border"],[1,"p-2","text-left"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"table-bordered"],[2,"background","#fceca3"],[1,"text-end"],[4,"ngFor","ngForOf"],["colspan","2",1,"bg-white","table-borderless"],[1,"table","table-sm","table-bordered","table-secondary","mt-8","info",2,"width","400px"],["id","trNote",4,"ngIf"],["class","row mx-0 my-5 mt-5 text-center",4,"ngIf"],["class","d-block text-center font-italic py-2","style","font-size: 12px",4,"ngIf"],[1,"shop-logo"],["class","float",3,"src",4,"ngIf"],[1,"float",3,"src"],[1,"row","ms-0","mt-3","header-customer"],[1,"col-6","border"],[1,"fw-bold"],[1,"box"],[1,"customer_info"],["id","trNote"],["width","75px;",1,"bg-light-gray"],["width","5px;",1,"text-center"],[1,"text-center"],[1,"row","mx-0","my-5","mt-5","text-center"],[1,"col-3",2,"height","120px"],[2,"line-height","20px"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"d-block","text-center","font-italic","py-2",2,"font-size","12px"]],template:function(t,p){t&1&&(d(0,Hp,75,48,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,Lt,Pt,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Rp(n,l){if(n&1&&(x(0),o(1,"div",18),a(2,"Payment Note"),i(),o(3,"div",19),a(4,":"),i(),_(5,"div",25),g(6,"newlines"),v()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.Note),s)}}function zp(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),i(),o(5,"td"),a(6),i(),o(7,"td",31),a(8),i(),o(9,"td",31),a(10),g(11,"number"),i(),o(12,"td",31),a(13),g(14,"number"),i()()),n&2){let t=l.$implicit,p=l.index;e(2),P(p+1),e(2),P(t.Name),e(2),P(t.Code),e(2),P(t.Quantity),e(2),P(m(11,6,t.UnitPrice)),e(3),P(m(14,8,t.Total))}}function Bp(n,l){if(n&1&&(x(0),o(1,"div",26)(2,"div",27)(3,"table",28)(4,"thead",29)(5,"tr")(6,"th",30),a(7," No "),i(),o(8,"th"),a(9," Name "),i(),o(10,"th"),a(11," Code "),i(),o(12,"th",31),a(13," Qty "),i(),o(14,"th",31),a(15," Price "),i(),o(16,"th",31),a(17," Total "),i()()(),o(18,"tbody"),d(19,zp,15,10,"tr",32),i()()()(),v()),n&2){let t=c().ngIf;e(19),r("ngForOf",t==null||t.Data==null?null:t.Data.InvoiceItems)}}function Lp(n,l){if(n&1&&(o(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),a(4),i(),_(5,"small",4)(6,"h6",5),g(7,"newlines"),_(8,"h6",6),g(9,"newlines"),i(),o(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),a(15,"Payment Date"),i()()(),o(16,"tbody")(17,"tr",11)(18,"td")(19,"div",12),a(20),g(21,"date"),i()()()()()()(),o(22,"div",13)(23,"div",14)(24,"h1"),a(25),i(),o(26,"h6",15),a(27),i()(),o(28,"div",16)(29,"div",17)(30,"div",18),a(31,"Received From"),i(),o(32,"div",19),a(33,":"),i(),o(34,"div",20),a(35),i(),o(36,"div",18),a(37,"Payment For"),i(),o(38,"div",19),a(39,":"),i(),o(40,"div",20),a(41),g(42,"date"),i(),d(43,Rp,7,3,"ng-container",21),i()(),d(44,Bp,20,1,"ng-container",21),o(45,"div",22)(46,"span",23),a(47,"Amount"),i(),o(48,"span",24),a(49),g(50,"number"),i()()()()),n&2){let t=l.ngIf;e(4),P(t.PrintTemplate.Title),e(),r("innerHtml",t.PrintTemplate.Field,s),e(),r("innerHTML",m(7,14,t.PrintTemplate.Address),s),e(2),r("innerHtml",m(9,16,t.PrintTemplate.ContactInfo),s),e(12),P(M(21,18,t.Data.Date,"dd MMM yyyy")),e(5),P(t.Config.Header),e(2),C("INVOICE: ",t.Data.InvoiceNumber,""),e(8),P(t.Data.Customer.Display),e(6),gt("",t.Data.InvoiceNumber," - ",M(42,21,t.Data.Date,"dd MMM yy"),""),e(2),r("ngIf",t.Data.Note),e(),r("ngIf",t.Config.Products),e(5),gt("",t.Data.CurrencySymbol," ",m(50,24,t.Data.Amount),"")}}var Cn=class n{constructor(l,t){this.http=l;this.aRoute=t}_data$;ngOnInit(){let l=bn(this.aRoute.snapshot.queryParams);this._data$=l.pipe(hn(t=>this.http.post(I.PaymentReceipt,t)))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-payment-print"]],standalone:!1,decls:2,vars:3,consts:[["class","container-fluid","style","width: 60vw;",4,"ngIf"],[1,"container-fluid",2,"width","60vw"],[1,"d-flex","justify-content-between","align-items-end",2,"border-bottom","1px solid black","padding-bottom","5px"],[1,"outlet-address"],[3,"innerHtml"],[1,"fw-normal",3,"innerHTML"],[1,"fw-normal",3,"innerHtml"],[1,"pt-2"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"py-2","text-capitalize"],[1,"border"],[1,"date","fw-bold"],[2,"margin-top","10px"],[1,"text-center"],[1,"fw-normal"],[2,"margin-top","35px"],[1,"row",2,"margin-left","50px"],[1,"col-3","text-start","fw-bold"],[1,"col-1","text-end"],[1,"col-8"],[4,"ngIf"],[1,"fw-bold",2,"margin-top","50px"],[2,"padding","10px 35px","border","1px solid black"],[2,"padding","10px 50px","border","1px solid black","background-color","#f3ab1c"],[1,"col-8",3,"innerHTML"],[1,"row","d-print-block","g-0","mt-6"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#FDF3C6"],[2,"width","20px"],[1,"text-end"],[4,"ngFor","ngForOf"]],template:function(t,p){t&1&&(d(0,Lp,51,26,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p._data$))},dependencies:[L,y,w,R,V,j],styles:["@media print{div.container-fluid[_ngcontent-%COMP%]{width:100vw!important}}"]})};var Jp=n=>({width:n});function Vp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;ct(et(3,Jp,(t==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function Fp(n,l){if(n&1&&(x(0),d(1,Vp,1,5,"img",38),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function jp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;r("src",t==null?null:t.Template.Logo,J)}}function Up(n,l){if(n&1&&d(0,jp,1,1,"img",40),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function $p(n,l){if(n&1&&_(0,"span",9),n&2){let t=c().ngIf;r("innerHTML",t.Data.RegisterCode,s)}}function Qp(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),gt(", ",t.Data.Contact==null?null:t.Data.Contact.Title," - ",t.Data.Contact==null?null:t.Data.Contact.Code,"")}}function Wp(n,l){if(n&1&&(o(0,"h6",41)(1,"span"),a(2),i(),d(3,Qp,2,2,"span",1),i()),n&2){let t=c().ngIf;e(2),P(t.Data.Contact.Name),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Code)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerCodeVisible))}}function Gp(n,l){if(n&1&&_(0,"h6",42),n&2){let t=c().ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.NationalIDNumber,s)}}function Xp(n,l){if(n&1&&(_(0,"p",43),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Zp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().ngIf;e(),C(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+mt(2,1,t.Data.Contact==null?null:t.Data.Contact.Phone,4,(t.Data.Contact==null?null:t.Data.Contact.Phone.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Phone)," ")}}function qp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().ngIf;e(),C(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+mt(2,1,t.Data.Contact==null?null:t.Data.Contact.Mobile,4,(t.Data.Contact==null||t.Data.Contact.Mobile==null?null:t.Data.Contact.Mobile.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Mobile)," ")}}function Kp(n,l){if(n&1&&_(0,"p",44),n&2){let t=c().ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Yp(n,l){if(n&1&&(o(0,"h2",45),a(1),i()),n&2){let t=c().ngIf;Et(t.Data.paymentState==2?"text-warning":"text-danger"),e(),C(" ",t.Data.paymentState==2?"PARTIAL":t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.BillLabel," ")}}function tg(n,l){if(n&1&&(o(0,"h2",16),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null?null:t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText:"SALES RETURN"," ")}}function ng(n,l){if(n&1&&(x(0),o(1,"h3",45),a(2),i(),v()),n&2){let t=c().ngIf;e(2),P(t.Data.ParkLabel)}}function eg(n,l){if(n&1&&(o(0,"div",17),a(1),i()),n&2){let t=c().ngIf;e(),C(" Creator : ",t.Data.DocumentInfo.Created.User," ")}}function ig(n,l){if(n&1&&(x(0),_(1,"div",9),v()),n&2){let t=c().ngIf;e(),r("innerHTML",t.Data.HeaderTitle,s)}}function og(n,l){if(n&1&&(x(0),_(1,"app-serial-note",57),v()),n&2){let t=c().$implicit;e(),r("serials",t.Serial)}}function lg(n,l){if(n&1&&(o(0,"div",58)(1,"i",59),a(2),i()()),n&2){let t=c().$implicit;e(2),C(" sold by ",t.SalesName," ")}}function ag(n,l){if(n&1&&(_(0,"small",61),g(1,"newlines")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.Note),s)}}function rg(n,l){if(n&1&&(x(0),d(1,ag,2,3,"small",60),v()),n&2){let t=c().$implicit,p=c().ngIf;e(),r("ngIf",t.Note&&(p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible))}}function cg(n,l){if(n&1&&(o(0,"span",64),a(1),i()),n&2){let t=c(2).$implicit;e(),C(" ",t.Taxable?"V":"N"," ")}}function pg(n,l){if(n&1&&(o(0,"span",64),a(1),i()),n&2){let t=c(2).$implicit,p=c().ngIf;e(),C(" ",t.Taxable?p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel:"N"," ")}}function gg(n,l){if(n&1&&(o(0,"div",62),d(1,cg,2,1,"span",63)(2,pg,2,1,"span",63),i()),n&2){let t=c(2).ngIf;e(),r("ngIf",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)==""||(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)=="Taxable"),e(),r("ngIf",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!=""&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!="Taxable")}}function dg(n,l){if(n&1&&(o(0,"span",65),a(1),g(2,"number"),i()),n&2){let t=c().$implicit,p=c().ngIf;e(),yt(" ",M(2,3,t.Quantity,"1.0-4")," ",p!=null&&p.AppConfigJSON.PrintConfigInvoice.ItemsTable.UOMVisible?t.UOMName:""," ",t.UnitQuantity!=1?" x "+t.UnitQuantity:""," ")}}function _g(n,l){if(n&1&&(x(0),o(1,"i",66),a(2),g(3,"number"),i(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.Discount)+"%"," ")}}function Cg(n,l){if(n&1&&(x(0),o(1,"i",67),a(2),g(3,"number"),i(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.DiscountAmount)," ")}}function mg(n,l){if(n&1&&(o(0,"div",46)(1,"div",17)(2,"div",47)(3,"div"),x(4),a(5),v(),a(6),i(),d(7,og,2,1,"ng-container",1)(8,lg,3,1,"div",48)(9,rg,2,1,"ng-container",1),i(),d(10,gg,3,2,"div",49),i(),o(11,"div",50)(12,"div",51)(13,"div",52),d(14,dg,3,6,"span",53),x(15),o(16,"span",54),a(17,"x"),i(),o(18,"span",55),a(19),g(20,"number"),i(),v(),d(21,_g,4,3,"ng-container",1)(22,Cg,4,3,"ng-container",1),i()(),o(23,"div",56)(24,"span"),a(25),g(26,"number"),g(27,"TrailingZero"),i()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf;e(5),C(" ",p+1,". "),e(),gt(" ",t.Name," ",t.Code&&(O!=null&&O.AppConfigJSON.PrintConfigInvoice.ItemsTable.CodeVisible)?" - "+t.Code:""," "),e(),r("ngIf",t.Serial&&(t.Serial==null?null:t.Serial.length)>0),e(),r("ngIf",t.SalesName&&(O==null?null:O.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Note),e(),r("ngIf",O==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableVisible),e(4),r("ngIf",O==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.QuantityVisible),e(5),C(" ",m(20,12,t.UnitPrice)," "),e(2),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0),e(3),C(" ",M(27,16,m(26,14,(1-t.Discount/100)*t.UnitPrice*t.Quantity*t.UnitQuantity-t.DiscountAmount*t.Quantity),O==null?null:O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Pg(n,l){if(n&1&&(o(0,"span")(1,"span"),a(2),i()()),n&2){let t=c().$implicit;e(2),C("",t.Label," :")}}function sg(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c().$implicit;e(),C("",t.CurrencySymbol," ")}}function Og(n,l){if(n&1&&(o(0,"div",68),g(1,"Filter"),o(2,"div",69),a(3),d(4,Pg,3,1,"span"),i(),o(5,"div",70)(6,"div",71)(7,"div",72),d(8,sg,2,1,"span",1),i(),o(9,"div",28)(10,"span"),a(11),g(12,"number"),g(13,"TrailingZero"),i()()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,$=c();r("ngClass",p==mt(1,7,O.Data.Aggregate,1,"Type").length-1?"pb-2":""),e(2),r("ngClass",p==1?"border-top":""),e(),C(" ",p==0&&t.Label=="Amount"?$.totalItemsLabel+" :":""," "),e(),f(p!=0||t.Label!="Amount"?4:-1),e(),r("ngClass",p==1?"border-top":""),e(3),r("ngIf",O.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(3),P(M(13,13,m(12,11,t.Amount),O.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function ug(n,l){if(n&1&&(o(0,"span",72),a(1),i()),n&2){let t=c().ngIf;e(),P(t.Data.CurrencySymbol)}}function Mg(n,l){if(n&1&&(o(0,"span",72),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t.Data.CurrencySymbol)}}function fg(n,l){if(n&1&&(o(0,"div",24)(1,"div",73),a(2),i(),o(3,"div",26),d(4,Mg,2,1,"span",27),o(5,"span",28),a(6),g(7,"TrailingZero"),i()()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.LabelRemaining,": "),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(2),P(M(7,3,t.Data.Invoice.Data.Remaining,t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function xg(n,l){if(n&1&&(o(0,"h6",74),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.SalesPerson," ")}}function vg(n,l){if(n&1&&(o(0,"p"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function bg(n,l){n&1&&(o(0,"h6",74),a(1," Note "),i())}function hg(n,l){if(n&1&&(_(0,"p",9),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.ExtraNote),s)}}function yg(n,l){n&1&&(o(0,"h6",75),a(1," Note "),i())}function Sg(n,l){if(n&1&&(_(0,"p",76),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.InvoiceNote),s)}}function Ig(n,l){if(n&1&&(o(0,"p",77),a(1),i()),n&2){let t=c().ngIf;e(),C(" Printed : ",t.Data.PrintDate," ")}}function wg(n,l){if(n&1&&(o(0,"p",77),a(1),i()),n&2){let t=c().ngIf;e(),C(" Created : ",t.Data.Created," ")}}function Dg(n,l){n&1&&(o(0,"div"),_(1,"div",78),i())}function Tg(n,l){if(n&1&&(x(0)(1),_(2,"link",2),g(3,"StylesheetSafeUrl"),_(4,"POS-print-mode",3),o(5,"div")(6,"div",4),d(7,Fp,2,1,"ng-container",5)(8,Up,1,1,"ng-template",null,0,Y),i(),o(10,"div",4),_(11,"h2",6)(12,"i",7),o(13,"p",8),_(14,"span",9),g(15,"newlines"),_(16,"br"),d(17,$p,1,1,"span",10),_(18,"span",9),g(19,"newlines"),i(),d(20,Wp,4,2,"h6",11)(21,Gp,1,1,"h6",12)(22,Xp,2,3,"p",13)(23,Zp,3,5,"span",1)(24,qp,3,5,"span",1)(25,Kp,1,1,"p",14),i(),d(26,Yp,2,3,"h2",15)(27,tg,2,1,"h2",16)(28,ng,3,1,"ng-container",1)(29,eg,2,1,"div",17),o(30,"div",18)(31,"div",19),d(32,ig,2,1,"ng-container",1),_(33,"div",9),i(),o(34,"div",20)(35,"div"),a(36),g(37,"date"),i()()(),d(38,mg,28,19,"div",21),o(39,"div",22),d(40,Og,14,16,"div",23),g(41,"Filter"),i(),o(42,"div",24)(43,"div",25),a(44),i(),o(45,"div",26),d(46,ug,2,1,"span",27),o(47,"span",28),a(48),g(49,"number"),g(50,"TrailingZero"),i()()(),d(51,fg,8,6,"div",29),o(52,"div",30),d(53,xg,2,1,"h6",31)(54,vg,2,1,"p",1)(55,bg,2,0,"h6",31)(56,hg,2,3,"p",10)(57,yg,2,0,"h6",32)(58,Sg,2,3,"p",33),i(),_(59,"p",9),g(60,"SafeHtml"),_(61,"div",34),g(62,"SafeHtml"),o(63,"div",4),d(64,Ig,2,1,"p",35),i(),o(65,"div",36),d(66,wg,2,1,"p",35),i(),d(67,Dg,2,0,"div",1),i(),o(68,"div",37),a(69),i(),v()()),n&2){let t=l.ngIf,p=Z(9),O=c();e(2),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(3,44,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(2),r("paperPrints",O.paperPrintMode),e(),wn("print_container invoice_mini ",!(t==null||t.Template==null)&&t.Template.PrintLX300?"lx300":""," ",t==null||t.Template==null?null:t.Template.CssClass," box mt-5"),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",p),e(4),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(15,46,t==null?null:t.Template.Address),s),e(3),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode),e(),r("innerHTML",m(19,48,t==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.Contact.Name),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.NationalIDNumber)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.IdentificationVisible)),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Address)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Phone)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)!==null),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Mobile)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)==null&&(t.Data.Contact==null?null:t.Data.Contact.Mobile)!==null),e(),r("ngIf",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.Data.paymentState<3),e(),f(t.Data.Retur&&(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabel)?27:-1),e(),r("ngIf",t.Data.paymentState==1),e(),f((t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?29:-1),e(3),r("ngIf",t.Data.HeaderTitle),e(),r("innerHTML",t.Data.Invoice.Number,s),e(3),P(M(37,50,t.Data.Invoice.Data.Date,"dd MMM yyyy")),e(2),r("ngForOf",t.Data.Items),e(2),r("ngForOf",mt(41,53,t.Data.Aggregate,1,"Type")),e(4),C(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible?t.Data.PaymentLabel:"Payment"," "),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(2),C(" ",M(50,59,m(49,57,t.Data.Invoice.Final),t.AppConfigJSON.PrintConfigGeneral.TrailingZero),""),e(3),r("ngIf",t.Data.Invoice.Data.Remaining),e(2),r("ngIf",t.Data.SalesName&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Data.SalesName&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Data.ExtraNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)),e(),r("ngIf",t.Data.ExtraNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)),e(),r("ngIf",t.Data.InvoiceNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)),e(),r("ngIf",t.Data.InvoiceNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)),e(),r("innerHTML",m(60,62,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),s),e(2),r("innerHTML",m(62,64,!(t==null||t.Template==null)&&t.Template.FooterNote?t==null||t.Template==null?null:t.Template.FooterNote:""),s),e(3),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEntryTimeVisible)&&t.Data.PrintDate),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoiceCreatedTimeVisible)&&t.Data.Created),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PrintPackingslipAftersell),e(2),C(" ",t.Data.Creator," ")}}var mn=class n{constructor(l,t,p,O){this.activatedRoute=l;this.httpService=t;this.title=p;this.decimalPipe=O}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}totalItemsLabel;getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.initPrintOption(l),this.httpService.post(I.SupplierInvoiceReceipt,l).pipe(F(t=>{let p=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=p?.Visibility?.CostVisible,t})))),E(l=>{this.title.setTitle(l.Title),this.generateItemLabel(l.Data,l.AppConfigJSON)}),B(1))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}generateItemLabel(l,t){let p=0,O=l.Items.length;for(let On of l.Items)(t?.PrintConfigInvoice?.ItemsTable?.NonInventoryCount||On.Variant.TypeID!=2)&&(p+=On.Quantity);let $=p>1?"s":"",nt=this.decimalPipe.transform(p,"1.0-4").toString(),lt=t.PrintConfigInvoice?.ItemsFooter?.TotalQuantityVisible;this.totalItemsLabel=`Total (Item${$}: ${O}${lt?`, Qty: ${nt})`:")"}`}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A),u(R))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice-mini"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"text-center"],[4,"ngIf","ngIfElse"],[1,"m-0","fw-bold",3,"innerHTML"],[1,"d-block",3,"innerHTML"],[1,"mt-1","mb-1"],[3,"innerHTML"],[3,"innerHTML",4,"ngIf"],["class","m-0 mt-7 fw-bold",4,"ngIf"],["class","m-0 pt-2 fw-normal",3,"innerHTML",4,"ngIf"],["class","mb-0",3,"innerHTML",4,"ngIf"],["class","fst-italic mb-2",3,"innerHTML",4,"ngIf"],["class","text-center m-0 p-1",3,"class",4,"ngIf"],[1,"text-center","m-0","p-1","text-warning"],[1,"row","g-0"],[1,"row","g-0","justify-content-between","py-2"],[1,"col","fw-bold"],[1,"col","text-end"],["class","border-y pt-1",4,"ngFor","ngForOf"],[1,"cartAmount","pt-2"],["class","row g-0 text-end",3,"ngClass",4,"ngFor","ngForOf"],[1,"row","g-0","text-end"],[1,"col-7","fw-bold","pe-3"],[1,"col-5","row","g-0"],["class","col-auto",4,"ngIf"],[1,"col"],["class","row g-0 text-end",4,"ngIf"],[1,"text-center","my-2"],["class","m-0 fw-bold",4,"ngIf"],["class","fw-bold",4,"ngIf"],["style","word-break: break-all",3,"innerHTML",4,"ngIf"],[1,"row","g-0","text-center",3,"innerHTML"],["class","m-0",4,"ngIf"],[1,"text-center","mt-3"],[1,"row","g-0","row","g-0","justify-content-center","mt-5"],["class","img-fluid border-0",3,"style","src",4,"ngIf"],[1,"img-fluid","border-0",3,"src"],["class","img-fluid border-0",3,"src",4,"ngIf"],[1,"m-0","mt-7","fw-bold"],[1,"m-0","pt-2","fw-normal",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"fst-italic","mb-2",3,"innerHTML"],[1,"text-center","m-0","p-1"],[1,"border-y","pt-1"],[1,"col-11"],["class","fst-italic pt-0 mt-0",4,"ngIf"],["class","col-1 ps-2 text-end",4,"ngIf"],[1,"d-flex","g-0","pb-1"],[1,"flex-grow-1","text-end"],[1,"d-flex","align-items-end","justify-content-end","me-5"],["class","small",4,"ngIf"],[1,"small","mx-1"],[1,"small","d-inline-flex","flex-column"],[1,"col-auto","text-end"],[3,"serials"],[1,"fst-italic","pt-0","mt-0"],[1,"inlineMarginLeft"],["class","fst-italic text-success","style","overflow-wrap: break-word",3,"innerHTML",4,"ngIf"],[1,"fst-italic","text-success",2,"overflow-wrap","break-word",3,"innerHTML"],[1,"col-1","ps-2","text-end"],["class","small fst-italic text-danger",4,"ngIf"],[1,"small","fst-italic","text-danger"],[1,"small"],[1,"fw-bold","text-danger","me-2","ms-4","small"],[1,"fw-bold","text-danger","me-2","small"],[1,"row","g-0","text-end",3,"ngClass"],[1,"col-7","fw-bold",3,"ngClass"],[1,"col-5","g-0",3,"ngClass"],[1,"row"],[1,"col-auto"],[1,"col-7","fw-bold"],[1,"m-0","fw-bold"],[1,"fw-bold"],[2,"word-break","break-all",3,"innerHTML"],[1,"m-0"],[2,"border-top-style","dotted"]],template:function(t,p){t&1&&(d(0,Tg,70,66,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,Ct,dt,w,R,V,Bt,j,st,Lt,Ot,z],styles:[".invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}"]})};var kg=["barcode"],Eg=n=>({"col-12 border-0":n}),Ag=n=>({"col-12":n});function Ng(n,l){n&1&&_(0,"link",14)}function Hg(n,l){n&1&&_(0,"link",15)}function Rg(n,l){n&1&&_(0,"link",16)}function zg(n,l){if(n&1&&(o(0,"div",7)(1,"span",17),a(2,"Invoice Number:"),i(),o(3,"span"),a(4),i()()),n&2){let t,p=c();e(4),P((t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function Bg(n,l){n&1&&(o(0,"div",8),_(1,"img",18,0),i())}function Lg(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function Jg(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function Vg(n,l){if(n&1&&(o(0,"div",21),a(1),i()),n&2){let t,p=c(2);e(),C(" ",(t=p.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function Fg(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Receiver:"),i(),o(4,"div"),d(5,Lg,2,1,"h6")(6,Jg,2,1,"span"),i()(),d(7,Vg,2,1,"div",21),i()),n&2){let t=c();e(5),f(t.customerNameVisible()?5:-1),e(),f(t.CustomerMobileVisible()?6:-1),e(),f(t.customerAddressVisible()?7:-1)}}function jg(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.DisplayName)}}function Ug(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.ContactInfo)}}function $g(n,l){if(n&1&&(o(0,"div",22),a(1),i()),n&2){let t,p=c(2);e(),C(" ",(t=p.template())==null?null:t.Address," ")}}function Qg(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Sender:"),i(),o(4,"div"),d(5,jg,2,1,"h6")(6,Ug,2,1,"span"),i()(),d(7,$g,2,1,"div",22),i()),n&2){let t=c();e(5),f(t.storeNameVisible()?5:-1),e(),f(t.storePhoneVisible()?6:-1),e(),f(t.storeAddressVisible()?7:-1)}}function Wg(n,l){if(n&1&&(o(0,"div",23)(1,"h5"),a(2),i()()),n&2){let t,p=c(2);r("ngClass",et(2,Eg,!p.invoiceNoteVisible())),e(2),P((t=p.receipt())==null?null:t.Tag)}}function Gg(n,l){if(n&1&&(o(0,"div",24),_(1,"p",25),i()),n&2){let t,p=c(2);r("ngClass",et(2,Ag,!p.orderTagVisible())),e(),r("innerHTML",(t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Note,s)}}function Xg(n,l){if(n&1&&(o(0,"div",11),d(1,Wg,3,4,"div",23)(2,Gg,2,4,"div",24),i()),n&2){let t=c();e(),f(t.orderTagVisible()?1:-1),e(),f(t.invoiceNoteVisible()?2:-1)}}function Zg(n,l){n&1&&(o(0,"th",27),a(1,"Name"),i())}function qg(n,l){n&1&&(o(0,"th",28),a(1,"Code"),i())}function Kg(n,l){n&1&&(o(0,"th",28),a(1,"QTy"),i())}function Yg(n,l){if(n&1&&_(0,"span",31),n&2){let t=c(2).$implicit;r("innerHTML",t==null?null:t.Note,s)}}function td(n,l){if(n&1&&(o(0,"td",30)(1,"div"),a(2),i(),d(3,Yg,1,1,"span",31),i()),n&2){let t=c().$implicit,p=c(2);e(2),P(t==null?null:t.Name),e(),f(p.itemNotesVisible()?3:-1)}}function nd(n,l){if(n&1&&(o(0,"td",28),a(1),i()),n&2){let t=c().$implicit;e(),P(t==null?null:t.Code)}}function ed(n,l){if(n&1&&(o(0,"td",28),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t==null?null:t.Quantity))}}function id(n,l){if(n&1&&(o(0,"tr")(1,"td",28),a(2),i(),d(3,td,4,2,"td",30)(4,nd,2,1,"td",28)(5,ed,3,3,"td",28),i()),n&2){let t=l.$index,p=c(2);e(2),P(t+1),e(),f(p.productNameVisible()?3:-1),e(),f(p.productCodeVisible()?4:-1),e(),f(p.producctQtyVisible()?5:-1)}}function od(n,l){if(n&1&&_(0,"td",32),n&2){let t=c(3);r("colSpan",t.getVisibleColumnCount())}}function ld(n,l){if(n&1&&(o(0,"tfoot",29)(1,"tr",29),d(2,od,1,1,"td",32),o(3,"td",33)(4,"span",34),a(5,"Total"),i()(),o(6,"td",33)(7,"span",34),a(8),g(9,"sum"),g(10,"number"),i()()()()),n&2){let t,p=c(2);e(2),f(p.productCodeVisible()||p.productNameVisible()?2:-1),e(6),P(m(10,5,M(9,2,(t=p.receipt())==null?null:t.List,"Quantity")))}}function ad(n,l){if(n&1&&(o(0,"table",13)(1,"thead")(2,"tr")(3,"th",26),a(4,"No"),i(),d(5,Zg,2,0,"th",27)(6,qg,2,0,"th",28)(7,Kg,2,0,"th",28),i()(),o(8,"tbody"),Nt(9,id,6,4,"tr",null,At),i(),d(11,ld,11,7,"tfoot",29),i()),n&2){let t,p=c();e(5),f(p.productNameVisible()?5:-1),e(),f(p.productCodeVisible()?6:-1),e(),f(p.producctQtyVisible()?7:-1),e(2),Ht((t=p.receipt())==null?null:t.List),e(2),f(p.producctQtyVisible()?11:-1)}}var Dt=class n{receipt=Tt();config=Tt();template=Tt();css=Tt();invoiceNumber=tt(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=tt(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=tt(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);barcodeVisible=tt(()=>this.packingSlipConfig()?.General?.BarcodeVisible);storeNameVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=tt(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=tt(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductNoteVisible);barcodeOptions={width:1.7,height:46,displayValue:!1,backgroundColor:"",lineColor:"#000",margin:0,format:"CODE128",flat:!0};set content(l){if(l&&this.barcodeVisible()){let t=this.invoiceNumber(),p=xn({},this.barcodeOptions),O=t?t.length:10;O>30?p.width=1:O>25&&(p.width=1.5),JsBarcode("#barcode",t,p)}}getVisibleColumnCount=tt(()=>{let l=0;return this.productNameVisible()&&l++,this.productCodeVisible()&&l++,l});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=b({type:n,selectors:[["app-packing-slip-v2"]],viewQuery:function(t,p){if(t&1&&kn(kg,5),t&2){let O;En(O=An())&&(p.content=O.first)}},inputs:{receipt:[1,"receipt"],config:[1,"config"],template:[1,"template"],css:[1,"css"]},decls:17,vars:12,consts:[["barcode",""],["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery","border","border-dark","px-4",2,"width","378px"],[1,"d-flex","align-items-center","justify-content-center","border-bottom","border-dark","py-6"],[1,"text-center","mt-4","fw-bold"],[1,"w-100","d-flex","justify-content-center","mt-4","barcode-container"],[1,"row","mt-6"],[1,"col"],[1,"row","mt-8","border","rounded-1","border-dark","g-0"],[1,"mt-8","mb-5"],[1,"w-100","table","table-sm","table-bordered"],["href",rt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"me-2"],["id","barcode",1,"barcode-image"],[1,"d-flex","justify-content-start"],[1,"me-3"],[1,"mt-3",2,"text-align","left"],[1,"mt-3",2,"text-align","right"],[1,"col-5","text-center","py-4","border-end","border-dark","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"col-7","text-center","py-4","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"mt-0","fst-italic",3,"innerHTML"],[1,"text-center",2,"width","10px"],[1,"text-start"],[1,"text-center"],[1,"border-0"],[1,"text-start","lh-base"],[1,"text-muted","fst-italic",2,"font-size","0.656rem",3,"innerHTML"],[1,"border-0",3,"colSpan"],[1,"text-center","border-0"],[1,"fw-bold"]],template:function(t,p){if(t&1&&(d(0,Ng,1,0,"link",1)(1,Hg,1,0,"link",2)(2,Rg,1,0,"link",3),_(3,"link",4),g(4,"StylesheetSafeUrl"),o(5,"div",5)(6,"div",6)(7,"h3"),a(8,"PACKING SLIP"),i()(),d(9,zg,5,1,"div",7)(10,Bg,3,0,"div",8),o(11,"div",9),d(12,Fg,8,3,"div",10)(13,Qg,8,3,"div",10),i(),d(14,Xg,3,2,"div",11),o(15,"div",12),d(16,ad,12,4,"table",13),i()()),t&2){let O,$,nt,lt;r("ngIf",(O=p.template())==null?null:O.PrintLX300),e(),r("ngIf",($=p.template())==null?null:$.PrintLX300),e(),r("ngIf",(nt=p.template())==null?null:nt.PrintLX300),e(),H("href",(lt=p.css())!=null&&lt.Size8cm?m(4,10,(lt=p.css())==null?null:lt.Size8cm):null,N),e(6),f(p.invoiceNumberVisible()?9:-1),e(),f(p.barcodeVisible()?10:-1),e(2),f(p.customerNameVisible()||p.CustomerMobileVisible()||p.customerAddressVisible()?12:-1),e(),f(p.storeNameVisible()||p.storePhoneVisible()||p.storeAddressVisible()?13:-1),e(),f(p.orderTagVisible()||p.invoiceNoteVisible()?14:-1),e(2),f(p.productNameVisible()||p.productCodeVisible()?16:-1)}},dependencies:[ft,q,y,R,It,K,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}.barcode-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;padding:0 5px;box-sizing:border-box}.barcode-image[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important;width:auto!important;display:block!important;margin:0 auto!important}.barcode-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important}"]})};function rd(n,l){if(n&1&&(x(0),_(1,"app-packing-slip-v2",1),v()),n&2){let t=l.ngIf;e(),r("receipt",t==null?null:t.Data)("template",t==null?null:t.Template)("config",t==null?null:t.AppConfigJSON)("css",t==null?null:t.StylesSheet)}}var Pn=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.PackingSlipInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["app-print-packing-slip-v2"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"receipt","template","config","css"]],template:function(t,p){t&1&&(d(0,rd,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[ft,y,w,Dt],encapsulation:2})};var cd=[{path:"InvoiceMini",component:Ft},{path:"Invoice",component:jt},{path:"Estimate",component:en},{path:"SalesOrder",component:Ut},{path:"CustomerPO",component:$t},{path:"OutDelivery",component:Gt},{path:"PackingSlip/V1",component:Xt},{path:"PackingSlip",component:Pn},{path:"WorkOrder",component:Zt},{path:"InvoiceNOutD",component:qt},{path:"Transfer",component:Kt},{path:"TransferMini",component:cn},{path:"InDelivery",component:Yt},{path:"SupplierInvoice",component:tn},{path:"SupplierInvoiceMini",component:mn},{path:"SupplierPO",component:rn},{path:"Treatment",component:nn},{path:"RegisterClosure",component:on},{path:"JobOrder",component:ln},{path:"JobOrderMini",component:an},{path:"BulkSupplierInvoice",component:pn},{path:"BulkInvoice",component:gn},{path:"Adjustment",component:dn},{path:"Manual-journal-invoice",component:_n},{path:"Payment",component:Cn}],sn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[Mn.forChild(cd),Mn]})};var Xn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,sn,jn,Qn,$n,Qt,It,Vt,dt,Dt]})};export{nn as a,Xn as b};
1
+ import{a as wt,b as Qn}from"./chunk-RQGT2FPJ.js";import{a as Un,b as $n}from"./chunk-426IRMLK.js";import{b as Vn,c as Fn,d as jn}from"./chunk-DBERRJC6.js";import{a as z,b as Ct,c as Vt}from"./chunk-LQW5KOAB.js";import{a as dt}from"./chunk-MPSML3FA.js";import{a as zt}from"./chunk-JPXXXD26.js";import{a as Rt}from"./chunk-WO3LDDSF.js";import{D as Ln,G as Jt,H as Jn,N as It,O as I,d as Pt,g as K,n as Bt,o as j,q as st,u as Lt,y as Ot}from"./chunk-FVKF2ZOS.js";import{a as D,d as St}from"./chunk-ZZGSAFGO.js";import{$a as e,$b as An,Ab as ht,Ac as m,Bb as wn,Bc as M,Cc as mt,Db as f,E as T,Eb as At,Fc as Y,Gb as Nt,Hb as Ht,Ib as o,Ja as Tt,Jb as i,K as hn,Kb as _,Lb as x,Ma as _t,Mb as v,Nb as Mt,Od as h,Pc as tt,Qb as Dn,Rb as c,Td as Mn,Ub as Tn,Va as s,Wa as J,Wc as q,Xa as N,Y as B,Ya as rt,Yc as L,Yd as S,Zb as kn,Zc as y,_b as En,aa as k,bd as zn,cd as w,d as vn,da as yn,db as u,dc as Z,dd as Bn,ec as a,ed as V,fa as E,fc as P,gc as C,gd as R,hc as gt,ic as yt,jd as ft,ka as vt,kb as b,lb as bt,mc as Nn,na as Sn,nc as Hn,o as bn,oc as Rn,qb as d,rc as et,sc as it,t as F,ua as In,ub as H,vb as r,wb as un,wd as A,yb as ct,zb as Et,zc as g}from"./chunk-UXRO4UFY.js";import{a as xn}from"./chunk-7DCB7DB2.js";function Zn(n,l){if(n&1&&(x(0),_(1,"pos-receipt",1),v()),n&2){let t=c();e(),r("receiptParam",t.receiptParam)("data",t.model.Data)("emailVisibleRestriction",!t.roleService.sell.Email)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("priceVisibleRestriction",!t.roleService.sell.PriceVisible)("stylesheet",t.model.StylesSheet)("saveLastPrintDate",!0)}}var Ft=class n{constructor(l,t,p,O){this.httpService=l;this.activeRoute=t;this.titleService=p;this.roleService=O;this.destroy$=new vn}model;receiptParam;destroy$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),p=this.activeRoute.snapshot.queryParamMap.get("Price"),O=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:l,Template:t,Price:p,Print:O},this.httpService.post(I.InvoiceMini,this.receiptParam).pipe(yn(this.destroy$)).subscribe($=>{this.model=$,this.model.Data.InvoiceID=l,this.setBrowserTitle($);let nt=this.activeRoute.snapshot.queryParamMap.get("Print"),lt=this.activeRoute.snapshot.queryParamMap.get("Printer");lt&&(this.model.Template.PrintLX300=lt=="EpsonLX300"),parseInt(nt)==1&&window.setTimeout(function(){window.print()},500)})}setBrowserTitle(l){let p=`Invoice Mini | ${l.Data.Number}`;this.titleService.setTitle(p)}preventOpenContextMenu(l){return alert("This function is disabled."),l.preventDefault(),!1}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A),u(St))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,p){t&1&&Dn("contextmenu",function($){return p.preventOpenContextMenu($)})},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction","stylesheet","saveLastPrintDate"]],template:function(t,p){t&1&&d(0,Zn,2,8,"ng-container",0),t&2&&r("ngIf",p.model)},dependencies:[y,Fn],encapsulation:2})};function qn(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),v()),n&2){let t=l.ngIf,p=c();e(),r("receiptParam",p.receiptParam)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("workOrderMode",!1)("fullMode",!0)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0)}}var jt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.titleService=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};receiptParam;data$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),p=this.activeRoute.snapshot.queryParamMap.get("Price"),O=this.activeRoute.snapshot.queryParamMap.get("Print"),$=this.activeRoute.snapshot.queryParamMap.get("Printer");this.receiptParam={ID:l,Template:t,Price:p,Print:O},this.data$=this.httpService.post(I.InvoiceA4,this.receiptParam).pipe(F(nt=>($&&(nt.Template.PrintLX300=$=="EpsonLX300"),nt)),E(nt=>{this.setBrowserTitle(nt),parseInt(O)==1&&window.setTimeout(function(){window.print()},500)}),B(1))}setBrowserTitle(l){let p=`Invoice A4 | ${l.Data.Invoice.Number}`;this.titleService.setTitle(p)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"receiptParam","data","printTemplate","config","barcodeOptions","workOrderMode","fullMode","stylesheet","saveLastPrintDate"]],template:function(t,p){t&1&&(d(0,qn,2,9,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function Kn(n,l){if(n&1&&(x(0),_(1,"park-order",1),v()),n&2){let t=l.ngIf;e(),r("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var Ut=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.SalesOrderReceiptMini,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-sales-order"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,Kn,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Un,w],encapsulation:2})};var Yn=(n,l)=>({lx300:n,"print-normal":l}),te=n=>({width:n});function ne(n,l){n&1&&_(0,"link",43)}function ee(n,l){n&1&&_(0,"link",44)}function ie(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;ct(et(3,te,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Template.Logo,J)}}function oe(n,l){if(n&1&&(x(0),d(1,ie,1,5,"img",46),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t.Template.Logo)}}function le(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;r("src",t.Template.Logo,J)}}function ae(n,l){if(n&1&&d(0,le,1,1,"img",48),n&2){let t=c(2).ngIf;r("ngIf",t.Template.Logo)}}function re(n,l){if(n&1&&(o(0,"div",10),d(1,oe,2,1,"ng-container",45)(2,ae,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function ce(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),C("(",t.Data.Contact.MemberIdentification,")")}}function pe(n,l){if(n&1&&(o(0,"div",49)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",50)(5,"strong"),a(6),i(),d(7,ce,2,1,"span",1),o(8,"div",51)(9,"div")(10,"span"),a(11),i()(),o(12,"div")(13,"span"),a(14),i()(),o(15,"div"),_(16,"span",14),i(),o(17,"div")(18,"span"),a(19),i()()()()()),n&2){let t=c().ngIf;e(3),P(t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer),e(3),P(t.Data.ContactDisplay),e(),r("ngIf",t.Data.Contact.MemberIdentification),e(4),P(t.Data.Contact.Email),e(3),P(t.Data.Contact.Phone?t.Data.Contact.Phone:t.Data.Contact.Mobile),e(2),r("innerHTML",t.Data.Contact.Address,s),e(3),P(t.Data.City)}}function ge(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function de(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function _e(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function Ce(n,l){n&1&&(o(0,"th"),a(1," PO# "),i())}function me(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().ngIf;e(),C(" ",M(2,1,t.Data.Invoice.Due,"dd MMM yyyy")," ")}}function Pe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),P(t.Data.ToP)}}function se(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function Oe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function ue(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),C(", ",t.Data.ShippingAddress.Phone,"")}}function Me(n,l){if(n&1&&(o(0,"div",52)(1,"h3"),a(2),i(),o(3,"div",50)(4,"div"),a(5),d(6,ue,2,1,"span",1),i(),_(7,"div",14),o(8,"div"),a(9),i()()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress," "),e(3),C(" ",t.Data.ShippingAddress.Recipient,""),e(),r("ngIf",t.Data.ShippingAddress.Phone),e(),r("innerHTML",t.Data.ShippingAddress.Street,s),e(2),C(" ",t.Data.ShippingAddress.City," ")}}function fe(n,l){n&1&&(o(0,"th",53),a(1," Disc "),i())}function xe(n,l){if(n&1&&(_(0,"i",56),g(1,"newlines")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.Note),s)}}function ve(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function be(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C(" -",t.DiscountAmount," ")}}function he(n,l){if(n&1&&(o(0,"td",57),d(1,ve,2,1,"div",1)(2,be,2,1,"div",1),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0)}}function ye(n,l){if(n&1&&(o(0,"tr")(1,"td",15),a(2),i(),o(3,"td"),a(4),o(5,"div"),d(6,xe,2,3,"i",54),i()(),o(7,"td"),a(8),i(),o(9,"td",15),a(10),g(11,"number"),i(),o(12,"td"),a(13),i(),o(14,"td",15),a(15),g(16,"number"),i(),d(17,he,3,2,"td",55),o(18,"td",15),a(19),g(20,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,$=c();e(2),C("",p+1,"."),e(2),C(" ",t.Name," "),e(2),r("ngIf",t.Note!=null),e(2),P(t.Code),e(2),P(m(11,9,t.Quantity)),e(3),P(t.UOMName),e(2),P(m(16,11,t.UnitPrice)),e(2),r("ngIf",$.isDiscount),e(2),C(" ",M(20,13,t.Total,O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Se(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(3);e(),C("Qty : ",m(2,1,t.totalQty),";")}}function Ie(n,l){if(n&1&&(o(0,"tr")(1,"th"),d(2,Se,3,3,"span",1),a(3),i(),o(4,"td"),a(5,":"),i(),o(6,"td",58),a(7),i(),o(8,"td",26),a(9),g(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c().ngIf,O=c();e(2),r("ngIf",O.count>1),e(),C("",t.Label," "),e(4),P(t.CurrencySymbol),e(2),C(" ",M(10,4,t.Amount,p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function we(n,l){if(n&1&&(o(0,"td",60),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data.TotalInWords," ")}}function De(n,l){if(n&1&&(o(0,"tr"),_(1,"th",14),o(2,"td"),a(3,":"),i(),d(4,we,2,1,"td",59),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t.Data.TotalInWords)}}function Te(n,l){if(n&1&&(o(0,"span")(1,"span",61),a(2),g(3,"date"),i(),a(4),g(5,"number"),_(6,"br"),i()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("hidden",p.Data.Payments),e(),P(M(3,5,t.Date,"dd MMM yy")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",m(5,8,t.Amount)," ")}}function ke(n,l){if(n&1&&(o(0,"tr"),_(1,"th",14),o(2,"td"),a(3,":"),i(),o(4,"td"),d(5,Te,7,10,"span",29),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t.Data.Invoice.PaymentStateID==2?"Down Payment":"Payment",s),e(4),r("ngForOf",t.Data.Payments)}}function Ee(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Delivery"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",62)(7,"li"),a(8),i()()()()),n&2){let t=c().ngIf;e(8),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function Ae(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",62),_(7,"li",14),g(8,"newlines"),i()()()),n&2){let t=c().ngIf;e(7),r("innerHTML",m(8,1,t.Data.Invoice==null?null:t.Data.Invoice.Note),s)}}function Ne(n,l){if(n&1&&(o(0,"div",63)(1,"h5"),a(2),i(),o(3,"div",36),a(4,"\xA0"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function He(n,l){if(n&1&&(o(0,"div",64)(1,"h5"),a(2),i(),o(3,"div",36),a(4,"\xA0"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Re(n,l){if(n&1&&_(0,"div",65),n&2){let t=c().ngIf;r("innerHTML",t.Template.FooterRight,s)}}function ze(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ne,1,0,"link",3)(4,ee,1,0,"link",4),o(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,re,4,2,"div",10),o(11,"div",11)(12,"h2"),a(13),i(),o(14,"small"),a(15),i(),o(16,"div",12)(17,"div",13),_(18,"span",14),g(19,"newlines"),i(),o(20,"div",15),_(21,"span",14),g(22,"newlines"),i()()()(),d(23,pe,20,7,"div",16),i(),o(24,"div",17)(25,"h1")(26,"strong"),a(27),i(),o(28,"span"),a(29),i()(),o(30,"div")(31,"table")(32,"thead")(33,"tr")(34,"th"),a(35,"Date"),i(),d(36,ge,2,0,"th",1)(37,de,2,0,"th",1)(38,_e,2,0,"th",1)(39,Ce,2,0,"th",1),i()(),o(40,"tbody")(41,"tr")(42,"td"),a(43),g(44,"date"),i(),d(45,me,3,4,"td",1)(46,Pe,2,1,"td",1)(47,se,2,1,"td",1)(48,Oe,2,1,"td",1),i()()()(),d(49,Me,10,5,"div",18),i()()(),o(50,"section",19)(51,"div",20)(52,"table",21)(53,"thead",22)(54,"tr")(55,"th",23),a(56,"No"),i(),o(57,"th"),a(58,"Name"),i(),o(59,"th",24),a(60,"Code"),i(),o(61,"th",25),a(62,"Qty"),i(),o(63,"th",26),a(64,"UOM"),i(),o(65,"th",27),a(66),i(),d(67,fe,2,0,"th",28),o(68,"th",27),a(69),i()()(),o(70,"tbody"),d(71,ye,21,16,"tr",29),i(),o(72,"tr",30)(73,"td",31)(74,"table",32)(75,"tbody"),d(76,Ie,11,7,"tr",29),i()()()()()()(),o(77,"table",33),d(78,De,5,2,"tr",1)(79,ke,6,2,"tr",1)(80,Ee,9,1,"tr",1)(81,Ae,9,3,"tr",1),i(),o(82,"div")(83,"div")(84,"div",34)(85,"div",35)(86,"h5"),a(87),i(),o(88,"div",36),a(89,"\xA0"),i()(),d(90,Ne,5,1,"div",37)(91,He,5,1,"div",38),o(92,"div",39)(93,"h5"),a(94),i(),o(95,"div",36),a(96),i()()()()(),o(97,"div",40),_(98,"div",41),d(99,Re,1,1,"div",42),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,39,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngIf",t.Template.PrintLX300),e(),r("ngIf",t.Template.PrintLX300),e(),r("ngClass",it(48,Yn,t.Template.PrintLX300,!t.Template.PrintLX300)),e(5),f(t.Template.Logo?10:-1),e(3),P(t.Template.Title),e(2),P(t.Template.Field),e(3),r("innerHTML",m(19,41,t.Template.Address),s),e(3),r("innerHTML",m(22,43,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t.Data.Prefixed),e(2),C(" ",t.Data.Invoice==null?null:t.Data.Invoice.Number," "),e(7),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.SaleVisible),e(),r("ngIf",(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber)!=null),e(4),P(M(44,45,t.Data.Invoice==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(2),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.ToP),e(),r("ngIf",t.Data.SaleVisible),e(),r("ngIf",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber),e(),r("ngIf",t.Data.ShippingAddress),e(17),C(" Price(",t.Data.CurrencySymbol,") "),e(),r("ngIf",p.isDiscount),e(2),C(" Total(",t.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Data.Items),e(5),r("ngForOf",t.Data.Aggregate),e(2),r("ngIf",(t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||t.Data.TotalInWords),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&t.Data.Payments.length>0),e(),r("ngIf",(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO)!=null&&(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateID)!=3&&(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.DeliveryInfoVisible)),e(),r("ngIf",t.Data.Invoice==null?null:t.Data.Invoice.Note),e(6),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy," "),e(3),r("ngIf",(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==1||(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(),r("ngIf",(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(3),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy," "),e(2),C(" ",t.Data.ItemTransfer==null?null:t.Data.ItemTransfer.Courier," "),e(2),r("ngClass",!t.Template.FooterRight&&"single")("innerHTML",t.Template.FooterLeft,s),e(),r("ngIf",t.Template.FooterRight)}}var $t=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;isDiscount=!1;count;totalQty;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t.Print,this.httpService.post(I.CustomerPoInvoice,t).pipe(F(p=>(t.Printer&&(p.Template.PrintLX300=t.Printer=="EpsonLX300"),p))))),E(t=>{this.calculateQty(t),this.isHasDiscount(t),l==1&&window.setTimeout(function(){window.print()},500)}))}calculateQty(l){this.count=0,this.totalQty=0;for(let t of l?.Data?.Items)this.totalQty+=t.Quantity,this.count++}isHasDiscount(l){let t=l?.Data?.Items;t&&(this.isDiscount=t.some(p=>p.Discount>0||p.DiscountAmount>0))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-customer-po"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],[1,"print_container",3,"ngClass"],[1,"sales_order_A4"],[1,"header","clearfix","row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"col-7","p-0","ms-2","header-left"],[1,"company","row"],[1,"col-auto"],[1,"companyBody","col-8","g-0","p-0","m-0"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact","style","min-width: 400px",4,"ngIf"],[1,"col","p-0","m-0","header_right"],["class","contact shippingAddress",4,"ngIf"],[1,"cart-mini-items"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#fdf3c6"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],["class","number text-end","style","width: 20px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer",2,"border","1px solid transparent"],["colspan","9",1,"number","noTopPad"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],[1,"signature"],[1,"left"],[1,"name"],["class","left leftSmall",4,"ngIf"],["class","left rightSmall",4,"ngIf"],[1,"right"],[1,"note"],[1,"left",3,"ngClass","innerHTML"],["class","right",3,"innerHTML",4,"ngIf"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[4,"ngIf","ngIfElse"],["class","col-md-12 px-0",3,"style","src",4,"ngIf"],[1,"col-md-12","px-0",3,"src"],["class","col-md-12 px-0",3,"src",4,"ngIf"],[1,"contact",2,"min-width","400px"],[1,"box"],[1,"customer_info"],[1,"contact","shippingAddress"],[1,"number","text-end",2,"width","20px"],["class","special-TinyMCE","style","word-break: break-all",3,"innerHTML",4,"ngIf"],["class","number red text-end",4,"ngIf"],[1,"special-TinyMCE",2,"word-break","break-all",3,"innerHTML"],[1,"number","red","text-end"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[3,"hidden"],[1,"float"],[1,"left","leftSmall"],[1,"left","rightSmall"],[1,"right",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ze,100,51,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,j,st,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var xt=(O=>(O[O.TRANSFER_ORDER=0]="TRANSFER_ORDER",O[O.OUTBOUND=1]="OUTBOUND",O[O.INBOUND=2]="INBOUND",O[O.INVOICE_DELIVERY=3]="INVOICE_DELIVERY",O))(xt||{});var Be=(n,l)=>({lx300:n,"print-normal":l}),Le=n=>({width:n}),Je=(n,l)=>({"justify-content-between":n,"justify-content-end":l});function Ve(n,l){n&1&&_(0,"link",9)}function Fe(n,l){n&1&&_(0,"link",10)}function je(n,l){if(n&1&&(x(0),_(1,"POS-print-mode",52),v()),n&2){let t=c(2);e(),r("paperPrints",t.paperPrintMode)}}function Ue(n,l){if(n&1&&(x(0),_(1,"img",54),v()),n&2){let t=c(3);e(),ct(et(3,Le,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),r("src",t.printTemplate.Logo,J)}}function $e(n,l){if(n&1&&_(0,"img",54),n&2){let t=c(3);r("src",t.printTemplate.Logo,J)}}function Qe(n,l){if(n&1&&(o(0,"div",15),d(1,Ue,2,5,"ng-container",53)(2,$e,1,1,"ng-template",null,2,Y),i()),n&2){let t=Z(3),p=c(2);e(),r("ngIf",(p.config==null||p.config.PrintConfigInvoice==null||p.config.PrintConfigInvoice.LogoConfig==null?null:p.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function We(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function Ge(n,l){n&1&&(o(0,"th"),a(1," ToP "),i())}function Xe(n,l){n&1&&(o(0,"th"),a(1," Sales "),i())}function Ze(n,l){n&1&&(x(0),o(1,"th"),a(2,"PO#"),i(),v())}function qe(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c(2);e(),C(" ",M(2,1,t.data.DueDate,"dd MMM yyyy")," ")}}function Ke(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),C(" ",t.data.ToP," ")}}function Ye(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),C(" ",t.data.SalesName," ")}}function ti(n,l){if(n&1&&(x(0),o(1,"td"),a(2),i(),v()),n&2){let t=c(2);e(2),P(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function ni(n,l){if(n&1&&(o(0,"div",55),_(1,"h3",56),o(2,"div"),a(3),_(4,"div",56)(5,"div",56),i()()),n&2){let t=c(2);un("margin-right","15px"),e(),r("innerHtml",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,s),e(2),gt(" ",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Name," ",!(t.data==null||t.data.Shipping==null)&&t.data.Shipping.Phone?", "+(t.data==null||t.data.Shipping==null?null:t.data.Shipping.Phone):""," "),e(),r("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Address,s),e(),r("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.City,s)}}function ei(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.Contact.Email)}}function ii(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(3);e(),r("innerHTML",t.data.Contact.Address,s)}}function oi(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function li(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),P(t.data.City)}}function ai(n,l){if(n&1&&(o(0,"div",57),_(1,"span",17),o(2,"strong",58),a(3),i(),o(4,"div",59),d(5,ei,3,1,"div",12)(6,ii,2,1,"div",12)(7,oi,3,1,"div",12)(8,li,3,1,"div",12),i()()),n&2){let t=c(2);e(),r("innerHTML",t.data.IsInDelivery?t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle:t.config.PrintConfigInvoice.DocumentLabel.Customer,s),e(2),gt("",t.data.Contact.Title," ",t.data.Contact.Name,""),e(2),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function ri(n,l){n&1&&(o(0,"th",60),a(1," Code "),i())}function ci(n,l){if(n&1&&(o(0,"th",34),a(1),i()),n&2){let t=c(2);e(),C(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function pi(n,l){n&1&&Mt(0)}function gi(n,l){if(n&1&&d(0,pi,1,0,"ng-container",61),n&2){c();let t=Z(66);r("ngTemplateOutlet",t)}}function di(n,l){n&1&&Mt(0)}function _i(n,l){if(n&1&&d(0,di,1,0,"ng-container",61),n&2){c();let t=Z(66);r("ngTemplateOutlet",t)}}function Ci(n,l){if(n&1&&(o(0,"th",62),a(1),i(),o(2,"th",63),a(3),i()),n&2){let t=c(2);e(),C("Cost (",t.data.currencySymbol,")"),e(2),C(" Total Cost (",t.data.currencySymbol,") ")}}function mi(n,l){n&1&&Mt(0)}function Pi(n,l){if(n&1&&d(0,mi,1,0,"ng-container",61),n&2){c();let t=Z(70);r("ngTemplateOutlet",t)}}function si(n,l){n&1&&Mt(0)}function Oi(n,l){if(n&1&&d(0,si,1,0,"ng-container",61),n&2){c();let t=Z(70);r("ngTemplateOutlet",t)}}function ui(n,l){if(n&1&&(o(0,"th",64),a(1),i(),o(2,"th",65),a(3,"%"),i(),o(4,"th",66),a(5),i()),n&2){let t=c(2);e(),C("Price (",t.data.currencySymbol,")"),e(4),C(" Total Price (",t.data.currencySymbol,") ")}}function Mi(n,l){n&1&&(o(0,"th"),a(1,"Note"),i())}function fi(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),C(" Price (",t.data.currencySymbol,") ")}}function xi(n,l){if(n&1&&(o(0,"th",66),a(1),i()),n&2){let t=c(2);e(),C(" Total Price (",t.data.currencySymbol,") ")}}function vi(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),C(" Cost (",t.data.currencySymbol,") ")}}function bi(n,l){if(n&1&&(o(0,"th",63),a(1),i()),n&2){let t=c(2);e(),C(" Total Cost (",t.data.currencySymbol,") ")}}function hi(n,l){if(n&1&&(o(0,"div")(1,"small",70),a(2),i()()),n&2){let t=c().$implicit;e(2),P(t.StorageLocation)}}function yi(n,l){if(n&1&&_(0,"i",72),n&2){let t=c(2).$implicit;r("innerHTML",t.Note,s)}}function Si(n,l){if(n&1&&(o(0,"div"),d(1,yi,1,1,"i",71),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Note!=null)}}function Ii(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function wi(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.Unit),"")}}function Di(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.UnitQuantity),"")}}function Ti(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.Unit)," ")}}function ki(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.UnitQuantity)," ")}}function Ei(n,l){if(n&1&&(o(0,"td"),d(1,Ti,3,3,"span",12)(2,ki,3,3,"span",12),i()),n&2){let t=c().$implicit;e(),r("ngIf",t.Unit),e(),r("ngIf",t.UnitQuantity)}}function Ai(n,l){n&1&&Mt(0)}function Ni(n,l){if(n&1&&d(0,Ai,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function Hi(n,l){n&1&&Mt(0)}function Ri(n,l){if(n&1&&d(0,Hi,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function zi(n,l){n&1&&Mt(0)}function Bi(n,l){if(n&1&&d(0,zi,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function Li(n,l){n&1&&Mt(0)}function Ji(n,l){if(n&1&&d(0,Li,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function Vi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.UnitCost),s)}}function Fi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.TotalCost),s)}}function ji(n,l){if(n&1&&d(0,Vi,2,3,"td",69)(1,Fi,2,3,"td",69),n&2){let t=c(3);r("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)),e(),r("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible))}}function Ui(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function $i(n,l){if(n&1&&_(0,"td",73),n&2){let t=c(2).$implicit;r("innerHTML",t.Discount,s)}}function Qi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.TotalPrice),s)}}function Wi(n,l){if(n&1&&d(0,Ui,2,3,"td",69)(1,$i,1,1,"td",69)(2,Qi,2,3,"td",69),n&2){let t=c(3);r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)),e(),r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)),e(),r("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible))}}function Gi(n,l){if(n&1&&(o(0,"td"),_(1,"span",74),i()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note?t.Note:t.PONote,s)}}function Xi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Zi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.TotalPrice),s)}}function qi(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitCost),s)}}function Ki(n,l){if(n&1&&(_(0,"td",73),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.TotalCost),s)}}function Yi(n,l){if(n&1&&(o(0,"tr")(1,"td",67),a(2),i(),o(3,"td")(4,"div"),a(5),d(6,hi,3,1,"div",12),i(),_(7,"app-serial-note",68),d(8,Si,2,1,"div",12),i(),d(9,Ii,2,1,"td",12),o(10,"td",45),a(11),g(12,"number"),d(13,wi,3,3,"span",12)(14,Di,3,3,"span",12),i(),d(15,Ei,3,2,"td",12),o(16,"td"),a(17),i(),d(18,Ni,1,1,"ng-container")(19,Ri,1,1,"ng-container")(20,Bi,1,1,"ng-container")(21,Ji,1,1,"ng-container")(22,ji,2,2,"ng-template",null,3,Y)(24,Wi,3,3,"ng-template",null,4,Y)(26,Gi,2,1,"td",12)(27,Xi,2,3,"td",69)(28,Zi,2,3,"td",69)(29,qi,2,3,"td",69)(30,Ki,2,3,"td",69),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(2),C("",p+1,"."),e(3),C(" ",t.Name," "),e(),r("ngIf",O.config==null||O.config.PrintConfigDelivery==null?null:O.config.PrintConfigDelivery.Visibility.StorageLocationVisible),e(),r("serials",t.Serial),e(),r("ngIf",O.data.IsTransfer),e(),r("ngIf",O.config==null||O.config.PrintConfigDelivery==null?null:O.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(2),C(" ",m(12,20,t.Quantity)," "),e(2),r("ngIf",t.Unit!=1&&t.Unit!=null&&(O.config.PrintConfigInvoice==null||O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",t.UnitQuantity!=1&&t.UnitQuantity!=null&&(O.config.PrintConfigInvoice==null||O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",O.config.ModuleSell.ProductDialog.UnitQtyLabel&&(O.config.PrintConfigInvoice.ItemsTable==null||O.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:O.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(2),P(t.UOMName),e(),f(O.type==O.printingType.INBOUND&&O.roleService.product.Cost?18:-1),e(),f(O.type==O.printingType.TRANSFER_ORDER&&(!(O.config==null||O.config.PrintConfigDelivery==null)&&O.config.PrintConfigDelivery.Visibility.CostVisible)&&O.roleService.product.Cost?19:-1),e(),f(O.type==O.printingType.TRANSFER_ORDER&&(!(O.config==null||O.config.PrintConfigDelivery==null)&&O.config.PrintConfigDelivery.Visibility.PriceVisible)&&O.roleService.product.Price?20:-1),e(),f(O.type==O.printingType.OUTBOUND&&O.roleService.product.Price?21:-1),e(5),r("ngIf",!O.data.IsTransfer),e(),r("ngIf",O.data.isPrice&&O.data.unitPrice!=null),e(),r("ngIf",O.data.isPrice&&O.data.unitPrice!=null),e(),r("ngIf",O.data.isCost&&O.data.unitCost!=null),e(),r("ngIf",O.data.isCost&&O.data.unitCost!=null)}}function to(n,l){if(n&1&&(o(0,"td",42)(1,"div",75)(2,"span",76),a(3,"Weight: "),i(),o(4,"span",76),a(5),g(6,"number"),i()()()),n&2){let t=c(2);e(5),C("",m(6,1,t.totalWeight())," gr")}}function no(n,l){if(n&1&&_(0,"td",43),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function eo(n,l){n&1&&_(0,"td")}function io(n,l){n&1&&_(0,"td")}function oo(n,l){if(n&1&&(o(0,"td",44)(1,"b"),a(2),g(3,"number"),i()()),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),P(m(3,2,t.TotalCost))}}function lo(n,l){n&1&&_(0,"td")}function ao(n,l){n&1&&_(0,"td")}function ro(n,l){if(n&1&&(o(0,"td",77)(1,"b"),a(2),g(3,"number"),i()()),n&2){let t=c(2);e(2),P(m(3,1,t.TotalPrice))}}function co(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c(4);e(),P(t.data.Items.length>1?"Qty: "+m(2,1,t.TotalQty):"")}}function po(n,l){if(n&1&&(o(0,"tr")(1,"th",79),d(2,co,3,3,"span",12),a(3),i(),o(4,"th"),a(5,":"),i(),o(6,"th",80),a(7),i(),o(8,"th",34),a(9),g(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c(3);e(2),r("ngIf",p.config.PrintConfigInvoice.ItemsFooter.TotalQuantityVisible),e(),C(" ",t.Label," "),e(4),P(t.CurrencySymbol),e(2),C(" ",M(10,4,t.Amount,p.data.TrailingZero)," ")}}function go(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",80),a(6),i(),o(7,"td",34),a(8),g(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c(3);e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount,p.data.TrailingZero)," ")}}function _o(n,l){if(n&1&&(o(0,"div",49)(1,"table",78)(2,"tbody"),d(3,po,11,7,"tr",40)(4,go,10,6,"tr",40),i()()()),n&2){let t=c(2);e(3),r("ngForOf",t.data.AmountSummary),e(),r("ngForOf",t.data.PaidAmountSummary)}}function Co(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),r("innerHTML",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note),s)}}function mo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),r("innerHTML",t.data==null?null:t.data.Status,s)}}function Po(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"date"),i()()()()),n&2){let t=c(3);e(2),C(" ",t.config.ModuleSell.Shipping.DateLabel," "),e(6),C(" ",M(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function so(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Approved by"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),P(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Approval)}}function Oo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Remaining"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"sum"),g(10,"number"),i()()()()),n&2){let t=c(3);e(8),C(" ",m(10,4,(t.data==null?null:t.data.FinalAmount)-M(9,1,t.data==null?null:t.data.Payments,"Amount"))," ")}}function uo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Courier"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),C(" ",t.data.ItemTransfer.Courier," ")}}function Mo(n,l){if(n&1&&(o(0,"table",81),d(1,Co,8,1,"tr",12)(2,mo,8,1,"tr")(3,Po,10,5,"tr",12)(4,so,9,1,"tr",12)(5,Oo,11,6,"tr",12)(6,uo,9,1,"tr",12),i()),n&2){let t=c(2);e(),r("ngIf",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note)),e(),f(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Visibility==null)&&t.config.PrintConfigDelivery.Visibility.StatusVisible?2:-1),e(),r("ngIf",t.data.CustomDate&&t.config.ModuleSell.Shipping.DateLabel),e(),r("ngIf",t.config.PrintConfigDelivery.Visibility.ApprovalVisible),e(),r("ngIf",t.config.PrintConfigDelivery.Footer.RemainingAmountVisible),e(),r("ngIf",t.data.ItemTransfer.Courier)}}function fo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,s)}}function xo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,s)}}function vo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,s)}}function bo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function ho(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,s)}}function yo(n,l){if(n&1&&(o(0,"div",92),_(1,"div",93),i()),n&2){let t=c(3);e(),r("innerHTML",t.printTemplate.DeliveryNote,s)}}function So(n,l){if(n&1&&_(0,"small",94),n&2){let t=c(3);r("innerHTML",t.data.Creator,s)}}function Io(n,l){if(n&1&&(o(0,"div",83)(1,"div",84),d(2,fo,5,1,"div",85)(3,xo,5,1,"div",85)(4,vo,5,1,"div",85)(5,bo,5,1,"div",85)(6,ho,5,1,"div",85),i(),d(7,yo,2,1,"div",86),o(8,"div",87),d(9,So,1,1,"small",88),i()()),n&2){let t=c(2);e(),r("ngClass",it(8,Je,t.signatureCount()>1,t.signatureCount()==1)),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy),e(),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker),e(),r("ngIf",!t.data.IsTransfer),e(2),r("ngIf",t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}function wo(n,l){if(n&1&&(o(0,"div",11),d(1,je,2,1,"ng-container",12),o(2,"div")(3,"div",13)(4,"div",14),d(5,Qe,4,2,"div",15),o(6,"div",16),_(7,"h2",17)(8,"small",17),o(9,"div")(10,"div"),_(11,"div",17),g(12,"newlines"),i(),o(13,"div"),_(14,"div",17),g(15,"newlines"),_(16,"br"),i()()()()(),o(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"strong"),a(22),g(23,"uppercase"),i(),_(24,"span",17),i()(),o(25,"div",22)(26,"table",23)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),i(),d(31,We,2,0,"th",12)(32,Ge,2,0,"th",12)(33,Xe,2,0,"th",12)(34,Ze,3,0,"ng-container",12),i()(),o(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),i(),d(40,qe,3,4,"td",12)(41,Ke,2,1,"td",12)(42,Ye,2,1,"td",12)(43,ti,3,1,"ng-container",12),i()()()()(),o(44,"div",24),d(45,ni,6,7,"div",25),i()()(),o(46,"div",26),d(47,ai,9,7,"div",27),i(),o(48,"div",28)(49,"div",29)(50,"table",30)(51,"thead")(52,"tr",31)(53,"th",32),a(54,"No"),i(),o(55,"th"),a(56,"Name"),i(),d(57,ri,2,0,"th",33),o(58,"th",34),a(59,"Qty"),i(),d(60,ci,2,1,"th",35),o(61,"th",36),a(62,"UOM"),i(),d(63,gi,1,1,"ng-container")(64,_i,1,1,"ng-container")(65,Ci,4,2,"ng-template",null,0,Y)(67,Pi,1,1,"ng-container")(68,Oi,1,1,"ng-container")(69,ui,6,2,"ng-template",null,1,Y)(71,Mi,2,0,"th",12)(72,fi,2,1,"th",37)(73,xi,2,1,"th",38)(74,vi,2,1,"th",37)(75,bi,2,1,"th",39),i()(),o(76,"tbody"),d(77,Yi,31,22,"tr",40),i(),o(78,"tfoot")(79,"tr",41),d(80,to,7,3,"td",42)(81,no,1,1,"td",43),o(82,"td",44)(83,"b"),a(84,"Total"),i()(),o(85,"td",45)(86,"b"),a(87),g(88,"number"),i()(),d(89,eo,1,0,"td",12)(90,io,1,0,"td",12)(91,oo,4,4,"td",46)(92,lo,1,0,"td",12)(93,ao,1,0,"td",12)(94,ro,4,3,"td",47),i()()()(),d(95,_o,5,2,"div",48),o(96,"div",49),d(97,Mo,7,6,"table",50),i(),d(98,Io,10,11,"div",51),i()()),n&2){let t=c();r("ngClass",it(60,Be,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),e(),r("ngIf",t.hasInvoiceOption),e(),ht("",t.printTemplate.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(3),f(t.printTemplate.Logo?5:-1),e(2),r("innerHTML",t.printTemplate.Title,s),e(),r("innerHTML",t.printTemplate.Field,s),e(3),r("innerHTML",m(12,49,t.printTemplate.Address),s),e(3),r("innerHTML",m(15,51,t.printTemplate.ContactInfo),s),e(8),C(" ",m(23,53,t.data.Prefixed)," "),e(2),r("innerHTML",t.data.ItemTransfer.Number,s),e(7),r("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Advanced==null?null:t.config.PrintConfigDelivery.Advanced.PrintPONumber)&&(t.data.PO==null?null:t.data.PO.ReferenceNumber)),e(4),P(M(39,55,t.data.ItemTransfer.Date,"dd MMM yyyy")),e(2),r("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),r("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Advanced==null?null:t.config.PrintConfigDelivery.Advanced.PrintPONumber)&&(t.data.PO==null?null:t.data.PO.ReferenceNumber)),e(),un("margin-top","40px"),e(),r("ngIf",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Name),e(2),r("ngIf",t.data.Contact.Name),e(10),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(3),r("ngIf",t.config.ModuleSell.ProductDialog.UnitQtyLabel&&(t.config.PrintConfigInvoice.ItemsTable==null||t.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:t.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(3),f(t.type==t.printingType.INBOUND&&t.roleService.product.Cost&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)?63:-1),e(),f(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost?64:-1),e(3),f(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.roleService.product.Price?67:-1),e(),f(t.type==t.printingType.OUTBOUND&&t.roleService.product.Price&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)?68:-1),e(3),r("ngIf",!t.data.IsTransfer),e(),r("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),r("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),r("ngIf",t.data.isCost&&t.data.unitCost!=null),e(),r("ngIf",t.data.isCost&&t.data.unitCost!=null),e(2),r("ngForOf",t.data.Items),e(3),f(t.totalWeight()>0&&(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Footer==null)&&t.config.PrintConfigDelivery.Footer.TotalWeightVisible)?80:81),e(2),r("colSpan",1),e(5),P(m(88,58,t.TotalQty)),e(2),r("ngIf",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),r("ngIf",t.data.AmountSummary),e(2),r("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Footer.DeliveryNoteVisible),e(),r("ngIf",t.config.PrintConfigGeneral.Visibility.Visible)}}var ut=class n{constructor(l,t,p){this.activeRoute=l;this.decimalPipe=t;this.roleService=p}data;printTemplate;config;hasInvoiceOption=!1;paperPrintMode=[];type=0;stylesheet;printingType=xt;TotalPack;TotalCost;TotalPrice;TotalQty;GuidEmpty=D.GuidEmpty;totalWeight=_t(0);signatureCount=_t(0);ngOnChanges(l){this.TotalPack=0,this.TotalCost=0,this.TotalPrice=0,this.TotalQty=0;let t=0;if(l.data.currentValue){for(let p of this.data.Items)this.TotalPack+=p.Pack,this.TotalCost+=p.TotalCost,this.TotalPrice+=p.TotalPrice,this.TotalQty+=p.Quantity,t+=p.TotalWeight;this.totalWeight.set(t),this.checkSignatureCount()}}checkSignatureCount(){let l=[this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Courier,this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Recipient,this.config?.PrintConfigDelivery?.FooterLabel.Warehouse,this.config?.PrintConfigDelivery?.FooterLabel.DeliveredBy,this.config?.PrintConfigDelivery?.FooterLabel.Checker].filter(t=>D.IsNotEmpty(t));this.signatureCount.set(l.length)}static \u0275fac=function(t){return new(t||n)(u(h),u(R),u(St))};static \u0275cmp=b({type:n,selectors:[["pos-customer-delivery"]],inputs:{data:"data",printTemplate:"printTemplate",config:"config",hasInvoiceOption:"hasInvoiceOption",paperPrintMode:"paperPrintMode",type:"type",stylesheet:"stylesheet"},standalone:!1,features:[In],decls:5,vars:6,consts:[["CostHeader",""],["PriceHeader",""],["DEFAULTWIDTH",""],["CostBody",""],["PriceBody",""],["rel","stylesheet"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["class","print_container outdelivery_print_container",3,"ngClass",4,"ngIf"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"print_container","outdelivery_print_container",3,"ngClass"],[4,"ngIf"],[1,"col-7","p-0","ms-2","header-left","header-left-delivery"],[1,"row","g-0"],[1,"col-auto","shop-logo"],[1,"col-8","g-0","p-0","m-0","ms-3","shop-description"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"row","g-0","me-0","justify-content-end","invoice_number"],[1,"col-12","d-flex","justify-content-end"],[1,"h2","text-end"],[1,"p-0","col-auto","d-flex","justify-content-end","table-delivery"],[1,"table","table-sm","table-bordered"],[1,"row","d-flex","justify-content-end"],["class","col-9 border contact shippingAddress",3,"margin-right",4,"ngIf"],[1,"row","px-3","mx-0","mt-0","justify-content-between"],["class","col-auto border",4,"ngIf"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"table","table-striped","table-sm","table-bordered",2,"width","100%"],[2,"background-color","#fdf3c6"],[2,"width","20px"],["style","width: 75px",4,"ngIf"],[2,"width","50px"],["style","width: 50px",4,"ngIf"],[2,"width","40px"],["style","width: 80px",4,"ngIf"],["style","width: 130px",4,"ngIf"],["style","width: 125px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-none"],["colspan","2"],[3,"colSpan"],[1,"text-end",3,"colSpan"],[1,"text-center"],["class","text-end",3,"colSpan",4,"ngIf"],["class","text-end",4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"col-md-12"],["class","info m-0",4,"ngIf"],["class","col-12 signature-b",4,"ngIf"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[4,"ngIf","ngIfElse"],[1,"col-md-12","logo",3,"src"],[1,"col-9","border","contact","shippingAddress"],[3,"innerHtml"],[1,"col-auto","border"],[1,"ms-2"],[1,"customer_info"],[2,"width","75px"],[4,"ngTemplateOutlet"],[2,"width","85px"],[2,"width","125px"],[2,"width","80px"],[2,"width","10px","text-align","right"],[2,"width","130px"],[1,"py-5"],[3,"serials"],["class","text-end",3,"innerHTML",4,"ngIf"],[1,"fst-italic","fs-6","text-body-secondary"],["style","word-break: break-all",3,"innerHTML",4,"ngIf"],[2,"word-break","break-all",3,"innerHTML"],[1,"text-end",3,"innerHTML"],[1,"note-span",2,"word-break","break-all",3,"innerHTML"],[1,"item-delivery-weight"],[1,"fw-bold"],[1,"text-end"],[1,"table","table-sm","table-borderless","d-flex","justify-content-end"],["colspan","3"],[1,"currency"],[1,"info","m-0"],[1,"float"],[1,"col-12","signature-b"],[1,"d-flex","justify-content-between","align-items-center",3,"ngClass"],["style","height: 120px; width: 150px",4,"ngIf"],["class","note",4,"ngIf"],[1,"col-12","d-flex","justify-content-center"],["class","d-block text-center fst-italic py-2","style","font-size: 12px",3,"innerHTML",4,"ngIf"],[2,"height","120px","width","150px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],[1,"left",3,"innerHTML"],[1,"d-block","text-center","fst-italic","py-2",2,"font-size","12px",3,"innerHTML"]],template:function(t,p){t&1&&(_(0,"link",5),g(1,"StylesheetSafeUrl"),d(2,Ve,1,0,"link",6)(3,Fe,1,0,"link",7)(4,wo,99,63,"div",8)),t&2&&(H("href",p.stylesheet!=null&&p.stylesheet.SizeA4?m(1,4,p.stylesheet==null?null:p.stylesheet.SizeA4):null,N),e(2),r("ngIf",p.data&&(p.printTemplate==null?null:p.printTemplate.PrintLX300)),e(),r("ngIf",p.data&&(p.printTemplate==null?null:p.printTemplate.PrintLX300)),e(),r("ngIf",p.data))},dependencies:()=>[q,L,y,zn,Ct,dt,Bn,R,V,K,j,st,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9e9e9e;padding:5px}div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.contact[_ngcontent-%COMP%]{float:left}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.note-span[_ngcontent-%COMP%] p{margin:0}.grid_footer[_ngcontent-%COMP%], .grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0!important}']})},Qt=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,It,Vn,Vt,dt]})};var Gt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}printType=xt;data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.OutDeliveryInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-out-delivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,p){if(t&1&&(_(0,"pos-customer-delivery",0),g(1,"async"),g(2,"async"),g(3,"async"),g(4,"async")),t&2){let O,$,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",($=m(2,7,p.data$))==null?null:$.Template)("config",(nt=m(3,9,p.data$))==null?null:nt.AppConfigJSON)("type",p.printType.OUTBOUND)("stylesheet",(lt=m(4,11,p.data$))==null?null:lt.StylesSheet)}},dependencies:[ut,w],encapsulation:2})};var Do=(n,l)=>({lx300:n,"print-normal":l});function To(n,l){n&1&&_(0,"link",18)}function ko(n,l){n&1&&_(0,"link",19)}function Eo(n,l){n&1&&_(0,"link",20)}function Ao(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.ContactDisplay)}}function No(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Email)}}function Ho(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Mobile)}}function Ro(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Phone)}}function zo(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Address,s)}}function Bo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.CityName)}}function Lo(n,l){if(n&1&&(o(0,"div",21)(1,"div",22)(2,"h4"),_(3,"span",17),i(),d(4,Ao,2,1,"strong",0)(5,No,3,1,"div",0)(6,Ho,3,1,"div",0)(7,Ro,3,1,"div",0)(8,zo,2,1,"div",0)(9,Bo,3,1,"div",0),i()()),n&2){let t=c().ngIf;e(3),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,s),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Jo(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Recipient)}}function Vo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Street)}}function Fo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Phone)}}function jo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.City)}}function Uo(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Description,s)}}function $o(n,l){if(n&1&&(o(0,"div",7)(1,"div",23)(2,"div",9),_(3,"span",17),i(),d(4,Jo,2,1,"strong",0)(5,Vo,3,1,"div",0)(6,Fo,3,1,"div",0)(7,jo,3,1,"div",0)(8,Uo,2,1,"div",0),i()()),n&2){let t=c().ngIf;e(3),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress,s),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Street),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Mobile),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.City),e(),r("ngIf",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Description)}}function Qo(n,l){if(n&1&&(x(0),o(1,"div",24)(2,"div",25)(3,"div",26)(4,"span",9),a(5),i()()()(),v()),n&2){let t=c().ngIf;e(5),P(t==null||t.Data==null?null:t.Data.TypeName)}}function Wo(n,l){n&1&&(o(0,"th"),a(1," Code "),i())}function Go(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function Xo(n,l){if(n&1&&(o(0,"tr"),_(1,"td",33),i()),n&2){let t=c().$implicit,p=c(2).ngIf;e(),r("colSpan",!(p==null||p.AppConfigJSON==null)&&p.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible?4:3)("innerHTML",t.Note,s)}}function Zo(n,l){if(n&1&&(o(0,"tbody")(1,"tr")(2,"td",32),a(3),i(),o(4,"td"),a(5),i(),d(6,Go,2,1,"td",0),o(7,"td",32),a(8),g(9,"number"),i()(),d(10,Xo,2,2,"tr",0),i()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf;e(3),P(p+1),e(2),C(" ",t.Name," "),e(),r("ngIf",O==null||O.AppConfigJSON==null||O.AppConfigJSON.PrintConfigPackingSlip==null?null:O.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible),e(2),P(m(9,5,t.Quantity)),e(2),r("ngIf",(O==null||O.AppConfigJSON==null||O.AppConfigJSON.PrintConfigInvoice==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible)&&t.Note)}}function qo(n,l){if(n&1&&(o(0,"div",13)(1,"div",8)(2,"table",27)(3,"thead",28)(4,"tr")(5,"th",29),a(6,"No"),i(),o(7,"th",30),a(8,"Name"),i(),d(9,Wo,2,0,"th",0),o(10,"th",29),a(11,"Qty"),i()()(),d(12,Zo,11,7,"tbody",31),i()()()),n&2){let t=c().ngIf;e(9),r("ngIf",t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible),e(3),r("ngForOf",t==null||t.Data==null?null:t.Data.List)}}function Ko(n,l){if(n&1&&(o(0,"div",13)(1,"div",8),_(2,"div",34),i()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Yo(n,l){if(n&1&&(x(0),d(1,To,1,0,"link",1)(2,ko,1,0,"link",2)(3,Eo,1,0,"link",3),_(4,"link",4),g(5,"StylesheetSafeUrl"),o(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"span"),a(12),i()()()(),d(13,Lo,10,7,"div",10)(14,$o,9,6,"div",11)(15,Qo,6,1,"ng-container",0)(16,qo,13,2,"div",12)(17,Ko,3,1,"div",12),o(18,"div",13)(19,"div",8)(20,"div",14)(21,"div",15)(22,"div",16),_(23,"span",17),i()()()()()()(),v()),n&2){let t=l.ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),r("ngIf",t==null||t.Template==null?null:t.Template.PrintLX300),e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(5,13,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("ngClass",it(15,Do,t==null||t.Template==null?null:t.Template.PrintLX300,!(!(t==null||t.Template==null)&&t.Template.PrintLX300))),e(5),gt("",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigOthers==null?null:t.AppConfigJSON.PrintConfigOthers.Header.PackingReceiptTitle," : ",t==null||t.Data==null?null:t.Data.Delivery.Number,""),e(),r("ngIf",!(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Recipient)),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Shipping),e(),r("ngIf",t==null||t.Data==null?null:t.Data.TypeName),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null?null:t.AppConfigJSON.PrintConfigPackingSlip.ProductTableVisible),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null?null:t.AppConfigJSON.PrintConfigPackingSlip.RenderInvoiceNote)&&(t==null||t.Data==null?null:t.Data.Invoice.Note)!=null),e(6),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}var Xt=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.PackingSlipInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-packing-slip"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery"],[3,"ngClass"],[1,"row","g-0","mb-2"],[1,"col"],[1,"fw-bold"],["class","row g-0 pt-3 mb-2",4,"ngIf"],["class","row g-0 mb-2",4,"ngIf"],["class","row g-0",4,"ngIf"],[1,"row","g-0"],["id","signatureNote"],[1,"note"],[1,"d-flex","justify-content-md-start"],[3,"innerHTML"],["href",rt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"row","g-0","pt-3","mb-2"],[1,"col","border","border-dark","py-2","px-2"],[1,"col","border","border-dark","py-2","px-2","mb-2"],[1,"row","mb-2"],[1,"col","text-end","my-2"],[1,"border","border-dark","py-2","px-2","mb-2","text-center"],[1,"table","table-striped","table-sm","table-bordered","w-100"],[2,"background","#fdf3c6"],[1,"text-end",2,"width","10%"],[2,"width","80%"],[4,"ngFor","ngForOf"],[1,"text-align"],[1,"fst-italic",3,"colSpan","innerHTML"],[1,"p-5","text-center",2,"border","1px dotted black","background-color","#fceca3",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,Yo,24,18,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}"]})};function tl(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),v()),n&2){let t=l.ngIf,p=c();e(),r("data",t.Data)("workOrderMode",!0)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!0)("stylesheet",t.StylesSheet)}}var Zt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.WorkOrderReceipt,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-work-order"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","workOrderMode","printTemplate","config","barcodeOptions","invoiceOption","stylesheet"]],template:function(t,p){t&1&&(d(0,tl,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function nl(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),o(2,"div",2),_(3,"pos-customer-delivery",3),i(),v()),n&2){let t=l.ngIf,p=c();e(),r("data",t.Invoice)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",p.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!1)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0),e(2),r("data",t.Delivery)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var qt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceAndDelivery,t))),F(t=>{if(t.Delivery){let p=t.Invoice?.Order;p.Note=t.Invoice?.Invoice?.Note,t.Delivery.PO=p}return t.Template.PrintLX300=l.Printer=="EpsonLX300",t}),E(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-delivery"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"data","printTemplate","config","barcodeOptions","invoiceOption","workOrderMode","stylesheet","saveLastPrintDate"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,nl,4,12,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,ut,w],encapsulation:2})};function el(n,l){if(n&1&&(x(0),_(1,"pos-customer-delivery",1),v()),n&2){let t=l.ngIf,p=c();e(),r("hasInvoiceOption",!0)("paperPrintMode",p.paperPrintMode)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var Kt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.initPrintOption(t),this.httpService.post(I.TransferOrderReceipt,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),this.printInvoice(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}printInvoice(l){l.Print==1&&window.setTimeout(function(){window.print()},500)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-transfer"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"hasInvoiceOption","paperPrintMode","data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,el,2,6,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,ut,w],encapsulation:2})};var Yt=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}data$;printType=xt;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t.Print,this.httpService.post(I.InDeliveryInvoice,t).pipe(F(p=>(t.Printer&&(p.Template.PrintLX300=t.Printer=="EpsonLX300"),p))))),E(t=>{this.title.setTitle(t.Title),l==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-indelivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,p){if(t&1&&(_(0,"pos-customer-delivery",0),g(1,"async"),g(2,"async"),g(3,"async"),g(4,"async")),t&2){let O,$,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",($=m(2,7,p.data$))==null?null:$.Template)("config",(nt=m(3,9,p.data$))==null?null:nt.AppConfig)("type",p.printType.INBOUND)("stylesheet",(lt=m(4,11,p.data$))==null?null:lt.StylesSheet)}},dependencies:[ut,w],encapsulation:2})};var ll=["class","component"],al=n=>({width:n});function rl(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;ct(et(3,al,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Template==null?null:t.Template.Logo,J)}}function cl(n,l){if(n&1&&(x(0),d(1,rl,1,5,"img",37),v()),n&2){let t=c(4).ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo)}}function pl(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;r("src",t.Template==null?null:t.Template.Logo,J)}}function gl(n,l){if(n&1&&d(0,pl,1,1,"img",39),n&2){let t=c(4).ngIf;r("ngIf",t.Template==null?null:t.Template.Logo)}}function dl(n,l){if(n&1&&(o(0,"div",30),d(1,cl,2,1,"ng-container",36)(2,gl,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c(3).ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function _l(n,l){if(n&1&&(o(0,"div",29),d(1,dl,4,2,"div",30),o(2,"div",31),_(3,"h2",32)(4,"small",32),o(5,"div",33),_(6,"div",34),g(7,"newlines"),_(8,"div",35),g(9,"newlines"),i()()()),n&2){let t=c(2).ngIf;e(),f(t.Template!=null&&t.Template.Logo?1:-1),e(2),r("innerHTML",t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(7,5,t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(9,7,t.Template==null?null:t.Template.ContactInfo),s)}}function Cl(n,l){if(n&1&&_(0,"strong",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null?null:t.Data.ContactDisplay,s)}}function ml(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Pl(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone,s)}}function sl(n,l){if(n&1&&(_(0,"div",32),g(1,"newlines")),n&2){let t=c(3).ngIf;r("innerHTML",m(1,1,t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Ol(n,l){if(n&1&&_(0,"div",32),n&2){let t=c(3).ngIf;r("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.City,s)}}function ul(n,l){if(n&1&&(o(0,"div",40),_(1,"h3",32),o(2,"div",41),d(3,Cl,1,1,"strong",42),o(4,"div",43),d(5,ml,1,1,"div",42)(6,Pl,1,1,"div",42)(7,sl,2,3,"div",42)(8,Ol,1,1,"div",42),i()()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,s),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Ml(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function fl(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function xl(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c(2).ngIf;e(),C(" ",M(2,1,t.Data==null?null:t.Data.Due,"dd MMM yyyy")," ")}}function vl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data==null?null:t.Data.ToP," Days ")}}function bl(n,l){n&1&&(o(0,"th"),a(1," Category "),i())}function hl(n,l){n&1&&(o(0,"th",16),a(1,"UOM"),i())}function yl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function Sl(n,l){if(n&1&&(o(0,"th",17),a(1," Price ("),d(2,yl,2,1,"span",1),a(3,") "),i()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Il(n,l){n&1&&(o(0,"th",18),a(1,"Disc"),i())}function wl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function Dl(n,l){if(n&1&&(o(0,"th",44),a(1," Total ("),d(2,wl,2,1,"span",1),a(3,") "),i()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Tl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),C(" ",t.Category," ")}}function kl(n,l){if(n&1&&_(0,"i",53),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function El(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"quantityFraction"),i()),n&2){let t=c().$implicit;e(),C("x ",m(2,1,t.UnitQuantity),"")}}function Al(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.UOMName?t.UOMName:"-")}}function Nl(n,l){if(n&1&&(_(0,"td",35),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Hl(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Rl(n,l){if(n&1&&(o(0,"div"),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C("-",m(2,1,t.DiscountAmount),"")}}function zl(n,l){if(n&1&&(o(0,"td",51),d(1,Hl,2,1,"div")(2,Rl,3,3,"div"),i()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Bl(n,l){if(n&1&&(o(0,"td",54),a(1),g(2,"amountFraction"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.Total)," ")}}function Ll(n,l){if(n&1&&(o(0,"tr"),_(1,"td",45),d(2,Tl,2,1,"td",1),o(3,"td")(4,"span",46),a(5),i(),_(6,"app-serial-note",47),d(7,kl,1,1,"i",48),i(),_(8,"td",32),o(9,"td",49),a(10),g(11,"quantityFraction"),d(12,El,3,3,"span",1),i(),d(13,Al,2,1,"td")(14,Nl,2,3,"td",50)(15,zl,3,2,"td",51)(16,Bl,3,3,"td",52),i()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf,$=c();e(),r("innerHTML",p+1,s),e(),r("ngIf",O.AppConfigJSON.PrintConfigGeneral==null?null:O.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note!=null),e(),r("innerHTML",t.Code,s),e(2),C(" ",m(11,12,t.Quantity)," "),e(2),r("ngIf",t.UnitQuantity!=1),e(),f($.isUomVisible()?13:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost),e(),f(!(O==null||O.Data==null)&&O.Data.IsInRoleCost&&$.isDiscVisible()?15:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost)}}function Jl(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td",57),a(4,":"),i(),o(5,"td",58),a(6),i(),o(7,"td",16),a(8),g(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",m(9,3,t.Amount)," ")}}function Vl(n,l){if(n&1&&(o(0,"td",55)(1,"table",56)(2,"tbody"),d(3,Jl,10,5,"tr",20),i()()()),n&2){let t=c(2).ngIf;e(3),r("ngForOf",t.Data==null?null:t.Data.Aggregate)}}function Fl(n,l){if(n&1&&(o(0,"td",61),a(1),g(2,"newlines"),i()),n&2){let t=c(3).ngIf;e(),C(" ",m(2,1,t.Data==null?null:t.Data.TotalInWord)," ")}}function jl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2),i(),o(3,"td",57),a(4,":"),i(),d(5,Fl,3,3,"td",60),i()),n&2){let t=c(2).ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t.Data==null?null:t.Data.TotalInWord)}}function Ul(n,l){if(n&1&&(o(0,"tr")(1,"th",59)(2,"span"),a(3),i()(),o(4,"td",57),a(5,":"),i(),o(6,"td")(7,"ul",62),_(8,"li",32),g(9,"newlines"),i()()()),n&2){let t=c(2).ngIf;e(3),P((t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)==2?"Down Payment":"Payment"),e(5),r("innerHTML",m(9,2,t.Data==null?null:t.Data.PaymentLabel),s)}}function $l(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Remaining"),i(),o(3,"td",57),a(4,":"),i(),o(5,"td")(6,"ul",62)(7,"li"),a(8),g(9,"number"),i()()()()),n&2){let t=c(2).ngIf;e(8),C(" ",m(9,1,t.Data==null?null:t.Data.Remaining)," ")}}function Ql(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Attention"),i(),o(3,"td",57),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c(2).ngIf;e(6),P(t.Data==null?null:t.Data.Att)}}function Wl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Note"),i(),o(3,"td",57),a(4,":"),i(),_(5,"td",32),g(6,"newlines"),i()),n&2){let t=c(2).ngIf;e(5),r("innerHTML",m(6,1,t.Data==null?null:t.Data.Note),s)}}function Gl(n,l){if(n&1&&(o(0,"tr")(1,"th",59),a(2,"Status"),i(),o(3,"td",57),a(4,":"),i(),_(5,"td",32),g(6,"newlines"),i()),n&2){c();let t=Rn(66);e(5),r("innerHTML",m(6,1,t),s)}}function Xl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column1,s)}}function Zl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column2,s)}}function ql(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column3,s)}}function Kl(n,l){if(n&1&&(o(0,"div",65)(1,"h5",66),a(2," \xA0 "),i(),o(3,"div",67),a(4," \xA0 "),i()()),n&2){let t=c(3).ngIf;e(),r("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column4,s)}}function Yl(n,l){if(n&1&&(o(0,"div")(1,"div",63),d(2,Xl,5,1,"div",64)(3,Zl,5,1,"div",64)(4,ql,5,1,"div",64)(5,Kl,5,1,"div",64),i()()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column1),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column2),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column3),e(),r("ngIf",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column4)}}function ta(n,l){if(n&1&&(_(0,"div",68),g(1,"SafeHtml")),n&2){let t=c(2).ngIf;r("innerHTML",t.Template!=null&&t.Template.FooterNote?m(1,1,t.Template==null?null:t.Template.FooterNote):"",s)}}function na(n,l){if(n&1&&_(0,"small",69),n&2){let t=c(2).ngIf;r("innerHTML",t.Data==null?null:t.Data.Creator,s)}}function ea(n,l){if(n&1&&(o(0,"div",4),_(1,"POS-print-mode",5),o(2,"div",6)(3,"div")(4,"div",7),d(5,_l,10,9,"div",8)(6,ul,9,6,"div",9),i(),o(7,"div",10)(8,"h1")(9,"strong"),a(10),i(),o(11,"span"),a(12),i()(),o(13,"div")(14,"table")(15,"thead")(16,"tr")(17,"th"),a(18,"Date"),i(),d(19,Ml,2,0,"th",1)(20,fl,2,0,"th",1),i()(),o(21,"tbody")(22,"tr")(23,"td"),a(24),g(25,"date"),i(),d(26,xl,3,4,"td",1)(27,vl,2,1,"td",1),i()()()()()(),o(28,"div",11)(29,"table",12)(30,"thead")(31,"tr")(32,"th",13),a(33,"No"),i(),d(34,bl,2,0,"th",1),o(35,"th"),a(36,"Name"),i(),o(37,"th",14),a(38,"Code"),i(),o(39,"th",15),a(40,"Qty"),i(),d(41,hl,2,0,"th",16)(42,Sl,4,1,"th",17)(43,Il,2,0,"th",18)(44,Dl,4,1,"th",19),i()(),o(45,"tbody"),d(46,Ll,17,14,"tr",20),i(),o(47,"tfoot")(48,"tr",21),_(49,"td",22),o(50,"td",23)(51,"b"),a(52,"Total"),i()(),o(53,"td",24)(54,"b"),a(55),g(56,"sum"),g(57,"quantityFraction"),i()(),d(58,Vl,4,1,"td",25),i()()()(),o(59,"div")(60,"table",26),d(61,jl,6,2,"tr",1)(62,Ul,10,4,"tr",1)(63,$l,10,3,"tr",1)(64,Ql,7,1,"tr",1)(65,Wl,7,3,"tr",1),Nn(66)(67),d(68,Gl,7,3,"tr",1),i(),o(69,"div"),d(70,Yl,6,4,"div",1),i()(),d(71,ta,2,3,"div",27)(72,na,1,1,"small",28),i()()),n&2){let t=c().ngIf,p=c();e(),r("paperPrints",p.paperPrintMode),e(2),ht("",t.Template==null?null:t.Template.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",(t.Data==null?null:t.Data.Contact)||(t.Data==null?null:t.Data.ContactDisplay)),e(4),P(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),C(" ",t.Data==null?null:t.Data.Invoice.Data.Number," "),e(7),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(4),C(" ",M(25,30,t.Data==null?null:t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(),r("ngIf",(t.Data==null?null:t.Data.ToP)!=null),e(7),r("ngIf",t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(7),f(p.isUomVisible()?41:-1),e(),f(!(t==null||t.Data==null)&&t.Data.IsInRoleCost?42:-1),e(),f(!(t==null||t.Data==null)&&t.Data.IsInRoleCost&&p.isDiscVisible()?43:-1),e(),r("ngIf",t==null||t.Data==null?null:t.Data.IsInRoleCost),e(2),r("ngForOf",t.Data==null?null:t.Data.Items),e(9),P(m(57,36,M(56,33,t.Data==null?null:t.Data.Items,"Quantity"))),e(3),r("ngIf",t==null||t.Data==null?null:t.Data.IsInRoleCost),e(3),r("ngIf",(t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)&&(t==null||t.Data==null?null:t.Data.IsInRoleCost)&&(t==null?null:t.ConfigCostVisible)),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&(t.Data==null?null:t.Data.PaymentLabel)),e(),r("ngIf",(t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)<=2&&(t==null||t.Data==null?null:t.Data.IsInRoleCost)&&(t==null?null:t.ConfigCostVisible)&&(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.RemainingVisible)),e(),r("ngIf",t.Data==null?null:t.Data.Att),e(),r("ngIf",(t.Data==null?null:t.Data.Note)&&(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)),e();let O=Hn(t.Data==null||t.Data.Invoice==null||t.Data.Invoice.Data==null?null:t.Data.Invoice.Data.StateLabel),$=t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible;e(2),r("ngIf",O&&$),e(2),r("ngIf",t.AppConfigJSON.PrintConfigGeneral==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible),e(),r("ngIf",(t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}function ia(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ea,73,39,"div",3),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,2,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngIf",t.Data)}}var tn=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}paperPrintMode;isDiscVisible=_t(!0);isUomVisible=_t(!0);data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.SupplierInvoiceReceipt,t))),F(t=>{l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300");let p=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=p?.Visibility?.CostVisible,t}),E(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),this.initUomVisible(t.Data),this.initPrintOption(l),l.Print==1&&window.setTimeout(function(){window.print()},500)}))}initDiscVisible(l){let p=(l.Items?l.Items:[]).some(O=>O.Discount>0||O.DiscountAmount>0);this.isDiscVisible.set(p)}initUomVisible(l){let p=(l.Items?l.Items:[]).some(O=>D.IsNotEmpty(O.UOMName));this.isUomVisible.set(p)}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice",8,"component"]],standalone:!1,attrs:ll,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],["class","print_container",4,"ngIf"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_print_container"],[1,"col-7","p-0","ms-2","header-left"],["class","company row",4,"ngIf"],["class","contact","style","overflow-x: hidden",4,"ngIf"],[1,"col","p-0","m-0","header_right"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"number","text-center",2,"width","20px"],[2,"width","100px"],[1,"text-end",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],[1,"number","text-end",2,"width","70px"],["class","number","style","width: 90px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-0"],["colspan","2"],[1,"number","align-top",2,"vertical-align","top"],[1,"text-end","align-top"],["class","number noTopPad","colspan","4","style","padding-top: 0 !important",4,"ngIf"],[1,"info","table-secondary"],["class","note mt-4",3,"innerHTML",4,"ngIf"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company","row"],[1,"col-auto"],[1,"companyBody","col-8","g-0","p-0","m-0"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[4,"ngIf","ngIfElse"],["class","col-md-12 px-0",3,"style","src",4,"ngIf"],[1,"col-md-12","px-0",3,"src"],["class","col-md-12 px-0",3,"src",4,"ngIf"],[1,"contact",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"number",2,"width","90px"],[1,"number","text-center",3,"innerHTML"],[1,"d-block"],[1,"d-block",3,"serials"],["style","word-break: break-word",3,"innerHTML",4,"ngIf"],[1,"text-end"],["class","number",3,"innerHTML",4,"ngIf"],[1,"text-end","text-danger"],["class","number",4,"ngIf"],[2,"word-break","break-word",3,"innerHTML"],[1,"number"],["colspan","4",1,"number","noTopPad",2,"padding-top","0 !important"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"sep"],[1,"currency"],[1,"bg-light-gray"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note","mt-4",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ia,4,4,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,dt,w,R,V,K,j,Ot,Rt,zt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group} .invoice_mini, .sales_order_mini[_ngcontent-%COMP%]{margin:0!important}']})};function oa(n,l){if(n&1&&(o(0,"small",12),a(1),i()),n&2){let t=c().ngIf;e(),P(t==null||t.Template==null?null:t.Template.Field)}}function la(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Balance"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),g(7,"number"),i()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Point))}}function aa(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Expired"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),g(7,"IsMinDate"),i()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Expired))}}function ra(n,l){if(n&1&&_(0,"div",13),n&2){let t=c().ngIf;r("innerHTML",t==null||t.Template==null?null:t.Template.FooterLeft,s)}}function ca(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div")(5,"h1",3),a(6),i(),d(7,oa,2,1,"small",4),o(8,"p",5),_(9,"span",6),g(10,"newlines"),_(11,"span",6),g(12,"newlines"),i(),o(13,"h2",7),a(14),i(),o(15,"div",8)(16,"span"),a(17),g(18,"date"),i(),o(19,"span",9),a(20),g(21,"date"),i()(),o(22,"h3"),a(23,"Customer"),i(),o(24,"table",10)(25,"tr")(26,"td"),a(27,"Name"),i(),o(28,"td"),a(29,":"),i(),o(30,"td"),a(31),i()(),o(32,"tr")(33,"td"),a(34,"Code"),i(),o(35,"td"),a(36,":"),i(),o(37,"td"),a(38),i()(),o(39,"tr")(40,"td"),a(41,"Charged Point"),i(),o(42,"td"),a(43,":"),i(),o(44,"td"),a(45),g(46,"number"),i()(),o(47,"tr")(48,"td"),a(49,"Treatment Type"),i(),o(50,"td"),a(51,":"),i(),o(52,"td"),a(53),i()(),d(54,la,8,3,"tr",0)(55,aa,8,3,"tr",0),o(56,"tr")(57,"td"),a(58,"Doctor"),i(),o(59,"td"),a(60,":"),i(),o(61,"td"),a(62),i()(),o(63,"tr")(64,"td"),a(65,"Note"),i(),o(66,"td"),a(67,":"),i(),o(68,"td"),a(69),i()(),o(70,"tr")(71,"td"),a(72,"Note 2"),i(),o(73,"td"),a(74,":"),i(),o(75,"td"),a(76),i()(),o(77,"tr")(78,"td"),a(79,"Assistant"),i(),o(80,"td"),a(81,":"),i(),o(82,"td"),a(83),i()(),o(84,"tr")(85,"td"),a(86,"Duration"),i(),o(87,"td"),a(88,":"),i(),o(89,"td"),a(90),g(91,"DateDiffInMinute"),i()()(),d(92,ra,1,1,"div",11),i()(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,21,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(5),P(t==null||t.Template==null?null:t.Template.Title),e(),r("ngIf",t==null||t.Template==null?null:t.Template.Address),e(2),r("innerHTML",m(10,23,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(12,25,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(3),C(" ",t==null||t.Data==null?null:t.Data.Title," "),e(3),C("Date : ",M(18,27,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"dd MMM yyyy"),""),e(3),C("Time : ",M(21,30,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"HH:mm:ss"),""),e(11),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(7),P(t==null||t.Data==null?null:t.Data.ContactCode),e(7),gt(" ",M(46,33,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.PointBurned,"1.2-2")," ",t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.VariantName," "),e(8),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.TreatmentTypeName),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Package),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Package),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.DoctorName),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note2),e(7),P(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.AssistantName),e(7),C(" ",M(91,36,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.StartTime,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.EndTime)," Minute(s) "),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Footer==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}var nn=class n{constructor(l,t,p){this.httpService=l;this.route=t;this.titleService=p}id;data$;ngOnInit(){let t={ID:this.route.snapshot.queryParams.ID||this.id};this.data$=this.httpService.post(I.TreatmentInvoice,t).pipe(E(p=>{this.titleService.setTitle(p.Title)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-treatment"]],inputs:{id:"id"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoiceHeader"],["class","tagline",4,"ngIf"],[1,"address"],[3,"innerHTML"],["id","lblInvoiceNumber"],[1,"datetime","clearfix"],[1,"pull-right"],[1,"customer"],["class","note",3,"innerHTML",4,"ngIf"],[1,"tagline"],[1,"note",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,ca,93,39,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,w,R,V,j,Jt,Ln,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}@media print{.print_container[_ngcontent-%COMP%]{display:block}}']})};var pa=n=>({width:n});function ga(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;ct(et(3,pa,(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function da(n,l){if(n&1&&(x(0),d(1,ga,1,5,"img",34),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function _a(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function Ca(n,l){if(n&1&&d(0,_a,1,1,"img",36),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function ma(n,l){if(n&1&&(o(0,"div",8),d(1,da,2,1,"ng-container",33)(2,Ca,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigInvoice==null||p.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:p.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Pa(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function sa(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function Oa(n,l){if(n&1&&(o(0,"div",37)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",38)(5,"strong"),a(6),i(),o(7,"div",39),d(8,Pa,3,1,"div",1)(9,sa,3,1,"div",1),o(10,"div"),_(11,"span",12),g(12,"newlines"),i(),o(13,"div")(14,"span"),a(15),i()()()()()),n&2){let t=c().ngIf;e(3),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer," "),e(3),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(12,6,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),s),e(4),P(t==null||t.Data==null?null:t.Data.City)}}function ua(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function Ma(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),P(t==null||t.Data==null?null:t.Data.SalesName)}}function fa(n,l){if(n&1&&(o(0,"th",40),a(1),i()),n&2){let t=c().ngIf;e(),C(" Price(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function xa(n,l){if(n&1&&(o(0,"th",40),a(1),i()),n&2){let t=c().ngIf;e(),C(" Total(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function va(n,l){if(n&1&&_(0,"p",45),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function ba(n,l){if(n&1&&(o(0,"td",13),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function ha(n,l){if(n&1&&(o(0,"td",13),a(1),g(2,"TrailingZero"),i()),n&2){let t=c().$implicit,p=c().ngIf;e(),C(" ",M(2,1,t.Total,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ya(n,l){if(n&1&&(o(0,"tr")(1,"td",13),a(2),i(),o(3,"td")(4,"span"),a(5),i(),d(6,va,1,1,"p",41),i(),o(7,"td"),a(8),i(),o(9,"td",42),a(10),g(11,"number"),i(),o(12,"td"),a(13),i(),d(14,ba,3,3,"td",43),o(15,"td",44),a(16),i(),d(17,ha,3,4,"td",43),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(2),C(" ",p+1+"."," "),e(3),P(t.Name),e(),r("ngIf",t.Note!=null),e(2),P(t.Code),e(2),C(" ",m(11,9,t.Quantity)," "),e(3),P(t.UOMName),e(),r("ngIf",O.priceVisible),e(2),C(" ",t.Discount!=0?"-"+t.Discount+"%":""," "),e(),r("ngIf",O.priceVisible)}}function Sa(n,l){if(n&1&&(o(0,"td",27)(1,"div",46),a(2),g(3,"sum"),g(4,"number"),i()()),n&2){let t=c().ngIf;e(2),C(" Qty: ",m(4,4,M(3,1,t==null||t.Data==null?null:t.Data.Items,"Quantity"))," ")}}function Ia(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",47),a(6),i(),o(7,"td",22),a(8),g(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function wa(n,l){if(n&1&&(o(0,"td",49),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null||t.Data==null?null:t.Data.TotalInWords," ")}}function Da(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),d(5,wa,2,1,"td",48),i()),n&2){let t=c().ngIf;e(2),C(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null)&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t==null||t.Data==null?null:t.Data.TotalInWords)}}function Ta(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"date"),i()),n&2){let t=c().$implicit;e(),C(" ",M(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function ka(n,l){if(n&1&&(o(0,"span"),d(1,Ta,3,4,"span",1),g(2,"checkPropValueIsSame"),a(3),g(4,"number"),_(5,"br"),i()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("ngIf",M(2,4,p==null||p.Data==null?null:p.Data.Payments,"Date")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",t.Amount<(p==null||p.Data==null?null:p.Data.FinalAmount)?" - "+m(4,7,t.Amount):""," ")}}function Ea(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),d(6,ka,6,9,"span",25),i()()),n&2){let t=c().ngIf;e(2),C(" ",(t==null||t.Data==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment"," "),e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.Payments)}}function Aa(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note :"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",50)(7,"li"),_(8,"div",12),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Na(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column1,s)}}function Ha(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column2,s)}}function Ra(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column3,s)}}function za(n,l){if(n&1&&(o(0,"div",53)(1,"h5",54),a(2," \xA0 "),i(),o(3,"div",55),a(4," \xA0 "),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column4,s)}}function Ba(n,l){if(n&1&&(o(0,"div",51),d(1,Na,5,1,"div",52)(2,Ha,5,1,"div",52)(3,Ra,5,1,"div",52)(4,za,5,1,"div",52),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column1),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column2),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column3),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column4)}}function La(n,l){if(n&1&&(o(0,"div",59),_(1,"span",12),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterLeft),s)}}function Ja(n,l){if(n&1&&(o(0,"div",60),_(1,"span",12),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterRight),s)}}function Va(n,l){if(n&1&&(o(0,"div",56),d(1,La,3,3,"div",57)(2,Ja,3,3,"div",58),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.FooterLeft),e(),r("ngIf",t==null||t.Template==null?null:t.Template.FooterRight)}}function Fa(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,ma,4,2,"div",8),o(9,"div",9)(10,"h2"),a(11),i(),o(12,"small"),a(13),i(),o(14,"div",10)(15,"div",11),_(16,"span",12),g(17,"newlines"),i(),o(18,"div",13),_(19,"span",12),g(20,"newlines"),i()()()(),d(21,Oa,16,8,"div",14),i(),o(22,"div",15)(23,"h1")(24,"strong"),a(25),i(),o(26,"span"),a(27),i()(),o(28,"div")(29,"table")(30,"thead")(31,"tr")(32,"th"),a(33,"Date"),i(),d(34,ua,2,0,"th"),i()(),o(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),i(),d(40,Ma,2,1,"td"),i()()()()()()(),o(41,"section",16)(42,"div",17)(43,"table",18)(44,"thead")(45,"tr")(46,"th",19),a(47,"No"),i(),o(48,"th"),a(49,"Name"),i(),o(50,"th",20),a(51,"Code"),i(),o(52,"th",21),a(53,"Qty"),i(),o(54,"th",22),a(55,"UOM"),i(),d(56,fa,2,1,"th",23),o(57,"th",24),a(58,"%"),i(),d(59,xa,2,1,"th",23),i()(),o(60,"tbody"),d(61,ya,18,11,"tr",25),i(),o(62,"tfoot")(63,"tr",26),d(64,Sa,5,6,"td",27),o(65,"td",28)(66,"table",29)(67,"tbody"),d(68,Ia,10,6,"tr",25),i()()()()()()()(),o(69,"table",30),d(70,Da,6,2,"tr",1)(71,Ea,7,2,"tr",1)(72,Aa,9,1,"tr",1),i(),o(73,"div")(74,"div"),d(75,Ba,5,4,"div",31),i()(),d(76,Va,3,2,"div",32),i(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,23,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(7),f(!(t==null||t.Template==null)&&t.Template.Logo?8:-1),e(3),P(t==null||t.Template==null?null:t.Template.Title),e(2),P(t==null||t.Template==null?null:t.Template.Field),e(3),r("innerHTML",m(17,25,t==null||t.Template==null?null:t.Template.Address),s),e(3),r("innerHTML",m(20,27,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",t==null||t.Data==null?null:t.Data.ContactDisplay),e(4),P(t==null||t.Data==null?null:t.Data.Prefixed),e(2),C(" ",t==null||t.Data==null?null:t.Data.Invoice.Number," "),e(7),f(!(t==null||t.Data==null)&&t.Data.SalesName?34:-1),e(4),C(" ",M(39,29,t==null||t.Data==null?null:t.Data.Invoice.Date,"dd MMM yyyy")," "),e(2),f(!(t==null||t.Data==null)&&t.Data.SalesName?40:-1),e(16),r("ngIf",p.priceVisible),e(3),r("ngIf",p.priceVisible),e(2),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(3),f((t==null||t.Data==null?null:t.Data.Items.length)>1?64:-1),e(),r("colSpan",(t==null||t.Data==null?null:t.Data.Items.length)>1?4:8),e(3),r("ngForOf",t==null||t.Data==null?null:t.Data.Aggregate),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null||t.Data==null?null:t.Data.TotalInWords)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&(t==null||t.Data==null||t.Data.Payments==null?null:t.Data.Payments.length)>0),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Invoice.Note),e(3),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Visibility==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}var en=class n{constructor(l,t,p,O){this.httpService=l;this.activeRoute=t;this.roleService=p;this.title=O;this.priceVisible=p.sell.PriceVisible}priceVisible;data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.EstimateInvoice,l)),E(l=>{this.title.setTitle(l.Title)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(St),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-estimate"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company","row"],[1,"col-auto"],[1,"g-0","p-0","m-0","shop-description"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","150px"],[2,"width","50px"],["class","number","style","width: 100px",4,"ngIf"],[1,"number",2,"width","30px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","4"],[1,"number","noTopPad",3,"colSpan"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],["class","signature row justify-content-between",4,"ngIf"],["class","note",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[1,"contact"],[1,"box"],[1,"customer_info"],[1,"number",2,"width","100px"],["class","text-body-secondary","style","word-break: break-all",3,"innerHTML",4,"ngIf"],[1,"number",2,"position","relative"],["class","number",4,"ngIf"],[1,"number","red"],[1,"text-body-secondary",2,"word-break","break-all",3,"innerHTML"],[1,"fw-bold","text-end"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note"],["class","left",4,"ngIf"],["class","right",4,"ngIf"],[1,"left"],[1,"right"]],template:function(t,p){t&1&&(d(0,Fa,77,32,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,K,j,st,Ot,Jn,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var ja=(n,l)=>({"text-success":n,"text-danger":l});function Ua(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Code," ")}}function $a(n,l){if(n&1&&(o(0,"div",13)(1,"div",12),a(2,"NOTE"),i(),o(3,"div",12),a(4),i()()),n&2){let t=c().ngIf;e(4),C(" ",t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Note," ")}}function Qa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf,p=c();e(2),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxableSales," "),e(2),C(" ",M(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxableSale,p.decimal)," ")}}function Wa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf;e(2),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxExemptSales," "),e(2),C(" ",M(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxExemptSale,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function Ga(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Quantity," ")}}function Xa(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Variant Sales"),i(),d(4,Ga,5,2,"div",31),o(5,"div",22)(6,"div",23),a(7,"Total"),i(),o(8,"div",24),a(9),g(10,"sum"),g(11,"number"),i()()()),n&2){let t=c().ngIf;e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.VariantSales),e(5),C(" ",m(11,5,M(10,2,t==null||t.Data==null?null:t.Data.VariantSales,"Quantity"))," ")}}function Za(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2,"Visitors"),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=c().ngIf;e(4),C(" ",m(5,1,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)," ")}}function qa(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.NetSales)," ")}}function Ka(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Category Sales"),i(),d(4,qa,6,4,"div",31),o(5,"div",22)(6,"div",23),a(7,"Total"),i(),o(8,"div",24),a(9),g(10,"sum"),g(11,"number"),i()()()),n&2){let t=c().ngIf;e(4),r("ngForOf",t==null||t.Data==null?null:t.Data.CategorySales),e(5),C(" ",m(11,5,M(10,2,t==null||t.Data==null?null:t.Data.CategorySales,"NetSales"))," ")}}function Ya(n,l){n&1&&(o(0,"div",38),a(1,"\xB1"),i())}function tr(n,l){if(n&1&&(o(0,"div",43),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;r("ngClass",it(4,ja,t.ShortOver>0,t.ShortOver<0)),e(),C(" ",m(2,2,t.ShortOver)," ")}}function nr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),g(5,"number"),i(),o(6,"div",38),a(7),g(8,"number"),i(),d(9,Ya,2,0,"div",41)(10,tr,3,7,"div",42),i()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,5,t.Start)," "),e(3),C(" ",m(8,7,t.Amount)," "),e(2),r("ngIf",t.ShortOver),e(),r("ngIf",t.ShortOver)}}function er(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"Balance"),i(),o(4,"div",32)(5,"div",38),a(6,"Type"),i(),o(7,"div",38),a(8,"Start"),i(),o(9,"div",38),a(10,"End"),i()(),d(11,nr,11,9,"div",39),o(12,"div",32)(13,"div",38),a(14,"Total"),i(),o(15,"div",38),a(16),g(17,"sum"),g(18,"number"),i(),o(19,"div",38),a(20),g(21,"sum"),g(22,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.Payment),e(5),C(" ",m(18,6,M(17,3,t==null||t.Data==null?null:t.Data.Payment,"Start"))," "),e(4),C(" ",m(22,11,M(21,8,t==null||t.Data==null?null:t.Data.Payment,"Amount"))," ")}}function ir(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Received)," ")}}function or(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",37),a(3,"Account Receivable"),i(),o(4,"div",22)(5,"div",23),a(6,"Amount"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Transaction"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.InvoiceAR.Amount)," "),e(6),C(" ",m(15,4,t==null||t.Data==null?null:t.Data.InvoiceAR.Count)," ")}}function lr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),g(5,"number"),i(),o(6,"div",38),a(7),g(8,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,3,t.Quantity)," "),e(3),C(" ",m(8,5,t.Total)," ")}}function ar(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",44),a(3,"Products w. Commission"),i(),o(4,"div",40)(5,"div",38),a(6,"Name"),i(),o(7,"div",38),a(8,"Qty"),i(),o(9,"div",38),a(10,"Total"),i()(),d(11,lr,9,7,"div",39),o(12,"div",40)(13,"div",38),a(14,"Total"),i(),o(15,"div",38),a(16),g(17,"sum"),g(18,"number"),i(),o(19,"div",38),a(20),g(21,"sum"),g(22,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.VariantCommission),e(5),C(" ",m(18,6,M(17,3,t==null||t.Data==null?null:t.Data.VariantCommission,"Quantity"))," "),e(4),C(" ",m(22,11,M(21,8,t==null||t.Data==null?null:t.Data.VariantCommission,"Total"))," ")}}function rr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",21),a(3,"Return"),i(),o(4,"div",22)(5,"div",23),a(6,"Quantity"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Total Price"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.ReturnTotal)," "),e(6),C(" ",m(15,4,t==null||t.Data==null?null:t.Data.ReturnPrice)," ")}}function cr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"Void Invoice"),i(),o(4,"div",22)(5,"div",23),a(6,"Transaction"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Invoice"),i(),o(13,"div",24),a(14),i()(),o(15,"div",22)(16,"div",23),a(17,"Total"),i(),o(18,"div",24),a(19),g(20,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,3,t==null||t.Data==null?null:t.Data.TotalVoid)," "),e(6),C(" ",t==null||t.Data==null?null:t.Data.VoidInvoiceRange," "),e(5),C(" ",m(20,5,t==null||t.Data==null?null:t.Data.TotalVoidSales)," ")}}function pr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",27),a(3,"History"),i(),o(4,"div",22)(5,"div",23),a(6,"Z-Count"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Current Gross"),i(),o(13,"div",23),a(14),g(15,"TrailingZero"),i()(),o(16,"div",22)(17,"div",23),a(18,"Previous"),i(),o(19,"div",24),a(20),g(21,"number"),i()(),o(22,"div",22)(23,"div",23),a(24,"Accumulated"),i(),o(25,"div",24),a(26),g(27,"TrailingZero"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,4,t==null||t.Data==null?null:t.Data.ZCount)," "),e(6),C(" ",M(15,6,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.TrailingZero)," "),e(6),C(" ",m(21,9,t==null||t.Data==null?null:t.Data.AccumulatedHistory)," "),e(6),C(" ",m(27,11,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax)+(t==null||t.Data==null?null:t.Data.AccumulatedHistory))," ")}}function gr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",21),a(3,"Point"),i(),o(4,"div",22)(5,"div",23),a(6,"Point Used"),i(),o(7,"div",24),a(8),g(9,"number"),i()(),o(10,"div",22)(11,"div",23),a(12,"Point Discount"),i(),o(13,"div",24),a(14),g(15,"number"),i()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,2,t==null||t.Data==null?null:t.Data.PointUsed)," "),e(6),C(" ",m(15,4,(t==null||t.Data==null?null:t.Data.PointUsed)*(t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.POS.LoyaltyPoint.EarnPointAmount))," ")}}function dr(n,l){if(n&1&&(o(0,"div",40)(1,"div",38),a(2),i(),o(3,"div",38),a(4),i(),o(5,"div",38),a(6),g(7,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.PriceDisplay," "),e(2),C(" ",t.Quantity," "),e(2),C(" ",m(7,3,t.Total)," ")}}function _r(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",45),a(3,"Denomination"),i(),o(4,"div",40)(5,"div",38),a(6,"Cash Denomination"),i(),o(7,"div",38),a(8,"Qty"),i(),o(9,"div",38),a(10,"Total"),i()(),d(11,dr,8,5,"div",39),o(12,"div",46)(13,"div",47),a(14,"Total"),i(),o(15,"div",48),a(16),g(17,"sum"),g(18,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.Denominations),e(5),C(" ",m(18,5,M(17,2,t==null||t.Data==null?null:t.Data.Denominations,"Total"))," ")}}function Cr(n,l){if(n&1&&(o(0,"div",22)(1,"div",23),a(2),i(),o(3,"div",24),a(4),g(5,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Amount)," ")}}function mr(n,l){if(n&1&&(o(0,"div",49),_(1,"div",5),o(2,"h2",50),a(3,"Expense"),i(),o(4,"div",22)(5,"div",23),a(6,"Label"),i(),o(7,"div",24),a(8,"Amount"),i()(),d(9,Cr,6,4,"div",31),i()),n&2){let t=c().ngIf;e(9),r("ngForOf",t==null||t.Data==null?null:t.Data.Expenses)}}function Pr(n,l){if(n&1&&(o(0,"div",40)(1,"div",51),a(2),i(),o(3,"div",52),a(4),i(),o(5,"div",53),a(6),g(7,"number"),i()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Count," "),e(2),C(" ",m(7,3,t.SalesNet)," ")}}function sr(n,l){if(n&1&&(o(0,"div",20),_(1,"div",5),o(2,"h2",45),a(3,"Sales Type"),i(),o(4,"div",40)(5,"div",51),a(6,"Type"),i(),o(7,"div",52),a(8,"Qty"),i(),o(9,"div",53),a(10,"Amount"),i()(),d(11,Pr,8,5,"div",39),o(12,"div",22)(13,"div",23),a(14,"Total"),i(),o(15,"div",53),a(16),g(17,"sum"),g(18,"number"),i()()()),n&2){let t=c().ngIf;e(11),r("ngForOf",t==null||t.Data==null?null:t.Data.ListSalesType),e(5),C(" ",m(18,5,M(17,2,t==null||t.Data==null?null:t.Data.ListSalesType,"SalesNet"))," ")}}function Or(n,l){if(n&1&&(o(0,"div",1),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"span"),a(6),i()(),_(7,"div",5),o(8,"div",6)(9,"h2",7),a(10),i(),o(11,"i",8),a(12),i(),_(13,"div",9),g(14,"newlines"),d(15,Ua,2,1,"div",10),_(16,"div",9),g(17,"newlines"),i(),_(18,"div"),o(19,"div")(20,"div",11)(21,"div",12),a(22,"CASHIER"),i(),o(23,"div",12),a(24),i()(),o(25,"div",13)(26,"div",12),a(27,"REGISTER"),i(),o(28,"div",12),a(29),i()(),d(30,$a,5,1,"div",14),i(),_(31,"div",15),o(32,"div")(33,"div",16)(34,"div",12),a(35,"START TIME"),i(),o(36,"div",12),a(37,"END TIME"),i()(),o(38,"div",17)(39,"div",12)(40,"span",18),a(41),g(42,"date"),i()(),o(43,"div",12)(44,"span",18),a(45),g(46,"date"),i()()(),o(47,"div",19)(48,"div",12),a(49),g(50,"date"),i(),o(51,"div",12),a(52),g(53,"date"),i()()(),o(54,"div",20),_(55,"div",5),o(56,"h2",21),a(57,"Sales"),i(),o(58,"div",22)(59,"div",23),a(60,"New Sales"),i(),o(61,"div",24),a(62),g(63,"number"),i()(),o(64,"div",22)(65,"div",23),a(66,"Discount"),i(),o(67,"div",24),a(68),g(69,"number"),i()(),o(70,"div",22)(71,"div",23),a(72),i(),o(73,"div",24),a(74),g(75,"number"),i()(),d(76,Qa,6,5,"div",25)(77,Wa,6,5,"div",25),o(78,"div",22)(79,"div",23),a(80),i(),o(81,"div",24),a(82),g(83,"number"),i()(),o(84,"div",22)(85,"div",23),a(86),i(),o(87,"div",24),a(88),g(89,"number"),i()()(),d(90,Xa,12,7,"div",26),o(91,"div",20),_(92,"div",5),o(93,"h2",27),a(94,"Summary"),i(),o(95,"div",22)(96,"div",23),a(97,"Transaction"),i(),o(98,"div",24),a(99),i()(),o(100,"div",22)(101,"div",28),a(102,"Invoice"),i(),o(103,"div",29),a(104),i()(),o(105,"div",22)(106,"div",23),a(107,"Item Sold"),i(),o(108,"div",24),a(109),g(110,"number"),i()(),d(111,Za,6,3,"div",25),i(),d(112,Ka,12,7,"div",26)(113,er,23,13,"div",26),o(114,"div",20),_(115,"div",5),o(116,"h2",30),a(117,"Payment Method"),i(),d(118,ir,6,4,"div",31),o(119,"div",32)(120,"div",23),a(121,"Total"),i(),o(122,"div",24),a(123),g(124,"sum"),g(125,"number"),i()()(),d(126,or,16,6,"div",26)(127,ar,23,13,"div",26)(128,rr,16,6,"div",26)(129,cr,21,7,"div",26)(130,pr,28,13,"div",26)(131,gr,16,6,"div",26)(132,_r,19,7,"div",26)(133,mr,10,1,"div",33)(134,sr,19,7,"div",26),o(135,"div",34),_(136,"span",35),g(137,"newlines"),i(),o(138,"span",36),a(139),i()()()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,44,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(5),P(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.header==null?null:t.AppConfigJSON.PrintConfigClosure.header.RegisterClosure),e(4),C(" ",t==null||t.Template==null?null:t.Template.Title," "),e(2),C(" ",t==null||t.Template==null?null:t.Template.Field," "),e(),r("innerHTML",m(14,46,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode),e(),r("innerHTML",m(17,48,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(8),C(" ",t==null||t.Data==null?null:t.Data.Cashier," "),e(5),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Name," "),e(),r("ngIf",(t==null||t.Data==null||t.Data.Session==null||t.Data.Session.Note==null?null:t.Data.Session.Note.length)>0),e(11),P(M(42,50,t==null||t.Data==null?null:t.Data.StartTime,"HH:mm")),e(4),P(M(46,53,t==null||t.Data==null?null:t.Data.EndTime,"HH:mm")),e(4),C(" ",M(50,56,t==null||t.Data==null?null:t.Data.StartTime,"dd MMM")," "),e(3),C(" ",M(53,59,t==null||t.Data==null?null:t.Data.EndTime,"dd MMM")," "),e(10),C(" ",M(63,62,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.GrossSales,p.decimal)," "),e(6),C(" ",M(69,65,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Discount,p.decimal)," "),e(4),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",M(75,68,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount,p.decimal)," "),e(2),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible),e(3),C(" ",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigCore==null?null:t.AppConfigJSON.PrintConfigCore.SurchargePcg)||"Surcharge"," "),e(2),C(" ",m(83,71,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Surcharge)," "),e(4),C(" Sales + ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",m(89,73,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithoutTax)+(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount))," "),e(2),r("ngIf",(t==null||t.Data==null?null:t.Data.VariantSales.length)>0&&(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.ClosureVariant)),e(9),C(" ",t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Orders," "),e(5),C(" ",t==null||t.Data==null?null:t.Data.InvoiceRange," "),e(5),C(" ",m(110,75,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.ItemsQuantity)," "),e(2),r("ngIf",(t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)!=null),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.CategorySalesVisible),e(),r("ngIf",t==null||t.Data==null?null:t.Data.Balance),e(5),r("ngForOf",t==null||t.Data==null?null:t.Data.Payment),e(5),C(" ",m(125,80,M(124,77,t==null||t.Data==null?null:t.Data.Payment,"Received"))," "),e(3),r("ngIf",(t==null||t.Data==null?null:t.Data.InvoiceAR.Count)>0),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.ProductsWithCommission),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.ReturnTotal)<0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.TotalVoid)>0&&(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.VoidInvoice)),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.HistoryVisible),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null?null:t.AppConfigJSON.PrintConfigClosure.Visibility.PointUsed),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.Denominations.length)>0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.Expenses.length)>0),e(),r("ngIf",(t==null||t.Data==null?null:t.Data.ListSalesType.length)>0),e(2),r("innerHTML",m(137,82,t==null||t.Template==null?null:t.Template.EodFooter),s),e(3),P(t==null||t.Data==null?null:t.Data.PrintDate)}}var on=class n{constructor(l,t,p){this.activatedRoute=l;this.httpService=t;this.title=p}decimal="";data$;ngOnInit(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.ClouserReceipt,l)),F(l=>(this.title.setTitle(l.Title),l.Data.Denominations=this.filterDenomination(l),this.initDecimal(l.AppConfigJSON),l)),B(1))}initDecimal(l){let t=l.PrintConfigGeneral.TrailingZero;t!=0?this.decimal="1."+t+"-"+t:this.decimal="0.0-0"}filterDenomination(l){let t=l.Data?.Denominations;return t&&(t=t.filter(p=>!(p.Quantity==0&&p.Total==0))),t}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-register-closure"]],standalone:!1,decls:2,vars:3,consts:[["class","print_container",4,"ngIf"],[1,"print_container"],["rel","stylesheet","type","text/css"],[1,"closure_print_container","container-fluid"],[1,"header"],[1,"dotted"],[1,"text-center","my-2"],[1,"m-0","fw-bold"],[1,"d-block"],[1,"mt-2",3,"innerHTML"],[4,"ngIf"],[1,"row","text-center","g-0","mt-2","mb-1"],[1,"col-6"],[1,"row","text-center","g-0","mb-1"],["class","row text-center g-0 mb-1",4,"ngIf"],[1,"sep","mt-2"],[1,"row","text-center","g-0","mt-2"],[1,"row","text-center","g-0","my-2"],[1,"time"],[1,"row","text-center","g-0"],[1,"pane","my-5"],[1,"mx-auto","text-center","col-4"],[1,"row","g-0"],[1,"col-6","text-start"],[1,"col-6","text-end"],["class","row g-0",4,"ngIf"],["class","pane my-5",4,"ngIf"],[1,"mx-auto","text-center","col-5"],[1,"col-5","text-start","d-flex","align-items-center"],[1,"col-7","text-end"],[1,"mx-auto","text-center","col-8"],["class","row g-0",4,"ngFor","ngForOf"],[1,"row","g-0","fw-bold","text-center"],["class","pane my-3",4,"ngIf"],[1,"footPrint"],["id","eodfooter",1,"ps-0",3,"innerHTML"],[1,"printDate","fw-bold"],[1,"mx-auto","text-center","col-7"],[1,"col-4"],["class","row g-0 text-center",4,"ngFor","ngForOf"],[1,"row","g-0","text-center"],["class","col-4",4,"ngIf"],["class","col-4 offset-4",3,"ngClass",4,"ngIf"],[1,"col-4","offset-4",3,"ngClass"],[1,"mx-auto","text-center","col-10"],[1,"mx-auto","text-center","col-6"],[1,"row","g-0","fw-bold"],[1,"col-8","text-start"],[1,"col-4","text-center"],[1,"pane","my-3"],[1,"mx-auto","text-center",2,"width","80px"],[1,"col-4","text-start"],[1,"col-2"],[1,"col-4","text-end"]],template:function(t,p){t&1&&(d(0,Or,140,84,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,st,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{margin:0;padding:0;text-align:center;font-family:Arial;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:238px;text-align:left}div.header[_ngcontent-%COMP%]{text-align:center;margin:10px 0 0}.preline.center[_ngcontent-%COMP%]{text-align:center;white-space:pre-line;word-break:break-word}.preline.left[_ngcontent-%COMP%]{text-align:left;white-space:pre-line;word-break:break-word}div.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:700;letter-spacing:10px}div.headerOutlet[_ngcontent-%COMP%]{text-align:center}h1[_ngcontent-%COMP%]{font-size:20px!important}div.headerOutlet[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{border:none!important;font-size:35px!important;font-weight:400;margin:0;padding:0}table.cashier[_ngcontent-%COMP%]{width:225px!important;margin-left:10px}table.cashier[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:25px}table.start[_ngcontent-%COMP%]{float:left;width:49%}table.end[_ngcontent-%COMP%]{float:right;width:49%}table.start[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:10px}table.start[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%]{height:45px}table.start[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.start[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center}table[_ngcontent-%COMP%] tr.footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:700}span.time[_ngcontent-%COMP%]{border:1px dotted Black;font-size:18px;font-weight:700;padding:3px 15px;background-color:#ffffbf}div.pane[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Roboto Slab,serif;font-size:12px;margin-top:-9px}.fontsize-12[_ngcontent-%COMP%]{font-size:12px}table.plain[_ngcontent-%COMP%]{width:100%}th.number[_ngcontent-%COMP%], td.number[_ngcontent-%COMP%]{text-align:right!important}span.printDate[_ngcontent-%COMP%]{text-align:center;display:block}div.dotted[_ngcontent-%COMP%]{border-bottom:1px dotted Black;margin:0}div.sep[_ngcontent-%COMP%]{border-bottom:1px solid Black;margin:0;padding:0}div.footPrint[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{padding-left:15px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:12px;padding:5px 8px}']})};var ur=(n,l)=>({"col-8":n,col:l}),Mr=n=>({width:n});function fr(n,l){if(n&1&&_(0,"img",24),n&2){let t=c(2).ngIf;ct(et(3,Mr,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function xr(n,l){if(n&1&&(x(0),d(1,fr,1,5,"img",23),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function vr(n,l){if(n&1&&_(0,"img",24),n&2){let t=c(2).ngIf;r("src",t==null?null:t.Template.Logo,J)}}function br(n,l){if(n&1&&d(0,vr,1,1,"img",25),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function hr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),i()(),o(6,"tr",28)(7,"td"),a(8),i(),o(9,"td",29),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function yr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),i()(),o(6,"tr",28)(7,"td"),a(8),i(),o(9,"td",29),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function Sr(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3),_(4,"POS-print-mode",4),o(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,xr,2,1,"ng-container",10)(11,br,1,1,"ng-template",null,0,Y),i(),o(13,"div",11)(14,"h2"),a(15),i(),o(16,"small"),a(17),i(),o(18,"div",12),a(19),i()()()(),o(20,"div",13)(21,"h1")(22,"strong"),a(23,"JOB ORDER #"),i(),o(24,"span",14),a(25),i()()()(),o(26,"h1",15),a(27),i(),o(28,"span",16),a(29,"Output Item(s)"),i(),o(30,"table",17)(31,"thead")(32,"tr",6)(33,"th"),a(34,"Name"),i(),o(35,"th",18),a(36,"Qty"),i()()(),d(37,hr,11,4,"tbody",19),i(),o(38,"span",16),a(39,"Material Item(s)"),i(),o(40,"table",17)(41,"thead")(42,"tr",6)(43,"th"),a(44,"Name"),i(),o(45,"th",18),a(46,"Qty"),i()()(),d(47,yr,11,4,"tbody",19),i(),o(48,"p",20),a(49),i(),o(50,"small",21),a(51),g(52,"date"),i(),o(53,"small",22),a(54),i()()(),v()),n&2){let t=l.ngIf,p=Z(12),O=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,15,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(3),r("paperPrints",O.paperPrintMode),e(6),r("ngIf",(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)>0)("ngIfElse",p),e(3),r("ngClass",it(20,ur,t==null?null:t.Template.Title,!(t!=null&&t.Template.Title))),e(2),P(t==null?null:t.Template.Title),e(2),P(t==null?null:t.Template.Field),e(2),C(" ",t==null?null:t.Template.Address," "),e(6),P(t==null?null:t.Title),e(2),P(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Name),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Header),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Material),e(2),P(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Note),e(2),P(M(52,17,t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),P(t==null||t.Data==null?null:t.Data.User.Name)}}var ln=class n{constructor(l,t,p){this.activeRoute=l;this.httpService=t;this.title=p}paperPrintMode=[];data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.JobOrderInvoice,t))),E(t=>{this.title.setTitle(`Job Order #${t.Title}`),this.initPaperModeConfig(l)}),B(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"8cm",link:"/print/JobOrderMini",param:l},{label:"A4",link:"/print/JobOrder",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-job-order"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"header"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row"],[1,"col-auto","shop-logo"],[4,"ngIf","ngIfElse"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[1,"contact_info","clearfix"],[1,"col","p-0","m-0","header_right"],["id","lblInvoiceNumber"],[1,"jobOrderHeader"],[1,"titleJB"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"address","topHolder"],["id","lblCreated",1,"timestamp"],["id","lblCreator",1,"creator"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,p){t&1&&(d(0,Sr,55,23,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,Ct,w,V,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Ir(n,l){if(n&1&&(o(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),i()(),o(6,"tr",19)(7,"td"),a(8),i(),o(9,"td",20),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function wr(n,l){if(n&1&&(o(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),i()(),o(6,"tr",19)(7,"td"),a(8),i(),o(9,"td",20),a(10),i()()()),n&2){let t=l.$implicit;e(3),P(t.Name),e(2),P(t.Note),e(3),P(t.Code),e(2),P(t.Quantity)}}function Dr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2),_(4,"POS-print-mode",3),o(5,"div",4)(6,"h1",5),a(7),i(),o(8,"p",6),a(9),i(),o(10,"h2",7),a(11),i(),o(12,"span",8),a(13,"Output Item(s)"),i(),o(14,"table",9)(15,"thead")(16,"tr",10)(17,"th"),a(18,"Name"),i(),o(19,"th",11),a(20,"Qty"),i()()(),d(21,Ir,11,4,"tbody",12),i(),o(22,"span",13),a(23,"Material Item(s)"),i(),o(24,"table",9)(25,"thead")(26,"tr",10)(27,"th"),a(28,"Name"),i(),o(29,"th",11),a(30,"Qty"),i()()(),d(31,wr,11,4,"tbody",12),i(),o(32,"p",14),a(33),i(),o(34,"small",15),a(35),g(36,"date"),i(),o(37,"small",16),a(38),i()()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,10,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("paperPrints",p.paperPrintMode),e(3),P(t==null||t.Template==null?null:t.Template.Title),e(2),P(t==null||t.Data==null?null:t.Data.JobOrder.Name),e(2),P(t==null?null:t.Title),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Header),e(10),r("ngForOf",t==null||t.Data==null?null:t.Data.Material),e(2),P(t==null||t.Data==null?null:t.Data.JobOrder.Note),e(2),P(M(36,12,t==null||t.Data==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),P(t==null||t.Data==null?null:t.Data.User.Name)}}var an=class n{constructor(l,t,p){this.activeRoute=l;this.httpService=t;this.title=p}paperPrintMode=[];data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.initPaperModeConfig(l),this.httpService.post(I.JobOrderMiniInvoice,l))),E(l=>{this.title.setTitle(l.Title)}),B(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"A4",link:"/print/JobOrder",param:l},{label:"8cm",link:"/print/JobOrderMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-job-order-mini"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"invoiceHeader"],[1,"address"],["id","InvoiceNumber"],[1,"title"],[1,"plain","w-100"],[1,"header"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"title","topHolder"],[1,"address","topHolder"],[1,"timestamp",2,"font-size","9px"],[1,"creator",2,"font-size","9px"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,p){t&1&&(d(0,Dr,39,15,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,w,V,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Tr(n,l){if(n&1&&(_(0,"img",33),g(1,"images")),n&2){let t=c(2).ngIf;r("src",m(1,1,t.Template==null?null:t.Template.Logo),J)}}function kr(n,l){if(n&1&&(o(0,"div",26),d(1,Tr,2,3,"img",27),o(2,"div",28),_(3,"h2",29)(4,"small",29),o(5,"div",30),_(6,"div",31),g(7,"newlines"),_(8,"div",32),g(9,"newlines"),i()()()),n&2){let t=c().ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo),e(2),r("innerHTML",t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(7,5,t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(9,7,t.Template==null?null:t.Template.ContactInfo),s)}}function Er(n,l){if(n&1&&_(0,"strong",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Name,s)}}function Ar(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Nr(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Phone,s)}}function Hr(n,l){if(n&1&&(_(0,"div",29),g(1,"newlines")),n&2){let t=c(2).ngIf;r("innerHTML",m(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Rr(n,l){if(n&1&&_(0,"div",29),n&2){let t=c(2).ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.CityName,s)}}function zr(n,l){if(n&1&&(o(0,"div",34),_(1,"h3",29),o(2,"div",35),d(3,Er,1,1,"strong",36),o(4,"div",37),d(5,Ar,1,1,"div",36)(6,Nr,1,1,"div",36)(7,Hr,2,3,"div",36)(8,Rr,1,1,"div",36),i()()()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,s),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Br(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function Lr(n,l){n&1&&(o(0,"th"),a(1," Top "),i())}function Jr(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().ngIf;e(),C(" ",M(2,1,t.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Vr(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.Top," ")}}function Fr(n,l){n&1&&(o(0,"th",16),a(1,"Disc"),i())}function jr(n,l){if(n&1&&(o(0,"div",41),a(1),i()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Ur(n,l){if(n&1&&(o(0,"div",41),a(1),g(2,"number"),i()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.DiscountAmount)," ")}}function $r(n,l){if(n&1&&(o(0,"td"),d(1,jr,2,1,"div",41)(2,Ur,3,3,"div",41),i()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Qr(n,l){if(n&1&&(o(0,"tr"),_(1,"td",38)(2,"td",29)(3,"td",29)(4,"td",38),g(5,"quantityFraction"),_(6,"td",29),o(7,"td",39),a(8),g(9,"number"),i(),d(10,$r,3,2,"td"),_(11,"td",40),g(12,"amountFraction"),i()),n&2){let t=l.$implicit,p=l.index,O=c(2);e(),r("innerHTML",p+1,s),e(),r("innerHTML",t.Name,s),e(),r("innerHTML",t.Code,s),e(),r("innerHTML",m(5,8,t.Quantity),s),e(2),r("innerHTML",t.UOMName,s),e(2),P(m(9,10,t.UnitPrice)),e(2),f(O.isDiscVisible()?10:-1),e(),r("innerHTML",m(12,12,t.Total),s)}}function Wr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",42),a(6),i(),o(7,"td",43),a(8),g(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",m(9,3,t.Amount)," ")}}function Gr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Wordify"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",45),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.totalInWords),s)}}function Xr(n,l){if(n&1&&(o(0,"tr"),_(1,"th",29),o(2,"td",44),a(3,":"),i(),_(4,"td",45),g(5,"date"),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null?null:t.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,s),e(3),r("innerHTML",M(5,2,t.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),s)}}function Zr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",46),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.Data.Note),s)}}function qr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td",44),a(4,":"),i(),_(5,"td",45),i()),n&2){let t=c().ngIf;e(5),r("innerHTML",t==null||t.Data==null||t.Data.Data==null?null:t.Data.Data.StateLabel,s)}}function Kr(n,l){if(n&1&&(o(0,"div",53),_(1,"h5",29),o(2,"div",49),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy,s)}}function Yr(n,l){if(n&1&&(o(0,"div",54),_(1,"h5",29),o(2,"div",49),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function tc(n,l){if(n&1&&(o(0,"div",47)(1,"div",48),_(2,"h5",29),o(3,"div",49),a(4,"\xA0"),i()(),d(5,Kr,4,1,"div",50)(6,Yr,4,1,"div",51),o(7,"div",52),_(8,"h5",29)(9,"div",49),i()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy,s),e(3),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(2),r("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy,s)}}function nc(n,l){if(n&1&&(o(0,"small",55),a(1," Print by: "),o(2,"small"),a(3),i(),a(4),g(5,"date"),i()),n&2){let t=c().ngIf;e(3),P(t.Template==null?null:t.Template.DisplayName),e(),C(" ",M(5,2,t.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function ec(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div")(5,"div",3),d(6,kr,10,9,"div",4)(7,zr,9,6,"div",5),i(),o(8,"div",6)(9,"div",7)(10,"div",8)(11,"h1")(12,"strong"),a(13),i(),o(14,"span"),a(15),i()(),o(16,"table")(17,"thead")(18,"tr")(19,"th"),a(20,"Date"),i(),d(21,Br,2,0,"th",0),g(22,"IsMinDate"),d(23,Lr,2,0,"th",0),g(24,"IsMinDate"),i()(),o(25,"tbody")(26,"tr")(27,"td"),a(28),g(29,"date"),i(),d(30,Jr,3,4,"td",0),g(31,"IsMinDate"),d(32,Vr,2,1,"td",0),g(33,"IsMinDate"),i()()()()()()(),o(34,"div",9)(35,"table",10)(36,"thead")(37,"tr")(38,"th",11),a(39,"No"),i(),o(40,"th"),a(41,"Name"),i(),o(42,"th",12),a(43,"Code"),i(),o(44,"th",13),a(45,"Qty"),i(),o(46,"th",14),a(47,"UOM"),i(),o(48,"th",15),a(49),i(),d(50,Fr,2,0,"th",16),o(51,"th",15),a(52),i()()(),o(53,"tbody"),d(54,Qr,13,14,"tr",17),i(),o(55,"tfoot")(56,"tr",18)(57,"td",19)(58,"b"),a(59,"Total"),i()(),o(60,"td",20),a(61),g(62,"sum"),g(63,"quantityFraction"),i(),o(64,"td",20),a(65),i(),o(66,"td",21)(67,"table",22)(68,"tbody"),d(69,Wr,10,5,"tr",17),i()()()()()()(),o(70,"table",23),d(71,Gr,7,3,"tr",0)(72,Xr,6,5,"tr",0),g(73,"IsMinDate"),d(74,Zr,7,3,"tr")(75,qr,6,1,"tr"),i(),o(76,"div"),d(77,tc,10,4,"div",24),i(),d(78,nc,6,5,"small",25),i(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,27,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(3),ht("",t.Template==null?null:t.Template.CssClass," header"),e(2),r("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.Data.Contact),e(6),P(t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),P(t.Data.Data.Number),e(6),r("ngIf",m(22,29,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(24,31,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(5),C(" ",M(29,33,t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",m(31,36,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(33,38,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(17),C(" Price (",t.Data.CurrencySymbol,") "),e(),f(p.isDiscVisible()?50:-1),e(2),C(" Total (",t.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Data.Item),e(3),r("colSpan",3),e(4),C(" ",m(63,43,M(62,40,t.Data.Item,"Quantity"))," "),e(4),C(" ",t.Data.Item.UOMName," "),e(4),r("ngForOf",t.Data.Aggregate),e(2),r("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible),e(),r("ngIf",m(73,45,t.Data.Invoice.CustomDateField)!="-"),e(2),f(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.Note&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)?74:-1),e(),f(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.StateLabel&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible)?75:-1),e(2),r("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var rn=class n{constructor(l,t,p){this.httpService=l;this.route=t;this.title=p}isDiscVisible=_t(!0);data$;ngOnInit(){let l=this.route.snapshot.queryParams;this.data$=this.route.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>this.httpService.post(I.SupplierPoReceipt,t)),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),l.Print==1&&setTimeout(()=>window.print(),500)}))}initDiscVisible(l){let p=(l.Item?l.Item:[]).some(O=>O.Discount>0||O.DiscountAmount>0);this.isDiscVisible.set(p)}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-po"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container","supplierpo"],[1,"header_left"],["class","company",4,"ngIf"],["class","contact d-flex align-items-center","style","overflow-x: hidden",4,"ngIf"],[1,"header_right"],[1,"invoice_number"],[1,"mt-4"],[1,"cartItems"],[1,"plain","w-100"],[1,"text-center",2,"width","20px"],[2,"width","100px"],[1,"number","text-end",2,"width","30px"],[1,"UOMWidth",2,"width","40px"],[1,"number","text-end",2,"width","100px"],[1,"number",2,"width","80px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],[1,"empty-column","align-top","text-end",3,"colSpan"],[1,"empty-column","align-top","text-center"],["colspan","3",1,"number","noTopPad","text-end"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"info",2,"max-width","50%"],["class","signature",4,"ngIf"],["class","printed",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"float",3,"src"],[1,"contact","d-flex","align-items-center",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"text-center",3,"innerHTML"],[1,"text-end"],[1,"text-end",3,"innerHTML"],[1,"text-end","text-danger"],[1,"currency"],[2,"width","50px"],[2,"width","5px"],[1,"val",3,"innerHTML"],[1,"val",2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"signature"],["Class","left"],[1,"name"],["Class","left leftSmall",4,"ngIf"],["Class","left rightSmall",4,"ngIf"],[1,"right"],["Class","left leftSmall"],["Class","left rightSmall"],[1,"printed"]],template:function(t,p){t&1&&(d(0,ec,79,47,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,K,j,Jt,Pt,Rt,zt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function ic(n,l){if(n&1&&(_(0,"img",32),g(1,"images")),n&2){let t=c(2).ngIf;Tn("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function oc(n,l){if(n&1&&(o(0,"div",26),d(1,ic,2,3,"img",27),o(2,"div",28),_(3,"h2",29)(4,"small",29),o(5,"div",30)(6,"div",31),_(7,"span",29),i(),o(8,"div",16),_(9,"span",29),g(10,"newlines"),i()()()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(2),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(3),r("innerHTML",t==null||t.Template==null?null:t.Template.Address,s),e(2),r("innerHTML",m(10,5,t==null||t.Template==null?null:t.Template.ContactInfo),s)}}function lc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function ac(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function rc(n,l){if(n&1&&(o(0,"div",33)(1,"h3"),_(2,"span",29),i(),o(3,"div",34)(4,"strong"),a(5),i(),o(6,"div",35),d(7,lc,3,1,"div",0)(8,ac,3,1,"div",0),o(9,"div",36),_(10,"span",29),i(),o(11,"div")(12,"span"),a(13),i()()()()()),n&2){let t=c().ngIf;e(2),r("innerHTML",(t==null||t.Data==null?null:t.Data.Prefixed)==="Outlet Delivery"?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer:t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,s),e(3),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(2),r("innerHTML",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address,s),e(3),P(t==null?null:t.City)}}function cc(n,l){n&1&&(o(0,"th"),a(1,"Code"),i())}function pc(n,l){n&1&&(o(0,"th",37),a(1," Cost "),i())}function gc(n,l){if(n&1&&(o(0,"th",37),a(1," Price"),_(2,"br"),a(3),i()),n&2){let t=c().ngIf;e(3),C("(",t==null||t.Data==null?null:t.Data.currencySymbol,") ")}}function dc(n,l){if(n&1&&(o(0,"div"),_(1,"small",29),i()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note,s)}}function _c(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.Code)}}function Cc(n,l){if(n&1&&(o(0,"th",42),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitCost)," ")}}function mc(n,l){if(n&1&&(_(0,"th",43),g(1,"number")),n&2){let t=c().$implicit;r("innerHTML",m(1,1,t.UnitPrice),s)}}function Pc(n,l){if(n&1&&(o(0,"tr")(1,"td")(2,"div"),a(3),i(),_(4,"app-serial-note",38),d(5,dc,2,1,"div",0),i(),d(6,_c,2,1,"td"),_(7,"td",39),g(8,"number"),d(9,Cc,3,3,"th",40)(10,mc,2,3,"th",41),i()),n&2){let t=l.$implicit,p=c().ngIf;e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note),e(),f(!(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null||p.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&p.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?6:-1),e(),r("innerHTML",M(8,7,t.Quantity,"1.0-2"),s),e(2),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null?null:p.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(p==null?null:p.DataCostVisible)),e(),r("ngIf",(p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigDelivery==null?null:p.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(p==null||p.Data==null?null:p.Data.PriceVisible))}}function sc(n,l){if(n&1&&(o(0,"div",44),_(1,"div",45),i()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}function Oc(n,l){if(n&1&&(_(0,"span",46),g(1,"date")),n&2){let t=c().ngIf;r("innerHTML",M(1,1,t==null||t.Data==null?null:t.Data.Date,"dd MMM yyyy"),s)}}function uc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2),_(4,"POS-print-mode",3),o(5,"div",4)(6,"div",5)(7,"div",6),d(8,oc,11,7,"div",7)(9,rc,14,6,"div",8),i(),o(10,"div",9)(11,"h1")(12,"strong",10),a(13),i(),o(14,"span"),a(15),i()()()(),o(16,"section",11)(17,"div")(18,"span",12),a(19,"To"),i(),a(20),i(),o(21,"div"),a(22),i(),o(23,"div")(24,"span",12),a(25,"Courier"),i(),a(26),i()(),o(27,"section",13)(28,"div",14)(29,"table",15)(30,"thead")(31,"tr")(32,"th"),a(33,"Name"),i(),d(34,cc,2,0,"th"),o(35,"th",16),a(36,"Qty"),i(),d(37,pc,2,0,"th",17)(38,gc,4,1,"th",17),i()(),o(39,"tbody"),d(40,Pc,11,10,"tr",18),i(),o(41,"tfoot")(42,"tr")(43,"td"),a(44,"Total"),i(),o(45,"td",19),a(46),g(47,"sum"),i()(),o(48,"tr")(49,"td",20),a(50," Note : "),_(51,"span",21),i()()()()()(),o(52,"div",22),d(53,sc,2,1,"div",23),i(),o(54,"div",24),d(55,Oc,2,4,"span",25),i()()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(2,17,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(3),r("paperPrints",p.paperPrintMode),e(4),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name)&&!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(4),P(t==null||t.Data==null?null:t.Data.Prefixed),e(2),C(" ",t==null||t.Data==null?null:t.Data.ItemTransfer.Number," "),e(5),C(": ",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name," "),e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),e(4),C(": ",t==null||t.Data==null?null:t.Data.ItemTransfer.Courier," "),e(8),f(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null||t.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&t.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?34:-1),e(3),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(t==null?null:t.DataCostVisible)),e(),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible)&&(t==null||t.Data==null?null:t.Data.PriceVisible)),e(2),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(6),C(" ",M(47,19,t==null||t.Data==null?null:t.Data.Items,"Quantity")," "),e(5),r("innerHTML",t==null||t.Data==null?null:t.Data.ItemTransfer.Note,s),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var cn=class n{constructor(l,t,p){this.activatedRoute=l;this.httpService=t;this.title=p}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activatedRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.TransferOrderReceipt,t))),E(t=>{this.title.setTitle(t.Title),this.initPrintOption(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-transfer-mini"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"supplierinvoice_print_container"],[1,"header","clearfix",2,"max-width","230px"],[1,"header_left",2,"max-width","230px"],["class","company",4,"ngIf"],["class","contact","style","max-width: 230px",4,"ngIf"],[1,"header_right"],[1,"mr-0"],[1,"destination-courier",2,"padding-left","5px"],[1,"fw-bold"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number"],["style","width: 40px",4,"ngIf"],[4,"ngFor","ngForOf"],["colspan","3",1,"text-end"],["colspan","6"],[2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"sign","clearfix"],["class","note",4,"ngIf"],[1,"divDate"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address"],[1,"float",3,"src"],[1,"contact",2,"max-width","230px"],[1,"box",2,"max-width","210px"],[1,"customer_info"],[2,"max-width","205px"],[2,"width","40px"],[3,"serials"],[1,"number",3,"innerHTML"],["class","text-end",4,"ngIf"],["class","text-end","style","width: 40px",3,"innerHTML",4,"ngIf"],[1,"text-end"],[1,"text-end",2,"width","40px",3,"innerHTML"],[1,"note"],[1,"left",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,p){t&1&&(d(0,uc,56,22,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,Ct,dt,w,R,V,K,j,Pt,z],styles:['div.contact[_ngcontent-%COMP%]{display:none}div.number[_ngcontent-%COMP%]{float:right;margin-left:0!important;margin-right:0!important;text-align:center!important;width:100%!important}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;width:60px;float:left}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:80px;margin-left:5px;text-align:left}div.header_right[_ngcontent-%COMP%]{text-align:center!important}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Mc(n,l){if(n&1&&(_(0,"img",26),g(1,"images")),n&2){let t=c().ngIf;r("src",m(1,1,t==null?null:t.Template.Logo),J)}}function fc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function xc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function vc(n,l){if(n&1&&(o(0,"div",27)(1,"div",28)(2,"strong"),a(3),i(),o(4,"div",29),d(5,fc,3,1,"div",0)(6,xc,3,1,"div",0),o(7,"div"),_(8,"span",8),g(9,"newlines"),i(),o(10,"div")(11,"span"),a(12),i()()()()()),n&2){let t=c().ngIf,p=c();e(3),P(t==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(t!=null&&t.Data.IsTransfer)),e(),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(9,5,t==null?null:t.Data.Contact.Address),s),e(4),P(t==null?null:t.Data.City)}}function bc(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),g(3,"date"),i(),o(4,"td"),a(5),g(6,"date"),i(),o(7,"td"),a(8),i(),o(9,"td",21),a(10),g(11,"number"),i()()),n&2){let t=l.$implicit;e(2),P(M(3,4,t.Data.Date,"dd MMM yyyy")),e(3),P(M(6,7,t.Data.Due,"dd MMM")),e(3),P(t.Number),e(2),C(" ",m(11,10,t.RemainingPaymentBaseCurrency)," ")}}function hc(n,l){if(n&1&&(o(0,"td",32),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function yc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",8),o(2,"td",30),a(3,":"),i(),d(4,hc,2,1,"td",31),i()),n&2){let t=c().ngIf,p=c();e(),r("innerHTML",p.appConfig!=null&&p.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t==null?null:t.Data.TotalInWords)}}function Sc(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",30),a(4,":"),i(),o(5,"td")(6,"ul",33)(7,"li"),_(8,"span",34),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Ic(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function wc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function Dc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function Tc(n,l){if(n&1&&(o(0,"div",38),_(1,"h5",39),o(2,"div",40),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function kc(n,l){if(n&1&&(o(0,"div",35)(1,"div",36),d(2,Ic,4,1,"div",37)(3,wc,4,1,"div",37)(4,Dc,4,1,"div",37)(5,Tc,4,1,"div",37),i()()),n&2){let t=c(2);e(2),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3),e(),r("ngIf",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4)}}function Ec(n,l){if(n&1&&(o(0,"div",44),_(1,"span",8),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t!=null&&t.Template.FooterLeft?t==null?null:t.Template.FooterLeft:""),s)}}function Ac(n,l){if(n&1&&(o(0,"div",41),d(1,Ec,3,3,"div",42),o(2,"div",43),_(3,"span",8),g(4,"SafeHtml"),i()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.FooterRight),e(2),r("innerHTML",m(4,2,t!=null&&t.Template.FooterRight?t==null?null:t.Template.FooterRight:""),s)}}function Nc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Mc,2,3,"img",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),i()()(),d(16,vc,13,7,"div",12),i(),o(17,"div",13)(18,"h1")(19,"strong"),a(20),i(),o(21,"span"),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),i()()()()()()(),o(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),i(),o(41,"th",17),a(42,"Due"),i(),o(43,"th"),a(44,"Number"),i(),o(45,"th",18),a(46,"Total"),i()()(),o(47,"tbody"),d(48,bc,12,12,"tr",19),i(),o(49,"tfoot")(50,"tr")(51,"td",20),a(52),i(),o(53,"td",21),a(54),g(55,"sum"),g(56,"number"),i()()()()()(),o(57,"table",22),d(58,yc,5,2,"tr",0)(59,Sc,9,1,"tr",0),i(),o(60,"div")(61,"div",23),d(62,kc,6,4,"div",24),i(),d(63,Ac,5,4,"div",25),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,18,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngClass",p.printMode()||""),e(4),r("ngIf",t==null?null:t.Template.Logo),e(2),r("innerHTML",t==null?null:t.Template.Title,s),e(),r("innerHTML",t==null?null:t.Template.Field,s),e(2),r("innerHTML",m(13,20,t.Template.Address),s),e(2),r("innerHTML",m(15,22,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t==null?null:t.Data.Prefixed),e(2),C(" ",t==null?null:t.Data.Invoice.Number," "),e(10),P(M(33,24,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(16),r("ngForOf",t==null?null:t.Data.Items),e(4),C(" ",(t==null?null:t.Data.Items.length)>1?t==null?null:t.Data.Items.length:""," Invoice, Total: "),e(2),C(" ",m(56,30,M(55,27,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null?null:t.Data.TotalInWords)),e(),r("ngIf",t==null?null:t.Data.Invoice.Note),e(3),r("ngIf",(p.appConfig==null||p.appConfig.PrintConfigGeneral==null||p.appConfig.PrintConfigGeneral.Visibility==null?null:p.appConfig.PrintConfigGeneral.Visibility.Visible)&&((p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column1)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column2)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column3)||(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.Signature==null?null:p.appConfig.PrintConfigDebt.Signature.Column4))),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var pn=class n{constructor(l,t,p){this.httpService=l;this.activeRoute=t;this.title=p}data$;printMode=_t(null);appConfig;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.printMode.set(l.Mode),this.httpService.post(I.BulkSupplierInvoice,l))),E(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h),u(A))};static \u0275cmp=b({type:n,selectors:[["POS-bulk-supplier-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact border-0 px-0","style","overflow: visible !important",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","50px"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],["colspan","3",1,"number"],[1,"number"],[1,"info"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact","border-0","px-0",2,"overflow","visible !important"],[1,"box",2,"border","solid 1px #9e9e9e !important"],[1,"customer_info"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,p){t&1&&(d(0,Nc,64,32,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,Ot,Pt,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Hc(n,l){if(n&1&&(_(0,"img",30),g(1,"images")),n&2){let t=c().ngIf;r("src",m(1,1,t==null?null:t.Template.Logo),J)}}function Rc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function zc(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function Bc(n,l){if(n&1&&(o(0,"div",31)(1,"h3"),_(2,"span",8),i(),o(3,"div",32)(4,"strong"),a(5),i(),o(6,"div",33),d(7,Rc,3,1,"div",0)(8,zc,3,1,"div",0),o(9,"div"),_(10,"span",8),g(11,"newlines"),i(),o(12,"div")(13,"span"),a(14),i()()()()()),n&2){let t=c().ngIf,p=c();e(2),r("innerHTML",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentLabel.Customer,s),e(3),P(t==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(t!=null&&t.Data.IsTransfer)),e(),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",m(11,6,t==null?null:t.Data.Contact.Address),s),e(4),P(t==null?null:t.Data.City)}}function Lc(n,l){n&1&&(o(0,"th",17),a(1,"Due"),i())}function Jc(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"date"),i()),n&2){let t=c().$implicit;e(),P(M(2,1,t.Due,"dd MMM"))}}function Vc(n,l){if(n&1&&(o(0,"span",38),a(1,"x"),i(),o(2,"span"),a(3),g(4,"number"),i()),n&2){let t=c().$implicit;e(3),P(m(4,1,t.Quantity))}}function Fc(n,l){if(n&1&&(o(0,"p",35)(1,"span"),a(2),i(),o(3,"span",36),a(4),i(),d(5,Vc,5,3),o(6,"span",37),a(7),i(),o(8,"span"),a(9),g(10,"number"),i()()),n&2){let t=l.$implicit,p=l.$index;e(2),C("",p+1,"."),e(2),P(t.Name),e(),f(t.Quantity>1?5:-1),e(2),P("@"),e(2),P(m(10,5,t.Total))}}function jc(n,l){if(n&1&&Nt(0,Fc,11,7,"p",35,At),n&2){let t=c().$implicit;Ht(t.Items)}}function Uc(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),g(3,"date"),i(),d(4,Jc,3,4,"td"),o(5,"td",18)(6,"h5"),a(7),i(),d(8,jc,2,0),i(),o(9,"td",34),a(10),g(11,"number"),i()()),n&2){let t=l.$implicit,p=c(2);e(2),P(M(3,5,t.Date,"dd MMM yyyy")),e(2),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?4:-1),e(3),P(t.Number),e(),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.InvoiceDetailVisible?8:-1),e(2),C(" ",m(11,8,t.RemainingPaymentBaseCurrency)," ")}}function $c(n,l){if(n&1&&(o(0,"td",41),a(1),i()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function Qc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",8),o(2,"td",39),a(3,":"),i(),d(4,$c,2,1,"td",40),i()),n&2){let t=c().ngIf,p=c();e(),r("innerHTML",p.appConfig!=null&&p.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",s),e(3),r("ngIf",t==null?null:t.Data.TotalInWords)}}function Wc(n,l){if(n&1&&(o(0,"tr")(1,"th",42),a(2),i(),o(3,"td",42),a(4,":"),i(),o(5,"td",42),a(6),g(7,"number"),i()()),n&2){let t=c().ngIf,p=c();e(2),C(" ",p.appConfig.PrintConfigDebt.FooterLabel.RemainingLabel," "),e(4),P(m(7,2,t==null?null:t.Data.Remaining))}}function Gc(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().$implicit,p=c(3);e(),C(" ",(p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode)==3?"- ***"+mt(2,1,t.Code,4,t.Code.length-4):"- "+t.Code," ")}}function Xc(n,l){if(n&1&&_(0,"span",45),n&2){let t=c().$implicit;r("innerHTML",t.Note?t.Note+" - ":"",s)}}function Zc(n,l){if(n&1&&(o(0,"span")(1,"span",8),g(2,"date"),a(3),g(4,"date"),i(),o(5,"span"),a(6),i(),d(7,Gc,3,5,"span",0)(8,Xc,1,1,"span",44),o(9,"span"),a(10),g(11,"number"),i(),_(12,"br"),i()),n&2){let t=l.$implicit,p=c(3);e(),r("innerHTML",M(2,6,t.Date,"dd MMM yy")+" - ",s),e(2),C(" ",M(4,9,t.Date,"dd MMM yy")+" - "," "),e(3),P(t.MethodName),e(),r("ngIf",t.Code&&p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode!=1),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentNoteVisible),e(2),P(m(11,12,t.Amount))}}function qc(n,l){if(n&1&&(o(0,"tr"),_(1,"th",43),o(2,"td",42),a(3,":"),i(),o(4,"td",42),d(5,Zc,13,14,"span",20),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",(t==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment",s),e(4),r("ngForOf",t==null?null:t.Data.Payments)}}function Kc(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",39),a(4,":"),i(),o(5,"td")(6,"ul",46)(7,"li"),_(8,"div",47),i()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Yc(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function tp(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function np(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function ep(n,l){if(n&1&&(o(0,"div",51),_(1,"h5",52),o(2,"div",53),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function ip(n,l){if(n&1&&(o(0,"div",48)(1,"div",49),d(2,Yc,4,1,"div",50)(3,tp,4,1,"div",50)(4,np,4,1,"div",50)(5,ep,4,1,"div",50),i()()),n&2){let t=c(2);e(2),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column1),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column2),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column3),e(),r("ngIf",t.appConfig.PrintConfigDebt.Signature.Column4)}}function op(n,l){if(n&1&&(o(0,"div",57),_(1,"span",8),g(2,"SafeHtml"),i()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),s)}}function lp(n,l){if(n&1&&(o(0,"div",54),d(1,op,3,3,"div",55),o(2,"div",56),_(3,"span",8),g(4,"SafeHtml"),i()()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.FooterRight),e(2),r("innerHTML",m(4,2,!(t==null||t.Template==null)&&t.Template.FooterRight?t==null||t.Template==null?null:t.Template.FooterRight:""),s)}}function ap(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Hc,2,3,"img",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),i()()(),d(16,Bc,15,8,"div",12),i(),o(17,"div",13)(18,"h1")(19,"strong"),a(20),i(),o(21,"span"),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),i()()()()()()(),o(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),i(),d(41,Lc,2,0,"th",17),o(42,"th",18),a(43,"Number"),i(),o(44,"th",19),a(45,"Total"),i()()(),o(46,"tbody"),d(47,Uc,12,10,"tr",20),i(),o(48,"tfoot")(49,"tr"),_(50,"td",21),o(51,"td",22),a(52),i(),o(53,"td",23),a(54),g(55,"sum"),g(56,"number"),i()()()()()(),o(57,"table",24),d(58,Qc,5,2,"tr",0)(59,Wc,8,4,"tr")(60,qc,6,2,"tr",0),i(),o(61,"div",25)(62,"table",26),d(63,Kc,9,1,"tr",0),i()(),o(64,"div")(65,"div",27),d(66,ip,6,4,"div",28),i(),d(67,lp,5,4,"div",29),i()(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,22,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(2),r("ngClass",p.printMode()||""),e(4),r("ngIf",t==null?null:t.Template.Logo),e(2),r("innerHTML",t==null?null:t.Template.Title,s),e(),r("innerHTML",t==null?null:t.Template.Field,s),e(2),r("innerHTML",m(13,24,t.Template.Address),s),e(2),r("innerHTML",m(15,26,t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.ContactDisplay),e(4),P(t==null?null:t.Data.Prefixed),e(2),C(" ",t==null?null:t.Data.Invoice.Number," "),e(10),P(M(33,28,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(9),f(!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?41:-1),e(6),r("ngForOf",t==null?null:t.Data.Items),e(3),r("colSpan",!(p.appConfig==null||p.appConfig.PrintConfigDebt==null||p.appConfig.PrintConfigDebt.ARColletion==null)&&p.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?6:5),e(2),C(" ",t==null?null:t.Data.Items.length," Invoice, Total: "),e(2),C(" ",m(56,34,M(55,31,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),r("ngIf",(p.appConfig==null?null:p.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t==null?null:t.Data.TotalInWords)),e(),f(t!=null&&t.Data.Remaining?59:-1),e(),r("ngIf",t==null?null:t.Data.Payments.length),e(3),r("ngIf",t==null?null:t.Data.Invoice.Note),e(3),r("ngIf",(p.appConfig==null||p.appConfig.PrintConfigGeneral==null||p.appConfig.PrintConfigGeneral.Visibility==null?null:p.appConfig.PrintConfigGeneral.Visibility.Visible)&&(p.appConfig.PrintConfigDebt.Signature.Column1||p.appConfig.PrintConfigDebt.Signature.Column2||p.appConfig.PrintConfigDebt.Signature.Column3||p.appConfig.PrintConfigDebt.Signature.Column4)),e(),r("ngIf",p.appConfig==null?null:p.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var gn=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;appConfig;title=Sn(A);printMode=_t(null);ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.printMode.set(l.Mode),this.httpService.post(I.BulkInvoice,l))),E(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-bulk-invoice"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container","bulkinvoice_print_container","container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","100px"],["colspan","5"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],[3,"colSpan"],[1,"fw-bold"],[1,"number","fw-bold"],[1,"table-sm","table-bordered","table-secondary","info"],[1,"note-info"],[1,"info"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact"],[1,"box"],[1,"customer_info"],[1,"number"],[1,"invoice-item","text-dark","fst-normal"],[1,"ms-1"],[1,"text-dark","ms-1"],[1,"text-dark","mx-1"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"bg-light-gray"],[1,"bg-light-gray",3,"innerHTML"],["style","line-break: anywhere",3,"innerHTML",4,"ngIf"],[2,"line-break","anywhere",3,"innerHTML"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,p){t&1&&(d(0,ap,68,36,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,Bt,K,j,Ot,Pt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};var rp=(n,l)=>({"col-8":n,col:l}),cp=n=>({width:n}),pp=(n,l)=>({"text-success":n,"text-danger":l});function gp(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;ct(et(3,cp,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function dp(n,l){if(n&1&&(x(0),d(1,gp,1,5,"img",27),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function _p(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function Cp(n,l){if(n&1&&d(0,_p,1,1,"img",29),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function mp(n,l){if(n&1&&(o(0,"div",25),d(1,dp,2,1,"ng-container",26)(2,Cp,1,1,"ng-template",null,0,Y),i()),n&2){let t=Z(3),p=c().ngIf;e(),r("ngIf",(p==null||p.Config==null?null:p.Config.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Pp(n,l){n&1&&(o(0,"th",18),a(1," Price "),i())}function sp(n,l){if(n&1&&(o(0,"td"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function Op(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td")(4,"div"),a(5),i(),_(6,"app-serial-note",30)(7,"i",31),i(),o(8,"td"),a(9),i(),o(10,"td"),a(11),g(12,"number"),i(),d(13,sp,3,3,"td",1),o(14,"td"),a(15),i()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf;e(2),P(p+1),e(3),P(t.Name),e(),r("serials",t.Serial),e(),r("innerHTML",t.Note,s),e(2),P(t.Code),e(),Et(it(12,pp,t.Quantity>0,t.Quantity<0)),e(),C(" ",t.Quantity==null?t.Counted:m(12,10,t.Quantity)," "),e(2),r("ngIf",O==null||O.Config==null||O.Config.AdjustmentConfig==null||O.Config.AdjustmentConfig.Items==null?null:O.Config.AdjustmentConfig.Items.UnitPriceVisible),e(2),P(t.UOMName)}}function up(n,l){if(n&1&&(o(0,"tr")(1,"th",32),a(2,"Note"),i(),o(3,"td",33),a(4,":"),i(),_(5,"td",34),g(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),r("innerHtml",m(6,1,t==null||t.Header==null?null:t.Header.Note),s)}}function Mp(n,l){if(n&1&&(o(0,"div",35)(1,"h5",36),a(2," \xA0 "),i(),o(3,"div",37),a(4," \xA0 "),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column1,s)}}function fp(n,l){if(n&1&&(o(0,"div",38)(1,"h5",36),a(2," \xA0 "),i(),o(3,"div",37),a(4," \xA0 "),i()()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column2,s)}}function xp(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),o(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,mp,4,2,"div",8),o(9,"div",9),_(10,"h2",10)(11,"small",10),o(12,"div"),_(13,"div",10),g(14,"newlines"),_(15,"div",10),g(16,"newlines"),i()()()(),o(17,"div",11)(18,"h1")(19,"strong",12),a(20),i(),o(21,"span",13),a(22),i()(),o(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),i()()(),o(29,"tbody")(30,"tr")(31,"td"),a(32),i()()()()()()(),o(33,"div",14)(34,"table",15)(35,"thead",16)(36,"tr")(37,"th",17),a(38,"No"),i(),o(39,"th"),a(40,"Name"),i(),o(41,"th",18),a(42,"Code"),i(),o(43,"th",18),a(44,"Qty"),i(),d(45,Pp,2,0,"th",19),o(46,"th",18),a(47,"UOM"),i()()(),o(48,"tbody"),d(49,Op,16,15,"tr",20),i()()(),o(50,"table",21),d(51,up,7,3,"tr",1),i(),o(52,"div")(53,"div")(54,"div",22),d(55,Mp,5,1,"div",23)(56,fp,5,1,"div",24),i()()()()(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,15,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(7),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(),r("ngClass",it(21,rp,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(14,17,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHTML",m(16,19,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(5),P(t==null||t.Config==null||t.Config.AdjustmentConfig==null?null:t.Config.AdjustmentConfig.HeaderTitle),e(2),C(" ",t==null||t.Header==null?null:t.Header.Number," "),e(10),C(" ",t==null||t.Header==null?null:t.Header.Date," "),e(13),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Items==null?null:t.Config.AdjustmentConfig.Items.UnitPriceVisible),e(4),r("ngForOf",t==null?null:t.DifferenceArray),e(2),r("ngIf",t==null||t.Header==null?null:t.Header.Note),e(4),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column1),e(),r("ngIf",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column2)}}var dn=class n{constructor(l,t){this.httpService=l;this.activatedRoute=t}data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>this.httpService.post(I.AdjustmentInvoice,l)),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-printing-adjustment"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoice_print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],["class","shop-logo col-auto",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"adjustment-title"],[1,"invoice-number"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#fdf3c6"],[2,"width","50px"],[2,"width","80px"],["style","width: 80px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"table","table-sm","table-bordered","table-secondary","info","w-25"],[1,"signature","row","justify-content-between"],["class","col-3 signature-col1",4,"ngIf"],["class","col-3 signature-col2",4,"ngIf"],[1,"shop-logo","col-auto"],[4,"ngIf","ngIfElse"],["class","col-md-auto px-0",3,"style","src",4,"ngIf"],[1,"col-md-auto","px-0",3,"src"],["class","col-md-auto px-0",3,"src",4,"ngIf"],[3,"serials"],["id","show",2,"color","cadetblue",3,"innerHTML"],[1,"bg-light-gray",2,"width","50px"],[2,"width","10px"],[3,"innerHtml"],[1,"col-3","signature-col1"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"col-3","signature-col2"]],template:function(t,p){t&1&&(d(0,xp,57,24,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,dt,w,R,j,z],styles:['div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}@media print{.shop-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}}']})};var vp=(n,l)=>({"col-8":n,col:l});function bp(n,l){if(n&1&&(_(0,"img",33),g(1,"images")),n&2){let t=c(2).ngIf;r("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function hp(n,l){if(n&1&&(o(0,"div",31),d(1,bp,2,3,"img",32),i()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function yp(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2).ngIf;e(2),P(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function Sp(n,l){if(n&1&&(o(0,"div",34)(1,"div",35)(2,"h3",36)(3,"span"),a(4),i()(),o(5,"div",37)(6,"strong"),a(7),i(),o(8,"div",38),d(9,yp,3,1,"div",0),o(10,"div")(11,"span"),a(12),g(13,"newlines"),i()(),o(14,"div")(15,"span"),a(16),i()()()()()()),n&2){let t=c().ngIf;e(4),P(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle),e(3),P(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),r("ngIf",!(!(t==null||t.Data==null)&&t.Data.IsTransfer)),e(3),P(m(13,5,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address)),e(4),P(t==null||t.Data==null?null:t.Data.City)}}function Ip(n,l){if(n&1&&(o(0,"small"),a(1),i()),n&2){let t=c().$implicit;e(),P(t.Note)}}function wp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function Dp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function Tp(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),_(5,"br"),d(6,Ip,2,1,"small",0),i(),o(7,"td",24),d(8,wp,3,3,"span",0),i(),o(9,"td",24),d(10,Dp,3,3,"span",0),i()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.AccountCode),e(2),C(" ",t.AccountName,""),e(2),r("ngIf",p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigAccounting==null?null:p.AppConfigJSON.PrintConfigAccounting.Visibility.JournalNoteAccountVisible),e(2),r("ngIf",t.DCTypeID==1),e(2),r("ngIf",t.DCTypeID==-1)}}function kp(n,l){if(n&1&&(o(0,"tr",39)(1,"th",40),a(2,"Note"),i(),o(3,"td",41),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Note," ")}}function Ep(n,l){if(n&1&&(o(0,"tr")(1,"th",16),a(2,"Reference"),i(),o(3,"td",42),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay," ")}}function Ap(n,l){if(n&1&&(o(0,"div",43)(1,"div",44)(2,"h5",45),a(3),i(),o(4,"div",46),a(5," \xA0 "),i()(),o(6,"div",44)(7,"h5",45),a(8),i(),o(9,"div",46),a(10," \xA0 "),i()(),o(11,"div",44)(12,"h5",45),a(13),i(),o(14,"div",46),a(15," \xA0 "),i()(),o(16,"div",44)(17,"h5",45),a(18),i(),o(19,"div",46),a(20," \xA0 "),i()()()),n&2){let t=c().ngIf;e(3),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.CreatedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ApprovedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.SignedBy," "),e(5),C(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ReceivedBy," ")}}function Np(n,l){if(n&1&&(o(0,"small",47),a(1),i()),n&2){let t=c().ngIf;e(),C("",t==null||t.Data==null?null:t.Data.Creator," ")}}function Hp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,hp,2,1,"div",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div"),_(12,"div",8),g(13,"newlines"),_(14,"div",8),g(15,"newlines"),i()()(),d(16,Sp,17,7,"div",9),i(),o(17,"div",10)(18,"div",11)(19,"div",12)(20,"h1")(21,"strong"),a(22,"Journal #"),i(),o(23,"span"),a(24),i()()(),o(25,"div",12)(26,"div",13)(27,"div",14)(28,"table",15)(29,"thead",16)(30,"tr")(31,"th"),a(32,"Date"),i(),o(33,"th"),a(34,"Outlet"),i()()(),o(35,"tbody")(36,"tr",17)(37,"td",18),a(38),g(39,"date"),i(),o(40,"td",18),a(41),i()()()()()()()()()(),o(42,"div",19)(43,"div",20)(44,"table",21)(45,"thead",22)(46,"tr",23)(47,"th"),a(48,"Code"),i(),o(49,"th"),a(50,"Account"),i(),o(51,"th",24),a(52,"Debit"),i(),o(53,"th",24),a(54,"Credit"),i()()(),o(55,"tbody"),d(56,Tp,11,5,"tr",25),i(),o(57,"tfoot")(58,"tr"),_(59,"td",26),o(60,"td",24),a(61),g(62,"Filter"),g(63,"sum"),g(64,"number"),i(),o(65,"td",24),a(66),g(67,"Filter"),g(68,"sum"),g(69,"number"),i()()()()()(),o(70,"table",27),d(71,kp,7,1,"tr",28)(72,Ep,7,1,"tr",0),i(),d(73,Ap,21,4,"div",29)(74,Np,2,1,"small",30),i(),v()),n&2){let t=l.ngIf;e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,18,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,N),e(6),r("ngIf",t==null||t.Template==null?null:t.Template.Logo),e(),r("ngClass",it(45,vp,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),r("innerHtml",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHtml",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHtml",m(13,20,t==null||t.Template==null?null:t.Template.Address),s),e(2),r("innerHtml",m(15,22,t==null||t.Template==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Sender)||(t==null||t.Data==null?null:t.Data.ContactDisplay)),e(8),P(t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Number),e(14),C(" ",M(39,24,t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Date,"dd MMM yyyy")," "),e(3),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.EntityName," "),e(15),r("ngForOf",t==null||t.Data==null?null:t.Data.Items),e(5),C(" ",m(64,34,M(63,31,mt(62,27,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),C(" ",m(69,43,M(68,40,mt(67,36,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.JournalNoteFooterVisible),e(),r("ngIf",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null?null:t.AppConfigJSON.PrintConfigAccounting.Visibility.SignatureVisibility),e(),r("ngIf",(t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var _n=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceJournal,t))),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),B(1))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-journal"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],["class","shop-logo",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHtml"],["class","row ms-0 mt-3 header-customer",4,"ngIf"],[1,"col","p-0","m-0","header_right"],[1,"row","me-0","invoice_number"],[1,"w-100","d-flex","justify-content-end"],[1,"row"],[1,"col-12","d-flex","justify-content-end"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"border"],[1,"p-2","text-left"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"table-bordered"],[2,"background","#fceca3"],[1,"text-end"],[4,"ngFor","ngForOf"],["colspan","2",1,"bg-white","table-borderless"],[1,"table","table-sm","table-bordered","table-secondary","mt-8","info",2,"width","400px"],["id","trNote",4,"ngIf"],["class","row mx-0 my-5 mt-5 text-center",4,"ngIf"],["class","d-block text-center font-italic py-2","style","font-size: 12px",4,"ngIf"],[1,"shop-logo"],["class","float",3,"src",4,"ngIf"],[1,"float",3,"src"],[1,"row","ms-0","mt-3","header-customer"],[1,"col-6","border"],[1,"fw-bold"],[1,"box"],[1,"customer_info"],["id","trNote"],["width","75px;",1,"bg-light-gray"],["width","5px;",1,"text-center"],[1,"text-center"],[1,"row","mx-0","my-5","mt-5","text-center"],[1,"col-3",2,"height","120px"],[2,"line-height","20px"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"d-block","text-center","font-italic","py-2",2,"font-size","12px"]],template:function(t,p){t&1&&(d(0,Hp,75,48,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,K,j,Lt,Pt,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Rp(n,l){if(n&1&&(x(0),o(1,"div",18),a(2,"Payment Note"),i(),o(3,"div",19),a(4,":"),i(),_(5,"div",25),g(6,"newlines"),v()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.Note),s)}}function zp(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),i(),o(5,"td"),a(6),i(),o(7,"td",31),a(8),i(),o(9,"td",31),a(10),g(11,"number"),i(),o(12,"td",31),a(13),g(14,"number"),i()()),n&2){let t=l.$implicit,p=l.index;e(2),P(p+1),e(2),P(t.Name),e(2),P(t.Code),e(2),P(t.Quantity),e(2),P(m(11,6,t.UnitPrice)),e(3),P(m(14,8,t.Total))}}function Bp(n,l){if(n&1&&(x(0),o(1,"div",26)(2,"div",27)(3,"table",28)(4,"thead",29)(5,"tr")(6,"th",30),a(7," No "),i(),o(8,"th"),a(9," Name "),i(),o(10,"th"),a(11," Code "),i(),o(12,"th",31),a(13," Qty "),i(),o(14,"th",31),a(15," Price "),i(),o(16,"th",31),a(17," Total "),i()()(),o(18,"tbody"),d(19,zp,15,10,"tr",32),i()()()(),v()),n&2){let t=c().ngIf;e(19),r("ngForOf",t==null||t.Data==null?null:t.Data.InvoiceItems)}}function Lp(n,l){if(n&1&&(o(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),a(4),i(),_(5,"small",4)(6,"h6",5),g(7,"newlines"),_(8,"h6",6),g(9,"newlines"),i(),o(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),a(15,"Payment Date"),i()()(),o(16,"tbody")(17,"tr",11)(18,"td")(19,"div",12),a(20),g(21,"date"),i()()()()()()(),o(22,"div",13)(23,"div",14)(24,"h1"),a(25),i(),o(26,"h6",15),a(27),i()(),o(28,"div",16)(29,"div",17)(30,"div",18),a(31,"Received From"),i(),o(32,"div",19),a(33,":"),i(),o(34,"div",20),a(35),i(),o(36,"div",18),a(37,"Payment For"),i(),o(38,"div",19),a(39,":"),i(),o(40,"div",20),a(41),g(42,"date"),i(),d(43,Rp,7,3,"ng-container",21),i()(),d(44,Bp,20,1,"ng-container",21),o(45,"div",22)(46,"span",23),a(47,"Amount"),i(),o(48,"span",24),a(49),g(50,"number"),i()()()()),n&2){let t=l.ngIf;e(4),P(t.PrintTemplate.Title),e(),r("innerHtml",t.PrintTemplate.Field,s),e(),r("innerHTML",m(7,14,t.PrintTemplate.Address),s),e(2),r("innerHtml",m(9,16,t.PrintTemplate.ContactInfo),s),e(12),P(M(21,18,t.Data.Date,"dd MMM yyyy")),e(5),P(t.Config.Header),e(2),C("INVOICE: ",t.Data.InvoiceNumber,""),e(8),P(t.Data.Customer.Display),e(6),gt("",t.Data.InvoiceNumber," - ",M(42,21,t.Data.Date,"dd MMM yy"),""),e(2),r("ngIf",t.Data.Note),e(),r("ngIf",t.Config.Products),e(5),gt("",t.Data.CurrencySymbol," ",m(50,24,t.Data.Amount),"")}}var Cn=class n{constructor(l,t){this.http=l;this.aRoute=t}_data$;ngOnInit(){let l=bn(this.aRoute.snapshot.queryParams);this._data$=l.pipe(hn(t=>this.http.post(I.PaymentReceipt,t)))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["POS-payment-print"]],standalone:!1,decls:2,vars:3,consts:[["class","container-fluid","style","width: 60vw;",4,"ngIf"],[1,"container-fluid",2,"width","60vw"],[1,"d-flex","justify-content-between","align-items-end",2,"border-bottom","1px solid black","padding-bottom","5px"],[1,"outlet-address"],[3,"innerHtml"],[1,"fw-normal",3,"innerHTML"],[1,"fw-normal",3,"innerHtml"],[1,"pt-2"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"py-2","text-capitalize"],[1,"border"],[1,"date","fw-bold"],[2,"margin-top","10px"],[1,"text-center"],[1,"fw-normal"],[2,"margin-top","35px"],[1,"row",2,"margin-left","50px"],[1,"col-3","text-start","fw-bold"],[1,"col-1","text-end"],[1,"col-8"],[4,"ngIf"],[1,"fw-bold",2,"margin-top","50px"],[2,"padding","10px 35px","border","1px solid black"],[2,"padding","10px 50px","border","1px solid black","background-color","#f3ab1c"],[1,"col-8",3,"innerHTML"],[1,"row","d-print-block","g-0","mt-6"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#FDF3C6"],[2,"width","20px"],[1,"text-end"],[4,"ngFor","ngForOf"]],template:function(t,p){t&1&&(d(0,Lp,51,26,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p._data$))},dependencies:[L,y,w,R,V,j],styles:["@media print{div.container-fluid[_ngcontent-%COMP%]{width:100vw!important}}"]})};var Jp=n=>({width:n});function Vp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;ct(et(3,Jp,(t==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function Fp(n,l){if(n&1&&(x(0),d(1,Vp,1,5,"img",38),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function jp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;r("src",t==null?null:t.Template.Logo,J)}}function Up(n,l){if(n&1&&d(0,jp,1,1,"img",40),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function $p(n,l){if(n&1&&_(0,"span",9),n&2){let t=c().ngIf;r("innerHTML",t.Data.RegisterCode,s)}}function Qp(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).ngIf;e(),gt(", ",t.Data.Contact==null?null:t.Data.Contact.Title," - ",t.Data.Contact==null?null:t.Data.Contact.Code,"")}}function Wp(n,l){if(n&1&&(o(0,"h6",41)(1,"span"),a(2),i(),d(3,Qp,2,2,"span",1),i()),n&2){let t=c().ngIf;e(2),P(t.Data.Contact.Name),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Code)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerCodeVisible))}}function Gp(n,l){if(n&1&&_(0,"h6",42),n&2){let t=c().ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.NationalIDNumber,s)}}function Xp(n,l){if(n&1&&(_(0,"p",43),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),s)}}function Zp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().ngIf;e(),C(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+mt(2,1,t.Data.Contact==null?null:t.Data.Contact.Phone,4,(t.Data.Contact==null?null:t.Data.Contact.Phone.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Phone)," ")}}function qp(n,l){if(n&1&&(o(0,"span"),a(1),g(2,"limitTo"),i()),n&2){let t=c().ngIf;e(),C(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+mt(2,1,t.Data.Contact==null?null:t.Data.Contact.Mobile,4,(t.Data.Contact==null||t.Data.Contact.Mobile==null?null:t.Data.Contact.Mobile.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Mobile)," ")}}function Kp(n,l){if(n&1&&_(0,"p",44),n&2){let t=c().ngIf;r("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,s)}}function Yp(n,l){if(n&1&&(o(0,"h2",45),a(1),i()),n&2){let t=c().ngIf;Et(t.Data.paymentState==2?"text-warning":"text-danger"),e(),C(" ",t.Data.paymentState==2?"PARTIAL":t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.BillLabel," ")}}function tg(n,l){if(n&1&&(o(0,"h2",16),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null?null:t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText:"SALES RETURN"," ")}}function ng(n,l){if(n&1&&(x(0),o(1,"h3",45),a(2),i(),v()),n&2){let t=c().ngIf;e(2),P(t.Data.ParkLabel)}}function eg(n,l){if(n&1&&(o(0,"div",17),a(1),i()),n&2){let t=c().ngIf;e(),C(" Creator : ",t.Data.DocumentInfo.Created.User," ")}}function ig(n,l){if(n&1&&(x(0),_(1,"div",9),v()),n&2){let t=c().ngIf;e(),r("innerHTML",t.Data.HeaderTitle,s)}}function og(n,l){if(n&1&&(x(0),_(1,"app-serial-note",57),v()),n&2){let t=c().$implicit;e(),r("serials",t.Serial)}}function lg(n,l){if(n&1&&(o(0,"div",58)(1,"i",59),a(2),i()()),n&2){let t=c().$implicit;e(2),C(" sold by ",t.SalesName," ")}}function ag(n,l){if(n&1&&(_(0,"small",61),g(1,"newlines")),n&2){let t=c(2).$implicit;r("innerHTML",m(1,1,t.Note),s)}}function rg(n,l){if(n&1&&(x(0),d(1,ag,2,3,"small",60),v()),n&2){let t=c().$implicit,p=c().ngIf;e(),r("ngIf",t.Note&&(p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible))}}function cg(n,l){if(n&1&&(o(0,"span",64),a(1),i()),n&2){let t=c(2).$implicit;e(),C(" ",t.Taxable?"V":"N"," ")}}function pg(n,l){if(n&1&&(o(0,"span",64),a(1),i()),n&2){let t=c(2).$implicit,p=c().ngIf;e(),C(" ",t.Taxable?p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel:"N"," ")}}function gg(n,l){if(n&1&&(o(0,"div",62),d(1,cg,2,1,"span",63)(2,pg,2,1,"span",63),i()),n&2){let t=c(2).ngIf;e(),r("ngIf",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)==""||(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)=="Taxable"),e(),r("ngIf",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!=""&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!="Taxable")}}function dg(n,l){if(n&1&&(o(0,"span",65),a(1),g(2,"number"),i()),n&2){let t=c().$implicit,p=c().ngIf;e(),yt(" ",M(2,3,t.Quantity,"1.0-4")," ",p!=null&&p.AppConfigJSON.PrintConfigInvoice.ItemsTable.UOMVisible?t.UOMName:""," ",t.UnitQuantity!=1?" x "+t.UnitQuantity:""," ")}}function _g(n,l){if(n&1&&(x(0),o(1,"i",66),a(2),g(3,"number"),i(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.Discount)+"%"," ")}}function Cg(n,l){if(n&1&&(x(0),o(1,"i",67),a(2),g(3,"number"),i(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.DiscountAmount)," ")}}function mg(n,l){if(n&1&&(o(0,"div",46)(1,"div",17)(2,"div",47)(3,"div"),x(4),a(5),v(),a(6),i(),d(7,og,2,1,"ng-container",1)(8,lg,3,1,"div",48)(9,rg,2,1,"ng-container",1),i(),d(10,gg,3,2,"div",49),i(),o(11,"div",50)(12,"div",51)(13,"div",52),d(14,dg,3,6,"span",53),x(15),o(16,"span",54),a(17,"x"),i(),o(18,"span",55),a(19),g(20,"number"),i(),v(),d(21,_g,4,3,"ng-container",1)(22,Cg,4,3,"ng-container",1),i()(),o(23,"div",56)(24,"span"),a(25),g(26,"number"),g(27,"TrailingZero"),i()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf;e(5),C(" ",p+1,". "),e(),gt(" ",t.Name," ",t.Code&&(O!=null&&O.AppConfigJSON.PrintConfigInvoice.ItemsTable.CodeVisible)?" - "+t.Code:""," "),e(),r("ngIf",t.Serial&&(t.Serial==null?null:t.Serial.length)>0),e(),r("ngIf",t.SalesName&&(O==null?null:O.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Note),e(),r("ngIf",O==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableVisible),e(4),r("ngIf",O==null?null:O.AppConfigJSON.PrintConfigInvoice.ItemsTable.QuantityVisible),e(5),C(" ",m(20,12,t.UnitPrice)," "),e(2),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0),e(3),C(" ",M(27,16,m(26,14,(1-t.Discount/100)*t.UnitPrice*t.Quantity*t.UnitQuantity-t.DiscountAmount*t.Quantity),O==null?null:O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Pg(n,l){if(n&1&&(o(0,"span")(1,"span"),a(2),i()()),n&2){let t=c().$implicit;e(2),C("",t.Label," :")}}function sg(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c().$implicit;e(),C("",t.CurrencySymbol," ")}}function Og(n,l){if(n&1&&(o(0,"div",68),g(1,"Filter"),o(2,"div",69),a(3),d(4,Pg,3,1,"span"),i(),o(5,"div",70)(6,"div",71)(7,"div",72),d(8,sg,2,1,"span",1),i(),o(9,"div",28)(10,"span"),a(11),g(12,"number"),g(13,"TrailingZero"),i()()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,$=c();r("ngClass",p==mt(1,7,O.Data.Aggregate,1,"Type").length-1?"pb-2":""),e(2),r("ngClass",p==1?"border-top":""),e(),C(" ",p==0&&t.Label=="Amount"?$.totalItemsLabel+" :":""," "),e(),f(p!=0||t.Label!="Amount"?4:-1),e(),r("ngClass",p==1?"border-top":""),e(3),r("ngIf",O.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(3),P(M(13,13,m(12,11,t.Amount),O.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function ug(n,l){if(n&1&&(o(0,"span",72),a(1),i()),n&2){let t=c().ngIf;e(),P(t.Data.CurrencySymbol)}}function Mg(n,l){if(n&1&&(o(0,"span",72),a(1),i()),n&2){let t=c(2).ngIf;e(),P(t.Data.CurrencySymbol)}}function fg(n,l){if(n&1&&(o(0,"div",24)(1,"div",73),a(2),i(),o(3,"div",26),d(4,Mg,2,1,"span",27),o(5,"span",28),a(6),g(7,"TrailingZero"),i()()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.LabelRemaining,": "),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(2),P(M(7,3,t.Data.Invoice.Data.Remaining,t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function xg(n,l){if(n&1&&(o(0,"h6",74),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.SalesPerson," ")}}function vg(n,l){if(n&1&&(o(0,"p"),a(1),i()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function bg(n,l){n&1&&(o(0,"h6",74),a(1," Note "),i())}function hg(n,l){if(n&1&&(_(0,"p",9),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.ExtraNote),s)}}function yg(n,l){n&1&&(o(0,"h6",75),a(1," Note "),i())}function Sg(n,l){if(n&1&&(_(0,"p",76),g(1,"newlines")),n&2){let t=c().ngIf;r("innerHTML",m(1,1,t.Data.InvoiceNote),s)}}function Ig(n,l){if(n&1&&(o(0,"p",77),a(1),i()),n&2){let t=c().ngIf;e(),C(" Printed : ",t.Data.PrintDate," ")}}function wg(n,l){if(n&1&&(o(0,"p",77),a(1),i()),n&2){let t=c().ngIf;e(),C(" Created : ",t.Data.Created," ")}}function Dg(n,l){n&1&&(o(0,"div"),_(1,"div",78),i())}function Tg(n,l){if(n&1&&(x(0)(1),_(2,"link",2),g(3,"StylesheetSafeUrl"),_(4,"POS-print-mode",3),o(5,"div")(6,"div",4),d(7,Fp,2,1,"ng-container",5)(8,Up,1,1,"ng-template",null,0,Y),i(),o(10,"div",4),_(11,"h2",6)(12,"i",7),o(13,"p",8),_(14,"span",9),g(15,"newlines"),_(16,"br"),d(17,$p,1,1,"span",10),_(18,"span",9),g(19,"newlines"),i(),d(20,Wp,4,2,"h6",11)(21,Gp,1,1,"h6",12)(22,Xp,2,3,"p",13)(23,Zp,3,5,"span",1)(24,qp,3,5,"span",1)(25,Kp,1,1,"p",14),i(),d(26,Yp,2,3,"h2",15)(27,tg,2,1,"h2",16)(28,ng,3,1,"ng-container",1)(29,eg,2,1,"div",17),o(30,"div",18)(31,"div",19),d(32,ig,2,1,"ng-container",1),_(33,"div",9),i(),o(34,"div",20)(35,"div"),a(36),g(37,"date"),i()()(),d(38,mg,28,19,"div",21),o(39,"div",22),d(40,Og,14,16,"div",23),g(41,"Filter"),i(),o(42,"div",24)(43,"div",25),a(44),i(),o(45,"div",26),d(46,ug,2,1,"span",27),o(47,"span",28),a(48),g(49,"number"),g(50,"TrailingZero"),i()()(),d(51,fg,8,6,"div",29),o(52,"div",30),d(53,xg,2,1,"h6",31)(54,vg,2,1,"p",1)(55,bg,2,0,"h6",31)(56,hg,2,3,"p",10)(57,yg,2,0,"h6",32)(58,Sg,2,3,"p",33),i(),_(59,"p",9),g(60,"SafeHtml"),_(61,"div",34),g(62,"SafeHtml"),o(63,"div",4),d(64,Ig,2,1,"p",35),i(),o(65,"div",36),d(66,wg,2,1,"p",35),i(),d(67,Dg,2,0,"div",1),i(),o(68,"div",37),a(69),i(),v()()),n&2){let t=l.ngIf,p=Z(9),O=c();e(2),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?m(3,44,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,N),e(2),r("paperPrints",O.paperPrintMode),e(),wn("print_container invoice_mini ",!(t==null||t.Template==null)&&t.Template.PrintLX300?"lx300":""," ",t==null||t.Template==null?null:t.Template.CssClass," box mt-5"),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",p),e(4),r("innerHTML",t==null||t.Template==null?null:t.Template.Title,s),e(),r("innerHTML",t==null||t.Template==null?null:t.Template.Field,s),e(2),r("innerHTML",m(15,46,t==null?null:t.Template.Address),s),e(3),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode),e(),r("innerHTML",m(19,48,t==null?null:t.Template.ContactInfo),s),e(2),r("ngIf",t.Data.Contact.Name),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.NationalIDNumber)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.IdentificationVisible)),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Address)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Phone)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)!==null),e(),r("ngIf",(t.Data.Contact==null?null:t.Data.Contact.Mobile)&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)==null&&(t.Data.Contact==null?null:t.Data.Contact.Mobile)!==null),e(),r("ngIf",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.Data.paymentState<3),e(),f(t.Data.Retur&&(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabel)?27:-1),e(),r("ngIf",t.Data.paymentState==1),e(),f((t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?29:-1),e(3),r("ngIf",t.Data.HeaderTitle),e(),r("innerHTML",t.Data.Invoice.Number,s),e(3),P(M(37,50,t.Data.Invoice.Data.Date,"dd MMM yyyy")),e(2),r("ngForOf",t.Data.Items),e(2),r("ngForOf",mt(41,53,t.Data.Aggregate,1,"Type")),e(4),C(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible?t.Data.PaymentLabel:"Payment"," "),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible),e(2),C(" ",M(50,59,m(49,57,t.Data.Invoice.Final),t.AppConfigJSON.PrintConfigGeneral.TrailingZero),""),e(3),r("ngIf",t.Data.Invoice.Data.Remaining),e(2),r("ngIf",t.Data.SalesName&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Data.SalesName&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)),e(),r("ngIf",t.Data.ExtraNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)),e(),r("ngIf",t.Data.ExtraNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)),e(),r("ngIf",t.Data.InvoiceNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)),e(),r("ngIf",t.Data.InvoiceNote&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)),e(),r("innerHTML",m(60,62,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),s),e(2),r("innerHTML",m(62,64,!(t==null||t.Template==null)&&t.Template.FooterNote?t==null||t.Template==null?null:t.Template.FooterNote:""),s),e(3),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEntryTimeVisible)&&t.Data.PrintDate),e(2),r("ngIf",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoiceCreatedTimeVisible)&&t.Data.Created),e(),r("ngIf",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PrintPackingslipAftersell),e(2),C(" ",t.Data.Creator," ")}}var mn=class n{constructor(l,t,p,O){this.activatedRoute=l;this.httpService=t;this.title=p;this.decimalPipe=O}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}totalItemsLabel;getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(T(l=>D.IsNotEmpty(l)),k(l=>(this.initPrintOption(l),this.httpService.post(I.SupplierInvoiceReceipt,l).pipe(F(t=>{let p=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=p?.Visibility?.CostVisible,t})))),E(l=>{this.title.setTitle(l.Title),this.generateItemLabel(l.Data,l.AppConfigJSON)}),B(1))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}generateItemLabel(l,t){let p=0,O=l.Items.length;for(let On of l.Items)(t?.PrintConfigInvoice?.ItemsTable?.NonInventoryCount||On.Variant.TypeID!=2)&&(p+=On.Quantity);let $=p>1?"s":"",nt=this.decimalPipe.transform(p,"1.0-4").toString(),lt=t.PrintConfigInvoice?.ItemsFooter?.TotalQuantityVisible;this.totalItemsLabel=`Total (Item${$}: ${O}${lt?`, Qty: ${nt})`:")"}`}static \u0275fac=function(t){return new(t||n)(u(h),u(S),u(A),u(R))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice-mini"]],standalone:!1,decls:2,vars:3,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"text-center"],[4,"ngIf","ngIfElse"],[1,"m-0","fw-bold",3,"innerHTML"],[1,"d-block",3,"innerHTML"],[1,"mt-1","mb-1"],[3,"innerHTML"],[3,"innerHTML",4,"ngIf"],["class","m-0 mt-7 fw-bold",4,"ngIf"],["class","m-0 pt-2 fw-normal",3,"innerHTML",4,"ngIf"],["class","mb-0",3,"innerHTML",4,"ngIf"],["class","fst-italic mb-2",3,"innerHTML",4,"ngIf"],["class","text-center m-0 p-1",3,"class",4,"ngIf"],[1,"text-center","m-0","p-1","text-warning"],[1,"row","g-0"],[1,"row","g-0","justify-content-between","py-2"],[1,"col","fw-bold"],[1,"col","text-end"],["class","border-y pt-1",4,"ngFor","ngForOf"],[1,"cartAmount","pt-2"],["class","row g-0 text-end",3,"ngClass",4,"ngFor","ngForOf"],[1,"row","g-0","text-end"],[1,"col-7","fw-bold","pe-3"],[1,"col-5","row","g-0"],["class","col-auto",4,"ngIf"],[1,"col"],["class","row g-0 text-end",4,"ngIf"],[1,"text-center","my-2"],["class","m-0 fw-bold",4,"ngIf"],["class","fw-bold",4,"ngIf"],["style","word-break: break-all",3,"innerHTML",4,"ngIf"],[1,"row","g-0","text-center",3,"innerHTML"],["class","m-0",4,"ngIf"],[1,"text-center","mt-3"],[1,"row","g-0","row","g-0","justify-content-center","mt-5"],["class","img-fluid border-0",3,"style","src",4,"ngIf"],[1,"img-fluid","border-0",3,"src"],["class","img-fluid border-0",3,"src",4,"ngIf"],[1,"m-0","mt-7","fw-bold"],[1,"m-0","pt-2","fw-normal",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"fst-italic","mb-2",3,"innerHTML"],[1,"text-center","m-0","p-1"],[1,"border-y","pt-1"],[1,"col-11"],["class","fst-italic pt-0 mt-0",4,"ngIf"],["class","col-1 ps-2 text-end",4,"ngIf"],[1,"d-flex","g-0","pb-1"],[1,"flex-grow-1","text-end"],[1,"d-flex","align-items-end","justify-content-end","me-5"],["class","small",4,"ngIf"],[1,"small","mx-1"],[1,"small","d-inline-flex","flex-column"],[1,"col-auto","text-end"],[3,"serials"],[1,"fst-italic","pt-0","mt-0"],[1,"inlineMarginLeft"],["class","fst-italic text-success","style","overflow-wrap: break-word",3,"innerHTML",4,"ngIf"],[1,"fst-italic","text-success",2,"overflow-wrap","break-word",3,"innerHTML"],[1,"col-1","ps-2","text-end"],["class","small fst-italic text-danger",4,"ngIf"],[1,"small","fst-italic","text-danger"],[1,"small"],[1,"fw-bold","text-danger","me-2","ms-4","small"],[1,"fw-bold","text-danger","me-2","small"],[1,"row","g-0","text-end",3,"ngClass"],[1,"col-7","fw-bold",3,"ngClass"],[1,"col-5","g-0",3,"ngClass"],[1,"row"],[1,"col-auto"],[1,"col-7","fw-bold"],[1,"m-0","fw-bold"],[1,"fw-bold"],[2,"word-break","break-all",3,"innerHTML"],[1,"m-0"],[2,"border-top-style","dotted"]],template:function(t,p){t&1&&(d(0,Tg,70,66,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,Ct,dt,w,R,V,Bt,j,st,Lt,Ot,z],styles:[".invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}"]})};var kg=["barcode"],Eg=n=>({"col-12 border-0":n}),Ag=n=>({"col-12":n});function Ng(n,l){n&1&&_(0,"link",14)}function Hg(n,l){n&1&&_(0,"link",15)}function Rg(n,l){n&1&&_(0,"link",16)}function zg(n,l){if(n&1&&(o(0,"div",7)(1,"span",17),a(2,"Invoice Number:"),i(),o(3,"span"),a(4),i()()),n&2){let t,p=c();e(4),P((t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function Bg(n,l){n&1&&(o(0,"div",8),_(1,"img",18,0),i())}function Lg(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function Jg(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function Vg(n,l){if(n&1&&(o(0,"div",21),a(1),i()),n&2){let t,p=c(2);e(),C(" ",(t=p.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function Fg(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Receiver:"),i(),o(4,"div"),d(5,Lg,2,1,"h6")(6,Jg,2,1,"span"),i()(),d(7,Vg,2,1,"div",21),i()),n&2){let t=c();e(5),f(t.customerNameVisible()?5:-1),e(),f(t.CustomerMobileVisible()?6:-1),e(),f(t.customerAddressVisible()?7:-1)}}function jg(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.DisplayName)}}function Ug(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.ContactInfo)}}function $g(n,l){if(n&1&&(o(0,"div",22),a(1),i()),n&2){let t,p=c(2);e(),C(" ",(t=p.template())==null?null:t.Address," ")}}function Qg(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Sender:"),i(),o(4,"div"),d(5,jg,2,1,"h6")(6,Ug,2,1,"span"),i()(),d(7,$g,2,1,"div",22),i()),n&2){let t=c();e(5),f(t.storeNameVisible()?5:-1),e(),f(t.storePhoneVisible()?6:-1),e(),f(t.storeAddressVisible()?7:-1)}}function Wg(n,l){if(n&1&&(o(0,"div",23)(1,"h5"),a(2),i()()),n&2){let t,p=c(2);r("ngClass",et(2,Eg,!p.invoiceNoteVisible())),e(2),P((t=p.receipt())==null?null:t.Tag)}}function Gg(n,l){if(n&1&&(o(0,"div",24),_(1,"p",25),i()),n&2){let t,p=c(2);r("ngClass",et(2,Ag,!p.orderTagVisible())),e(),r("innerHTML",(t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Note,s)}}function Xg(n,l){if(n&1&&(o(0,"div",11),d(1,Wg,3,4,"div",23)(2,Gg,2,4,"div",24),i()),n&2){let t=c();e(),f(t.orderTagVisible()?1:-1),e(),f(t.invoiceNoteVisible()?2:-1)}}function Zg(n,l){n&1&&(o(0,"th",27),a(1,"Name"),i())}function qg(n,l){n&1&&(o(0,"th",28),a(1,"Code"),i())}function Kg(n,l){n&1&&(o(0,"th",28),a(1,"QTy"),i())}function Yg(n,l){if(n&1&&_(0,"span",31),n&2){let t=c(2).$implicit;r("innerHTML",t==null?null:t.Note,s)}}function td(n,l){if(n&1&&(o(0,"td",30)(1,"div"),a(2),i(),d(3,Yg,1,1,"span",31),i()),n&2){let t=c().$implicit,p=c(2);e(2),P(t==null?null:t.Name),e(),f(p.itemNotesVisible()?3:-1)}}function nd(n,l){if(n&1&&(o(0,"td",28),a(1),i()),n&2){let t=c().$implicit;e(),P(t==null?null:t.Code)}}function ed(n,l){if(n&1&&(o(0,"td",28),a(1),g(2,"number"),i()),n&2){let t=c().$implicit;e(),P(m(2,1,t==null?null:t.Quantity))}}function id(n,l){if(n&1&&(o(0,"tr")(1,"td",28),a(2),i(),d(3,td,4,2,"td",30)(4,nd,2,1,"td",28)(5,ed,3,3,"td",28),i()),n&2){let t=l.$index,p=c(2);e(2),P(t+1),e(),f(p.productNameVisible()?3:-1),e(),f(p.productCodeVisible()?4:-1),e(),f(p.producctQtyVisible()?5:-1)}}function od(n,l){if(n&1&&_(0,"td",32),n&2){let t=c(3);r("colSpan",t.getVisibleColumnCount())}}function ld(n,l){if(n&1&&(o(0,"tfoot",29)(1,"tr",29),d(2,od,1,1,"td",32),o(3,"td",33)(4,"span",34),a(5,"Total"),i()(),o(6,"td",33)(7,"span",34),a(8),g(9,"sum"),g(10,"number"),i()()()()),n&2){let t,p=c(2);e(2),f(p.productCodeVisible()||p.productNameVisible()?2:-1),e(6),P(m(10,5,M(9,2,(t=p.receipt())==null?null:t.List,"Quantity")))}}function ad(n,l){if(n&1&&(o(0,"table",13)(1,"thead")(2,"tr")(3,"th",26),a(4,"No"),i(),d(5,Zg,2,0,"th",27)(6,qg,2,0,"th",28)(7,Kg,2,0,"th",28),i()(),o(8,"tbody"),Nt(9,id,6,4,"tr",null,At),i(),d(11,ld,11,7,"tfoot",29),i()),n&2){let t,p=c();e(5),f(p.productNameVisible()?5:-1),e(),f(p.productCodeVisible()?6:-1),e(),f(p.producctQtyVisible()?7:-1),e(2),Ht((t=p.receipt())==null?null:t.List),e(2),f(p.producctQtyVisible()?11:-1)}}var Dt=class n{receipt=Tt();config=Tt();template=Tt();css=Tt();invoiceNumber=tt(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=tt(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=tt(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);barcodeVisible=tt(()=>this.packingSlipConfig()?.General?.BarcodeVisible);storeNameVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=tt(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=tt(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=tt(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=tt(()=>this.packingSlipConfig()?.ProductInformation?.ProductNoteVisible);barcodeOptions={width:1.7,height:46,displayValue:!1,backgroundColor:"",lineColor:"#000",margin:0,format:"CODE128",flat:!0};set content(l){if(l&&this.barcodeVisible()){let t=this.invoiceNumber(),p=xn({},this.barcodeOptions),O=t?t.length:10;O>30?p.width=1:O>25&&(p.width=1.5),JsBarcode("#barcode",t,p)}}getVisibleColumnCount=tt(()=>{let l=0;return this.productNameVisible()&&l++,this.productCodeVisible()&&l++,l});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=b({type:n,selectors:[["app-packing-slip-v2"]],viewQuery:function(t,p){if(t&1&&kn(kg,5),t&2){let O;En(O=An())&&(p.content=O.first)}},inputs:{receipt:[1,"receipt"],config:[1,"config"],template:[1,"template"],css:[1,"css"]},decls:17,vars:12,consts:[["barcode",""],["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery","border","border-dark","px-4",2,"width","378px"],[1,"d-flex","align-items-center","justify-content-center","border-bottom","border-dark","py-6"],[1,"text-center","mt-4","fw-bold"],[1,"w-100","d-flex","justify-content-center","mt-4","barcode-container"],[1,"row","mt-6"],[1,"col"],[1,"row","mt-8","border","rounded-1","border-dark","g-0"],[1,"mt-8","mb-5"],[1,"w-100","table","table-sm","table-bordered"],["href",rt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",rt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"me-2"],["id","barcode",1,"barcode-image"],[1,"d-flex","justify-content-start"],[1,"me-3"],[1,"mt-3",2,"text-align","left"],[1,"mt-3",2,"text-align","right"],[1,"col-5","text-center","py-4","border-end","border-dark","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"col-7","text-center","py-4","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"mt-0","fst-italic",3,"innerHTML"],[1,"text-center",2,"width","10px"],[1,"text-start"],[1,"text-center"],[1,"border-0"],[1,"text-start","lh-base"],[1,"text-muted","fst-italic",2,"font-size","0.656rem",3,"innerHTML"],[1,"border-0",3,"colSpan"],[1,"text-center","border-0"],[1,"fw-bold"]],template:function(t,p){if(t&1&&(d(0,Ng,1,0,"link",1)(1,Hg,1,0,"link",2)(2,Rg,1,0,"link",3),_(3,"link",4),g(4,"StylesheetSafeUrl"),o(5,"div",5)(6,"div",6)(7,"h3"),a(8,"PACKING SLIP"),i()(),d(9,zg,5,1,"div",7)(10,Bg,3,0,"div",8),o(11,"div",9),d(12,Fg,8,3,"div",10)(13,Qg,8,3,"div",10),i(),d(14,Xg,3,2,"div",11),o(15,"div",12),d(16,ad,12,4,"table",13),i()()),t&2){let O,$,nt,lt;r("ngIf",(O=p.template())==null?null:O.PrintLX300),e(),r("ngIf",($=p.template())==null?null:$.PrintLX300),e(),r("ngIf",(nt=p.template())==null?null:nt.PrintLX300),e(),H("href",(lt=p.css())!=null&&lt.Size8cm?m(4,10,(lt=p.css())==null?null:lt.Size8cm):null,N),e(6),f(p.invoiceNumberVisible()?9:-1),e(),f(p.barcodeVisible()?10:-1),e(2),f(p.customerNameVisible()||p.CustomerMobileVisible()||p.customerAddressVisible()?12:-1),e(),f(p.storeNameVisible()||p.storePhoneVisible()||p.storeAddressVisible()?13:-1),e(),f(p.orderTagVisible()||p.invoiceNoteVisible()?14:-1),e(2),f(p.productNameVisible()||p.productCodeVisible()?16:-1)}},dependencies:[ft,q,y,R,It,K,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}.barcode-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;padding:0 5px;box-sizing:border-box}.barcode-image[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important;width:auto!important;display:block!important;margin:0 auto!important}.barcode-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important}"]})};function rd(n,l){if(n&1&&(x(0),_(1,"app-packing-slip-v2",1),v()),n&2){let t=l.ngIf;e(),r("receipt",t==null?null:t.Data)("template",t==null?null:t.Template)("config",t==null?null:t.AppConfigJSON)("css",t==null?null:t.StylesSheet)}}var Pn=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(T(t=>D.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.PackingSlipInvoice,t))),F(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),E(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(u(S),u(h))};static \u0275cmp=b({type:n,selectors:[["app-print-packing-slip-v2"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"receipt","template","config","css"]],template:function(t,p){t&1&&(d(0,rd,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[ft,y,w,Dt],encapsulation:2})};var cd=[{path:"InvoiceMini",component:Ft},{path:"Invoice",component:jt},{path:"Estimate",component:en},{path:"SalesOrder",component:Ut},{path:"CustomerPO",component:$t},{path:"OutDelivery",component:Gt},{path:"PackingSlip/V1",component:Xt},{path:"PackingSlip",component:Pn},{path:"WorkOrder",component:Zt},{path:"InvoiceNOutD",component:qt},{path:"Transfer",component:Kt},{path:"TransferMini",component:cn},{path:"InDelivery",component:Yt},{path:"SupplierInvoice",component:tn},{path:"SupplierInvoiceMini",component:mn},{path:"SupplierPO",component:rn},{path:"Treatment",component:nn},{path:"RegisterClosure",component:on},{path:"JobOrder",component:ln},{path:"JobOrderMini",component:an},{path:"BulkSupplierInvoice",component:pn},{path:"BulkInvoice",component:gn},{path:"Adjustment",component:dn},{path:"Manual-journal-invoice",component:_n},{path:"Payment",component:Cn}],sn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[Mn.forChild(cd),Mn]})};var Xn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,sn,jn,Qn,$n,Qt,It,Vt,dt,Dt]})};export{nn as a,Xn as b};