dealpos 25.35.2 → 25.36.0

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 (168) hide show
  1. package/browser/{chunk-NT4HXAUQ.js → chunk-2AKQJVEF.js} +1 -1
  2. package/browser/{chunk-M4GPXLRN.js → chunk-2KYHJWM4.js} +1 -1
  3. package/browser/{chunk-EYCYL6AL.js → chunk-2NPKEKTC.js} +1 -1
  4. package/browser/{chunk-7B7ON5E6.js → chunk-2RC5LEZJ.js} +1 -1
  5. package/browser/{chunk-P5KSSZK7.js → chunk-33U3HZTY.js} +1 -1
  6. package/browser/{chunk-K6OQJCJ6.js → chunk-3CAN5VUX.js} +1 -1
  7. package/browser/{chunk-MHBOKOSN.js → chunk-3LBZWLLT.js} +1 -1
  8. package/browser/chunk-4CICJ5O2.js +1 -0
  9. package/browser/{chunk-M6C7J4PM.js → chunk-4JAQKA6N.js} +1 -1
  10. package/browser/{chunk-XVFIUKXR.js → chunk-4RFXQF2Y.js} +1 -1
  11. package/browser/{chunk-AZT6QE56.js → chunk-52EOLV7I.js} +1 -1
  12. package/browser/{chunk-37ZQRASR.js → chunk-5CTVOG3M.js} +1 -1
  13. package/browser/{chunk-34GJS34C.js → chunk-5Q5T67DH.js} +1 -1
  14. package/browser/{chunk-L2RZWAX3.js → chunk-5UCQBOD6.js} +1 -1
  15. package/browser/{chunk-2ULGMZHE.js → chunk-6GLD5CWJ.js} +1 -1
  16. package/browser/{chunk-H6BFHXJX.js → chunk-6MXSAOYM.js} +1 -1
  17. package/browser/{chunk-LCUJHXDF.js → chunk-6N4AU5UX.js} +1 -1
  18. package/browser/{chunk-5IY3H7NG.js → chunk-6NGZRFK5.js} +1 -1
  19. package/browser/{chunk-4YPJAUSY.js → chunk-6SRLAAI5.js} +1 -1
  20. package/browser/{chunk-Q76KX5JJ.js → chunk-6XUOOR3K.js} +1 -1
  21. package/browser/{chunk-DXROSW6B.js → chunk-7A3GWGOJ.js} +1 -1
  22. package/browser/chunk-7LBFB7CT.js +222 -0
  23. package/browser/{chunk-XFTFPZJA.js → chunk-7LHQ4DZG.js} +1 -1
  24. package/browser/{chunk-AVWEAAID.js → chunk-A5K2PQQ4.js} +1 -1
  25. package/browser/chunk-AAMY5NIV.js +56 -0
  26. package/browser/{chunk-L755Z2UU.js → chunk-AHYXCJZT.js} +1 -1
  27. package/browser/{chunk-XP2OIGWH.js → chunk-APZ5IBSQ.js} +1 -1
  28. package/browser/{chunk-B7E3DL2Y.js → chunk-ATKMC4PC.js} +1 -1
  29. package/browser/{chunk-WDIJOVDQ.js → chunk-B24VHNT4.js} +1 -1
  30. package/browser/{chunk-33JZH2UR.js → chunk-BAXEGRPF.js} +1 -1
  31. package/browser/{chunk-PPWHSAY6.js → chunk-C6ARCDXZ.js} +1 -1
  32. package/browser/{chunk-VYUMNVGD.js → chunk-C73IEBHE.js} +1 -1
  33. package/browser/{chunk-YWF2JYRN.js → chunk-CAMFGC4E.js} +1 -1
  34. package/browser/{chunk-LKZE2HD4.js → chunk-CFHK44JI.js} +1 -1
  35. package/browser/{chunk-AAJJTF33.js → chunk-CGESXTHC.js} +1 -1
  36. package/browser/{chunk-E5UK2WMM.js → chunk-CI7FRQUA.js} +1 -1
  37. package/browser/{chunk-QMPKHU2W.js → chunk-CILKE53W.js} +1 -1
  38. package/browser/{chunk-CZTNOFUC.js → chunk-CJJOOS3O.js} +1 -1
  39. package/browser/{chunk-R5W6OHJL.js → chunk-DILWG5FB.js} +1 -1
  40. package/browser/{chunk-CGTCYQPU.js → chunk-DJ7VQO4C.js} +1 -1
  41. package/browser/{chunk-X4VB4DKS.js → chunk-DL663E4R.js} +1 -1
  42. package/browser/chunk-DNC7PRJV.js +1 -0
  43. package/browser/{chunk-HNBLWEAJ.js → chunk-DXI2XA4V.js} +1 -1
  44. package/browser/{chunk-7VKHUEU6.js → chunk-DXPRJ5LT.js} +1 -1
  45. package/browser/{chunk-ZCKT34V7.js → chunk-E66PWTHL.js} +1 -1
  46. package/browser/{chunk-FBTUV7TY.js → chunk-EGVOGJRD.js} +1 -1
  47. package/browser/{chunk-6CUC5ZVY.js → chunk-ELYQEBKR.js} +1 -1
  48. package/browser/{chunk-FIS6Q5OG.js → chunk-EW42TM43.js} +1 -1
  49. package/browser/{chunk-FLCMFLQ7.js → chunk-F5ERAH5D.js} +1 -1
  50. package/browser/{chunk-LFRQUM6J.js → chunk-FL5GLDA5.js} +1 -1
  51. package/browser/{chunk-EXCJNRRJ.js → chunk-FQX3G3SJ.js} +1 -1
  52. package/browser/{chunk-U7VNF37P.js → chunk-FWFSFB4T.js} +1 -1
  53. package/browser/{chunk-OBH4MNSM.js → chunk-GCFUFHPD.js} +1 -1
  54. package/browser/chunk-GOJ5YFDH.js +125 -0
  55. package/browser/{chunk-GEWY5VWO.js → chunk-GSQJO7HP.js} +1 -1
  56. package/browser/{chunk-K76G23WC.js → chunk-GVJYCZNZ.js} +1 -1
  57. package/browser/{chunk-7ENHJR7R.js → chunk-HA2GY7XU.js} +1 -1
  58. package/browser/{chunk-3JF2MACF.js → chunk-HK2LGXLR.js} +1 -1
  59. package/browser/{chunk-WQRN2UCW.js → chunk-HOTMNALX.js} +1 -1
  60. package/browser/{chunk-ZR4YNJBZ.js → chunk-HR64LU2Y.js} +1 -1
  61. package/browser/{chunk-KVPIGIZJ.js → chunk-HRMJHSXP.js} +1 -1
  62. package/browser/{chunk-5MGHIIE6.js → chunk-HW6UF72Y.js} +2 -2
  63. package/browser/{chunk-WC4MWHJJ.js → chunk-I5T3YLJW.js} +1 -1
  64. package/browser/{chunk-GFFJDDRS.js → chunk-IJEMVPPA.js} +1 -1
  65. package/browser/{chunk-Z7WYC46Q.js → chunk-IROB4ID4.js} +1 -1
  66. package/browser/{chunk-6V2AFFCL.js → chunk-ITEHBWAC.js} +1 -1
  67. package/browser/{chunk-XY7FDLSK.js → chunk-IUKQX4L5.js} +1 -1
  68. package/browser/{chunk-AYBLEFQB.js → chunk-IUVGWNPX.js} +1 -1
  69. package/browser/{chunk-22OO6V42.js → chunk-IYORR7HN.js} +1 -1
  70. package/browser/{chunk-WDS6MTSX.js → chunk-J5MFQCBO.js} +2 -2
  71. package/browser/chunk-JAK4NHAQ.js +1 -0
  72. package/browser/{chunk-3VKLFFAF.js → chunk-JCT27TRG.js} +1 -1
  73. package/browser/{chunk-LG5UTNBU.js → chunk-JNJJYDP7.js} +1 -1
  74. package/browser/{chunk-O7H6QE5A.js → chunk-JQCW7L5P.js} +1 -1
  75. package/browser/{chunk-SJIEANJU.js → chunk-JTNYYPAS.js} +1 -1
  76. package/browser/{chunk-3USDNSPA.js → chunk-JXKXAC3X.js} +1 -1
  77. package/browser/{chunk-4YAMWP7V.js → chunk-JZMT6UGS.js} +1 -1
  78. package/browser/chunk-KA7FD33G.js +231 -0
  79. package/browser/{chunk-ZWEHXDXR.js → chunk-KEP7R6ZO.js} +1 -1
  80. package/browser/{chunk-GOQ3ZCDK.js → chunk-KG4DA565.js} +1 -1
  81. package/browser/{chunk-3J6SPHP2.js → chunk-KJ6NWQLT.js} +1 -1
  82. package/browser/{chunk-BMNZHUI6.js → chunk-KKBNUMTH.js} +1 -1
  83. package/browser/{chunk-ETHIPTBJ.js → chunk-KLBDRVPT.js} +1 -1
  84. package/browser/{chunk-GFDEHNOL.js → chunk-L4DGSDB5.js} +1 -1
  85. package/browser/{chunk-XXGDZ22Y.js → chunk-LC5CKSH6.js} +1 -1
  86. package/browser/{chunk-3YXP5Q5V.js → chunk-LHP3ECFW.js} +1 -1
  87. package/browser/{chunk-5VFKAJV6.js → chunk-M6P3HBWJ.js} +1 -1
  88. package/browser/{chunk-LYGTJSME.js → chunk-MLLJKAHD.js} +1 -1
  89. package/browser/{chunk-4BQ6OFGZ.js → chunk-MRXZBHTG.js} +1 -1
  90. package/browser/chunk-MYN3Q2VC.js +1 -0
  91. package/browser/{chunk-HV7GI3KE.js → chunk-N6W7PM3O.js} +1 -1
  92. package/browser/{chunk-WOBW4V44.js → chunk-NOHWS6IE.js} +1 -1
  93. package/browser/{chunk-Q5YFG526.js → chunk-NQRCFNVO.js} +1 -1
  94. package/browser/{chunk-GE53XQ2Q.js → chunk-NRAL4DDE.js} +1 -1
  95. package/browser/{chunk-MDXFAEYC.js → chunk-NUW4MIT6.js} +1 -1
  96. package/browser/{chunk-45Q3TR52.js → chunk-NUWSYMBU.js} +1 -1
  97. package/browser/{chunk-IQO7F652.js → chunk-OBNSNZON.js} +1 -1
  98. package/browser/{chunk-NHVOGEOO.js → chunk-OLALZT3L.js} +1 -1
  99. package/browser/{chunk-JFAIF63Q.js → chunk-OLFWZQFT.js} +1 -1
  100. package/browser/{chunk-IUXGZNAZ.js → chunk-ONRDB4BH.js} +1 -1
  101. package/browser/{chunk-SO3WWYN3.js → chunk-P26BSMOR.js} +1 -1
  102. package/browser/{chunk-VDKUDQZO.js → chunk-P2QGWS2U.js} +1 -1
  103. package/browser/{chunk-RXY2UMNO.js → chunk-PJFHECMK.js} +1 -1
  104. package/browser/{chunk-J4SLL7XI.js → chunk-PLN3EBU6.js} +1 -1
  105. package/browser/{chunk-5IG3NZVF.js → chunk-PUIYTAAZ.js} +1 -1
  106. package/browser/{chunk-M7KP6PSY.js → chunk-Q24EPOM2.js} +1 -1
  107. package/browser/{chunk-7HI7DCIJ.js → chunk-QUEQTUK6.js} +1 -1
  108. package/browser/chunk-QWGJZVAV.js +3 -0
  109. package/browser/chunk-R5L6W563.js +12 -0
  110. package/browser/chunk-R5YABUYV.js +1 -0
  111. package/browser/{chunk-FWDPAH4G.js → chunk-RFGEPCV2.js} +1 -1
  112. package/browser/chunk-RKIGNDD4.js +1 -0
  113. package/browser/{chunk-NI6KAEXM.js → chunk-RSDCLKM5.js} +1 -1
  114. package/browser/{chunk-Q5AWNSSD.js → chunk-S3FHQFMA.js} +1 -1
  115. package/browser/{chunk-UBWK4RWH.js → chunk-SQGLTFQU.js} +1 -1
  116. package/browser/{chunk-WZEGUTUH.js → chunk-SXVO2KX6.js} +1 -1
  117. package/browser/{chunk-GK45LVUY.js → chunk-T7MWWMHI.js} +1 -1
  118. package/browser/{chunk-QLFKPTZA.js → chunk-TIN7QXDO.js} +1 -1
  119. package/browser/chunk-TKOYQNM7.js +1 -0
  120. package/browser/chunk-TLOTIYIE.js +193 -0
  121. package/browser/{chunk-LXZS75G2.js → chunk-TOH3UHX6.js} +1 -1
  122. package/browser/{chunk-F3ZJVCRK.js → chunk-TYJFPB6K.js} +1 -1
  123. package/browser/{chunk-TOWVTOFV.js → chunk-TYLM2YM3.js} +1 -1
  124. package/browser/chunk-U6JBP3LR.js +1 -0
  125. package/browser/{chunk-NPHAQCON.js → chunk-UBNLFU2O.js} +1 -1
  126. package/browser/{chunk-WEJYVCCX.js → chunk-UHJRDVRX.js} +1 -1
  127. package/browser/{chunk-BBRBME3A.js → chunk-UXBSTSDB.js} +1 -1
  128. package/browser/{chunk-VJWRLXE4.js → chunk-VB5GF2CR.js} +1 -1
  129. package/browser/{chunk-SVW3DCFV.js → chunk-VGF6UZQS.js} +1 -1
  130. package/browser/{chunk-6E4UKP3I.js → chunk-VLMJLWKE.js} +4 -4
  131. package/browser/{chunk-W64M5WBH.js → chunk-VOTLCXGS.js} +1 -1
  132. package/browser/{chunk-BMQKMDMC.js → chunk-VZX4F3F5.js} +1 -1
  133. package/browser/{chunk-SZKR6UME.js → chunk-WAXN55HD.js} +1 -1
  134. package/browser/{chunk-LYOMQKFY.js → chunk-WEPGXYEY.js} +1 -1
  135. package/browser/{chunk-FOVCORMR.js → chunk-WT7N3EIH.js} +1 -1
  136. package/browser/{chunk-3AY3BZNI.js → chunk-WXF4SX6R.js} +1 -1
  137. package/browser/{chunk-4DIUJNZF.js → chunk-WXGNPWQE.js} +1 -1
  138. package/browser/{chunk-677WPFLK.js → chunk-X6LIVARI.js} +1 -1
  139. package/browser/{chunk-S6TMUVGC.js → chunk-X7G45LGM.js} +1 -1
  140. package/browser/{chunk-M2DBAY4P.js → chunk-XBA2ECU6.js} +1 -1
  141. package/browser/chunk-XFHWDM44.js +285 -0
  142. package/browser/{chunk-OZOAAIBM.js → chunk-XIVHSSRN.js} +1 -1
  143. package/browser/{chunk-V4OYKDE2.js → chunk-XNYNBS44.js} +2 -2
  144. package/browser/{chunk-ZYTLUHOS.js → chunk-XOZ72TC6.js} +1 -1
  145. package/browser/{chunk-SRISQ4G6.js → chunk-XWD54EOV.js} +1 -1
  146. package/browser/{chunk-VMIXOKE7.js → chunk-Y2KIIQWZ.js} +1 -1
  147. package/browser/{chunk-OGUGTEB3.js → chunk-Y4MOEVLJ.js} +1 -1
  148. package/browser/{chunk-YQCR57JN.js → chunk-Y4VV2HSW.js} +1 -1
  149. package/browser/{chunk-4L4E5MG3.js → chunk-Z32NRI5K.js} +1 -1
  150. package/browser/{chunk-CNY7II6H.js → chunk-Z3CSYV25.js} +1 -1
  151. package/browser/{chunk-AW3VIYPK.js → chunk-Z5L5OWOY.js} +1 -1
  152. package/browser/{chunk-A477JKU4.js → chunk-ZUHEKCUE.js} +1 -1
  153. package/browser/index.html +3 -3
  154. package/browser/{main-WYOICQDK.js → main-VU2TFHVD.js} +2 -2
  155. package/package.json +1 -1
  156. package/browser/chunk-2BRCOLHG.js +0 -1
  157. package/browser/chunk-3GB5DSK3.js +0 -1
  158. package/browser/chunk-3PYW74LR.js +0 -193
  159. package/browser/chunk-66WXWMUG.js +0 -1
  160. package/browser/chunk-73ESQDPI.js +0 -125
  161. package/browser/chunk-7NMXZ55P.js +0 -56
  162. package/browser/chunk-AYEQLVMX.js +0 -506
  163. package/browser/chunk-FY4JABYL.js +0 -1
  164. package/browser/chunk-INDKSR3O.js +0 -3
  165. package/browser/chunk-LHGABVF6.js +0 -12
  166. package/browser/chunk-LI3MYO4W.js +0 -1
  167. package/browser/chunk-R3IC3THI.js +0 -1
  168. package/browser/chunk-XGQGO4PE.js +0 -1
@@ -1 +1 @@
1
- import{a as wt,b as jn}from"./chunk-JFAIF63Q.js";import{a as Vn,b as Fn}from"./chunk-KVPIGIZJ.js";import{b as Bn,c as Ln,d as Jn}from"./chunk-5VFKAJV6.js";import{a as z,b as Ct,c as Vt}from"./chunk-W2UCLTBY.js";import{a as Rt}from"./chunk-UBUC3CPO.js";import{a as dt}from"./chunk-TGAOY65D.js";import{a as zt}from"./chunk-XX6Z7QPA.js";import{E as Rn,H as Jt,I as zn,O as It,P as I,d as Pt,g as tt,n as Bt,o as j,q as st,v as Lt,z as Ot}from"./chunk-L2RZWAX3.js";import{a as T,d as St}from"./chunk-AHCRE4GP.js";import{$a as e,$b as An,Ab as ht,Ac as m,Bb as wn,Bc as u,Cc as mt,Db as f,E as D,Eb as At,Fc as K,Gb as Nt,Hb as Ht,Ib as i,Ja as Dt,Jb as o,K as hn,Kb as _,Lb as x,Ma as _t,Mb as v,Nb as ut,Od as h,Pc as Y,Qb as Tn,Rb as c,Td as un,Ub as Dn,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 Nn,cd as w,d as vn,da as yn,db as M,dc as Z,dd as Hn,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,na as Sn,o as bn,qb as d,rc as et,sc as it,t as F,ua as In,ub as H,vb as r,wb as Mn,wd as A,yb as ct,zb as Et,zc as g}from"./chunk-DZT5XHBQ.js";import{a as xn}from"./chunk-7DCB7DB2.js";function Wn(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)}}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(W=>{this.model=W,this.model.Data.InvoiceID=l,this.setBrowserTitle(W);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)(M(S),M(h),M(A),M(St))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,p){t&1&&Tn("contextmenu",function(W){return p.preventOpenContextMenu(W)})},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction","stylesheet"]],template:function(t,p){t&1&&d(0,Wn,2,7,"ng-container",0),t&2&&r("ngIf",p.model)},dependencies:[y,Ln],encapsulation:2})};function Gn(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)}}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"),W=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=>(W&&(nt.Template.PrintLX300=W=="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)(M(S),M(h),M(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"]],template:function(t,p){t&1&&(d(0,Gn,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function Xn(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(D(t=>T.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)(M(S),M(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,Xn,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Vn,w],encapsulation:2})};var Zn=(n,l)=>({lx300:n,"print-normal":l}),qn=n=>({width:n});function Kn(n,l){n&1&&_(0,"link",43)}function Yn(n,l){n&1&&_(0,"link",44)}function te(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;ct(et(3,qn,(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 ne(n,l){if(n&1&&(x(0),d(1,te,1,5,"img",46),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t.Template.Logo)}}function ee(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;r("src",t.Template.Logo,J)}}function ie(n,l){if(n&1&&d(0,ee,1,1,"img",48),n&2){let t=c(2).ngIf;r("ngIf",t.Template.Logo)}}function oe(n,l){if(n&1&&(i(0,"div",10),d(1,ne,2,1,"ng-container",45)(2,ie,1,1,"ng-template",null,0,K),o()),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 le(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(2).ngIf;e(),C("(",t.Data.Contact.MemberIdentification,")")}}function ae(n,l){if(n&1&&(i(0,"div",49)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",50)(5,"strong"),a(6),o(),d(7,le,2,1,"span",1),i(8,"div",51)(9,"div")(10,"span"),a(11),o()(),i(12,"div")(13,"span"),a(14),o()(),i(15,"div"),_(16,"span",14),o(),i(17,"div")(18,"span"),a(19),o()()()()()),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 re(n,l){n&1&&(i(0,"th"),a(1,"Due"),o())}function ce(n,l){n&1&&(i(0,"th"),a(1,"ToP"),o())}function pe(n,l){n&1&&(i(0,"th"),a(1,"Sales"),o())}function ge(n,l){n&1&&(i(0,"th"),a(1," PO# "),o())}function de(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().ngIf;e(),C(" ",u(2,1,t.Data.Invoice.Due,"dd MMM yyyy")," ")}}function _e(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),P(t.Data.ToP)}}function Ce(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function me(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function Pe(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(2).ngIf;e(),C(", ",t.Data.ShippingAddress.Phone,"")}}function se(n,l){if(n&1&&(i(0,"div",52)(1,"h3"),a(2),o(),i(3,"div",50)(4,"div"),a(5),d(6,Pe,2,1,"span",1),o(),_(7,"div",14),i(8,"div"),a(9),o()()()),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 Oe(n,l){n&1&&(i(0,"th",53),a(1," Disc "),o())}function Me(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 ue(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function fe(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C(" -",t.DiscountAmount," ")}}function xe(n,l){if(n&1&&(i(0,"td",57),d(1,ue,2,1,"div",1)(2,fe,2,1,"div",1),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0)}}function ve(n,l){if(n&1&&(i(0,"tr")(1,"td",15),a(2),o(),i(3,"td"),a(4),i(5,"div"),d(6,Me,2,3,"i",54),o()(),i(7,"td"),a(8),o(),i(9,"td",15),a(10),g(11,"number"),o(),i(12,"td"),a(13),o(),i(14,"td",15),a(15),g(16,"number"),o(),d(17,xe,3,2,"td",55),i(18,"td",15),a(19),g(20,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,W=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",W.isDiscount),e(2),C(" ",u(20,13,t.Total,O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function be(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(3);e(),C("Qty : ",m(2,1,t.totalQty),";")}}function he(n,l){if(n&1&&(i(0,"tr")(1,"th"),d(2,be,3,3,"span",1),a(3),o(),i(4,"td"),a(5,":"),o(),i(6,"td",58),a(7),o(),i(8,"td",26),a(9),g(10,"TrailingZero"),o()()),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(" ",u(10,4,t.Amount,p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ye(n,l){if(n&1&&(i(0,"td",60),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data.TotalInWords," ")}}function Se(n,l){if(n&1&&(i(0,"tr"),_(1,"th",14),i(2,"td"),a(3,":"),o(),d(4,ye,2,1,"td",59),o()),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 Ie(n,l){if(n&1&&(i(0,"span")(1,"span",61),a(2),g(3,"date"),o(),a(4),g(5,"number"),_(6,"br"),o()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("hidden",p.Data.Payments),e(),P(u(3,5,t.Date,"dd MMM yy")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",m(5,8,t.Amount)," ")}}function we(n,l){if(n&1&&(i(0,"tr"),_(1,"th",14),i(2,"td"),a(3,":"),o(),i(4,"td"),d(5,Ie,7,10,"span",29),o()()),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 Te(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Delivery"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",62)(7,"li"),a(8),o()()()()),n&2){let t=c().ngIf;e(8),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function De(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",62),_(7,"li",14),g(8,"newlines"),o()()()),n&2){let t=c().ngIf;e(7),r("innerHTML",m(8,1,t.Data.Invoice==null?null:t.Data.Invoice.Note),s)}}function ke(n,l){if(n&1&&(i(0,"div",63)(1,"h5"),a(2),o(),i(3,"div",36),a(4,"\xA0"),o()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function Ee(n,l){if(n&1&&(i(0,"div",64)(1,"h5"),a(2),o(),i(3,"div",36),a(4,"\xA0"),o()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Ae(n,l){if(n&1&&_(0,"div",65),n&2){let t=c().ngIf;r("innerHTML",t.Template.FooterRight,s)}}function Ne(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,Kn,1,0,"link",3)(4,Yn,1,0,"link",4),i(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,oe,4,2,"div",10),i(11,"div",11)(12,"h2"),a(13),o(),i(14,"small"),a(15),o(),i(16,"div",12)(17,"div",13),_(18,"span",14),g(19,"newlines"),o(),i(20,"div",15),_(21,"span",14),g(22,"newlines"),o()()()(),d(23,ae,20,7,"div",16),o(),i(24,"div",17)(25,"h1")(26,"strong"),a(27),o(),i(28,"span"),a(29),o()(),i(30,"div")(31,"table")(32,"thead")(33,"tr")(34,"th"),a(35,"Date"),o(),d(36,re,2,0,"th",1)(37,ce,2,0,"th",1)(38,pe,2,0,"th",1)(39,ge,2,0,"th",1),o()(),i(40,"tbody")(41,"tr")(42,"td"),a(43),g(44,"date"),o(),d(45,de,3,4,"td",1)(46,_e,2,1,"td",1)(47,Ce,2,1,"td",1)(48,me,2,1,"td",1),o()()()(),d(49,se,10,5,"div",18),o()()(),i(50,"section",19)(51,"div",20)(52,"table",21)(53,"thead",22)(54,"tr")(55,"th",23),a(56,"No"),o(),i(57,"th"),a(58,"Name"),o(),i(59,"th",24),a(60,"Code"),o(),i(61,"th",25),a(62,"Qty"),o(),i(63,"th",26),a(64,"UOM"),o(),i(65,"th",27),a(66),o(),d(67,Oe,2,0,"th",28),i(68,"th",27),a(69),o()()(),i(70,"tbody"),d(71,ve,21,16,"tr",29),o(),i(72,"tr",30)(73,"td",31)(74,"table",32)(75,"tbody"),d(76,he,11,7,"tr",29),o()()()()()()(),i(77,"table",33),d(78,Se,5,2,"tr",1)(79,we,6,2,"tr",1)(80,Te,9,1,"tr",1)(81,De,9,3,"tr",1),o(),i(82,"div")(83,"div")(84,"div",34)(85,"div",35)(86,"h5"),a(87),o(),i(88,"div",36),a(89,"\xA0"),o()(),d(90,ke,5,1,"div",37)(91,Ee,5,1,"div",38),i(92,"div",39)(93,"h5"),a(94),o(),i(95,"div",36),a(96),o()()()()(),i(97,"div",40),_(98,"div",41),d(99,Ae,1,1,"div",42),o()(),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,Zn,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(u(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(D(t=>T.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)(M(S),M(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,Ne,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 He=(n,l)=>({lx300:n,"print-normal":l}),Re=n=>({width:n}),ze=(n,l)=>({"justify-content-between":n,"justify-content-end":l});function Be(n,l){n&1&&_(0,"link",9)}function Le(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 Ve(n,l){if(n&1&&(x(0),_(1,"img",54),v()),n&2){let t=c(3);e(),ct(et(3,Re,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),r("src",t.printTemplate.Logo,J)}}function Fe(n,l){if(n&1&&_(0,"img",54),n&2){let t=c(3);r("src",t.printTemplate.Logo,J)}}function je(n,l){if(n&1&&(i(0,"div",15),d(1,Ve,2,5,"ng-container",53)(2,Fe,1,1,"ng-template",null,2,K),o()),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 Ue(n,l){n&1&&(i(0,"th"),a(1," Due "),o())}function $e(n,l){n&1&&(i(0,"th"),a(1," ToP "),o())}function Qe(n,l){n&1&&(i(0,"th"),a(1," Sales "),o())}function We(n,l){n&1&&(x(0),i(1,"th"),a(2,"PO#"),o(),v())}function Ge(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c(2);e(),C(" ",u(2,1,t.data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Xe(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2);e(),C(" ",t.data.ToP," ")}}function Ze(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2);e(),C(" ",t.data.SalesName," ")}}function qe(n,l){if(n&1&&(x(0),i(1,"td"),a(2),o(),v()),n&2){let t=c(2);e(2),P(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function Ke(n,l){if(n&1&&(i(0,"div",55),_(1,"h3",56),i(2,"div"),a(3),_(4,"div",56)(5,"div",56),o()()),n&2){let t=c(2);Mn("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 Ye(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.Contact.Email)}}function ti(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),n&2){let t=c(3);e(),r("innerHTML",t.data.Contact.Address,s)}}function ni(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function ei(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.City)}}function ii(n,l){if(n&1&&(i(0,"div",57),_(1,"span",17),i(2,"strong",58),a(3),o(),i(4,"div",59),d(5,Ye,3,1,"div",12)(6,ti,2,1,"div",12)(7,ni,3,1,"div",12)(8,ei,3,1,"div",12),o()()),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 oi(n,l){if(n&1&&(i(0,"div",57)(1,"span"),a(2),o()()),n&2){let t=c(2);e(2),C("Courier: ",t.data.ItemTransfer.Courier,"")}}function li(n,l){n&1&&(i(0,"th",60),a(1," Code "),o())}function ai(n,l){if(n&1&&(i(0,"th",34),a(1),o()),n&2){let t=c(2);e(),C(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function ri(n,l){n&1&&ut(0)}function ci(n,l){if(n&1&&d(0,ri,1,0,"ng-container",61),n&2){c();let t=Z(67);r("ngTemplateOutlet",t)}}function pi(n,l){n&1&&ut(0)}function gi(n,l){if(n&1&&d(0,pi,1,0,"ng-container",61),n&2){c();let t=Z(67);r("ngTemplateOutlet",t)}}function di(n,l){if(n&1&&(i(0,"th",62),a(1),o(),i(2,"th",63),a(3),o()),n&2){let t=c(2);e(),C("Cost (",t.data.currencySymbol,")"),e(2),C(" Total Cost (",t.data.currencySymbol,") ")}}function _i(n,l){n&1&&ut(0)}function Ci(n,l){if(n&1&&d(0,_i,1,0,"ng-container",61),n&2){c();let t=Z(71);r("ngTemplateOutlet",t)}}function mi(n,l){n&1&&ut(0)}function Pi(n,l){if(n&1&&d(0,mi,1,0,"ng-container",61),n&2){c();let t=Z(71);r("ngTemplateOutlet",t)}}function si(n,l){if(n&1&&(i(0,"th",64),a(1),o(),i(2,"th",65),a(3,"%"),o(),i(4,"th",66),a(5),o()),n&2){let t=c(2);e(),C("Price (",t.data.currencySymbol,")"),e(4),C(" Total Price (",t.data.currencySymbol,") ")}}function Oi(n,l){n&1&&(i(0,"th"),a(1,"Note"),o())}function Mi(n,l){if(n&1&&(i(0,"th",64),a(1),o()),n&2){let t=c(2);e(),C(" Price (",t.data.currencySymbol,") ")}}function ui(n,l){if(n&1&&(i(0,"th",66),a(1),o()),n&2){let t=c(2);e(),C(" Total Price (",t.data.currencySymbol,") ")}}function fi(n,l){if(n&1&&(i(0,"th",64),a(1),o()),n&2){let t=c(2);e(),C(" Cost (",t.data.currencySymbol,") ")}}function xi(n,l){if(n&1&&(i(0,"th",63),a(1),o()),n&2){let t=c(2);e(),C(" Total Cost (",t.data.currencySymbol,") ")}}function vi(n,l){if(n&1&&(i(0,"div")(1,"small",70),a(2),o()()),n&2){let t=c().$implicit;e(2),P(t.StorageLocation)}}function bi(n,l){if(n&1&&_(0,"i",72),n&2){let t=c(2).$implicit;r("innerHTML",t.Note,s)}}function hi(n,l){if(n&1&&(i(0,"div"),d(1,bi,1,1,"i",71),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Note!=null)}}function yi(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function Si(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.Unit),"")}}function Ii(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.UnitQuantity),"")}}function wi(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.Unit)," ")}}function Ti(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.UnitQuantity)," ")}}function Di(n,l){if(n&1&&(i(0,"td"),d(1,wi,3,3,"span",12)(2,Ti,3,3,"span",12),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Unit),e(),r("ngIf",t.UnitQuantity)}}function ki(n,l){n&1&&ut(0)}function Ei(n,l){if(n&1&&d(0,ki,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function Ai(n,l){n&1&&ut(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&&ut(0)}function Ri(n,l){if(n&1&&d(0,Hi,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function zi(n,l){n&1&&ut(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){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 Ji(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 Vi(n,l){if(n&1&&d(0,Li,2,3,"td",69)(1,Ji,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 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.UnitPrice),s)}}function ji(n,l){if(n&1&&_(0,"td",73),n&2){let t=c(2).$implicit;r("innerHTML",t.Discount,s)}}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.TotalPrice),s)}}function $i(n,l){if(n&1&&d(0,Fi,2,3,"td",69)(1,ji,1,1,"td",69)(2,Ui,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 Qi(n,l){if(n&1&&(i(0,"td"),_(1,"span",74),o()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note?t.Note:t.PONote,s)}}function Wi(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 Gi(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 Xi(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 Zi(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 qi(n,l){if(n&1&&(i(0,"tr")(1,"td",67),a(2),o(),i(3,"td")(4,"div"),a(5),d(6,vi,3,1,"div",12),o(),_(7,"app-serial-note",68),d(8,hi,2,1,"div",12),o(),d(9,yi,2,1,"td",12),i(10,"td",45),a(11),g(12,"number"),d(13,Si,3,3,"span",12)(14,Ii,3,3,"span",12),o(),d(15,Di,3,2,"td",12),i(16,"td"),a(17),o(),d(18,Ei,1,1,"ng-container")(19,Ni,1,1,"ng-container")(20,Ri,1,1,"ng-container")(21,Bi,1,1,"ng-container")(22,Vi,2,2,"ng-template",null,3,K)(24,$i,3,3,"ng-template",null,4,K)(26,Qi,2,1,"td",12)(27,Wi,2,3,"td",69)(28,Gi,2,3,"td",69)(29,Xi,2,3,"td",69)(30,Zi,2,3,"td",69),o()),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 Ki(n,l){if(n&1&&(i(0,"td",42)(1,"div",75)(2,"span",76),a(3,"Weight: "),o(),i(4,"span",76),a(5),g(6,"number"),o()()()),n&2){let t=c(2);e(5),C("",m(6,1,t.totalWeight())," gr")}}function Yi(n,l){if(n&1&&_(0,"td",43),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function to(n,l){n&1&&_(0,"td")}function no(n,l){n&1&&_(0,"td")}function eo(n,l){if(n&1&&(i(0,"td",44)(1,"b"),a(2),g(3,"number"),o()()),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),P(m(3,2,t.TotalCost))}}function io(n,l){n&1&&_(0,"td")}function oo(n,l){n&1&&_(0,"td")}function lo(n,l){if(n&1&&(i(0,"td",77)(1,"b"),a(2),g(3,"number"),o()()),n&2){let t=c(2);e(2),P(m(3,1,t.TotalPrice))}}function ao(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(4);e(),P(t.data.Items.length>1?"Qty: "+m(2,1,t.TotalQty):"")}}function ro(n,l){if(n&1&&(i(0,"tr")(1,"th",79),d(2,ao,3,3,"span",12),a(3),o(),i(4,"th"),a(5,":"),o(),i(6,"th",80),a(7),o(),i(8,"th",34),a(9),g(10,"TrailingZero"),o()()),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(" ",u(10,4,t.Amount,p.data.TrailingZero)," ")}}function co(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",80),a(6),o(),i(7,"td",34),a(8),g(9,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=c(3);e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",u(9,3,t.Amount,p.data.TrailingZero)," ")}}function po(n,l){if(n&1&&(i(0,"div",49)(1,"table",78)(2,"tbody"),d(3,ro,11,7,"tr",40)(4,co,10,6,"tr",40),o()()()),n&2){let t=c(2);e(3),r("ngForOf",t.data.AmountSummary),e(),r("ngForOf",t.data.PaidAmountSummary)}}function go(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),_(7,"li",17),o()()()),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 _o(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Status"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),_(7,"li",17),o()()()),n&2){let t=c(3);e(7),r("innerHTML",t.data==null?null:t.data.Status,s)}}function Co(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"date"),o()()()()),n&2){let t=c(3);e(2),C(" ",t.config.ModuleSell.Shipping.DateLabel," "),e(6),C(" ",u(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function mo(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Approved by"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82)(7,"li"),a(8),o()()()()),n&2){let t=c(3);e(8),P(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Approval)}}function Po(n,l){if(n&1&&(i(0,"table",81),d(1,go,8,1,"tr",12)(2,_o,8,1,"tr")(3,Co,10,5,"tr",12)(4,mo,9,1,"tr",12),o()),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)}}function so(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,s)}}function Oo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,s)}}function Mo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,s)}}function uo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function fo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,s)}}function xo(n,l){if(n&1&&(i(0,"div",92),_(1,"div",93),o()),n&2){let t=c(3);e(),r("innerHTML",t.printTemplate.DeliveryNote,s)}}function vo(n,l){if(n&1&&_(0,"small",94),n&2){let t=c(3);r("innerHTML",t.data.Creator,s)}}function bo(n,l){if(n&1&&(i(0,"div",83)(1,"div",84),d(2,so,5,1,"div",85)(3,Oo,5,1,"div",85)(4,Mo,5,1,"div",85)(5,uo,5,1,"div",85)(6,fo,5,1,"div",85),o(),d(7,xo,2,1,"div",86),i(8,"div",87),d(9,vo,1,1,"small",88),o()()),n&2){let t=c(2);e(),r("ngClass",it(8,ze,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 ho(n,l){if(n&1&&(i(0,"div",11),d(1,Je,2,1,"ng-container",12),i(2,"div")(3,"div",13)(4,"div",14),d(5,je,4,2,"div",15),i(6,"div",16),_(7,"h2",17)(8,"small",17),i(9,"div")(10,"div"),_(11,"div",17),g(12,"newlines"),o(),i(13,"div"),_(14,"div",17),g(15,"newlines"),_(16,"br"),o()()()()(),i(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"strong"),a(22),g(23,"uppercase"),o(),_(24,"span",17),o()(),i(25,"div",22)(26,"table",23)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),o(),d(31,Ue,2,0,"th",12)(32,$e,2,0,"th",12)(33,Qe,2,0,"th",12)(34,We,3,0,"ng-container",12),o()(),i(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),o(),d(40,Ge,3,4,"td",12)(41,Xe,2,1,"td",12)(42,Ze,2,1,"td",12)(43,qe,3,1,"ng-container",12),o()()()()(),i(44,"div",24),d(45,Ke,6,7,"div",25),o()()(),i(46,"div",26),d(47,ii,9,7,"div",27)(48,oi,3,1,"div",27),o(),i(49,"div",28)(50,"div",29)(51,"table",30)(52,"thead")(53,"tr",31)(54,"th",32),a(55,"No"),o(),i(56,"th"),a(57,"Name"),o(),d(58,li,2,0,"th",33),i(59,"th",34),a(60,"Qty"),o(),d(61,ai,2,1,"th",35),i(62,"th",36),a(63,"UOM"),o(),d(64,ci,1,1,"ng-container")(65,gi,1,1,"ng-container")(66,di,4,2,"ng-template",null,0,K)(68,Ci,1,1,"ng-container")(69,Pi,1,1,"ng-container")(70,si,6,2,"ng-template",null,1,K)(72,Oi,2,0,"th",12)(73,Mi,2,1,"th",37)(74,ui,2,1,"th",38)(75,fi,2,1,"th",37)(76,xi,2,1,"th",39),o()(),i(77,"tbody"),d(78,qi,31,22,"tr",40),o(),i(79,"tfoot")(80,"tr",41),d(81,Ki,7,3,"td",42)(82,Yi,1,1,"td",43),i(83,"td",44)(84,"b"),a(85,"Total"),o()(),i(86,"td",45)(87,"b"),a(88),g(89,"number"),o()(),d(90,to,1,0,"td",12)(91,no,1,0,"td",12)(92,eo,4,4,"td",46)(93,io,1,0,"td",12)(94,oo,1,0,"td",12)(95,lo,4,3,"td",47),o()()()(),d(96,po,5,2,"div",48),i(97,"div",49),d(98,Po,5,4,"table",50),o(),d(99,bo,10,11,"div",51),o()()),n&2){let t=c();r("ngClass",it(61,He,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,50,t.printTemplate.Address),s),e(3),r("innerHTML",m(15,52,t.printTemplate.ContactInfo),s),e(8),C(" ",m(23,54,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(u(39,56,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(),Mn("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(),r("ngIf",t.data.ItemTransfer.Courier),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)?64:-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?65:-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?68:-1),e(),f(t.type==t.printingType.OUTBOUND&&t.roleService.product.Price&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)?69:-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)?81:82),e(2),r("colSpan",1),e(5),P(m(89,59,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 Mt=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=T.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=>T.IsNotEmpty(t));this.signatureCount.set(l.length)}static \u0275fac=function(t){return new(t||n)(M(h),M(R),M(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,Be,1,0,"link",6)(3,Le,1,0,"link",7)(4,ho,100,64,"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,Nn,Ct,dt,Hn,R,V,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,Bn,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(D(t=>T.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)(M(S),M(h),M(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,W,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",(W=m(2,7,p.data$))==null?null:W.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:[Mt,w],encapsulation:2})};var yo=(n,l)=>({lx300:n,"print-normal":l});function So(n,l){n&1&&_(0,"link",18)}function Io(n,l){n&1&&_(0,"link",19)}function wo(n,l){n&1&&_(0,"link",20)}function To(n,l){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.ContactDisplay)}}function Do(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 ko(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Eo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Ao(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),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 No(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Ho(n,l){if(n&1&&(i(0,"div",21)(1,"div",22)(2,"h4"),_(3,"span",17),o(),d(4,To,2,1,"strong",0)(5,Do,3,1,"div",0)(6,ko,3,1,"div",0)(7,Eo,3,1,"div",0)(8,Ao,2,1,"div",0)(9,No,3,1,"div",0),o()()),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 Ro(n,l){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Recipient)}}function zo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Bo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Lo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Jo(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),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 Vo(n,l){if(n&1&&(i(0,"div",7)(1,"div",23)(2,"div",9),_(3,"span",17),o(),d(4,Ro,2,1,"strong",0)(5,zo,3,1,"div",0)(6,Bo,3,1,"div",0)(7,Lo,3,1,"div",0)(8,Jo,2,1,"div",0),o()()),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 Fo(n,l){if(n&1&&(x(0),i(1,"div",24)(2,"div",25)(3,"div",26)(4,"span",9),a(5),o()()()(),v()),n&2){let t=c().ngIf;e(5),P(t==null||t.Data==null?null:t.Data.TypeName)}}function jo(n,l){n&1&&(i(0,"th"),a(1," Code "),o())}function Uo(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function $o(n,l){if(n&1&&(i(0,"tr"),_(1,"td",33),o()),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 Qo(n,l){if(n&1&&(i(0,"tbody")(1,"tr")(2,"td",32),a(3),o(),i(4,"td"),a(5),o(),d(6,Uo,2,1,"td",0),i(7,"td",32),a(8),g(9,"number"),o()(),d(10,$o,2,2,"tr",0),o()),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 Wo(n,l){if(n&1&&(i(0,"div",13)(1,"div",8)(2,"table",27)(3,"thead",28)(4,"tr")(5,"th",29),a(6,"No"),o(),i(7,"th",30),a(8,"Name"),o(),d(9,jo,2,0,"th",0),i(10,"th",29),a(11,"Qty"),o()()(),d(12,Qo,11,7,"tbody",31),o()()()),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 Go(n,l){if(n&1&&(i(0,"div",13)(1,"div",8),_(2,"div",34),o()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Xo(n,l){if(n&1&&(x(0),d(1,So,1,0,"link",1)(2,Io,1,0,"link",2)(3,wo,1,0,"link",3),_(4,"link",4),g(5,"StylesheetSafeUrl"),i(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"span"),a(12),o()()()(),d(13,Ho,10,7,"div",10)(14,Vo,9,6,"div",11)(15,Fo,6,1,"ng-container",0)(16,Wo,13,2,"div",12)(17,Go,3,1,"div",12),i(18,"div",13)(19,"div",8)(20,"div",14)(21,"div",15)(22,"div",16),_(23,"span",17),o()()()()()()(),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,yo,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(D(t=>T.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)(M(S),M(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,Xo,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 Zo(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(D(t=>T.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)(M(S),M(h),M(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,Zo,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function qo(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),i(2,"div",2),_(3,"pos-customer-delivery",3),o(),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),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(D(t=>T.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceAndDelivery,t))),F(t=>(t.Delivery&&(t.Delivery.PO=t.Invoice?.Order),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)(M(S),M(h),M(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"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,qo,4,11,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,Mt,w],encapsulation:2})};function Ko(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(D(t=>T.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)(M(S),M(h),M(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,Ko,2,6,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Mt,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(D(t=>T.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)(M(S),M(h),M(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,W,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",(W=m(2,7,p.data$))==null?null:W.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:[Mt,w],encapsulation:2})};var nl=["class","component"],el=n=>({width:n});function il(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;ct(et(3,el,(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 ol(n,l){if(n&1&&(x(0),d(1,il,1,5,"img",37),v()),n&2){let t=c(4).ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo)}}function ll(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 al(n,l){if(n&1&&d(0,ll,1,1,"img",39),n&2){let t=c(4).ngIf;r("ngIf",t.Template==null?null:t.Template.Logo)}}function rl(n,l){if(n&1&&(i(0,"div",30),d(1,ol,2,1,"ng-container",36)(2,al,1,1,"ng-template",null,0,K),o()),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 cl(n,l){if(n&1&&(i(0,"div",29),d(1,rl,4,2,"div",30),i(2,"div",31),_(3,"h2",32)(4,"small",32),i(5,"div",33),_(6,"div",34),g(7,"newlines"),_(8,"div",35),g(9,"newlines"),o()()()),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 pl(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 gl(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 dl(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 _l(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 Cl(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 ml(n,l){if(n&1&&(i(0,"div",40),_(1,"h3",32),i(2,"div",41),d(3,pl,1,1,"strong",42),i(4,"div",43),d(5,gl,1,1,"div",42)(6,dl,1,1,"div",42)(7,_l,2,3,"div",42)(8,Cl,1,1,"div",42),o()()()),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 Pl(n,l){n&1&&(i(0,"th"),a(1,"Due"),o())}function sl(n,l){n&1&&(i(0,"th"),a(1,"ToP"),o())}function Ol(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c(2).ngIf;e(),C(" ",u(2,1,t.Data==null?null:t.Data.Due,"dd MMM yyyy")," ")}}function Ml(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data==null?null:t.Data.ToP," Days ")}}function ul(n,l){n&1&&(i(0,"th"),a(1," Category "),o())}function fl(n,l){n&1&&(i(0,"th",16),a(1,"UOM"),o())}function xl(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function vl(n,l){if(n&1&&(i(0,"th",17),a(1," Price ("),d(2,xl,2,1,"span",1),a(3,") "),o()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function bl(n,l){n&1&&(i(0,"th",18),a(1,"Disc"),o())}function hl(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function yl(n,l){if(n&1&&(i(0,"th",44),a(1," Total ("),d(2,hl,2,1,"span",1),a(3,") "),o()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Sl(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Category," ")}}function Il(n,l){if(n&1&&_(0,"i",53),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function wl(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"quantityFraction"),o()),n&2){let t=c().$implicit;e(),C("x ",m(2,1,t.UnitQuantity),"")}}function Tl(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.UOMName?t.UOMName:"-")}}function Dl(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 kl(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function El(n,l){if(n&1&&(i(0,"div"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C("-",m(2,1,t.DiscountAmount),"")}}function Al(n,l){if(n&1&&(i(0,"td",51),d(1,kl,2,1,"div")(2,El,3,3,"div"),o()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Nl(n,l){if(n&1&&(i(0,"td",54),a(1),g(2,"amountFraction"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.Total)," ")}}function Hl(n,l){if(n&1&&(i(0,"tr"),_(1,"td",45),d(2,Sl,2,1,"td",1),i(3,"td")(4,"span",46),a(5),o(),_(6,"app-serial-note",47),d(7,Il,1,1,"i",48),o(),_(8,"td",32),i(9,"td",49),a(10),g(11,"quantityFraction"),d(12,wl,3,3,"span",1),o(),d(13,Tl,2,1,"td")(14,Dl,2,3,"td",50)(15,Al,3,2,"td",51)(16,Nl,3,3,"td",52),o()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf,W=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(W.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&&W.isDiscVisible()?15:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost)}}function Rl(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td",57),a(4,":"),o(),i(5,"td",58),a(6),o(),i(7,"td",16),a(8),g(9,"amountFraction"),o()()),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 zl(n,l){if(n&1&&(i(0,"td",55)(1,"table",56)(2,"tbody"),d(3,Rl,10,5,"tr",20),o()()()),n&2){let t=c(2).ngIf;e(3),r("ngForOf",t.Data==null?null:t.Data.Aggregate)}}function Bl(n,l){if(n&1&&(i(0,"td",61),a(1),g(2,"newlines"),o()),n&2){let t=c(3).ngIf;e(),C(" ",m(2,1,t.Data==null?null:t.Data.TotalInWord)," ")}}function Ll(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2),o(),i(3,"td",57),a(4,":"),o(),d(5,Bl,3,3,"td",60),o()),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 Jl(n,l){if(n&1&&(i(0,"tr")(1,"th",59)(2,"span"),a(3),o()(),i(4,"td",57),a(5,":"),o(),i(6,"td")(7,"ul",62),_(8,"li",32),g(9,"newlines"),o()()()),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 Vl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Remaining"),o(),i(3,"td",57),a(4,":"),o(),i(5,"td")(6,"ul",62)(7,"li"),a(8),g(9,"number"),o()()()()),n&2){let t=c(2).ngIf;e(8),C(" ",m(9,1,t.Data==null?null:t.Data.Remaining)," ")}}function Fl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Attention"),o(),i(3,"td",57),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c(2).ngIf;e(6),P(t.Data==null?null:t.Data.Att)}}function jl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Note"),o(),i(3,"td",57),a(4,":"),o(),_(5,"td",32),g(6,"newlines"),o()),n&2){let t=c(2).ngIf;e(5),r("innerHTML",m(6,1,t.Data==null?null:t.Data.Note),s)}}function Ul(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 $l(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 Wl(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 Gl(n,l){if(n&1&&(i(0,"div")(1,"div",63),d(2,Ul,5,1,"div",64)(3,$l,5,1,"div",64)(4,Ql,5,1,"div",64)(5,Wl,5,1,"div",64),o()()),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 Xl(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 Zl(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 ql(n,l){if(n&1&&(i(0,"div",4),_(1,"POS-print-mode",5),i(2,"div",6)(3,"div")(4,"div",7),d(5,cl,10,9,"div",8)(6,ml,9,6,"div",9),o(),i(7,"div",10)(8,"h1")(9,"strong"),a(10),o(),i(11,"span"),a(12),o()(),i(13,"div")(14,"table")(15,"thead")(16,"tr")(17,"th"),a(18,"Date"),o(),d(19,Pl,2,0,"th",1)(20,sl,2,0,"th",1),o()(),i(21,"tbody")(22,"tr")(23,"td"),a(24),g(25,"date"),o(),d(26,Ol,3,4,"td",1)(27,Ml,2,1,"td",1),o()()()()()(),i(28,"div",11)(29,"table",12)(30,"thead")(31,"tr")(32,"th",13),a(33,"No"),o(),d(34,ul,2,0,"th",1),i(35,"th"),a(36,"Name"),o(),i(37,"th",14),a(38,"Code"),o(),i(39,"th",15),a(40,"Qty"),o(),d(41,fl,2,0,"th",16)(42,vl,4,1,"th",17)(43,bl,2,0,"th",18)(44,yl,4,1,"th",19),o()(),i(45,"tbody"),d(46,Hl,17,14,"tr",20),o(),i(47,"tfoot")(48,"tr",21),_(49,"td",22),i(50,"td",23)(51,"b"),a(52,"Total"),o()(),i(53,"td",24)(54,"b"),a(55),g(56,"sum"),g(57,"quantityFraction"),o()(),d(58,zl,4,1,"td",25),o()()()(),i(59,"div")(60,"table",26),d(61,Ll,6,2,"tr",1)(62,Jl,10,4,"tr",1)(63,Vl,10,3,"tr",1)(64,Fl,7,1,"tr",1)(65,jl,7,3,"tr",1),o(),i(66,"div"),d(67,Gl,6,4,"div",1),o()(),d(68,Xl,2,3,"div",27)(69,Zl,1,1,"small",28),o()()),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(" ",u(25,29,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,35,u(56,32,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(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 Kl(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ql,70,37,"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(D(t=>T.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=>T.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)(M(S),M(h),M(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice",8,"component"]],standalone:!1,attrs:nl,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,Kl,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,tt,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 Yl(n,l){if(n&1&&(i(0,"small",12),a(1),o()),n&2){let t=c().ngIf;e(),P(t==null||t.Template==null?null:t.Template.Field)}}function ta(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Balance"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),g(7,"number"),o()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Point))}}function na(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Expired"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),g(7,"IsMinDate"),o()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Expired))}}function ea(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 ia(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div")(5,"h1",3),a(6),o(),d(7,Yl,2,1,"small",4),i(8,"p",5),_(9,"span",6),g(10,"newlines"),_(11,"span",6),g(12,"newlines"),o(),i(13,"h2",7),a(14),o(),i(15,"div",8)(16,"span"),a(17),g(18,"date"),o(),i(19,"span",9),a(20),g(21,"date"),o()(),i(22,"h3"),a(23,"Customer"),o(),i(24,"table",10)(25,"tr")(26,"td"),a(27,"Name"),o(),i(28,"td"),a(29,":"),o(),i(30,"td"),a(31),o()(),i(32,"tr")(33,"td"),a(34,"Code"),o(),i(35,"td"),a(36,":"),o(),i(37,"td"),a(38),o()(),i(39,"tr")(40,"td"),a(41,"Charged Point"),o(),i(42,"td"),a(43,":"),o(),i(44,"td"),a(45),g(46,"number"),o()(),i(47,"tr")(48,"td"),a(49,"Treatment Type"),o(),i(50,"td"),a(51,":"),o(),i(52,"td"),a(53),o()(),d(54,ta,8,3,"tr",0)(55,na,8,3,"tr",0),i(56,"tr")(57,"td"),a(58,"Doctor"),o(),i(59,"td"),a(60,":"),o(),i(61,"td"),a(62),o()(),i(63,"tr")(64,"td"),a(65,"Note"),o(),i(66,"td"),a(67,":"),o(),i(68,"td"),a(69),o()(),i(70,"tr")(71,"td"),a(72,"Note 2"),o(),i(73,"td"),a(74,":"),o(),i(75,"td"),a(76),o()(),i(77,"tr")(78,"td"),a(79,"Assistant"),o(),i(80,"td"),a(81,":"),o(),i(82,"td"),a(83),o()(),i(84,"tr")(85,"td"),a(86,"Duration"),o(),i(87,"td"),a(88,":"),o(),i(89,"td"),a(90),g(91,"DateDiffInMinute"),o()()(),d(92,ea,1,1,"div",11),o()(),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 : ",u(18,27,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"dd MMM yyyy"),""),e(3),C("Time : ",u(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(" ",u(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(" ",u(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)(M(S),M(h),M(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,ia,93,39,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,w,R,V,j,Jt,Rn,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 oa=n=>({width:n});function la(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;ct(et(3,oa,(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 aa(n,l){if(n&1&&(x(0),d(1,la,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 ra(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,ra,1,1,"img",36),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function pa(n,l){if(n&1&&(i(0,"div",8),d(1,aa,2,1,"ng-container",33)(2,ca,1,1,"ng-template",null,0,K),o()),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 ga(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 da(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 _a(n,l){if(n&1&&(i(0,"div",37)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",38)(5,"strong"),a(6),o(),i(7,"div",39),d(8,ga,3,1,"div",1)(9,da,3,1,"div",1),i(10,"div"),_(11,"span",12),g(12,"newlines"),o(),i(13,"div")(14,"span"),a(15),o()()()()()),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 Ca(n,l){n&1&&(i(0,"th"),a(1,"Sales"),o())}function ma(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),P(t==null||t.Data==null?null:t.Data.SalesName)}}function Pa(n,l){if(n&1&&(i(0,"th",40),a(1),o()),n&2){let t=c().ngIf;e(),C(" Price(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function sa(n,l){if(n&1&&(i(0,"th",40),a(1),o()),n&2){let t=c().ngIf;e(),C(" Total(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function Oa(n,l){if(n&1&&_(0,"p",45),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function Ma(n,l){if(n&1&&(i(0,"td",13),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function ua(n,l){if(n&1&&(i(0,"td",13),a(1),g(2,"TrailingZero"),o()),n&2){let t=c().$implicit,p=c().ngIf;e(),C(" ",u(2,1,t.Total,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function fa(n,l){if(n&1&&(i(0,"tr")(1,"td",13),a(2),o(),i(3,"td")(4,"span"),a(5),o(),d(6,Oa,1,1,"p",41),o(),i(7,"td"),a(8),o(),i(9,"td",42),a(10),g(11,"number"),o(),i(12,"td"),a(13),o(),d(14,Ma,3,3,"td",43),i(15,"td",44),a(16),o(),d(17,ua,3,4,"td",43),o()),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 xa(n,l){if(n&1&&(i(0,"td",27)(1,"div",46),a(2),g(3,"sum"),g(4,"number"),o()()),n&2){let t=c().ngIf;e(2),C(" Qty: ",m(4,4,u(3,1,t==null||t.Data==null?null:t.Data.Items,"Quantity"))," ")}}function va(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",47),a(6),o(),i(7,"td",22),a(8),g(9,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",u(9,3,t.Amount,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ba(n,l){if(n&1&&(i(0,"td",49),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null||t.Data==null?null:t.Data.TotalInWords," ")}}function ha(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),d(5,ba,2,1,"td",48),o()),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 ya(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"date"),o()),n&2){let t=c().$implicit;e(),C(" ",u(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function Sa(n,l){if(n&1&&(i(0,"span"),d(1,ya,3,4,"span",1),g(2,"checkPropValueIsSame"),a(3),g(4,"number"),_(5,"br"),o()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("ngIf",u(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 Ia(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),d(6,Sa,6,9,"span",25),o()()),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 wa(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note :"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",50)(7,"li"),_(8,"div",12),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Ta(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Da(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 ka(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Ea(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Aa(n,l){if(n&1&&(i(0,"div",51),d(1,Ta,5,1,"div",52)(2,Da,5,1,"div",52)(3,ka,5,1,"div",52)(4,Ea,5,1,"div",52),o()),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 Na(n,l){if(n&1&&(i(0,"div",59),_(1,"span",12),g(2,"SafeHtml"),o()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterLeft),s)}}function Ha(n,l){if(n&1&&(i(0,"div",60),_(1,"span",12),g(2,"SafeHtml"),o()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterRight),s)}}function Ra(n,l){if(n&1&&(i(0,"div",56),d(1,Na,3,3,"div",57)(2,Ha,3,3,"div",58),o()),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 za(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,pa,4,2,"div",8),i(9,"div",9)(10,"h2"),a(11),o(),i(12,"small"),a(13),o(),i(14,"div",10)(15,"div",11),_(16,"span",12),g(17,"newlines"),o(),i(18,"div",13),_(19,"span",12),g(20,"newlines"),o()()()(),d(21,_a,16,8,"div",14),o(),i(22,"div",15)(23,"h1")(24,"strong"),a(25),o(),i(26,"span"),a(27),o()(),i(28,"div")(29,"table")(30,"thead")(31,"tr")(32,"th"),a(33,"Date"),o(),d(34,Ca,2,0,"th"),o()(),i(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),o(),d(40,ma,2,1,"td"),o()()()()()()(),i(41,"section",16)(42,"div",17)(43,"table",18)(44,"thead")(45,"tr")(46,"th",19),a(47,"No"),o(),i(48,"th"),a(49,"Name"),o(),i(50,"th",20),a(51,"Code"),o(),i(52,"th",21),a(53,"Qty"),o(),i(54,"th",22),a(55,"UOM"),o(),d(56,Pa,2,1,"th",23),i(57,"th",24),a(58,"%"),o(),d(59,sa,2,1,"th",23),o()(),i(60,"tbody"),d(61,fa,18,11,"tr",25),o(),i(62,"tfoot")(63,"tr",26),d(64,xa,5,6,"td",27),i(65,"td",28)(66,"table",29)(67,"tbody"),d(68,va,10,6,"tr",25),o()()()()()()()(),i(69,"table",30),d(70,ha,6,2,"tr",1)(71,Ia,7,2,"tr",1)(72,wa,9,1,"tr",1),o(),i(73,"div")(74,"div"),d(75,Aa,5,4,"div",31),o()(),d(76,Ra,3,2,"div",32),o(),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(" ",u(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(D(l=>T.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)(M(S),M(h),M(St),M(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,za,77,32,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,tt,j,st,Ot,zn,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 Ba=(n,l)=>({"text-success":n,"text-danger":l});function La(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Code," ")}}function Ja(n,l){if(n&1&&(i(0,"div",13)(1,"div",12),a(2,"NOTE"),o(),i(3,"div",12),a(4),o()()),n&2){let t=c().ngIf;e(4),C(" ",t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Note," ")}}function Va(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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(" ",u(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxableSale,p.decimal)," ")}}function Fa(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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(" ",u(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 ja(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Quantity," ")}}function Ua(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Variant Sales"),o(),d(4,ja,5,2,"div",31),i(5,"div",22)(6,"div",23),a(7,"Total"),o(),i(8,"div",24),a(9),g(10,"sum"),g(11,"number"),o()()()),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,u(10,2,t==null||t.Data==null?null:t.Data.VariantSales,"Quantity"))," ")}}function $a(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2,"Visitors"),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.NetSales)," ")}}function Wa(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Category Sales"),o(),d(4,Qa,6,4,"div",31),i(5,"div",22)(6,"div",23),a(7,"Total"),o(),i(8,"div",24),a(9),g(10,"sum"),g(11,"number"),o()()()),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,u(10,2,t==null||t.Data==null?null:t.Data.CategorySales,"NetSales"))," ")}}function Ga(n,l){n&1&&(i(0,"div",38),a(1,"\xB1"),o())}function Xa(n,l){if(n&1&&(i(0,"div",43),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;r("ngClass",it(4,Ba,t.ShortOver>0,t.ShortOver<0)),e(),C(" ",m(2,2,t.ShortOver)," ")}}function Za(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),g(5,"number"),o(),i(6,"div",38),a(7),g(8,"number"),o(),d(9,Ga,2,0,"div",41)(10,Xa,3,7,"div",42),o()),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 qa(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"Balance"),o(),i(4,"div",32)(5,"div",38),a(6,"Type"),o(),i(7,"div",38),a(8,"Start"),o(),i(9,"div",38),a(10,"End"),o()(),d(11,Za,11,9,"div",39),i(12,"div",32)(13,"div",38),a(14,"Total"),o(),i(15,"div",38),a(16),g(17,"sum"),g(18,"number"),o(),i(19,"div",38),a(20),g(21,"sum"),g(22,"number"),o()()()),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,u(17,3,t==null||t.Data==null?null:t.Data.Payment,"Start"))," "),e(4),C(" ",m(22,11,u(21,8,t==null||t.Data==null?null:t.Data.Payment,"Amount"))," ")}}function Ka(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Received)," ")}}function Ya(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Account Receivable"),o(),i(4,"div",22)(5,"div",23),a(6,"Amount"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Transaction"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 tr(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),g(5,"number"),o(),i(6,"div",38),a(7),g(8,"number"),o()()),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 nr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",44),a(3,"Products w. Commission"),o(),i(4,"div",40)(5,"div",38),a(6,"Name"),o(),i(7,"div",38),a(8,"Qty"),o(),i(9,"div",38),a(10,"Total"),o()(),d(11,tr,9,7,"div",39),i(12,"div",40)(13,"div",38),a(14,"Total"),o(),i(15,"div",38),a(16),g(17,"sum"),g(18,"number"),o(),i(19,"div",38),a(20),g(21,"sum"),g(22,"number"),o()()()),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,u(17,3,t==null||t.Data==null?null:t.Data.VariantCommission,"Quantity"))," "),e(4),C(" ",m(22,11,u(21,8,t==null||t.Data==null?null:t.Data.VariantCommission,"Total"))," ")}}function er(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",21),a(3,"Return"),o(),i(4,"div",22)(5,"div",23),a(6,"Quantity"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Total Price"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 ir(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"Void Invoice"),o(),i(4,"div",22)(5,"div",23),a(6,"Transaction"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Invoice"),o(),i(13,"div",24),a(14),o()(),i(15,"div",22)(16,"div",23),a(17,"Total"),o(),i(18,"div",24),a(19),g(20,"number"),o()()()),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 or(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"History"),o(),i(4,"div",22)(5,"div",23),a(6,"Z-Count"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Current Gross"),o(),i(13,"div",23),a(14),g(15,"TrailingZero"),o()(),i(16,"div",22)(17,"div",23),a(18,"Previous"),o(),i(19,"div",24),a(20),g(21,"number"),o()(),i(22,"div",22)(23,"div",23),a(24,"Accumulated"),o(),i(25,"div",24),a(26),g(27,"TrailingZero"),o()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,4,t==null||t.Data==null?null:t.Data.ZCount)," "),e(6),C(" ",u(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 lr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",21),a(3,"Point"),o(),i(4,"div",22)(5,"div",23),a(6,"Point Used"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Point Discount"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 ar(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),o(),i(5,"div",38),a(6),g(7,"number"),o()()),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 rr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",45),a(3,"Denomination"),o(),i(4,"div",40)(5,"div",38),a(6,"Cash Denomination"),o(),i(7,"div",38),a(8,"Qty"),o(),i(9,"div",38),a(10,"Total"),o()(),d(11,ar,8,5,"div",39),i(12,"div",46)(13,"div",47),a(14,"Total"),o(),i(15,"div",48),a(16),g(17,"sum"),g(18,"number"),o()()()),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,u(17,2,t==null||t.Data==null?null:t.Data.Denominations,"Total"))," ")}}function cr(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Amount)," ")}}function pr(n,l){if(n&1&&(i(0,"div",49),_(1,"div",5),i(2,"h2",50),a(3,"Expense"),o(),i(4,"div",22)(5,"div",23),a(6,"Label"),o(),i(7,"div",24),a(8,"Amount"),o()(),d(9,cr,6,4,"div",31),o()),n&2){let t=c().ngIf;e(9),r("ngForOf",t==null||t.Data==null?null:t.Data.Expenses)}}function gr(n,l){if(n&1&&(i(0,"div",40)(1,"div",51),a(2),o(),i(3,"div",52),a(4),o(),i(5,"div",53),a(6),g(7,"number"),o()()),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 dr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",45),a(3,"Sales Type"),o(),i(4,"div",40)(5,"div",51),a(6,"Type"),o(),i(7,"div",52),a(8,"Qty"),o(),i(9,"div",53),a(10,"Amount"),o()(),d(11,gr,8,5,"div",39),i(12,"div",22)(13,"div",23),a(14,"Total"),o(),i(15,"div",53),a(16),g(17,"sum"),g(18,"number"),o()()()),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,u(17,2,t==null||t.Data==null?null:t.Data.ListSalesType,"SalesNet"))," ")}}function _r(n,l){if(n&1&&(i(0,"div",1),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"span"),a(6),o()(),_(7,"div",5),i(8,"div",6)(9,"h2",7),a(10),o(),i(11,"i",8),a(12),o(),_(13,"div",9),g(14,"newlines"),d(15,La,2,1,"div",10),_(16,"div",9),g(17,"newlines"),o(),_(18,"div"),i(19,"div")(20,"div",11)(21,"div",12),a(22,"CASHIER"),o(),i(23,"div",12),a(24),o()(),i(25,"div",13)(26,"div",12),a(27,"REGISTER"),o(),i(28,"div",12),a(29),o()(),d(30,Ja,5,1,"div",14),o(),_(31,"div",15),i(32,"div")(33,"div",16)(34,"div",12),a(35,"START TIME"),o(),i(36,"div",12),a(37,"END TIME"),o()(),i(38,"div",17)(39,"div",12)(40,"span",18),a(41),g(42,"date"),o()(),i(43,"div",12)(44,"span",18),a(45),g(46,"date"),o()()(),i(47,"div",19)(48,"div",12),a(49),g(50,"date"),o(),i(51,"div",12),a(52),g(53,"date"),o()()(),i(54,"div",20),_(55,"div",5),i(56,"h2",21),a(57,"Sales"),o(),i(58,"div",22)(59,"div",23),a(60,"New Sales"),o(),i(61,"div",24),a(62),g(63,"number"),o()(),i(64,"div",22)(65,"div",23),a(66,"Discount"),o(),i(67,"div",24),a(68),g(69,"number"),o()(),i(70,"div",22)(71,"div",23),a(72),o(),i(73,"div",24),a(74),g(75,"number"),o()(),d(76,Va,6,5,"div",25)(77,Fa,6,5,"div",25),i(78,"div",22)(79,"div",23),a(80),o(),i(81,"div",24),a(82),g(83,"number"),o()(),i(84,"div",22)(85,"div",23),a(86),o(),i(87,"div",24),a(88),g(89,"number"),o()()(),d(90,Ua,12,7,"div",26),i(91,"div",20),_(92,"div",5),i(93,"h2",27),a(94,"Summary"),o(),i(95,"div",22)(96,"div",23),a(97,"Transaction"),o(),i(98,"div",24),a(99),o()(),i(100,"div",22)(101,"div",28),a(102,"Invoice"),o(),i(103,"div",29),a(104),o()(),i(105,"div",22)(106,"div",23),a(107,"Item Sold"),o(),i(108,"div",24),a(109),g(110,"number"),o()(),d(111,$a,6,3,"div",25),o(),d(112,Wa,12,7,"div",26)(113,qa,23,13,"div",26),i(114,"div",20),_(115,"div",5),i(116,"h2",30),a(117,"Payment Method"),o(),d(118,Ka,6,4,"div",31),i(119,"div",32)(120,"div",23),a(121,"Total"),o(),i(122,"div",24),a(123),g(124,"sum"),g(125,"number"),o()()(),d(126,Ya,16,6,"div",26)(127,nr,23,13,"div",26)(128,er,16,6,"div",26)(129,ir,21,7,"div",26)(130,or,28,13,"div",26)(131,lr,16,6,"div",26)(132,rr,19,7,"div",26)(133,pr,10,1,"div",33)(134,dr,19,7,"div",26),i(135,"div",34),_(136,"span",35),g(137,"newlines"),o(),i(138,"span",36),a(139),o()()()),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(u(42,50,t==null||t.Data==null?null:t.Data.StartTime,"HH:mm")),e(4),P(u(46,53,t==null||t.Data==null?null:t.Data.EndTime,"HH:mm")),e(4),C(" ",u(50,56,t==null||t.Data==null?null:t.Data.StartTime,"dd MMM")," "),e(3),C(" ",u(53,59,t==null||t.Data==null?null:t.Data.EndTime,"dd MMM")," "),e(10),C(" ",u(63,62,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.GrossSales,p.decimal)," "),e(6),C(" ",u(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(" ",u(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,u(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(D(l=>T.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)(M(h),M(S),M(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,_r,140,84,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Cr=(n,l)=>({"col-8":n,col:l}),mr=n=>({width:n});function Pr(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 sr(n,l){if(n&1&&(x(0),d(1,Pr,1,5,"img",23),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function Or(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 Mr(n,l){if(n&1&&d(0,Or,1,1,"img",25),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function ur(n,l){if(n&1&&(i(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),o()(),i(6,"tr",28)(7,"td"),a(8),o(),i(9,"td",29),a(10),o()()()),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 fr(n,l){if(n&1&&(i(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),o()(),i(6,"tr",28)(7,"td"),a(8),o(),i(9,"td",29),a(10),o()()()),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 xr(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3),_(4,"POS-print-mode",4),i(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,sr,2,1,"ng-container",10)(11,Mr,1,1,"ng-template",null,0,K),o(),i(13,"div",11)(14,"h2"),a(15),o(),i(16,"small"),a(17),o(),i(18,"div",12),a(19),o()()()(),i(20,"div",13)(21,"h1")(22,"strong"),a(23,"JOB ORDER #"),o(),i(24,"span",14),a(25),o()()()(),i(26,"h1",15),a(27),o(),i(28,"span",16),a(29,"Output Item(s)"),o(),i(30,"table",17)(31,"thead")(32,"tr",6)(33,"th"),a(34,"Name"),o(),i(35,"th",18),a(36,"Qty"),o()()(),d(37,ur,11,4,"tbody",19),o(),i(38,"span",16),a(39,"Material Item(s)"),o(),i(40,"table",17)(41,"thead")(42,"tr",6)(43,"th"),a(44,"Name"),o(),i(45,"th",18),a(46,"Qty"),o()()(),d(47,fr,11,4,"tbody",19),o(),i(48,"p",20),a(49),o(),i(50,"small",21),a(51),g(52,"date"),o(),i(53,"small",22),a(54),o()()(),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,Cr,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(u(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(D(t=>T.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)(M(h),M(S),M(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,xr,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 vr(n,l){if(n&1&&(i(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),o()(),i(6,"tr",19)(7,"td"),a(8),o(),i(9,"td",20),a(10),o()()()),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 br(n,l){if(n&1&&(i(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),o()(),i(6,"tr",19)(7,"td"),a(8),o(),i(9,"td",20),a(10),o()()()),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 hr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2),_(4,"POS-print-mode",3),i(5,"div",4)(6,"h1",5),a(7),o(),i(8,"p",6),a(9),o(),i(10,"h2",7),a(11),o(),i(12,"span",8),a(13,"Output Item(s)"),o(),i(14,"table",9)(15,"thead")(16,"tr",10)(17,"th"),a(18,"Name"),o(),i(19,"th",11),a(20,"Qty"),o()()(),d(21,vr,11,4,"tbody",12),o(),i(22,"span",13),a(23,"Material Item(s)"),o(),i(24,"table",9)(25,"thead")(26,"tr",10)(27,"th"),a(28,"Name"),o(),i(29,"th",11),a(30,"Qty"),o()()(),d(31,br,11,4,"tbody",12),o(),i(32,"p",14),a(33),o(),i(34,"small",15),a(35),g(36,"date"),o(),i(37,"small",16),a(38),o()()(),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(u(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(D(l=>T.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)(M(h),M(S),M(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,hr,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 yr(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 Sr(n,l){if(n&1&&(i(0,"div",26),d(1,yr,2,3,"img",27),i(2,"div",28),_(3,"h2",29)(4,"small",29),i(5,"div",30),_(6,"div",31),g(7,"newlines"),_(8,"div",32),g(9,"newlines"),o()()()),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 Ir(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 wr(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 Tr(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 Dr(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 kr(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 Er(n,l){if(n&1&&(i(0,"div",34),_(1,"h3",29),i(2,"div",35),d(3,Ir,1,1,"strong",36),i(4,"div",37),d(5,wr,1,1,"div",36)(6,Tr,1,1,"div",36)(7,Dr,2,3,"div",36)(8,kr,1,1,"div",36),o()()()),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 Ar(n,l){n&1&&(i(0,"th"),a(1," Due "),o())}function Nr(n,l){n&1&&(i(0,"th"),a(1," Top "),o())}function Hr(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().ngIf;e(),C(" ",u(2,1,t.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Rr(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.Top," ")}}function zr(n,l){n&1&&(i(0,"th",16),a(1,"Disc"),o())}function Br(n,l){if(n&1&&(i(0,"div",41),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Lr(n,l){if(n&1&&(i(0,"div",41),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.DiscountAmount)," ")}}function Jr(n,l){if(n&1&&(i(0,"td"),d(1,Br,2,1,"div",41)(2,Lr,3,3,"div",41),o()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Vr(n,l){if(n&1&&(i(0,"tr"),_(1,"td",38)(2,"td",29)(3,"td",29)(4,"td",38),g(5,"quantityFraction"),_(6,"td",29),i(7,"td",39),a(8),g(9,"number"),o(),d(10,Jr,3,2,"td"),_(11,"td",40),g(12,"amountFraction"),o()),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 Fr(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",42),a(6),o(),i(7,"td",43),a(8),g(9,"amountFraction"),o()()),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 jr(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Wordify"),o(),i(3,"td"),a(4,":"),o(),_(5,"td",44),g(6,"newlines"),o()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.totalInWords),s)}}function Ur(n,l){if(n&1&&(i(0,"tr"),_(1,"th",29),i(2,"td"),a(3,":"),o(),_(4,"td",44),g(5,"date"),o()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null?null:t.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,s),e(3),r("innerHTML",u(5,2,t.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),s)}}function $r(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),_(5,"td",45),g(6,"newlines"),o()),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&&(i(0,"div",52),_(1,"h5",29),i(2,"div",48),a(3,"\xA0"),o()()),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 Wr(n,l){if(n&1&&(i(0,"div",53),_(1,"h5",29),i(2,"div",48),a(3,"\xA0"),o()()),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 Gr(n,l){if(n&1&&(i(0,"div",46)(1,"div",47),_(2,"h5",29),i(3,"div",48),a(4,"\xA0"),o()(),d(5,Qr,4,1,"div",49)(6,Wr,4,1,"div",50),i(7,"div",51),_(8,"h5",29)(9,"div",48),o()()),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 Xr(n,l){if(n&1&&(i(0,"small",54),a(1," Print by: "),i(2,"small"),a(3),o(),a(4),g(5,"date"),o()),n&2){let t=c().ngIf;e(3),P(t.Template==null?null:t.Template.DisplayName),e(),C(" ",u(5,2,t.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function Zr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div")(5,"div",3),d(6,Sr,10,9,"div",4)(7,Er,9,6,"div",5),o(),i(8,"div",6)(9,"div",7)(10,"div",8)(11,"h1")(12,"strong"),a(13),o(),i(14,"span"),a(15),o()(),i(16,"table")(17,"thead")(18,"tr")(19,"th"),a(20,"Date"),o(),d(21,Ar,2,0,"th",0),g(22,"IsMinDate"),d(23,Nr,2,0,"th",0),g(24,"IsMinDate"),o()(),i(25,"tbody")(26,"tr")(27,"td"),a(28),g(29,"date"),o(),d(30,Hr,3,4,"td",0),g(31,"IsMinDate"),d(32,Rr,2,1,"td",0),g(33,"IsMinDate"),o()()()()()()(),i(34,"div",9)(35,"table",10)(36,"thead")(37,"tr")(38,"th",11),a(39,"No"),o(),i(40,"th"),a(41,"Name"),o(),i(42,"th",12),a(43,"Code"),o(),i(44,"th",13),a(45,"Qty"),o(),i(46,"th",14),a(47,"UOM"),o(),i(48,"th",15),a(49),o(),d(50,zr,2,0,"th",16),i(51,"th",15),a(52),o()()(),i(53,"tbody"),d(54,Vr,13,14,"tr",17),o(),i(55,"tfoot")(56,"tr",18)(57,"td",19)(58,"b"),a(59,"Total"),o()(),i(60,"td",20),a(61),g(62,"sum"),g(63,"quantityFraction"),o(),i(64,"td",20),a(65),o(),i(66,"td",21)(67,"table",22)(68,"tbody"),d(69,Fr,10,5,"tr",17),o()()()()()()(),i(70,"table",23),d(71,jr,7,3,"tr",0)(72,Ur,6,5,"tr",0),g(73,"IsMinDate"),d(74,$r,7,3,"tr",0),o(),i(75,"div"),d(76,Gr,10,4,"div",24),o(),d(77,Xr,6,5,"small",25),o(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,26,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,28,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(24,30,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(5),C(" ",u(29,32,t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",m(31,35,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(33,37,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,42,u(62,39,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,44,t.Data.Invoice.CustomDateField)!="-"),e(2),r("ngIf",t.Data.Data.Note),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(D(t=>T.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)(M(S),M(h),M(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","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,"width","70%"],["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",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"],[1,"val",3,"innerHTML"],[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,Zr,78,46,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,tt,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 qr(n,l){if(n&1&&(_(0,"img",32),g(1,"images")),n&2){let t=c(2).ngIf;Dn("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function Kr(n,l){if(n&1&&(i(0,"div",26),d(1,qr,2,3,"img",27),i(2,"div",28),_(3,"h2",29)(4,"small",29),i(5,"div",30)(6,"div",31),_(7,"span",29),o(),i(8,"div",16),_(9,"span",29),g(10,"newlines"),o()()()()),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 Yr(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 tc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 nc(n,l){if(n&1&&(i(0,"div",33)(1,"h3"),_(2,"span",29),o(),i(3,"div",34)(4,"strong"),a(5),o(),i(6,"div",35),d(7,Yr,3,1,"div",0)(8,tc,3,1,"div",0),i(9,"div",36),_(10,"span",29),o(),i(11,"div")(12,"span"),a(13),o()()()()()),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 ec(n,l){n&1&&(i(0,"th"),a(1,"Code"),o())}function ic(n,l){n&1&&(i(0,"th",37),a(1," Cost "),o())}function oc(n,l){if(n&1&&(i(0,"th",37),a(1," Price"),_(2,"br"),a(3),o()),n&2){let t=c().ngIf;e(3),C("(",t==null||t.Data==null?null:t.Data.currencySymbol,") ")}}function lc(n,l){if(n&1&&(i(0,"div"),_(1,"small",29),o()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note,s)}}function ac(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.Code)}}function rc(n,l){if(n&1&&(i(0,"th",42),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitCost)," ")}}function cc(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&&(i(0,"tr")(1,"td")(2,"div"),a(3),o(),_(4,"app-serial-note",38),d(5,lc,2,1,"div",0),o(),d(6,ac,2,1,"td"),_(7,"td",39),g(8,"number"),d(9,rc,3,3,"th",40)(10,cc,2,3,"th",41),o()),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",u(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 gc(n,l){if(n&1&&(i(0,"div",44),_(1,"div",45),o()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}function dc(n,l){if(n&1&&(_(0,"span",46),g(1,"date")),n&2){let t=c().ngIf;r("innerHTML",u(1,1,t==null||t.Data==null?null:t.Data.Date,"dd MMM yyyy"),s)}}function _c(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2),_(4,"POS-print-mode",3),i(5,"div",4)(6,"div",5)(7,"div",6),d(8,Kr,11,7,"div",7)(9,nc,14,6,"div",8),o(),i(10,"div",9)(11,"h1")(12,"strong",10),a(13),o(),i(14,"span"),a(15),o()()()(),i(16,"section",11)(17,"div")(18,"span",12),a(19,"To"),o(),a(20),o(),i(21,"div"),a(22),o(),i(23,"div")(24,"span",12),a(25,"Courier"),o(),a(26),o()(),i(27,"section",13)(28,"div",14)(29,"table",15)(30,"thead")(31,"tr")(32,"th"),a(33,"Name"),o(),d(34,ec,2,0,"th"),i(35,"th",16),a(36,"Qty"),o(),d(37,ic,2,0,"th",17)(38,oc,4,1,"th",17),o()(),i(39,"tbody"),d(40,pc,11,10,"tr",18),o(),i(41,"tfoot")(42,"tr")(43,"td"),a(44,"Total"),o(),i(45,"td",19),a(46),g(47,"sum"),o()(),i(48,"tr")(49,"td",20),a(50," Note : "),_(51,"span",21),o()()()()()(),i(52,"div",22),d(53,gc,2,1,"div",23),o(),i(54,"div",24),d(55,dc,2,4,"span",25),o()()(),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(" ",u(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(D(t=>T.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)(M(h),M(S),M(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,_c,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,tt,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 Cc(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 mc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function Pc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function sc(n,l){if(n&1&&(i(0,"div",27)(1,"div",28)(2,"strong"),a(3),o(),i(4,"div",29),d(5,mc,3,1,"div",0)(6,Pc,3,1,"div",0),i(7,"div"),_(8,"span",8),g(9,"newlines"),o(),i(10,"div")(11,"span"),a(12),o()()()()()),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 Oc(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),g(3,"date"),o(),i(4,"td"),a(5),g(6,"date"),o(),i(7,"td"),a(8),o(),i(9,"td",21),a(10),g(11,"number"),o()()),n&2){let t=l.$implicit;e(2),P(u(3,4,t.Data.Date,"dd MMM yyyy")),e(3),P(u(6,7,t.Data.Due,"dd MMM")),e(3),P(t.Number),e(2),C(" ",m(11,10,t.RemainingPaymentBaseCurrency)," ")}}function Mc(n,l){if(n&1&&(i(0,"td",32),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function uc(n,l){if(n&1&&(i(0,"tr"),_(1,"th",8),i(2,"td",30),a(3,":"),o(),d(4,Mc,2,1,"td",31),o()),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 fc(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td",30),a(4,":"),o(),i(5,"td")(6,"ul",33)(7,"li"),_(8,"span",34),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function xc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 vc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 bc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 hc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 yc(n,l){if(n&1&&(i(0,"div",35)(1,"div",36),d(2,xc,4,1,"div",37)(3,vc,4,1,"div",37)(4,bc,4,1,"div",37)(5,hc,4,1,"div",37),o()()),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 Sc(n,l){if(n&1&&(i(0,"div",44),_(1,"span",8),g(2,"SafeHtml"),o()),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 Ic(n,l){if(n&1&&(i(0,"div",41),d(1,Sc,3,3,"div",42),i(2,"div",43),_(3,"span",8),g(4,"SafeHtml"),o()()),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 wc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Cc,2,3,"img",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),o()()(),d(16,sc,13,7,"div",12),o(),i(17,"div",13)(18,"h1")(19,"strong"),a(20),o(),i(21,"span"),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),o()()()()()()(),i(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),o(),i(41,"th",17),a(42,"Due"),o(),i(43,"th"),a(44,"Number"),o(),i(45,"th",18),a(46,"Total"),o()()(),i(47,"tbody"),d(48,Oc,12,12,"tr",19),o(),i(49,"tfoot")(50,"tr")(51,"td",20),a(52),o(),i(53,"td",21),a(54),g(55,"sum"),g(56,"number"),o()()()()()(),i(57,"table",22),d(58,uc,5,2,"tr",0)(59,fc,9,1,"tr",0),o(),i(60,"div")(61,"div",23),d(62,yc,6,4,"div",24),o(),d(63,Ic,5,4,"div",25),o()(),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(u(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,u(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(D(l=>T.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)(M(S),M(h),M(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,wc,64,32,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Tc(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 Dc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function kc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function Ec(n,l){if(n&1&&(i(0,"div",31)(1,"h3"),_(2,"span",8),o(),i(3,"div",32)(4,"strong"),a(5),o(),i(6,"div",33),d(7,Dc,3,1,"div",0)(8,kc,3,1,"div",0),i(9,"div"),_(10,"span",8),g(11,"newlines"),o(),i(12,"div")(13,"span"),a(14),o()()()()()),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 Ac(n,l){n&1&&(i(0,"th",17),a(1,"Due"),o())}function Nc(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().$implicit;e(),P(u(2,1,t.Due,"dd MMM"))}}function Hc(n,l){if(n&1&&(i(0,"span",38),a(1,"x"),o(),i(2,"span"),a(3),g(4,"number"),o()),n&2){let t=c().$implicit;e(3),P(m(4,1,t.Quantity))}}function Rc(n,l){if(n&1&&(i(0,"p",35)(1,"span"),a(2),o(),i(3,"span",36),a(4),o(),d(5,Hc,5,3),i(6,"span",37),a(7),o(),i(8,"span"),a(9),g(10,"number"),o()()),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 zc(n,l){if(n&1&&Nt(0,Rc,11,7,"p",35,At),n&2){let t=c().$implicit;Ht(t.Items)}}function Bc(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),g(3,"date"),o(),d(4,Nc,3,4,"td"),i(5,"td",18)(6,"h5"),a(7),o(),d(8,zc,2,0),o(),i(9,"td",34),a(10),g(11,"number"),o()()),n&2){let t=l.$implicit,p=c(2);e(2),P(u(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 Lc(n,l){if(n&1&&(i(0,"td",41),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function Jc(n,l){if(n&1&&(i(0,"tr"),_(1,"th",8),i(2,"td",39),a(3,":"),o(),d(4,Lc,2,1,"td",40),o()),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 Vc(n,l){if(n&1&&(i(0,"tr")(1,"th",42),a(2),o(),i(3,"td",42),a(4,":"),o(),i(5,"td",42),a(6),g(7,"number"),o()()),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 Fc(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 jc(n,l){if(n&1&&_(0,"span",45),n&2){let t=c().$implicit;r("innerHTML",t.Note?t.Note+" - ":"",s)}}function Uc(n,l){if(n&1&&(i(0,"span")(1,"span",8),g(2,"date"),a(3),g(4,"date"),o(),i(5,"span"),a(6),o(),d(7,Fc,3,5,"span",0)(8,jc,1,1,"span",44),i(9,"span"),a(10),g(11,"number"),o(),_(12,"br"),o()),n&2){let t=l.$implicit,p=c(3);e(),r("innerHTML",u(2,6,t.Date,"dd MMM yy")+" - ",s),e(2),C(" ",u(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 $c(n,l){if(n&1&&(i(0,"tr"),_(1,"th",43),i(2,"td",42),a(3,":"),o(),i(4,"td",42),d(5,Uc,13,14,"span",20),o()()),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 Qc(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td",39),a(4,":"),o(),i(5,"td")(6,"ul",46)(7,"li"),_(8,"div",47),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Wc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function Gc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function Xc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function Zc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function qc(n,l){if(n&1&&(i(0,"div",48)(1,"div",49),d(2,Wc,4,1,"div",50)(3,Gc,4,1,"div",50)(4,Xc,4,1,"div",50)(5,Zc,4,1,"div",50),o()()),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 Kc(n,l){if(n&1&&(i(0,"div",57),_(1,"span",8),g(2,"SafeHtml"),o()),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 Yc(n,l){if(n&1&&(i(0,"div",54),d(1,Kc,3,3,"div",55),i(2,"div",56),_(3,"span",8),g(4,"SafeHtml"),o()()),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 tp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Tc,2,3,"img",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),o()()(),d(16,Ec,15,8,"div",12),o(),i(17,"div",13)(18,"h1")(19,"strong"),a(20),o(),i(21,"span"),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),o()()()()()()(),i(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),o(),d(41,Ac,2,0,"th",17),i(42,"th",18),a(43,"Number"),o(),i(44,"th",19),a(45,"Total"),o()()(),i(46,"tbody"),d(47,Bc,12,10,"tr",20),o(),i(48,"tfoot")(49,"tr"),_(50,"td",21),i(51,"td",22),a(52),o(),i(53,"td",23),a(54),g(55,"sum"),g(56,"number"),o()()()()()(),i(57,"table",24),d(58,Jc,5,2,"tr",0)(59,Vc,8,4,"tr")(60,$c,6,2,"tr",0),o(),i(61,"div",25)(62,"table",26),d(63,Qc,9,1,"tr",0),o()(),i(64,"div")(65,"div",27),d(66,qc,6,4,"div",28),o(),d(67,Yc,5,4,"div",29),o()(),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(u(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,u(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(D(l=>T.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)(M(S),M(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,tp,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,tt,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 np=(n,l)=>({"col-8":n,col:l}),ep=n=>({width:n}),ip=(n,l)=>({"text-success":n,"text-danger":l});function op(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;ct(et(3,ep,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function lp(n,l){if(n&1&&(x(0),d(1,op,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 ap(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 rp(n,l){if(n&1&&d(0,ap,1,1,"img",29),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function cp(n,l){if(n&1&&(i(0,"div",25),d(1,lp,2,1,"ng-container",26)(2,rp,1,1,"ng-template",null,0,K),o()),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&&(i(0,"th",18),a(1," Price "),o())}function gp(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function dp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td")(4,"div"),a(5),o(),_(6,"app-serial-note",30)(7,"i",31),o(),i(8,"td"),a(9),o(),i(10,"td"),a(11),g(12,"number"),o(),d(13,gp,3,3,"td",1),i(14,"td"),a(15),o()()),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,ip,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 _p(n,l){if(n&1&&(i(0,"tr")(1,"th",32),a(2,"Note"),o(),i(3,"td",33),a(4,":"),o(),_(5,"td",34),g(6,"newlines"),o()),n&2){let t=c().ngIf;e(5),r("innerHtml",m(6,1,t==null||t.Header==null?null:t.Header.Note),s)}}function Cp(n,l){if(n&1&&(i(0,"div",35)(1,"h5",36),a(2," \xA0 "),o(),i(3,"div",37),a(4," \xA0 "),o()()),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 mp(n,l){if(n&1&&(i(0,"div",38)(1,"h5",36),a(2," \xA0 "),o(),i(3,"div",37),a(4," \xA0 "),o()()),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 Pp(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,cp,4,2,"div",8),i(9,"div",9),_(10,"h2",10)(11,"small",10),i(12,"div"),_(13,"div",10),g(14,"newlines"),_(15,"div",10),g(16,"newlines"),o()()()(),i(17,"div",11)(18,"h1")(19,"strong",12),a(20),o(),i(21,"span",13),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),o()()()()()()(),i(33,"div",14)(34,"table",15)(35,"thead",16)(36,"tr")(37,"th",17),a(38,"No"),o(),i(39,"th"),a(40,"Name"),o(),i(41,"th",18),a(42,"Code"),o(),i(43,"th",18),a(44,"Qty"),o(),d(45,pp,2,0,"th",19),i(46,"th",18),a(47,"UOM"),o()()(),i(48,"tbody"),d(49,dp,16,15,"tr",20),o()()(),i(50,"table",21),d(51,_p,7,3,"tr",1),o(),i(52,"div")(53,"div")(54,"div",22),d(55,Cp,5,1,"div",23)(56,mp,5,1,"div",24),o()()()()(),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,np,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(D(l=>T.IsNotEmpty(l)),k(l=>this.httpService.post(I.AdjustmentInvoice,l)),B(1))}static \u0275fac=function(t){return new(t||n)(M(S),M(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,Pp,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 sp=(n,l)=>({"col-8":n,col:l});function Op(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 Mp(n,l){if(n&1&&(i(0,"div",31),d(1,Op,2,3,"img",32),o()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function up(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 fp(n,l){if(n&1&&(i(0,"div",34)(1,"div",35)(2,"h3",36)(3,"span"),a(4),o()(),i(5,"div",37)(6,"strong"),a(7),o(),i(8,"div",38),d(9,up,3,1,"div",0),i(10,"div")(11,"span"),a(12),g(13,"newlines"),o()(),i(14,"div")(15,"span"),a(16),o()()()()()()),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 xp(n,l){if(n&1&&(i(0,"small"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.Note)}}function vp(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function bp(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function hp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td"),a(4),_(5,"br"),d(6,xp,2,1,"small",0),o(),i(7,"td",24),d(8,vp,3,3,"span",0),o(),i(9,"td",24),d(10,bp,3,3,"span",0),o()()),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 yp(n,l){if(n&1&&(i(0,"tr",39)(1,"th",40),a(2,"Note"),o(),i(3,"td",41),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Note," ")}}function Sp(n,l){if(n&1&&(i(0,"tr")(1,"th",16),a(2,"Reference"),o(),i(3,"td",42),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay," ")}}function Ip(n,l){if(n&1&&(i(0,"div",43)(1,"div",44)(2,"h5",45),a(3),o(),i(4,"div",46),a(5," \xA0 "),o()(),i(6,"div",44)(7,"h5",45),a(8),o(),i(9,"div",46),a(10," \xA0 "),o()(),i(11,"div",44)(12,"h5",45),a(13),o(),i(14,"div",46),a(15," \xA0 "),o()(),i(16,"div",44)(17,"h5",45),a(18),o(),i(19,"div",46),a(20," \xA0 "),o()()()),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 wp(n,l){if(n&1&&(i(0,"small",47),a(1),o()),n&2){let t=c().ngIf;e(),C("",t==null||t.Data==null?null:t.Data.Creator," ")}}function Tp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Mp,2,1,"div",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div"),_(12,"div",8),g(13,"newlines"),_(14,"div",8),g(15,"newlines"),o()()(),d(16,fp,17,7,"div",9),o(),i(17,"div",10)(18,"div",11)(19,"div",12)(20,"h1")(21,"strong"),a(22,"Journal #"),o(),i(23,"span"),a(24),o()()(),i(25,"div",12)(26,"div",13)(27,"div",14)(28,"table",15)(29,"thead",16)(30,"tr")(31,"th"),a(32,"Date"),o(),i(33,"th"),a(34,"Outlet"),o()()(),i(35,"tbody")(36,"tr",17)(37,"td",18),a(38),g(39,"date"),o(),i(40,"td",18),a(41),o()()()()()()()()()(),i(42,"div",19)(43,"div",20)(44,"table",21)(45,"thead",22)(46,"tr",23)(47,"th"),a(48,"Code"),o(),i(49,"th"),a(50,"Account"),o(),i(51,"th",24),a(52,"Debit"),o(),i(53,"th",24),a(54,"Credit"),o()()(),i(55,"tbody"),d(56,hp,11,5,"tr",25),o(),i(57,"tfoot")(58,"tr"),_(59,"td",26),i(60,"td",24),a(61),g(62,"Filter"),g(63,"sum"),g(64,"number"),o(),i(65,"td",24),a(66),g(67,"Filter"),g(68,"sum"),g(69,"number"),o()()()()()(),i(70,"table",27),d(71,yp,7,1,"tr",28)(72,Sp,7,1,"tr",0),o(),d(73,Ip,21,4,"div",29)(74,wp,2,1,"small",30),o(),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,sp,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(" ",u(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,u(63,31,mt(62,27,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),C(" ",m(69,43,u(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(D(t=>T.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)(M(S),M(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,Tp,75,48,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Dp(n,l){if(n&1&&(x(0),i(1,"div",18),a(2,"Payment Note"),o(),i(3,"div",19),a(4,":"),o(),_(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 kp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td"),a(4),o(),i(5,"td"),a(6),o(),i(7,"td",31),a(8),o(),i(9,"td",31),a(10),g(11,"number"),o(),i(12,"td",31),a(13),g(14,"number"),o()()),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 Ep(n,l){if(n&1&&(x(0),i(1,"div",26)(2,"div",27)(3,"table",28)(4,"thead",29)(5,"tr")(6,"th",30),a(7," No "),o(),i(8,"th"),a(9," Name "),o(),i(10,"th"),a(11," Code "),o(),i(12,"th",31),a(13," Qty "),o(),i(14,"th",31),a(15," Price "),o(),i(16,"th",31),a(17," Total "),o()()(),i(18,"tbody"),d(19,kp,15,10,"tr",32),o()()()(),v()),n&2){let t=c().ngIf;e(19),r("ngForOf",t==null||t.Data==null?null:t.Data.InvoiceItems)}}function Ap(n,l){if(n&1&&(i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),a(4),o(),_(5,"small",4)(6,"h6",5),g(7,"newlines"),_(8,"h6",6),g(9,"newlines"),o(),i(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),a(15,"Payment Date"),o()()(),i(16,"tbody")(17,"tr",11)(18,"td")(19,"div",12),a(20),g(21,"date"),o()()()()()()(),i(22,"div",13)(23,"div",14)(24,"h1"),a(25),o(),i(26,"h6",15),a(27),o()(),i(28,"div",16)(29,"div",17)(30,"div",18),a(31,"Received From"),o(),i(32,"div",19),a(33,":"),o(),i(34,"div",20),a(35),o(),i(36,"div",18),a(37,"Payment For"),o(),i(38,"div",19),a(39,":"),o(),i(40,"div",20),a(41),g(42,"date"),o(),d(43,Dp,7,3,"ng-container",21),o()(),d(44,Ep,20,1,"ng-container",21),i(45,"div",22)(46,"span",23),a(47,"Amount"),o(),i(48,"span",24),a(49),g(50,"number"),o()()()()),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(u(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," - ",u(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)(M(S),M(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,Ap,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 Np=n=>({width:n});function Hp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;ct(et(3,Np,(t==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function Rp(n,l){if(n&1&&(x(0),d(1,Hp,1,5,"img",38),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function zp(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 Bp(n,l){if(n&1&&d(0,zp,1,1,"img",40),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function Lp(n,l){if(n&1&&_(0,"span",9),n&2){let t=c().ngIf;r("innerHTML",t.Data.RegisterCode,s)}}function Jp(n,l){if(n&1&&(i(0,"span"),a(1),o()),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 Vp(n,l){if(n&1&&(i(0,"h6",41)(1,"span"),a(2),o(),d(3,Jp,2,2,"span",1),o()),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 Fp(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 jp(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 Up(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 $p(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 Qp(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 Wp(n,l){if(n&1&&(i(0,"h2",45),a(1),o()),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 Gp(n,l){if(n&1&&(i(0,"h2",16),a(1),o()),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 Xp(n,l){if(n&1&&(x(0),i(1,"h3",45),a(2),o(),v()),n&2){let t=c().ngIf;e(2),P(t.Data.ParkLabel)}}function Zp(n,l){if(n&1&&(i(0,"div",17),a(1),o()),n&2){let t=c().ngIf;e(),C(" Creator : ",t.Data.DocumentInfo.Created.User," ")}}function qp(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 Kp(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 Yp(n,l){if(n&1&&(i(0,"div",58)(1,"i",59),a(2),o()()),n&2){let t=c().$implicit;e(2),C(" sold by ",t.SalesName," ")}}function tg(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 ng(n,l){if(n&1&&(x(0),d(1,tg,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 eg(n,l){if(n&1&&(i(0,"span",64),a(1),o()),n&2){let t=c(2).$implicit;e(),C(" ",t.Taxable?"V":"N"," ")}}function ig(n,l){if(n&1&&(i(0,"span",64),a(1),o()),n&2){let t=c(2).$implicit,p=c().ngIf;e(),C(" ",t.Taxable?p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel:"N"," ")}}function og(n,l){if(n&1&&(i(0,"div",62),d(1,eg,2,1,"span",63)(2,ig,2,1,"span",63),o()),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 lg(n,l){if(n&1&&(i(0,"span",65),a(1),g(2,"number"),o()),n&2){let t=c().$implicit,p=c().ngIf;e(),yt(" ",u(2,3,t.Quantity,"1.0-4")," ",p!=null&&p.AppConfigJSON.PrintConfigInvoice.ItemsTable.UOMVisible?t.UOMName:""," ",t.UnitQuantity!=1?" x "+t.UnitQuantity:""," ")}}function ag(n,l){if(n&1&&(x(0),i(1,"i",66),a(2),g(3,"number"),o(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.Discount)+"%"," ")}}function rg(n,l){if(n&1&&(x(0),i(1,"i",67),a(2),g(3,"number"),o(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.DiscountAmount)," ")}}function cg(n,l){if(n&1&&(i(0,"div",46)(1,"div",17)(2,"div",47)(3,"div"),x(4),a(5),v(),a(6),o(),d(7,Kp,2,1,"ng-container",1)(8,Yp,3,1,"div",48)(9,ng,2,1,"ng-container",1),o(),d(10,og,3,2,"div",49),o(),i(11,"div",50)(12,"div",51)(13,"div",52),d(14,lg,3,6,"span",53),x(15),i(16,"span",54),a(17,"x"),o(),i(18,"span",55),a(19),g(20,"number"),o(),v(),d(21,ag,4,3,"ng-container",1)(22,rg,4,3,"ng-container",1),o()(),i(23,"div",56)(24,"span"),a(25),g(26,"number"),g(27,"TrailingZero"),o()()()()),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(" ",u(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&&(i(0,"span")(1,"span"),a(2),o()()),n&2){let t=c().$implicit;e(2),C("",t.Label," :")}}function gg(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c().$implicit;e(),C("",t.CurrencySymbol," ")}}function dg(n,l){if(n&1&&(i(0,"div",68),g(1,"Filter"),i(2,"div",69),a(3),d(4,pg,3,1,"span"),o(),i(5,"div",70)(6,"div",71)(7,"div",72),d(8,gg,2,1,"span",1),o(),i(9,"div",28)(10,"span"),a(11),g(12,"number"),g(13,"TrailingZero"),o()()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,W=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"?W.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(u(13,13,m(12,11,t.Amount),O.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function _g(n,l){if(n&1&&(i(0,"span",72),a(1),o()),n&2){let t=c().ngIf;e(),P(t.Data.CurrencySymbol)}}function Cg(n,l){if(n&1&&(i(0,"span",72),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t.Data.CurrencySymbol)}}function mg(n,l){if(n&1&&(i(0,"div",24)(1,"div",73),a(2),o(),i(3,"div",26),d(4,Cg,2,1,"span",27),i(5,"span",28),a(6),g(7,"TrailingZero"),o()()()),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(u(7,3,t.Data.Invoice.Data.Remaining,t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Pg(n,l){if(n&1&&(i(0,"h6",74),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.SalesPerson," ")}}function sg(n,l){if(n&1&&(i(0,"p"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function Og(n,l){n&1&&(i(0,"h6",74),a(1," Note "),o())}function Mg(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 ug(n,l){n&1&&(i(0,"h6",75),a(1," Note "),o())}function fg(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 xg(n,l){if(n&1&&(i(0,"p",77),a(1),o()),n&2){let t=c().ngIf;e(),C(" Printed : ",t.Data.PrintDate," ")}}function vg(n,l){if(n&1&&(i(0,"p",77),a(1),o()),n&2){let t=c().ngIf;e(),C(" Created : ",t.Data.Created," ")}}function bg(n,l){n&1&&(i(0,"div"),_(1,"div",78),o())}function hg(n,l){if(n&1&&(x(0)(1),_(2,"link",2),g(3,"StylesheetSafeUrl"),_(4,"POS-print-mode",3),i(5,"div")(6,"div",4),d(7,Rp,2,1,"ng-container",5)(8,Bp,1,1,"ng-template",null,0,K),o(),i(10,"div",4),_(11,"h2",6)(12,"i",7),i(13,"p",8),_(14,"span",9),g(15,"newlines"),_(16,"br"),d(17,Lp,1,1,"span",10),_(18,"span",9),g(19,"newlines"),o(),d(20,Vp,4,2,"h6",11)(21,Fp,1,1,"h6",12)(22,jp,2,3,"p",13)(23,Up,3,5,"span",1)(24,$p,3,5,"span",1)(25,Qp,1,1,"p",14),o(),d(26,Wp,2,3,"h2",15)(27,Gp,2,1,"h2",16)(28,Xp,3,1,"ng-container",1)(29,Zp,2,1,"div",17),i(30,"div",18)(31,"div",19),d(32,qp,2,1,"ng-container",1),_(33,"div",9),o(),i(34,"div",20)(35,"div"),a(36),g(37,"date"),o()()(),d(38,cg,28,19,"div",21),i(39,"div",22),d(40,dg,14,16,"div",23),g(41,"Filter"),o(),i(42,"div",24)(43,"div",25),a(44),o(),i(45,"div",26),d(46,_g,2,1,"span",27),i(47,"span",28),a(48),g(49,"number"),g(50,"TrailingZero"),o()()(),d(51,mg,8,6,"div",29),i(52,"div",30),d(53,Pg,2,1,"h6",31)(54,sg,2,1,"p",1)(55,Og,2,0,"h6",31)(56,Mg,2,3,"p",10)(57,ug,2,0,"h6",32)(58,fg,2,3,"p",33),o(),_(59,"p",9),g(60,"SafeHtml"),_(61,"div",34),g(62,"SafeHtml"),i(63,"div",4),d(64,xg,2,1,"p",35),o(),i(65,"div",36),d(66,vg,2,1,"p",35),o(),d(67,bg,2,0,"div",1),o(),i(68,"div",37),a(69),o(),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(u(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(" ",u(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(D(l=>T.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 W=p>1?"s":"",nt=this.decimalPipe.transform(p,"1.0-4").toString(),lt=t.PrintConfigInvoice?.ItemsFooter?.TotalQuantityVisible;this.totalItemsLabel=`Total (Item${W}: ${O}${lt?`, Qty: ${nt})`:")"}`}static \u0275fac=function(t){return new(t||n)(M(h),M(S),M(A),M(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,hg,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 yg=["barcode"],Sg=n=>({"col-12 border-0":n}),Ig=n=>({"col-12":n});function wg(n,l){n&1&&_(0,"link",14)}function Tg(n,l){n&1&&_(0,"link",15)}function Dg(n,l){n&1&&_(0,"link",16)}function kg(n,l){if(n&1&&(i(0,"div",7)(1,"span",17),a(2,"Invoice Number:"),o(),i(3,"span"),a(4),o()()),n&2){let t,p=c();e(4),P((t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function Eg(n,l){n&1&&(i(0,"div",8),_(1,"img",18,0),o())}function Ag(n,l){if(n&1&&(i(0,"h6"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function Ng(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function Hg(n,l){if(n&1&&(i(0,"div",21),a(1),o()),n&2){let t,p=c(2);e(),C(" ",(t=p.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function Rg(n,l){if(n&1&&(i(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Receiver:"),o(),i(4,"div"),d(5,Ag,2,1,"h6")(6,Ng,2,1,"span"),o()(),d(7,Hg,2,1,"div",21),o()),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 zg(n,l){if(n&1&&(i(0,"h6"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.DisplayName)}}function Bg(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.ContactInfo)}}function Lg(n,l){if(n&1&&(i(0,"div",22),a(1),o()),n&2){let t,p=c(2);e(),C(" ",(t=p.template())==null?null:t.Address," ")}}function Jg(n,l){if(n&1&&(i(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Sender:"),o(),i(4,"div"),d(5,zg,2,1,"h6")(6,Bg,2,1,"span"),o()(),d(7,Lg,2,1,"div",22),o()),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 Vg(n,l){if(n&1&&(i(0,"div",23)(1,"h5"),a(2),o()()),n&2){let t,p=c(2);r("ngClass",et(2,Sg,!p.invoiceNoteVisible())),e(2),P((t=p.receipt())==null?null:t.Tag)}}function Fg(n,l){if(n&1&&(i(0,"div",24),_(1,"p",25),o()),n&2){let t,p=c(2);r("ngClass",et(2,Ig,!p.orderTagVisible())),e(),r("innerHTML",(t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Note,s)}}function jg(n,l){if(n&1&&(i(0,"div",11),d(1,Vg,3,4,"div",23)(2,Fg,2,4,"div",24),o()),n&2){let t=c();e(),f(t.orderTagVisible()?1:-1),e(),f(t.invoiceNoteVisible()?2:-1)}}function Ug(n,l){n&1&&(i(0,"th",27),a(1,"Name"),o())}function $g(n,l){n&1&&(i(0,"th",28),a(1,"Code"),o())}function Qg(n,l){n&1&&(i(0,"th",28),a(1,"QTy"),o())}function Wg(n,l){if(n&1&&_(0,"span",31),n&2){let t=c(2).$implicit;r("innerHTML",t==null?null:t.Note,s)}}function Gg(n,l){if(n&1&&(i(0,"td",30)(1,"div"),a(2),o(),d(3,Wg,1,1,"span",31),o()),n&2){let t=c().$implicit,p=c(2);e(2),P(t==null?null:t.Name),e(),f(p.itemNotesVisible()?3:-1)}}function Xg(n,l){if(n&1&&(i(0,"td",28),a(1),o()),n&2){let t=c().$implicit;e(),P(t==null?null:t.Code)}}function Zg(n,l){if(n&1&&(i(0,"td",28),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t==null?null:t.Quantity))}}function qg(n,l){if(n&1&&(i(0,"tr")(1,"td",28),a(2),o(),d(3,Gg,4,2,"td",30)(4,Xg,2,1,"td",28)(5,Zg,3,3,"td",28),o()),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 Kg(n,l){if(n&1&&_(0,"td",32),n&2){let t=c(3);r("colSpan",t.getVisibleColumnCount())}}function Yg(n,l){if(n&1&&(i(0,"tfoot",29)(1,"tr",29),d(2,Kg,1,1,"td",32),i(3,"td",33)(4,"span",34),a(5,"Total"),o()(),i(6,"td",33)(7,"span",34),a(8),g(9,"sum"),g(10,"number"),o()()()()),n&2){let t,p=c(2);e(2),f(p.productCodeVisible()||p.productNameVisible()?2:-1),e(6),P(m(10,5,u(9,2,(t=p.receipt())==null?null:t.List,"Quantity")))}}function td(n,l){if(n&1&&(i(0,"table",13)(1,"thead")(2,"tr")(3,"th",26),a(4,"No"),o(),d(5,Ug,2,0,"th",27)(6,$g,2,0,"th",28)(7,Qg,2,0,"th",28),o()(),i(8,"tbody"),Nt(9,qg,6,4,"tr",null,At),o(),d(11,Yg,11,7,"tfoot",29),o()),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 Tt=class n{receipt=Dt();config=Dt();template=Dt();css=Dt();invoiceNumber=Y(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=Y(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=Y(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);barcodeVisible=Y(()=>this.packingSlipConfig()?.General?.BarcodeVisible);storeNameVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=Y(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=Y(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=Y(()=>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=Y(()=>{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(yg,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,wg,1,0,"link",1)(1,Tg,1,0,"link",2)(2,Dg,1,0,"link",3),_(3,"link",4),g(4,"StylesheetSafeUrl"),i(5,"div",5)(6,"div",6)(7,"h3"),a(8,"PACKING SLIP"),o()(),d(9,kg,5,1,"div",7)(10,Eg,3,0,"div",8),i(11,"div",9),d(12,Rg,8,3,"div",10)(13,Jg,8,3,"div",10),o(),d(14,jg,3,2,"div",11),i(15,"div",12),d(16,td,12,4,"table",13),o()()),t&2){let O,W,nt,lt;r("ngIf",(O=p.template())==null?null:O.PrintLX300),e(),r("ngIf",(W=p.template())==null?null:W.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,tt,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 nd(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(D(t=>T.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)(M(S),M(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,nd,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[ft,y,w,Tt],encapsulation:2})};var ed=[{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:[un.forChild(ed),un]})};var Qn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,sn,Jn,jn,Fn,Qt,It,Vt,dt,Tt]})};export{nn as a,Qn as b};
1
+ import{a as wt,b as jn}from"./chunk-OLFWZQFT.js";import{a as Vn,b as Fn}from"./chunk-HRMJHSXP.js";import{b as Bn,c as Ln,d as Jn}from"./chunk-M6P3HBWJ.js";import{a as z,b as Ct,c as Vt}from"./chunk-W2UCLTBY.js";import{a as Rt}from"./chunk-UBUC3CPO.js";import{a as dt}from"./chunk-TGAOY65D.js";import{a as zt}from"./chunk-XX6Z7QPA.js";import{E as Rn,H as Jt,I as zn,O as It,P as I,d as Pt,g as tt,n as Bt,o as j,q as st,v as Lt,z as Ot}from"./chunk-5UCQBOD6.js";import{a as T,d as St}from"./chunk-AHCRE4GP.js";import{$a as e,$b as An,Ab as ht,Ac as m,Bb as wn,Bc as u,Cc as mt,Db as f,E as D,Eb as At,Fc as K,Gb as Nt,Hb as Ht,Ib as i,Ja as Dt,Jb as o,K as hn,Kb as _,Lb as x,Ma as _t,Mb as v,Nb as ut,Od as h,Pc as Y,Qb as Tn,Rb as c,Td as un,Ub as Dn,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 Nn,cd as w,d as vn,da as yn,db as M,dc as Z,dd as Hn,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,na as Sn,o as bn,qb as d,rc as et,sc as it,t as F,ua as In,ub as H,vb as r,wb as Mn,wd as A,yb as ct,zb as Et,zc as g}from"./chunk-DZT5XHBQ.js";import{a as xn}from"./chunk-7DCB7DB2.js";function Wn(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)}}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(W=>{this.model=W,this.model.Data.InvoiceID=l,this.setBrowserTitle(W);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)(M(S),M(h),M(A),M(St))};static \u0275cmp=b({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,p){t&1&&Tn("contextmenu",function(W){return p.preventOpenContextMenu(W)})},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction","stylesheet"]],template:function(t,p){t&1&&d(0,Wn,2,7,"ng-container",0),t&2&&r("ngIf",p.model)},dependencies:[y,Ln],encapsulation:2})};function Gn(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)}}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"),W=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=>(W&&(nt.Template.PrintLX300=W=="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)(M(S),M(h),M(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"]],template:function(t,p){t&1&&(d(0,Gn,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function Xn(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(D(t=>T.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)(M(S),M(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,Xn,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Vn,w],encapsulation:2})};var Zn=(n,l)=>({lx300:n,"print-normal":l}),qn=n=>({width:n});function Kn(n,l){n&1&&_(0,"link",43)}function Yn(n,l){n&1&&_(0,"link",44)}function te(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;ct(et(3,qn,(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 ne(n,l){if(n&1&&(x(0),d(1,te,1,5,"img",46),v()),n&2){let t=c(2).ngIf;e(),r("ngIf",t.Template.Logo)}}function ee(n,l){if(n&1&&_(0,"img",47),n&2){let t=c(3).ngIf;r("src",t.Template.Logo,J)}}function ie(n,l){if(n&1&&d(0,ee,1,1,"img",48),n&2){let t=c(2).ngIf;r("ngIf",t.Template.Logo)}}function oe(n,l){if(n&1&&(i(0,"div",10),d(1,ne,2,1,"ng-container",45)(2,ie,1,1,"ng-template",null,0,K),o()),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 le(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(2).ngIf;e(),C("(",t.Data.Contact.MemberIdentification,")")}}function ae(n,l){if(n&1&&(i(0,"div",49)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",50)(5,"strong"),a(6),o(),d(7,le,2,1,"span",1),i(8,"div",51)(9,"div")(10,"span"),a(11),o()(),i(12,"div")(13,"span"),a(14),o()(),i(15,"div"),_(16,"span",14),o(),i(17,"div")(18,"span"),a(19),o()()()()()),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 re(n,l){n&1&&(i(0,"th"),a(1,"Due"),o())}function ce(n,l){n&1&&(i(0,"th"),a(1,"ToP"),o())}function pe(n,l){n&1&&(i(0,"th"),a(1,"Sales"),o())}function ge(n,l){n&1&&(i(0,"th"),a(1," PO# "),o())}function de(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().ngIf;e(),C(" ",u(2,1,t.Data.Invoice.Due,"dd MMM yyyy")," ")}}function _e(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),P(t.Data.ToP)}}function Ce(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function me(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function Pe(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(2).ngIf;e(),C(", ",t.Data.ShippingAddress.Phone,"")}}function se(n,l){if(n&1&&(i(0,"div",52)(1,"h3"),a(2),o(),i(3,"div",50)(4,"div"),a(5),d(6,Pe,2,1,"span",1),o(),_(7,"div",14),i(8,"div"),a(9),o()()()),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 Oe(n,l){n&1&&(i(0,"th",53),a(1," Disc "),o())}function Me(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 ue(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function fe(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C(" -",t.DiscountAmount," ")}}function xe(n,l){if(n&1&&(i(0,"td",57),d(1,ue,2,1,"div",1)(2,fe,2,1,"div",1),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0)}}function ve(n,l){if(n&1&&(i(0,"tr")(1,"td",15),a(2),o(),i(3,"td"),a(4),i(5,"div"),d(6,Me,2,3,"i",54),o()(),i(7,"td"),a(8),o(),i(9,"td",15),a(10),g(11,"number"),o(),i(12,"td"),a(13),o(),i(14,"td",15),a(15),g(16,"number"),o(),d(17,xe,3,2,"td",55),i(18,"td",15),a(19),g(20,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,W=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",W.isDiscount),e(2),C(" ",u(20,13,t.Total,O.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function be(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(3);e(),C("Qty : ",m(2,1,t.totalQty),";")}}function he(n,l){if(n&1&&(i(0,"tr")(1,"th"),d(2,be,3,3,"span",1),a(3),o(),i(4,"td"),a(5,":"),o(),i(6,"td",58),a(7),o(),i(8,"td",26),a(9),g(10,"TrailingZero"),o()()),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(" ",u(10,4,t.Amount,p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ye(n,l){if(n&1&&(i(0,"td",60),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data.TotalInWords," ")}}function Se(n,l){if(n&1&&(i(0,"tr"),_(1,"th",14),i(2,"td"),a(3,":"),o(),d(4,ye,2,1,"td",59),o()),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 Ie(n,l){if(n&1&&(i(0,"span")(1,"span",61),a(2),g(3,"date"),o(),a(4),g(5,"number"),_(6,"br"),o()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("hidden",p.Data.Payments),e(),P(u(3,5,t.Date,"dd MMM yy")),e(2),yt(" ",t.MethodName," ",t.Note?t.Note:""," ",m(5,8,t.Amount)," ")}}function we(n,l){if(n&1&&(i(0,"tr"),_(1,"th",14),i(2,"td"),a(3,":"),o(),i(4,"td"),d(5,Ie,7,10,"span",29),o()()),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 Te(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Delivery"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",62)(7,"li"),a(8),o()()()()),n&2){let t=c().ngIf;e(8),C(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function De(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",62),_(7,"li",14),g(8,"newlines"),o()()()),n&2){let t=c().ngIf;e(7),r("innerHTML",m(8,1,t.Data.Invoice==null?null:t.Data.Invoice.Note),s)}}function ke(n,l){if(n&1&&(i(0,"div",63)(1,"h5"),a(2),o(),i(3,"div",36),a(4,"\xA0"),o()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function Ee(n,l){if(n&1&&(i(0,"div",64)(1,"h5"),a(2),o(),i(3,"div",36),a(4,"\xA0"),o()()),n&2){let t=c().ngIf;e(2),C(" ",t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Ae(n,l){if(n&1&&_(0,"div",65),n&2){let t=c().ngIf;r("innerHTML",t.Template.FooterRight,s)}}function Ne(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,Kn,1,0,"link",3)(4,Yn,1,0,"link",4),i(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,oe,4,2,"div",10),i(11,"div",11)(12,"h2"),a(13),o(),i(14,"small"),a(15),o(),i(16,"div",12)(17,"div",13),_(18,"span",14),g(19,"newlines"),o(),i(20,"div",15),_(21,"span",14),g(22,"newlines"),o()()()(),d(23,ae,20,7,"div",16),o(),i(24,"div",17)(25,"h1")(26,"strong"),a(27),o(),i(28,"span"),a(29),o()(),i(30,"div")(31,"table")(32,"thead")(33,"tr")(34,"th"),a(35,"Date"),o(),d(36,re,2,0,"th",1)(37,ce,2,0,"th",1)(38,pe,2,0,"th",1)(39,ge,2,0,"th",1),o()(),i(40,"tbody")(41,"tr")(42,"td"),a(43),g(44,"date"),o(),d(45,de,3,4,"td",1)(46,_e,2,1,"td",1)(47,Ce,2,1,"td",1)(48,me,2,1,"td",1),o()()()(),d(49,se,10,5,"div",18),o()()(),i(50,"section",19)(51,"div",20)(52,"table",21)(53,"thead",22)(54,"tr")(55,"th",23),a(56,"No"),o(),i(57,"th"),a(58,"Name"),o(),i(59,"th",24),a(60,"Code"),o(),i(61,"th",25),a(62,"Qty"),o(),i(63,"th",26),a(64,"UOM"),o(),i(65,"th",27),a(66),o(),d(67,Oe,2,0,"th",28),i(68,"th",27),a(69),o()()(),i(70,"tbody"),d(71,ve,21,16,"tr",29),o(),i(72,"tr",30)(73,"td",31)(74,"table",32)(75,"tbody"),d(76,he,11,7,"tr",29),o()()()()()()(),i(77,"table",33),d(78,Se,5,2,"tr",1)(79,we,6,2,"tr",1)(80,Te,9,1,"tr",1)(81,De,9,3,"tr",1),o(),i(82,"div")(83,"div")(84,"div",34)(85,"div",35)(86,"h5"),a(87),o(),i(88,"div",36),a(89,"\xA0"),o()(),d(90,ke,5,1,"div",37)(91,Ee,5,1,"div",38),i(92,"div",39)(93,"h5"),a(94),o(),i(95,"div",36),a(96),o()()()()(),i(97,"div",40),_(98,"div",41),d(99,Ae,1,1,"div",42),o()(),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,Zn,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(u(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(D(t=>T.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)(M(S),M(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,Ne,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 He=(n,l)=>({lx300:n,"print-normal":l}),Re=n=>({width:n}),ze=(n,l)=>({"justify-content-between":n,"justify-content-end":l});function Be(n,l){n&1&&_(0,"link",9)}function Le(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 Ve(n,l){if(n&1&&(x(0),_(1,"img",54),v()),n&2){let t=c(3);e(),ct(et(3,Re,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),r("src",t.printTemplate.Logo,J)}}function Fe(n,l){if(n&1&&_(0,"img",54),n&2){let t=c(3);r("src",t.printTemplate.Logo,J)}}function je(n,l){if(n&1&&(i(0,"div",15),d(1,Ve,2,5,"ng-container",53)(2,Fe,1,1,"ng-template",null,2,K),o()),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 Ue(n,l){n&1&&(i(0,"th"),a(1," Due "),o())}function $e(n,l){n&1&&(i(0,"th"),a(1," ToP "),o())}function Qe(n,l){n&1&&(i(0,"th"),a(1," Sales "),o())}function We(n,l){n&1&&(x(0),i(1,"th"),a(2,"PO#"),o(),v())}function Ge(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c(2);e(),C(" ",u(2,1,t.data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Xe(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2);e(),C(" ",t.data.ToP," ")}}function Ze(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2);e(),C(" ",t.data.SalesName," ")}}function qe(n,l){if(n&1&&(x(0),i(1,"td"),a(2),o(),v()),n&2){let t=c(2);e(2),P(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function Ke(n,l){if(n&1&&(i(0,"div",55),_(1,"h3",56),i(2,"div"),a(3),_(4,"div",56)(5,"div",56),o()()),n&2){let t=c(2);Mn("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 Ye(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.Contact.Email)}}function ti(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),n&2){let t=c(3);e(),r("innerHTML",t.data.Contact.Address,s)}}function ni(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function ei(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(3);e(2),P(t.data.City)}}function ii(n,l){if(n&1&&(i(0,"div",57),_(1,"span",17),i(2,"strong",58),a(3),o(),i(4,"div",59),d(5,Ye,3,1,"div",12)(6,ti,2,1,"div",12)(7,ni,3,1,"div",12)(8,ei,3,1,"div",12),o()()),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 oi(n,l){if(n&1&&(i(0,"div",57)(1,"span"),a(2),o()()),n&2){let t=c(2);e(2),C("Courier: ",t.data.ItemTransfer.Courier,"")}}function li(n,l){n&1&&(i(0,"th",60),a(1," Code "),o())}function ai(n,l){if(n&1&&(i(0,"th",34),a(1),o()),n&2){let t=c(2);e(),C(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function ri(n,l){n&1&&ut(0)}function ci(n,l){if(n&1&&d(0,ri,1,0,"ng-container",61),n&2){c();let t=Z(67);r("ngTemplateOutlet",t)}}function pi(n,l){n&1&&ut(0)}function gi(n,l){if(n&1&&d(0,pi,1,0,"ng-container",61),n&2){c();let t=Z(67);r("ngTemplateOutlet",t)}}function di(n,l){if(n&1&&(i(0,"th",62),a(1),o(),i(2,"th",63),a(3),o()),n&2){let t=c(2);e(),C("Cost (",t.data.currencySymbol,")"),e(2),C(" Total Cost (",t.data.currencySymbol,") ")}}function _i(n,l){n&1&&ut(0)}function Ci(n,l){if(n&1&&d(0,_i,1,0,"ng-container",61),n&2){c();let t=Z(71);r("ngTemplateOutlet",t)}}function mi(n,l){n&1&&ut(0)}function Pi(n,l){if(n&1&&d(0,mi,1,0,"ng-container",61),n&2){c();let t=Z(71);r("ngTemplateOutlet",t)}}function si(n,l){if(n&1&&(i(0,"th",64),a(1),o(),i(2,"th",65),a(3,"%"),o(),i(4,"th",66),a(5),o()),n&2){let t=c(2);e(),C("Price (",t.data.currencySymbol,")"),e(4),C(" Total Price (",t.data.currencySymbol,") ")}}function Oi(n,l){n&1&&(i(0,"th"),a(1,"Note"),o())}function Mi(n,l){if(n&1&&(i(0,"th",64),a(1),o()),n&2){let t=c(2);e(),C(" Price (",t.data.currencySymbol,") ")}}function ui(n,l){if(n&1&&(i(0,"th",66),a(1),o()),n&2){let t=c(2);e(),C(" Total Price (",t.data.currencySymbol,") ")}}function fi(n,l){if(n&1&&(i(0,"th",64),a(1),o()),n&2){let t=c(2);e(),C(" Cost (",t.data.currencySymbol,") ")}}function xi(n,l){if(n&1&&(i(0,"th",63),a(1),o()),n&2){let t=c(2);e(),C(" Total Cost (",t.data.currencySymbol,") ")}}function vi(n,l){if(n&1&&(i(0,"div")(1,"small",70),a(2),o()()),n&2){let t=c().$implicit;e(2),P(t.StorageLocation)}}function bi(n,l){if(n&1&&_(0,"i",72),n&2){let t=c(2).$implicit;r("innerHTML",t.Note,s)}}function hi(n,l){if(n&1&&(i(0,"div"),d(1,bi,1,1,"i",71),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Note!=null)}}function yi(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function Si(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.Unit),"")}}function Ii(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" x ",m(2,1,t.UnitQuantity),"")}}function wi(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.Unit)," ")}}function Ti(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.Quantity*t.UnitQuantity)," ")}}function Di(n,l){if(n&1&&(i(0,"td"),d(1,wi,3,3,"span",12)(2,Ti,3,3,"span",12),o()),n&2){let t=c().$implicit;e(),r("ngIf",t.Unit),e(),r("ngIf",t.UnitQuantity)}}function ki(n,l){n&1&&ut(0)}function Ei(n,l){if(n&1&&d(0,ki,1,0,"ng-container",61),n&2){c();let t=Z(23);r("ngTemplateOutlet",t)}}function Ai(n,l){n&1&&ut(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&&ut(0)}function Ri(n,l){if(n&1&&d(0,Hi,1,0,"ng-container",61),n&2){c();let t=Z(25);r("ngTemplateOutlet",t)}}function zi(n,l){n&1&&ut(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){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 Ji(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 Vi(n,l){if(n&1&&d(0,Li,2,3,"td",69)(1,Ji,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 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.UnitPrice),s)}}function ji(n,l){if(n&1&&_(0,"td",73),n&2){let t=c(2).$implicit;r("innerHTML",t.Discount,s)}}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.TotalPrice),s)}}function $i(n,l){if(n&1&&d(0,Fi,2,3,"td",69)(1,ji,1,1,"td",69)(2,Ui,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 Qi(n,l){if(n&1&&(i(0,"td"),_(1,"span",74),o()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note?t.Note:t.PONote,s)}}function Wi(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 Gi(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 Xi(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 Zi(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 qi(n,l){if(n&1&&(i(0,"tr")(1,"td",67),a(2),o(),i(3,"td")(4,"div"),a(5),d(6,vi,3,1,"div",12),o(),_(7,"app-serial-note",68),d(8,hi,2,1,"div",12),o(),d(9,yi,2,1,"td",12),i(10,"td",45),a(11),g(12,"number"),d(13,Si,3,3,"span",12)(14,Ii,3,3,"span",12),o(),d(15,Di,3,2,"td",12),i(16,"td"),a(17),o(),d(18,Ei,1,1,"ng-container")(19,Ni,1,1,"ng-container")(20,Ri,1,1,"ng-container")(21,Bi,1,1,"ng-container")(22,Vi,2,2,"ng-template",null,3,K)(24,$i,3,3,"ng-template",null,4,K)(26,Qi,2,1,"td",12)(27,Wi,2,3,"td",69)(28,Gi,2,3,"td",69)(29,Xi,2,3,"td",69)(30,Zi,2,3,"td",69),o()),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 Ki(n,l){if(n&1&&(i(0,"td",42)(1,"div",75)(2,"span",76),a(3,"Weight: "),o(),i(4,"span",76),a(5),g(6,"number"),o()()()),n&2){let t=c(2);e(5),C("",m(6,1,t.totalWeight())," gr")}}function Yi(n,l){if(n&1&&_(0,"td",43),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function to(n,l){n&1&&_(0,"td")}function no(n,l){n&1&&_(0,"td")}function eo(n,l){if(n&1&&(i(0,"td",44)(1,"b"),a(2),g(3,"number"),o()()),n&2){let t=c(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),P(m(3,2,t.TotalCost))}}function io(n,l){n&1&&_(0,"td")}function oo(n,l){n&1&&_(0,"td")}function lo(n,l){if(n&1&&(i(0,"td",77)(1,"b"),a(2),g(3,"number"),o()()),n&2){let t=c(2);e(2),P(m(3,1,t.TotalPrice))}}function ao(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c(4);e(),P(t.data.Items.length>1?"Qty: "+m(2,1,t.TotalQty):"")}}function ro(n,l){if(n&1&&(i(0,"tr")(1,"th",79),d(2,ao,3,3,"span",12),a(3),o(),i(4,"th"),a(5,":"),o(),i(6,"th",80),a(7),o(),i(8,"th",34),a(9),g(10,"TrailingZero"),o()()),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(" ",u(10,4,t.Amount,p.data.TrailingZero)," ")}}function co(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",80),a(6),o(),i(7,"td",34),a(8),g(9,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=c(3);e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",u(9,3,t.Amount,p.data.TrailingZero)," ")}}function po(n,l){if(n&1&&(i(0,"div",49)(1,"table",78)(2,"tbody"),d(3,ro,11,7,"tr",40)(4,co,10,6,"tr",40),o()()()),n&2){let t=c(2);e(3),r("ngForOf",t.data.AmountSummary),e(),r("ngForOf",t.data.PaidAmountSummary)}}function go(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),_(7,"li",17),o()()()),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 _o(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Status"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),_(7,"li",17),o()()()),n&2){let t=c(3);e(7),r("innerHTML",t.data==null?null:t.data.Status,s)}}function Co(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82)(7,"li"),a(8),g(9,"date"),o()()()()),n&2){let t=c(3);e(2),C(" ",t.config.ModuleSell.Shipping.DateLabel," "),e(6),C(" ",u(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function mo(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Approved by"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82)(7,"li"),a(8),o()()()()),n&2){let t=c(3);e(8),P(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Approval)}}function Po(n,l){if(n&1&&(i(0,"table",81),d(1,go,8,1,"tr",12)(2,_o,8,1,"tr")(3,Co,10,5,"tr",12)(4,mo,9,1,"tr",12),o()),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)}}function so(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,s)}}function Oo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,s)}}function Mo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,s)}}function uo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,s)}}function fo(n,l){if(n&1&&(i(0,"div",89)(1,"h5",90),a(2," \xA0 "),o(),i(3,"div",91),a(4," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,s)}}function xo(n,l){if(n&1&&(i(0,"div",92),_(1,"div",93),o()),n&2){let t=c(3);e(),r("innerHTML",t.printTemplate.DeliveryNote,s)}}function vo(n,l){if(n&1&&_(0,"small",94),n&2){let t=c(3);r("innerHTML",t.data.Creator,s)}}function bo(n,l){if(n&1&&(i(0,"div",83)(1,"div",84),d(2,so,5,1,"div",85)(3,Oo,5,1,"div",85)(4,Mo,5,1,"div",85)(5,uo,5,1,"div",85)(6,fo,5,1,"div",85),o(),d(7,xo,2,1,"div",86),i(8,"div",87),d(9,vo,1,1,"small",88),o()()),n&2){let t=c(2);e(),r("ngClass",it(8,ze,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 ho(n,l){if(n&1&&(i(0,"div",11),d(1,Je,2,1,"ng-container",12),i(2,"div")(3,"div",13)(4,"div",14),d(5,je,4,2,"div",15),i(6,"div",16),_(7,"h2",17)(8,"small",17),i(9,"div")(10,"div"),_(11,"div",17),g(12,"newlines"),o(),i(13,"div"),_(14,"div",17),g(15,"newlines"),_(16,"br"),o()()()()(),i(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"strong"),a(22),g(23,"uppercase"),o(),_(24,"span",17),o()(),i(25,"div",22)(26,"table",23)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),o(),d(31,Ue,2,0,"th",12)(32,$e,2,0,"th",12)(33,Qe,2,0,"th",12)(34,We,3,0,"ng-container",12),o()(),i(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),o(),d(40,Ge,3,4,"td",12)(41,Xe,2,1,"td",12)(42,Ze,2,1,"td",12)(43,qe,3,1,"ng-container",12),o()()()()(),i(44,"div",24),d(45,Ke,6,7,"div",25),o()()(),i(46,"div",26),d(47,ii,9,7,"div",27)(48,oi,3,1,"div",27),o(),i(49,"div",28)(50,"div",29)(51,"table",30)(52,"thead")(53,"tr",31)(54,"th",32),a(55,"No"),o(),i(56,"th"),a(57,"Name"),o(),d(58,li,2,0,"th",33),i(59,"th",34),a(60,"Qty"),o(),d(61,ai,2,1,"th",35),i(62,"th",36),a(63,"UOM"),o(),d(64,ci,1,1,"ng-container")(65,gi,1,1,"ng-container")(66,di,4,2,"ng-template",null,0,K)(68,Ci,1,1,"ng-container")(69,Pi,1,1,"ng-container")(70,si,6,2,"ng-template",null,1,K)(72,Oi,2,0,"th",12)(73,Mi,2,1,"th",37)(74,ui,2,1,"th",38)(75,fi,2,1,"th",37)(76,xi,2,1,"th",39),o()(),i(77,"tbody"),d(78,qi,31,22,"tr",40),o(),i(79,"tfoot")(80,"tr",41),d(81,Ki,7,3,"td",42)(82,Yi,1,1,"td",43),i(83,"td",44)(84,"b"),a(85,"Total"),o()(),i(86,"td",45)(87,"b"),a(88),g(89,"number"),o()(),d(90,to,1,0,"td",12)(91,no,1,0,"td",12)(92,eo,4,4,"td",46)(93,io,1,0,"td",12)(94,oo,1,0,"td",12)(95,lo,4,3,"td",47),o()()()(),d(96,po,5,2,"div",48),i(97,"div",49),d(98,Po,5,4,"table",50),o(),d(99,bo,10,11,"div",51),o()()),n&2){let t=c();r("ngClass",it(61,He,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,50,t.printTemplate.Address),s),e(3),r("innerHTML",m(15,52,t.printTemplate.ContactInfo),s),e(8),C(" ",m(23,54,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(u(39,56,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(),Mn("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(),r("ngIf",t.data.ItemTransfer.Courier),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)?64:-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?65:-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?68:-1),e(),f(t.type==t.printingType.OUTBOUND&&t.roleService.product.Price&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)?69:-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)?81:82),e(2),r("colSpan",1),e(5),P(m(89,59,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 Mt=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=T.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=>T.IsNotEmpty(t));this.signatureCount.set(l.length)}static \u0275fac=function(t){return new(t||n)(M(h),M(R),M(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,Be,1,0,"link",6)(3,Le,1,0,"link",7)(4,ho,100,64,"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,Nn,Ct,dt,Hn,R,V,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,Bn,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(D(t=>T.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)(M(S),M(h),M(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,W,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",(W=m(2,7,p.data$))==null?null:W.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:[Mt,w],encapsulation:2})};var yo=(n,l)=>({lx300:n,"print-normal":l});function So(n,l){n&1&&_(0,"link",18)}function Io(n,l){n&1&&_(0,"link",19)}function wo(n,l){n&1&&_(0,"link",20)}function To(n,l){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.ContactDisplay)}}function Do(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 ko(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Eo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Ao(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),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 No(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Ho(n,l){if(n&1&&(i(0,"div",21)(1,"div",22)(2,"h4"),_(3,"span",17),o(),d(4,To,2,1,"strong",0)(5,Do,3,1,"div",0)(6,ko,3,1,"div",0)(7,Eo,3,1,"div",0)(8,Ao,2,1,"div",0)(9,No,3,1,"div",0),o()()),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 Ro(n,l){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Recipient)}}function zo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Bo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Lo(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 Jo(n,l){if(n&1&&(i(0,"div"),_(1,"span",17),o()),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 Vo(n,l){if(n&1&&(i(0,"div",7)(1,"div",23)(2,"div",9),_(3,"span",17),o(),d(4,Ro,2,1,"strong",0)(5,zo,3,1,"div",0)(6,Bo,3,1,"div",0)(7,Lo,3,1,"div",0)(8,Jo,2,1,"div",0),o()()),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 Fo(n,l){if(n&1&&(x(0),i(1,"div",24)(2,"div",25)(3,"div",26)(4,"span",9),a(5),o()()()(),v()),n&2){let t=c().ngIf;e(5),P(t==null||t.Data==null?null:t.Data.TypeName)}}function jo(n,l){n&1&&(i(0,"th"),a(1," Code "),o())}function Uo(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Code," ")}}function $o(n,l){if(n&1&&(i(0,"tr"),_(1,"td",33),o()),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 Qo(n,l){if(n&1&&(i(0,"tbody")(1,"tr")(2,"td",32),a(3),o(),i(4,"td"),a(5),o(),d(6,Uo,2,1,"td",0),i(7,"td",32),a(8),g(9,"number"),o()(),d(10,$o,2,2,"tr",0),o()),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 Wo(n,l){if(n&1&&(i(0,"div",13)(1,"div",8)(2,"table",27)(3,"thead",28)(4,"tr")(5,"th",29),a(6,"No"),o(),i(7,"th",30),a(8,"Name"),o(),d(9,jo,2,0,"th",0),i(10,"th",29),a(11,"Qty"),o()()(),d(12,Qo,11,7,"tbody",31),o()()()),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 Go(n,l){if(n&1&&(i(0,"div",13)(1,"div",8),_(2,"div",34),o()()),n&2){let t=c().ngIf;e(2),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Xo(n,l){if(n&1&&(x(0),d(1,So,1,0,"link",1)(2,Io,1,0,"link",2)(3,wo,1,0,"link",3),_(4,"link",4),g(5,"StylesheetSafeUrl"),i(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"div",9)(11,"span"),a(12),o()()()(),d(13,Ho,10,7,"div",10)(14,Vo,9,6,"div",11)(15,Fo,6,1,"ng-container",0)(16,Wo,13,2,"div",12)(17,Go,3,1,"div",12),i(18,"div",13)(19,"div",8)(20,"div",14)(21,"div",15)(22,"div",16),_(23,"span",17),o()()()()()()(),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,yo,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(D(t=>T.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)(M(S),M(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,Xo,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 Zo(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(D(t=>T.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)(M(S),M(h),M(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,Zo,2,8,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,w],encapsulation:2})};function qo(n,l){if(n&1&&(x(0),_(1,"pos-receipt-a4",1),i(2,"div",2),_(3,"pos-customer-delivery",3),o(),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),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(D(t=>T.IsNotEmpty(t)),k(t=>(l=t,this.httpService.post(I.InvoiceAndDelivery,t))),F(t=>(t.Delivery&&(t.Delivery.PO=t.Invoice?.Order),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)(M(S),M(h),M(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"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,p){t&1&&(d(0,qo,4,11,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,wt,Mt,w],encapsulation:2})};function Ko(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(D(t=>T.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)(M(S),M(h),M(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,Ko,2,6,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,Mt,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(D(t=>T.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)(M(S),M(h),M(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,W,nt,lt;r("data",(O=m(1,5,p.data$))==null?null:O.Data)("printTemplate",(W=m(2,7,p.data$))==null?null:W.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:[Mt,w],encapsulation:2})};var nl=["class","component"],el=n=>({width:n});function il(n,l){if(n&1&&_(0,"img",38),n&2){let t=c(5).ngIf;ct(et(3,el,(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 ol(n,l){if(n&1&&(x(0),d(1,il,1,5,"img",37),v()),n&2){let t=c(4).ngIf;e(),r("ngIf",t.Template==null?null:t.Template.Logo)}}function ll(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 al(n,l){if(n&1&&d(0,ll,1,1,"img",39),n&2){let t=c(4).ngIf;r("ngIf",t.Template==null?null:t.Template.Logo)}}function rl(n,l){if(n&1&&(i(0,"div",30),d(1,ol,2,1,"ng-container",36)(2,al,1,1,"ng-template",null,0,K),o()),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 cl(n,l){if(n&1&&(i(0,"div",29),d(1,rl,4,2,"div",30),i(2,"div",31),_(3,"h2",32)(4,"small",32),i(5,"div",33),_(6,"div",34),g(7,"newlines"),_(8,"div",35),g(9,"newlines"),o()()()),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 pl(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 gl(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 dl(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 _l(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 Cl(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 ml(n,l){if(n&1&&(i(0,"div",40),_(1,"h3",32),i(2,"div",41),d(3,pl,1,1,"strong",42),i(4,"div",43),d(5,gl,1,1,"div",42)(6,dl,1,1,"div",42)(7,_l,2,3,"div",42)(8,Cl,1,1,"div",42),o()()()),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 Pl(n,l){n&1&&(i(0,"th"),a(1,"Due"),o())}function sl(n,l){n&1&&(i(0,"th"),a(1,"ToP"),o())}function Ol(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c(2).ngIf;e(),C(" ",u(2,1,t.Data==null?null:t.Data.Due,"dd MMM yyyy")," ")}}function Ml(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t.Data==null?null:t.Data.ToP," Days ")}}function ul(n,l){n&1&&(i(0,"th"),a(1," Category "),o())}function fl(n,l){n&1&&(i(0,"th",16),a(1,"UOM"),o())}function xl(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function vl(n,l){if(n&1&&(i(0,"th",17),a(1," Price ("),d(2,xl,2,1,"span",1),a(3,") "),o()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function bl(n,l){n&1&&(i(0,"th",18),a(1,"Disc"),o())}function hl(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c(3).ngIf;e(),P(t.Data==null?null:t.Data.CurrencySymbol)}}function yl(n,l){if(n&1&&(i(0,"th",44),a(1," Total ("),d(2,hl,2,1,"span",1),a(3,") "),o()),n&2){let t=c(2).ngIf;e(2),r("ngIf",t.Data==null?null:t.Data.CurrencySymbol)}}function Sl(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),C(" ",t.Category," ")}}function Il(n,l){if(n&1&&_(0,"i",53),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function wl(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"quantityFraction"),o()),n&2){let t=c().$implicit;e(),C("x ",m(2,1,t.UnitQuantity),"")}}function Tl(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.UOMName?t.UOMName:"-")}}function Dl(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 kl(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function El(n,l){if(n&1&&(i(0,"div"),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C("-",m(2,1,t.DiscountAmount),"")}}function Al(n,l){if(n&1&&(i(0,"td",51),d(1,kl,2,1,"div")(2,El,3,3,"div"),o()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Nl(n,l){if(n&1&&(i(0,"td",54),a(1),g(2,"amountFraction"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.Total)," ")}}function Hl(n,l){if(n&1&&(i(0,"tr"),_(1,"td",45),d(2,Sl,2,1,"td",1),i(3,"td")(4,"span",46),a(5),o(),_(6,"app-serial-note",47),d(7,Il,1,1,"i",48),o(),_(8,"td",32),i(9,"td",49),a(10),g(11,"quantityFraction"),d(12,wl,3,3,"span",1),o(),d(13,Tl,2,1,"td")(14,Dl,2,3,"td",50)(15,Al,3,2,"td",51)(16,Nl,3,3,"td",52),o()),n&2){let t=l.$implicit,p=l.index,O=c(2).ngIf,W=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(W.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&&W.isDiscVisible()?15:-1),e(),r("ngIf",O==null||O.Data==null?null:O.Data.IsInRoleCost)}}function Rl(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td",57),a(4,":"),o(),i(5,"td",58),a(6),o(),i(7,"td",16),a(8),g(9,"amountFraction"),o()()),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 zl(n,l){if(n&1&&(i(0,"td",55)(1,"table",56)(2,"tbody"),d(3,Rl,10,5,"tr",20),o()()()),n&2){let t=c(2).ngIf;e(3),r("ngForOf",t.Data==null?null:t.Data.Aggregate)}}function Bl(n,l){if(n&1&&(i(0,"td",61),a(1),g(2,"newlines"),o()),n&2){let t=c(3).ngIf;e(),C(" ",m(2,1,t.Data==null?null:t.Data.TotalInWord)," ")}}function Ll(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2),o(),i(3,"td",57),a(4,":"),o(),d(5,Bl,3,3,"td",60),o()),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 Jl(n,l){if(n&1&&(i(0,"tr")(1,"th",59)(2,"span"),a(3),o()(),i(4,"td",57),a(5,":"),o(),i(6,"td")(7,"ul",62),_(8,"li",32),g(9,"newlines"),o()()()),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 Vl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Remaining"),o(),i(3,"td",57),a(4,":"),o(),i(5,"td")(6,"ul",62)(7,"li"),a(8),g(9,"number"),o()()()()),n&2){let t=c(2).ngIf;e(8),C(" ",m(9,1,t.Data==null?null:t.Data.Remaining)," ")}}function Fl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Attention"),o(),i(3,"td",57),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c(2).ngIf;e(6),P(t.Data==null?null:t.Data.Att)}}function jl(n,l){if(n&1&&(i(0,"tr")(1,"th",59),a(2,"Note"),o(),i(3,"td",57),a(4,":"),o(),_(5,"td",32),g(6,"newlines"),o()),n&2){let t=c(2).ngIf;e(5),r("innerHTML",m(6,1,t.Data==null?null:t.Data.Note),s)}}function Ul(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 $l(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 Wl(n,l){if(n&1&&(i(0,"div",65)(1,"h5",66),a(2," \xA0 "),o(),i(3,"div",67),a(4," \xA0 "),o()()),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 Gl(n,l){if(n&1&&(i(0,"div")(1,"div",63),d(2,Ul,5,1,"div",64)(3,$l,5,1,"div",64)(4,Ql,5,1,"div",64)(5,Wl,5,1,"div",64),o()()),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 Xl(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 Zl(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 ql(n,l){if(n&1&&(i(0,"div",4),_(1,"POS-print-mode",5),i(2,"div",6)(3,"div")(4,"div",7),d(5,cl,10,9,"div",8)(6,ml,9,6,"div",9),o(),i(7,"div",10)(8,"h1")(9,"strong"),a(10),o(),i(11,"span"),a(12),o()(),i(13,"div")(14,"table")(15,"thead")(16,"tr")(17,"th"),a(18,"Date"),o(),d(19,Pl,2,0,"th",1)(20,sl,2,0,"th",1),o()(),i(21,"tbody")(22,"tr")(23,"td"),a(24),g(25,"date"),o(),d(26,Ol,3,4,"td",1)(27,Ml,2,1,"td",1),o()()()()()(),i(28,"div",11)(29,"table",12)(30,"thead")(31,"tr")(32,"th",13),a(33,"No"),o(),d(34,ul,2,0,"th",1),i(35,"th"),a(36,"Name"),o(),i(37,"th",14),a(38,"Code"),o(),i(39,"th",15),a(40,"Qty"),o(),d(41,fl,2,0,"th",16)(42,vl,4,1,"th",17)(43,bl,2,0,"th",18)(44,yl,4,1,"th",19),o()(),i(45,"tbody"),d(46,Hl,17,14,"tr",20),o(),i(47,"tfoot")(48,"tr",21),_(49,"td",22),i(50,"td",23)(51,"b"),a(52,"Total"),o()(),i(53,"td",24)(54,"b"),a(55),g(56,"sum"),g(57,"quantityFraction"),o()(),d(58,zl,4,1,"td",25),o()()()(),i(59,"div")(60,"table",26),d(61,Ll,6,2,"tr",1)(62,Jl,10,4,"tr",1)(63,Vl,10,3,"tr",1)(64,Fl,7,1,"tr",1)(65,jl,7,3,"tr",1),o(),i(66,"div"),d(67,Gl,6,4,"div",1),o()(),d(68,Xl,2,3,"div",27)(69,Zl,1,1,"small",28),o()()),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(" ",u(25,29,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,35,u(56,32,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(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 Kl(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),d(3,ql,70,37,"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(D(t=>T.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=>T.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)(M(S),M(h),M(A))};static \u0275cmp=b({type:n,selectors:[["POS-supplier-invoice",8,"component"]],standalone:!1,attrs:nl,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,Kl,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,tt,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 Yl(n,l){if(n&1&&(i(0,"small",12),a(1),o()),n&2){let t=c().ngIf;e(),P(t==null||t.Template==null?null:t.Template.Field)}}function ta(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Balance"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),g(7,"number"),o()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Point))}}function na(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Expired"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),g(7,"IsMinDate"),o()()),n&2){let t=c().ngIf;e(6),P(m(7,1,t==null||t.Data==null?null:t.Data.Package.Expired))}}function ea(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 ia(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div")(5,"h1",3),a(6),o(),d(7,Yl,2,1,"small",4),i(8,"p",5),_(9,"span",6),g(10,"newlines"),_(11,"span",6),g(12,"newlines"),o(),i(13,"h2",7),a(14),o(),i(15,"div",8)(16,"span"),a(17),g(18,"date"),o(),i(19,"span",9),a(20),g(21,"date"),o()(),i(22,"h3"),a(23,"Customer"),o(),i(24,"table",10)(25,"tr")(26,"td"),a(27,"Name"),o(),i(28,"td"),a(29,":"),o(),i(30,"td"),a(31),o()(),i(32,"tr")(33,"td"),a(34,"Code"),o(),i(35,"td"),a(36,":"),o(),i(37,"td"),a(38),o()(),i(39,"tr")(40,"td"),a(41,"Charged Point"),o(),i(42,"td"),a(43,":"),o(),i(44,"td"),a(45),g(46,"number"),o()(),i(47,"tr")(48,"td"),a(49,"Treatment Type"),o(),i(50,"td"),a(51,":"),o(),i(52,"td"),a(53),o()(),d(54,ta,8,3,"tr",0)(55,na,8,3,"tr",0),i(56,"tr")(57,"td"),a(58,"Doctor"),o(),i(59,"td"),a(60,":"),o(),i(61,"td"),a(62),o()(),i(63,"tr")(64,"td"),a(65,"Note"),o(),i(66,"td"),a(67,":"),o(),i(68,"td"),a(69),o()(),i(70,"tr")(71,"td"),a(72,"Note 2"),o(),i(73,"td"),a(74,":"),o(),i(75,"td"),a(76),o()(),i(77,"tr")(78,"td"),a(79,"Assistant"),o(),i(80,"td"),a(81,":"),o(),i(82,"td"),a(83),o()(),i(84,"tr")(85,"td"),a(86,"Duration"),o(),i(87,"td"),a(88,":"),o(),i(89,"td"),a(90),g(91,"DateDiffInMinute"),o()()(),d(92,ea,1,1,"div",11),o()(),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 : ",u(18,27,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"dd MMM yyyy"),""),e(3),C("Time : ",u(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(" ",u(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(" ",u(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)(M(S),M(h),M(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,ia,93,39,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[y,w,R,V,j,Jt,Rn,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 oa=n=>({width:n});function la(n,l){if(n&1&&_(0,"img",35),n&2){let t=c(3).ngIf;ct(et(3,oa,(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 aa(n,l){if(n&1&&(x(0),d(1,la,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 ra(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,ra,1,1,"img",36),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function pa(n,l){if(n&1&&(i(0,"div",8),d(1,aa,2,1,"ng-container",33)(2,ca,1,1,"ng-template",null,0,K),o()),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 ga(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 da(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 _a(n,l){if(n&1&&(i(0,"div",37)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",38)(5,"strong"),a(6),o(),i(7,"div",39),d(8,ga,3,1,"div",1)(9,da,3,1,"div",1),i(10,"div"),_(11,"span",12),g(12,"newlines"),o(),i(13,"div")(14,"span"),a(15),o()()()()()),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 Ca(n,l){n&1&&(i(0,"th"),a(1,"Sales"),o())}function ma(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),P(t==null||t.Data==null?null:t.Data.SalesName)}}function Pa(n,l){if(n&1&&(i(0,"th",40),a(1),o()),n&2){let t=c().ngIf;e(),C(" Price(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function sa(n,l){if(n&1&&(i(0,"th",40),a(1),o()),n&2){let t=c().ngIf;e(),C(" Total(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function Oa(n,l){if(n&1&&_(0,"p",45),n&2){let t=c().$implicit;r("innerHTML",t.Note,s)}}function Ma(n,l){if(n&1&&(i(0,"td",13),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function ua(n,l){if(n&1&&(i(0,"td",13),a(1),g(2,"TrailingZero"),o()),n&2){let t=c().$implicit,p=c().ngIf;e(),C(" ",u(2,1,t.Total,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function fa(n,l){if(n&1&&(i(0,"tr")(1,"td",13),a(2),o(),i(3,"td")(4,"span"),a(5),o(),d(6,Oa,1,1,"p",41),o(),i(7,"td"),a(8),o(),i(9,"td",42),a(10),g(11,"number"),o(),i(12,"td"),a(13),o(),d(14,Ma,3,3,"td",43),i(15,"td",44),a(16),o(),d(17,ua,3,4,"td",43),o()),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 xa(n,l){if(n&1&&(i(0,"td",27)(1,"div",46),a(2),g(3,"sum"),g(4,"number"),o()()),n&2){let t=c().ngIf;e(2),C(" Qty: ",m(4,4,u(3,1,t==null||t.Data==null?null:t.Data.Items,"Quantity"))," ")}}function va(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",47),a(6),o(),i(7,"td",22),a(8),g(9,"TrailingZero"),o()()),n&2){let t=l.$implicit,p=c().ngIf;e(2),P(t.Label),e(4),P(t.CurrencySymbol),e(2),C(" ",u(9,3,t.Amount,p==null||p.AppConfigJSON==null||p.AppConfigJSON.PrintConfigGeneral==null?null:p.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ba(n,l){if(n&1&&(i(0,"td",49),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null||t.Data==null?null:t.Data.TotalInWords," ")}}function ha(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),d(5,ba,2,1,"td",48),o()),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 ya(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"date"),o()),n&2){let t=c().$implicit;e(),C(" ",u(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function Sa(n,l){if(n&1&&(i(0,"span"),d(1,ya,3,4,"span",1),g(2,"checkPropValueIsSame"),a(3),g(4,"number"),_(5,"br"),o()),n&2){let t=l.$implicit,p=c(2).ngIf;e(),r("ngIf",u(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 Ia(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),d(6,Sa,6,9,"span",25),o()()),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 wa(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note :"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",50)(7,"li"),_(8,"div",12),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,s)}}function Ta(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Da(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 ka(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Ea(n,l){if(n&1&&(i(0,"div",53)(1,"h5",54),a(2," \xA0 "),o(),i(3,"div",55),a(4," \xA0 "),o()()),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 Aa(n,l){if(n&1&&(i(0,"div",51),d(1,Ta,5,1,"div",52)(2,Da,5,1,"div",52)(3,ka,5,1,"div",52)(4,Ea,5,1,"div",52),o()),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 Na(n,l){if(n&1&&(i(0,"div",59),_(1,"span",12),g(2,"SafeHtml"),o()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterLeft),s)}}function Ha(n,l){if(n&1&&(i(0,"div",60),_(1,"span",12),g(2,"SafeHtml"),o()),n&2){let t=c(2).ngIf;e(),r("innerHTML",m(2,1,t==null||t.Template==null?null:t.Template.FooterRight),s)}}function Ra(n,l){if(n&1&&(i(0,"div",56),d(1,Na,3,3,"div",57)(2,Ha,3,3,"div",58),o()),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 za(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,pa,4,2,"div",8),i(9,"div",9)(10,"h2"),a(11),o(),i(12,"small"),a(13),o(),i(14,"div",10)(15,"div",11),_(16,"span",12),g(17,"newlines"),o(),i(18,"div",13),_(19,"span",12),g(20,"newlines"),o()()()(),d(21,_a,16,8,"div",14),o(),i(22,"div",15)(23,"h1")(24,"strong"),a(25),o(),i(26,"span"),a(27),o()(),i(28,"div")(29,"table")(30,"thead")(31,"tr")(32,"th"),a(33,"Date"),o(),d(34,Ca,2,0,"th"),o()(),i(35,"tbody")(36,"tr")(37,"td"),a(38),g(39,"date"),o(),d(40,ma,2,1,"td"),o()()()()()()(),i(41,"section",16)(42,"div",17)(43,"table",18)(44,"thead")(45,"tr")(46,"th",19),a(47,"No"),o(),i(48,"th"),a(49,"Name"),o(),i(50,"th",20),a(51,"Code"),o(),i(52,"th",21),a(53,"Qty"),o(),i(54,"th",22),a(55,"UOM"),o(),d(56,Pa,2,1,"th",23),i(57,"th",24),a(58,"%"),o(),d(59,sa,2,1,"th",23),o()(),i(60,"tbody"),d(61,fa,18,11,"tr",25),o(),i(62,"tfoot")(63,"tr",26),d(64,xa,5,6,"td",27),i(65,"td",28)(66,"table",29)(67,"tbody"),d(68,va,10,6,"tr",25),o()()()()()()()(),i(69,"table",30),d(70,ha,6,2,"tr",1)(71,Ia,7,2,"tr",1)(72,wa,9,1,"tr",1),o(),i(73,"div")(74,"div"),d(75,Aa,5,4,"div",31),o()(),d(76,Ra,3,2,"div",32),o(),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(" ",u(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(D(l=>T.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)(M(S),M(h),M(St),M(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,za,77,32,"ng-container",1),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,tt,j,st,Ot,zn,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 Ba=(n,l)=>({"text-success":n,"text-danger":l});function La(n,l){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Code," ")}}function Ja(n,l){if(n&1&&(i(0,"div",13)(1,"div",12),a(2,"NOTE"),o(),i(3,"div",12),a(4),o()()),n&2){let t=c().ngIf;e(4),C(" ",t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Note," ")}}function Va(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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(" ",u(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxableSale,p.decimal)," ")}}function Fa(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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(" ",u(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 ja(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Quantity," ")}}function Ua(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Variant Sales"),o(),d(4,ja,5,2,"div",31),i(5,"div",22)(6,"div",23),a(7,"Total"),o(),i(8,"div",24),a(9),g(10,"sum"),g(11,"number"),o()()()),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,u(10,2,t==null||t.Data==null?null:t.Data.VariantSales,"Quantity"))," ")}}function $a(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2,"Visitors"),o(),i(3,"div",24),a(4),g(5,"number"),o()()),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&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.NetSales)," ")}}function Wa(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Category Sales"),o(),d(4,Qa,6,4,"div",31),i(5,"div",22)(6,"div",23),a(7,"Total"),o(),i(8,"div",24),a(9),g(10,"sum"),g(11,"number"),o()()()),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,u(10,2,t==null||t.Data==null?null:t.Data.CategorySales,"NetSales"))," ")}}function Ga(n,l){n&1&&(i(0,"div",38),a(1,"\xB1"),o())}function Xa(n,l){if(n&1&&(i(0,"div",43),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;r("ngClass",it(4,Ba,t.ShortOver>0,t.ShortOver<0)),e(),C(" ",m(2,2,t.ShortOver)," ")}}function Za(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),g(5,"number"),o(),i(6,"div",38),a(7),g(8,"number"),o(),d(9,Ga,2,0,"div",41)(10,Xa,3,7,"div",42),o()),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 qa(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"Balance"),o(),i(4,"div",32)(5,"div",38),a(6,"Type"),o(),i(7,"div",38),a(8,"Start"),o(),i(9,"div",38),a(10,"End"),o()(),d(11,Za,11,9,"div",39),i(12,"div",32)(13,"div",38),a(14,"Total"),o(),i(15,"div",38),a(16),g(17,"sum"),g(18,"number"),o(),i(19,"div",38),a(20),g(21,"sum"),g(22,"number"),o()()()),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,u(17,3,t==null||t.Data==null?null:t.Data.Payment,"Start"))," "),e(4),C(" ",m(22,11,u(21,8,t==null||t.Data==null?null:t.Data.Payment,"Amount"))," ")}}function Ka(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Received)," ")}}function Ya(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",37),a(3,"Account Receivable"),o(),i(4,"div",22)(5,"div",23),a(6,"Amount"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Transaction"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 tr(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),g(5,"number"),o(),i(6,"div",38),a(7),g(8,"number"),o()()),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 nr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",44),a(3,"Products w. Commission"),o(),i(4,"div",40)(5,"div",38),a(6,"Name"),o(),i(7,"div",38),a(8,"Qty"),o(),i(9,"div",38),a(10,"Total"),o()(),d(11,tr,9,7,"div",39),i(12,"div",40)(13,"div",38),a(14,"Total"),o(),i(15,"div",38),a(16),g(17,"sum"),g(18,"number"),o(),i(19,"div",38),a(20),g(21,"sum"),g(22,"number"),o()()()),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,u(17,3,t==null||t.Data==null?null:t.Data.VariantCommission,"Quantity"))," "),e(4),C(" ",m(22,11,u(21,8,t==null||t.Data==null?null:t.Data.VariantCommission,"Total"))," ")}}function er(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",21),a(3,"Return"),o(),i(4,"div",22)(5,"div",23),a(6,"Quantity"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Total Price"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 ir(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"Void Invoice"),o(),i(4,"div",22)(5,"div",23),a(6,"Transaction"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Invoice"),o(),i(13,"div",24),a(14),o()(),i(15,"div",22)(16,"div",23),a(17,"Total"),o(),i(18,"div",24),a(19),g(20,"number"),o()()()),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 or(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",27),a(3,"History"),o(),i(4,"div",22)(5,"div",23),a(6,"Z-Count"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Current Gross"),o(),i(13,"div",23),a(14),g(15,"TrailingZero"),o()(),i(16,"div",22)(17,"div",23),a(18,"Previous"),o(),i(19,"div",24),a(20),g(21,"number"),o()(),i(22,"div",22)(23,"div",23),a(24,"Accumulated"),o(),i(25,"div",24),a(26),g(27,"TrailingZero"),o()()()),n&2){let t=c().ngIf;e(8),C(" ",m(9,4,t==null||t.Data==null?null:t.Data.ZCount)," "),e(6),C(" ",u(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 lr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",21),a(3,"Point"),o(),i(4,"div",22)(5,"div",23),a(6,"Point Used"),o(),i(7,"div",24),a(8),g(9,"number"),o()(),i(10,"div",22)(11,"div",23),a(12,"Point Discount"),o(),i(13,"div",24),a(14),g(15,"number"),o()()()),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 ar(n,l){if(n&1&&(i(0,"div",40)(1,"div",38),a(2),o(),i(3,"div",38),a(4),o(),i(5,"div",38),a(6),g(7,"number"),o()()),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 rr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",45),a(3,"Denomination"),o(),i(4,"div",40)(5,"div",38),a(6,"Cash Denomination"),o(),i(7,"div",38),a(8,"Qty"),o(),i(9,"div",38),a(10,"Total"),o()(),d(11,ar,8,5,"div",39),i(12,"div",46)(13,"div",47),a(14,"Total"),o(),i(15,"div",48),a(16),g(17,"sum"),g(18,"number"),o()()()),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,u(17,2,t==null||t.Data==null?null:t.Data.Denominations,"Total"))," ")}}function cr(n,l){if(n&1&&(i(0,"div",22)(1,"div",23),a(2),o(),i(3,"div",24),a(4),g(5,"number"),o()()),n&2){let t=l.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",m(5,2,t.Amount)," ")}}function pr(n,l){if(n&1&&(i(0,"div",49),_(1,"div",5),i(2,"h2",50),a(3,"Expense"),o(),i(4,"div",22)(5,"div",23),a(6,"Label"),o(),i(7,"div",24),a(8,"Amount"),o()(),d(9,cr,6,4,"div",31),o()),n&2){let t=c().ngIf;e(9),r("ngForOf",t==null||t.Data==null?null:t.Data.Expenses)}}function gr(n,l){if(n&1&&(i(0,"div",40)(1,"div",51),a(2),o(),i(3,"div",52),a(4),o(),i(5,"div",53),a(6),g(7,"number"),o()()),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 dr(n,l){if(n&1&&(i(0,"div",20),_(1,"div",5),i(2,"h2",45),a(3,"Sales Type"),o(),i(4,"div",40)(5,"div",51),a(6,"Type"),o(),i(7,"div",52),a(8,"Qty"),o(),i(9,"div",53),a(10,"Amount"),o()(),d(11,gr,8,5,"div",39),i(12,"div",22)(13,"div",23),a(14,"Total"),o(),i(15,"div",53),a(16),g(17,"sum"),g(18,"number"),o()()()),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,u(17,2,t==null||t.Data==null?null:t.Data.ListSalesType,"SalesNet"))," ")}}function _r(n,l){if(n&1&&(i(0,"div",1),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"span"),a(6),o()(),_(7,"div",5),i(8,"div",6)(9,"h2",7),a(10),o(),i(11,"i",8),a(12),o(),_(13,"div",9),g(14,"newlines"),d(15,La,2,1,"div",10),_(16,"div",9),g(17,"newlines"),o(),_(18,"div"),i(19,"div")(20,"div",11)(21,"div",12),a(22,"CASHIER"),o(),i(23,"div",12),a(24),o()(),i(25,"div",13)(26,"div",12),a(27,"REGISTER"),o(),i(28,"div",12),a(29),o()(),d(30,Ja,5,1,"div",14),o(),_(31,"div",15),i(32,"div")(33,"div",16)(34,"div",12),a(35,"START TIME"),o(),i(36,"div",12),a(37,"END TIME"),o()(),i(38,"div",17)(39,"div",12)(40,"span",18),a(41),g(42,"date"),o()(),i(43,"div",12)(44,"span",18),a(45),g(46,"date"),o()()(),i(47,"div",19)(48,"div",12),a(49),g(50,"date"),o(),i(51,"div",12),a(52),g(53,"date"),o()()(),i(54,"div",20),_(55,"div",5),i(56,"h2",21),a(57,"Sales"),o(),i(58,"div",22)(59,"div",23),a(60,"New Sales"),o(),i(61,"div",24),a(62),g(63,"number"),o()(),i(64,"div",22)(65,"div",23),a(66,"Discount"),o(),i(67,"div",24),a(68),g(69,"number"),o()(),i(70,"div",22)(71,"div",23),a(72),o(),i(73,"div",24),a(74),g(75,"number"),o()(),d(76,Va,6,5,"div",25)(77,Fa,6,5,"div",25),i(78,"div",22)(79,"div",23),a(80),o(),i(81,"div",24),a(82),g(83,"number"),o()(),i(84,"div",22)(85,"div",23),a(86),o(),i(87,"div",24),a(88),g(89,"number"),o()()(),d(90,Ua,12,7,"div",26),i(91,"div",20),_(92,"div",5),i(93,"h2",27),a(94,"Summary"),o(),i(95,"div",22)(96,"div",23),a(97,"Transaction"),o(),i(98,"div",24),a(99),o()(),i(100,"div",22)(101,"div",28),a(102,"Invoice"),o(),i(103,"div",29),a(104),o()(),i(105,"div",22)(106,"div",23),a(107,"Item Sold"),o(),i(108,"div",24),a(109),g(110,"number"),o()(),d(111,$a,6,3,"div",25),o(),d(112,Wa,12,7,"div",26)(113,qa,23,13,"div",26),i(114,"div",20),_(115,"div",5),i(116,"h2",30),a(117,"Payment Method"),o(),d(118,Ka,6,4,"div",31),i(119,"div",32)(120,"div",23),a(121,"Total"),o(),i(122,"div",24),a(123),g(124,"sum"),g(125,"number"),o()()(),d(126,Ya,16,6,"div",26)(127,nr,23,13,"div",26)(128,er,16,6,"div",26)(129,ir,21,7,"div",26)(130,or,28,13,"div",26)(131,lr,16,6,"div",26)(132,rr,19,7,"div",26)(133,pr,10,1,"div",33)(134,dr,19,7,"div",26),i(135,"div",34),_(136,"span",35),g(137,"newlines"),o(),i(138,"span",36),a(139),o()()()),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(u(42,50,t==null||t.Data==null?null:t.Data.StartTime,"HH:mm")),e(4),P(u(46,53,t==null||t.Data==null?null:t.Data.EndTime,"HH:mm")),e(4),C(" ",u(50,56,t==null||t.Data==null?null:t.Data.StartTime,"dd MMM")," "),e(3),C(" ",u(53,59,t==null||t.Data==null?null:t.Data.EndTime,"dd MMM")," "),e(10),C(" ",u(63,62,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.GrossSales,p.decimal)," "),e(6),C(" ",u(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(" ",u(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,u(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(D(l=>T.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)(M(h),M(S),M(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,_r,140,84,"div",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Cr=(n,l)=>({"col-8":n,col:l}),mr=n=>({width:n});function Pr(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 sr(n,l){if(n&1&&(x(0),d(1,Pr,1,5,"img",23),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function Or(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 Mr(n,l){if(n&1&&d(0,Or,1,1,"img",25),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function ur(n,l){if(n&1&&(i(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),o()(),i(6,"tr",28)(7,"td"),a(8),o(),i(9,"td",29),a(10),o()()()),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 fr(n,l){if(n&1&&(i(0,"tbody")(1,"tr",26)(2,"td",27),a(3),_(4,"br"),a(5),o()(),i(6,"tr",28)(7,"td"),a(8),o(),i(9,"td",29),a(10),o()()()),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 xr(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3),_(4,"POS-print-mode",4),i(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),d(10,sr,2,1,"ng-container",10)(11,Mr,1,1,"ng-template",null,0,K),o(),i(13,"div",11)(14,"h2"),a(15),o(),i(16,"small"),a(17),o(),i(18,"div",12),a(19),o()()()(),i(20,"div",13)(21,"h1")(22,"strong"),a(23,"JOB ORDER #"),o(),i(24,"span",14),a(25),o()()()(),i(26,"h1",15),a(27),o(),i(28,"span",16),a(29,"Output Item(s)"),o(),i(30,"table",17)(31,"thead")(32,"tr",6)(33,"th"),a(34,"Name"),o(),i(35,"th",18),a(36,"Qty"),o()()(),d(37,ur,11,4,"tbody",19),o(),i(38,"span",16),a(39,"Material Item(s)"),o(),i(40,"table",17)(41,"thead")(42,"tr",6)(43,"th"),a(44,"Name"),o(),i(45,"th",18),a(46,"Qty"),o()()(),d(47,fr,11,4,"tbody",19),o(),i(48,"p",20),a(49),o(),i(50,"small",21),a(51),g(52,"date"),o(),i(53,"small",22),a(54),o()()(),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,Cr,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(u(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(D(t=>T.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)(M(h),M(S),M(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,xr,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 vr(n,l){if(n&1&&(i(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),o()(),i(6,"tr",19)(7,"td"),a(8),o(),i(9,"td",20),a(10),o()()()),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 br(n,l){if(n&1&&(i(0,"tbody")(1,"tr",17)(2,"td",18),a(3),_(4,"br"),a(5),o()(),i(6,"tr",19)(7,"td"),a(8),o(),i(9,"td",20),a(10),o()()()),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 hr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2),_(4,"POS-print-mode",3),i(5,"div",4)(6,"h1",5),a(7),o(),i(8,"p",6),a(9),o(),i(10,"h2",7),a(11),o(),i(12,"span",8),a(13,"Output Item(s)"),o(),i(14,"table",9)(15,"thead")(16,"tr",10)(17,"th"),a(18,"Name"),o(),i(19,"th",11),a(20,"Qty"),o()()(),d(21,vr,11,4,"tbody",12),o(),i(22,"span",13),a(23,"Material Item(s)"),o(),i(24,"table",9)(25,"thead")(26,"tr",10)(27,"th"),a(28,"Name"),o(),i(29,"th",11),a(30,"Qty"),o()()(),d(31,br,11,4,"tbody",12),o(),i(32,"p",14),a(33),o(),i(34,"small",15),a(35),g(36,"date"),o(),i(37,"small",16),a(38),o()()(),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(u(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(D(l=>T.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)(M(h),M(S),M(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,hr,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 yr(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 Sr(n,l){if(n&1&&(i(0,"div",26),d(1,yr,2,3,"img",27),i(2,"div",28),_(3,"h2",29)(4,"small",29),i(5,"div",30),_(6,"div",31),g(7,"newlines"),_(8,"div",32),g(9,"newlines"),o()()()),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 Ir(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 wr(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 Tr(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 Dr(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 kr(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 Er(n,l){if(n&1&&(i(0,"div",34),_(1,"h3",29),i(2,"div",35),d(3,Ir,1,1,"strong",36),i(4,"div",37),d(5,wr,1,1,"div",36)(6,Tr,1,1,"div",36)(7,Dr,2,3,"div",36)(8,kr,1,1,"div",36),o()()()),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 Ar(n,l){n&1&&(i(0,"th"),a(1," Due "),o())}function Nr(n,l){n&1&&(i(0,"th"),a(1," Top "),o())}function Hr(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().ngIf;e(),C(" ",u(2,1,t.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function Rr(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.Top," ")}}function zr(n,l){n&1&&(i(0,"th",16),a(1,"Disc"),o())}function Br(n,l){if(n&1&&(i(0,"div",41),a(1),o()),n&2){let t=c(2).$implicit;e(),C("-",t.Discount,"%")}}function Lr(n,l){if(n&1&&(i(0,"div",41),a(1),g(2,"number"),o()),n&2){let t=c(2).$implicit;e(),C(" ",m(2,1,t.DiscountAmount)," ")}}function Jr(n,l){if(n&1&&(i(0,"td"),d(1,Br,2,1,"div",41)(2,Lr,3,3,"div",41),o()),n&2){let t=c().$implicit;e(),f(t.Discount?1:-1),e(),f(t.DiscountAmount?2:-1)}}function Vr(n,l){if(n&1&&(i(0,"tr"),_(1,"td",38)(2,"td",29)(3,"td",29)(4,"td",38),g(5,"quantityFraction"),_(6,"td",29),i(7,"td",39),a(8),g(9,"number"),o(),d(10,Jr,3,2,"td"),_(11,"td",40),g(12,"amountFraction"),o()),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 Fr(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",42),a(6),o(),i(7,"td",43),a(8),g(9,"amountFraction"),o()()),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 jr(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Wordify"),o(),i(3,"td"),a(4,":"),o(),_(5,"td",44),g(6,"newlines"),o()),n&2){let t=c().ngIf;e(5),r("innerHTML",m(6,1,t.Data.totalInWords),s)}}function Ur(n,l){if(n&1&&(i(0,"tr"),_(1,"th",29),i(2,"td"),a(3,":"),o(),_(4,"td",44),g(5,"date"),o()),n&2){let t=c().ngIf;e(),r("innerHTML",t.AppConfigJSON==null?null:t.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,s),e(3),r("innerHTML",u(5,2,t.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),s)}}function $r(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),_(5,"td",45),g(6,"newlines"),o()),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&&(i(0,"div",52),_(1,"h5",29),i(2,"div",48),a(3,"\xA0"),o()()),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 Wr(n,l){if(n&1&&(i(0,"div",53),_(1,"h5",29),i(2,"div",48),a(3,"\xA0"),o()()),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 Gr(n,l){if(n&1&&(i(0,"div",46)(1,"div",47),_(2,"h5",29),i(3,"div",48),a(4,"\xA0"),o()(),d(5,Qr,4,1,"div",49)(6,Wr,4,1,"div",50),i(7,"div",51),_(8,"h5",29)(9,"div",48),o()()),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 Xr(n,l){if(n&1&&(i(0,"small",54),a(1," Print by: "),i(2,"small"),a(3),o(),a(4),g(5,"date"),o()),n&2){let t=c().ngIf;e(3),P(t.Template==null?null:t.Template.DisplayName),e(),C(" ",u(5,2,t.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function Zr(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div")(5,"div",3),d(6,Sr,10,9,"div",4)(7,Er,9,6,"div",5),o(),i(8,"div",6)(9,"div",7)(10,"div",8)(11,"h1")(12,"strong"),a(13),o(),i(14,"span"),a(15),o()(),i(16,"table")(17,"thead")(18,"tr")(19,"th"),a(20,"Date"),o(),d(21,Ar,2,0,"th",0),g(22,"IsMinDate"),d(23,Nr,2,0,"th",0),g(24,"IsMinDate"),o()(),i(25,"tbody")(26,"tr")(27,"td"),a(28),g(29,"date"),o(),d(30,Hr,3,4,"td",0),g(31,"IsMinDate"),d(32,Rr,2,1,"td",0),g(33,"IsMinDate"),o()()()()()()(),i(34,"div",9)(35,"table",10)(36,"thead")(37,"tr")(38,"th",11),a(39,"No"),o(),i(40,"th"),a(41,"Name"),o(),i(42,"th",12),a(43,"Code"),o(),i(44,"th",13),a(45,"Qty"),o(),i(46,"th",14),a(47,"UOM"),o(),i(48,"th",15),a(49),o(),d(50,zr,2,0,"th",16),i(51,"th",15),a(52),o()()(),i(53,"tbody"),d(54,Vr,13,14,"tr",17),o(),i(55,"tfoot")(56,"tr",18)(57,"td",19)(58,"b"),a(59,"Total"),o()(),i(60,"td",20),a(61),g(62,"sum"),g(63,"quantityFraction"),o(),i(64,"td",20),a(65),o(),i(66,"td",21)(67,"table",22)(68,"tbody"),d(69,Fr,10,5,"tr",17),o()()()()()()(),i(70,"table",23),d(71,jr,7,3,"tr",0)(72,Ur,6,5,"tr",0),g(73,"IsMinDate"),d(74,$r,7,3,"tr",0),o(),i(75,"div"),d(76,Gr,10,4,"div",24),o(),d(77,Xr,6,5,"small",25),o(),v()),n&2){let t=l.ngIf,p=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?m(2,26,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,28,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(24,30,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(5),C(" ",u(29,32,t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",m(31,35,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),r("ngIf",m(33,37,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,42,u(62,39,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,44,t.Data.Invoice.CustomDateField)!="-"),e(2),r("ngIf",t.Data.Data.Note),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(D(t=>T.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)(M(S),M(h),M(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","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,"width","70%"],["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",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"],[1,"val",3,"innerHTML"],[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,Zr,78,46,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[L,y,w,R,V,tt,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 qr(n,l){if(n&1&&(_(0,"img",32),g(1,"images")),n&2){let t=c(2).ngIf;Dn("src",m(1,1,t==null||t.Template==null?null:t.Template.Logo),J)}}function Kr(n,l){if(n&1&&(i(0,"div",26),d(1,qr,2,3,"img",27),i(2,"div",28),_(3,"h2",29)(4,"small",29),i(5,"div",30)(6,"div",31),_(7,"span",29),o(),i(8,"div",16),_(9,"span",29),g(10,"newlines"),o()()()()),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 Yr(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 tc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 nc(n,l){if(n&1&&(i(0,"div",33)(1,"h3"),_(2,"span",29),o(),i(3,"div",34)(4,"strong"),a(5),o(),i(6,"div",35),d(7,Yr,3,1,"div",0)(8,tc,3,1,"div",0),i(9,"div",36),_(10,"span",29),o(),i(11,"div")(12,"span"),a(13),o()()()()()),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 ec(n,l){n&1&&(i(0,"th"),a(1,"Code"),o())}function ic(n,l){n&1&&(i(0,"th",37),a(1," Cost "),o())}function oc(n,l){if(n&1&&(i(0,"th",37),a(1," Price"),_(2,"br"),a(3),o()),n&2){let t=c().ngIf;e(3),C("(",t==null||t.Data==null?null:t.Data.currencySymbol,") ")}}function lc(n,l){if(n&1&&(i(0,"div"),_(1,"small",29),o()),n&2){let t=c().$implicit;e(),r("innerHTML",t.Note,s)}}function ac(n,l){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.Code)}}function rc(n,l){if(n&1&&(i(0,"th",42),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitCost)," ")}}function cc(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&&(i(0,"tr")(1,"td")(2,"div"),a(3),o(),_(4,"app-serial-note",38),d(5,lc,2,1,"div",0),o(),d(6,ac,2,1,"td"),_(7,"td",39),g(8,"number"),d(9,rc,3,3,"th",40)(10,cc,2,3,"th",41),o()),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",u(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 gc(n,l){if(n&1&&(i(0,"div",44),_(1,"div",45),o()),n&2){let t=c().ngIf;e(),r("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,s)}}function dc(n,l){if(n&1&&(_(0,"span",46),g(1,"date")),n&2){let t=c().ngIf;r("innerHTML",u(1,1,t==null||t.Data==null?null:t.Data.Date,"dd MMM yyyy"),s)}}function _c(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2),_(4,"POS-print-mode",3),i(5,"div",4)(6,"div",5)(7,"div",6),d(8,Kr,11,7,"div",7)(9,nc,14,6,"div",8),o(),i(10,"div",9)(11,"h1")(12,"strong",10),a(13),o(),i(14,"span"),a(15),o()()()(),i(16,"section",11)(17,"div")(18,"span",12),a(19,"To"),o(),a(20),o(),i(21,"div"),a(22),o(),i(23,"div")(24,"span",12),a(25,"Courier"),o(),a(26),o()(),i(27,"section",13)(28,"div",14)(29,"table",15)(30,"thead")(31,"tr")(32,"th"),a(33,"Name"),o(),d(34,ec,2,0,"th"),i(35,"th",16),a(36,"Qty"),o(),d(37,ic,2,0,"th",17)(38,oc,4,1,"th",17),o()(),i(39,"tbody"),d(40,pc,11,10,"tr",18),o(),i(41,"tfoot")(42,"tr")(43,"td"),a(44,"Total"),o(),i(45,"td",19),a(46),g(47,"sum"),o()(),i(48,"tr")(49,"td",20),a(50," Note : "),_(51,"span",21),o()()()()()(),i(52,"div",22),d(53,gc,2,1,"div",23),o(),i(54,"div",24),d(55,dc,2,4,"span",25),o()()(),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(" ",u(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(D(t=>T.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)(M(h),M(S),M(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,_c,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,tt,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 Cc(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 mc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function Pc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function sc(n,l){if(n&1&&(i(0,"div",27)(1,"div",28)(2,"strong"),a(3),o(),i(4,"div",29),d(5,mc,3,1,"div",0)(6,Pc,3,1,"div",0),i(7,"div"),_(8,"span",8),g(9,"newlines"),o(),i(10,"div")(11,"span"),a(12),o()()()()()),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 Oc(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),g(3,"date"),o(),i(4,"td"),a(5),g(6,"date"),o(),i(7,"td"),a(8),o(),i(9,"td",21),a(10),g(11,"number"),o()()),n&2){let t=l.$implicit;e(2),P(u(3,4,t.Data.Date,"dd MMM yyyy")),e(3),P(u(6,7,t.Data.Due,"dd MMM")),e(3),P(t.Number),e(2),C(" ",m(11,10,t.RemainingPaymentBaseCurrency)," ")}}function Mc(n,l){if(n&1&&(i(0,"td",32),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function uc(n,l){if(n&1&&(i(0,"tr"),_(1,"th",8),i(2,"td",30),a(3,":"),o(),d(4,Mc,2,1,"td",31),o()),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 fc(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td",30),a(4,":"),o(),i(5,"td")(6,"ul",33)(7,"li"),_(8,"span",34),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function xc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 vc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 bc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 hc(n,l){if(n&1&&(i(0,"div",38),_(1,"h5",39),i(2,"div",40),a(3," \xA0 "),o()()),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 yc(n,l){if(n&1&&(i(0,"div",35)(1,"div",36),d(2,xc,4,1,"div",37)(3,vc,4,1,"div",37)(4,bc,4,1,"div",37)(5,hc,4,1,"div",37),o()()),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 Sc(n,l){if(n&1&&(i(0,"div",44),_(1,"span",8),g(2,"SafeHtml"),o()),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 Ic(n,l){if(n&1&&(i(0,"div",41),d(1,Sc,3,3,"div",42),i(2,"div",43),_(3,"span",8),g(4,"SafeHtml"),o()()),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 wc(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Cc,2,3,"img",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),o()()(),d(16,sc,13,7,"div",12),o(),i(17,"div",13)(18,"h1")(19,"strong"),a(20),o(),i(21,"span"),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),o()()()()()()(),i(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),o(),i(41,"th",17),a(42,"Due"),o(),i(43,"th"),a(44,"Number"),o(),i(45,"th",18),a(46,"Total"),o()()(),i(47,"tbody"),d(48,Oc,12,12,"tr",19),o(),i(49,"tfoot")(50,"tr")(51,"td",20),a(52),o(),i(53,"td",21),a(54),g(55,"sum"),g(56,"number"),o()()()()()(),i(57,"table",22),d(58,uc,5,2,"tr",0)(59,fc,9,1,"tr",0),o(),i(60,"div")(61,"div",23),d(62,yc,6,4,"div",24),o(),d(63,Ic,5,4,"div",25),o()(),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(u(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,u(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(D(l=>T.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)(M(S),M(h),M(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,wc,64,32,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Tc(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 Dc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Email)}}function kc(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=c(2).ngIf;e(2),P(t==null?null:t.Data.Contact.Phone)}}function Ec(n,l){if(n&1&&(i(0,"div",31)(1,"h3"),_(2,"span",8),o(),i(3,"div",32)(4,"strong"),a(5),o(),i(6,"div",33),d(7,Dc,3,1,"div",0)(8,kc,3,1,"div",0),i(9,"div"),_(10,"span",8),g(11,"newlines"),o(),i(12,"div")(13,"span"),a(14),o()()()()()),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 Ac(n,l){n&1&&(i(0,"th",17),a(1,"Due"),o())}function Nc(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"date"),o()),n&2){let t=c().$implicit;e(),P(u(2,1,t.Due,"dd MMM"))}}function Hc(n,l){if(n&1&&(i(0,"span",38),a(1,"x"),o(),i(2,"span"),a(3),g(4,"number"),o()),n&2){let t=c().$implicit;e(3),P(m(4,1,t.Quantity))}}function Rc(n,l){if(n&1&&(i(0,"p",35)(1,"span"),a(2),o(),i(3,"span",36),a(4),o(),d(5,Hc,5,3),i(6,"span",37),a(7),o(),i(8,"span"),a(9),g(10,"number"),o()()),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 zc(n,l){if(n&1&&Nt(0,Rc,11,7,"p",35,At),n&2){let t=c().$implicit;Ht(t.Items)}}function Bc(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),g(3,"date"),o(),d(4,Nc,3,4,"td"),i(5,"td",18)(6,"h5"),a(7),o(),d(8,zc,2,0),o(),i(9,"td",34),a(10),g(11,"number"),o()()),n&2){let t=l.$implicit,p=c(2);e(2),P(u(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 Lc(n,l){if(n&1&&(i(0,"td",41),a(1),o()),n&2){let t=c(2).ngIf;e(),C(" ",t==null?null:t.Data.TotalInWords," ")}}function Jc(n,l){if(n&1&&(i(0,"tr"),_(1,"th",8),i(2,"td",39),a(3,":"),o(),d(4,Lc,2,1,"td",40),o()),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 Vc(n,l){if(n&1&&(i(0,"tr")(1,"th",42),a(2),o(),i(3,"td",42),a(4,":"),o(),i(5,"td",42),a(6),g(7,"number"),o()()),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 Fc(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 jc(n,l){if(n&1&&_(0,"span",45),n&2){let t=c().$implicit;r("innerHTML",t.Note?t.Note+" - ":"",s)}}function Uc(n,l){if(n&1&&(i(0,"span")(1,"span",8),g(2,"date"),a(3),g(4,"date"),o(),i(5,"span"),a(6),o(),d(7,Fc,3,5,"span",0)(8,jc,1,1,"span",44),i(9,"span"),a(10),g(11,"number"),o(),_(12,"br"),o()),n&2){let t=l.$implicit,p=c(3);e(),r("innerHTML",u(2,6,t.Date,"dd MMM yy")+" - ",s),e(2),C(" ",u(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 $c(n,l){if(n&1&&(i(0,"tr"),_(1,"th",43),i(2,"td",42),a(3,":"),o(),i(4,"td",42),d(5,Uc,13,14,"span",20),o()()),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 Qc(n,l){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td",39),a(4,":"),o(),i(5,"td")(6,"ul",46)(7,"li"),_(8,"div",47),o()()()()),n&2){let t=c().ngIf;e(8),r("innerHtml",t==null?null:t.Data.Invoice.Note,s)}}function Wc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,s)}}function Gc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,s)}}function Xc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,s)}}function Zc(n,l){if(n&1&&(i(0,"div",51),_(1,"h5",52),i(2,"div",53),a(3," \xA0 "),o()()),n&2){let t=c(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,s)}}function qc(n,l){if(n&1&&(i(0,"div",48)(1,"div",49),d(2,Wc,4,1,"div",50)(3,Gc,4,1,"div",50)(4,Xc,4,1,"div",50)(5,Zc,4,1,"div",50),o()()),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 Kc(n,l){if(n&1&&(i(0,"div",57),_(1,"span",8),g(2,"SafeHtml"),o()),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 Yc(n,l){if(n&1&&(i(0,"div",54),d(1,Kc,3,3,"div",55),i(2,"div",56),_(3,"span",8),g(4,"SafeHtml"),o()()),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 tp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Tc,2,3,"img",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div",9),_(12,"div",10),g(13,"newlines"),_(14,"div",11),g(15,"newlines"),o()()(),d(16,Ec,15,8,"div",12),o(),i(17,"div",13)(18,"h1")(19,"strong"),a(20),o(),i(21,"span"),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),g(33,"date"),o()()()()()()(),i(34,"section",14)(35,"div",15)(36,"table",16)(37,"thead")(38,"tr")(39,"th",17),a(40,"Date"),o(),d(41,Ac,2,0,"th",17),i(42,"th",18),a(43,"Number"),o(),i(44,"th",19),a(45,"Total"),o()()(),i(46,"tbody"),d(47,Bc,12,10,"tr",20),o(),i(48,"tfoot")(49,"tr"),_(50,"td",21),i(51,"td",22),a(52),o(),i(53,"td",23),a(54),g(55,"sum"),g(56,"number"),o()()()()()(),i(57,"table",24),d(58,Jc,5,2,"tr",0)(59,Vc,8,4,"tr")(60,$c,6,2,"tr",0),o(),i(61,"div",25)(62,"table",26),d(63,Qc,9,1,"tr",0),o()(),i(64,"div")(65,"div",27),d(66,qc,6,4,"div",28),o(),d(67,Yc,5,4,"div",29),o()(),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(u(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,u(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(D(l=>T.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)(M(S),M(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,tp,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,tt,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 np=(n,l)=>({"col-8":n,col:l}),ep=n=>({width:n}),ip=(n,l)=>({"text-success":n,"text-danger":l});function op(n,l){if(n&1&&_(0,"img",28),n&2){let t=c(3).ngIf;ct(et(3,ep,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),r("src",t==null||t.Template==null?null:t.Template.Logo,J)}}function lp(n,l){if(n&1&&(x(0),d(1,op,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 ap(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 rp(n,l){if(n&1&&d(0,ap,1,1,"img",29),n&2){let t=c(2).ngIf;r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function cp(n,l){if(n&1&&(i(0,"div",25),d(1,lp,2,1,"ng-container",26)(2,rp,1,1,"ng-template",null,0,K),o()),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&&(i(0,"th",18),a(1," Price "),o())}function gp(n,l){if(n&1&&(i(0,"td"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),C(" ",m(2,1,t.UnitPrice)," ")}}function dp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td")(4,"div"),a(5),o(),_(6,"app-serial-note",30)(7,"i",31),o(),i(8,"td"),a(9),o(),i(10,"td"),a(11),g(12,"number"),o(),d(13,gp,3,3,"td",1),i(14,"td"),a(15),o()()),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,ip,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 _p(n,l){if(n&1&&(i(0,"tr")(1,"th",32),a(2,"Note"),o(),i(3,"td",33),a(4,":"),o(),_(5,"td",34),g(6,"newlines"),o()),n&2){let t=c().ngIf;e(5),r("innerHtml",m(6,1,t==null||t.Header==null?null:t.Header.Note),s)}}function Cp(n,l){if(n&1&&(i(0,"div",35)(1,"h5",36),a(2," \xA0 "),o(),i(3,"div",37),a(4," \xA0 "),o()()),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 mp(n,l){if(n&1&&(i(0,"div",38)(1,"h5",36),a(2," \xA0 "),o(),i(3,"div",37),a(4," \xA0 "),o()()),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 Pp(n,l){if(n&1&&(x(0),_(1,"link",2),g(2,"StylesheetSafeUrl"),i(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),d(8,cp,4,2,"div",8),i(9,"div",9),_(10,"h2",10)(11,"small",10),i(12,"div"),_(13,"div",10),g(14,"newlines"),_(15,"div",10),g(16,"newlines"),o()()()(),i(17,"div",11)(18,"h1")(19,"strong",12),a(20),o(),i(21,"span",13),a(22),o()(),i(23,"div")(24,"table")(25,"thead")(26,"tr")(27,"th"),a(28,"Date"),o()()(),i(29,"tbody")(30,"tr")(31,"td"),a(32),o()()()()()()(),i(33,"div",14)(34,"table",15)(35,"thead",16)(36,"tr")(37,"th",17),a(38,"No"),o(),i(39,"th"),a(40,"Name"),o(),i(41,"th",18),a(42,"Code"),o(),i(43,"th",18),a(44,"Qty"),o(),d(45,pp,2,0,"th",19),i(46,"th",18),a(47,"UOM"),o()()(),i(48,"tbody"),d(49,dp,16,15,"tr",20),o()()(),i(50,"table",21),d(51,_p,7,3,"tr",1),o(),i(52,"div")(53,"div")(54,"div",22),d(55,Cp,5,1,"div",23)(56,mp,5,1,"div",24),o()()()()(),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,np,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(D(l=>T.IsNotEmpty(l)),k(l=>this.httpService.post(I.AdjustmentInvoice,l)),B(1))}static \u0275fac=function(t){return new(t||n)(M(S),M(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,Pp,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 sp=(n,l)=>({"col-8":n,col:l});function Op(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 Mp(n,l){if(n&1&&(i(0,"div",31),d(1,Op,2,3,"img",32),o()),n&2){let t=c().ngIf;e(),r("ngIf",t==null||t.Template==null?null:t.Template.Logo)}}function up(n,l){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),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 fp(n,l){if(n&1&&(i(0,"div",34)(1,"div",35)(2,"h3",36)(3,"span"),a(4),o()(),i(5,"div",37)(6,"strong"),a(7),o(),i(8,"div",38),d(9,up,3,1,"div",0),i(10,"div")(11,"span"),a(12),g(13,"newlines"),o()(),i(14,"div")(15,"span"),a(16),o()()()()()()),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 xp(n,l){if(n&1&&(i(0,"small"),a(1),o()),n&2){let t=c().$implicit;e(),P(t.Note)}}function vp(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function bp(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t.Amount))}}function hp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td"),a(4),_(5,"br"),d(6,xp,2,1,"small",0),o(),i(7,"td",24),d(8,vp,3,3,"span",0),o(),i(9,"td",24),d(10,bp,3,3,"span",0),o()()),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 yp(n,l){if(n&1&&(i(0,"tr",39)(1,"th",40),a(2,"Note"),o(),i(3,"td",41),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Note," ")}}function Sp(n,l){if(n&1&&(i(0,"tr")(1,"th",16),a(2,"Reference"),o(),i(3,"td",42),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=c().ngIf;e(6),C(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay," ")}}function Ip(n,l){if(n&1&&(i(0,"div",43)(1,"div",44)(2,"h5",45),a(3),o(),i(4,"div",46),a(5," \xA0 "),o()(),i(6,"div",44)(7,"h5",45),a(8),o(),i(9,"div",46),a(10," \xA0 "),o()(),i(11,"div",44)(12,"h5",45),a(13),o(),i(14,"div",46),a(15," \xA0 "),o()(),i(16,"div",44)(17,"h5",45),a(18),o(),i(19,"div",46),a(20," \xA0 "),o()()()),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 wp(n,l){if(n&1&&(i(0,"small",47),a(1),o()),n&2){let t=c().ngIf;e(),C("",t==null||t.Data==null?null:t.Data.Creator," ")}}function Tp(n,l){if(n&1&&(x(0),_(1,"link",1),g(2,"StylesheetSafeUrl"),i(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),d(7,Mp,2,1,"div",6),i(8,"div",7),_(9,"h2",8)(10,"small",8),i(11,"div"),_(12,"div",8),g(13,"newlines"),_(14,"div",8),g(15,"newlines"),o()()(),d(16,fp,17,7,"div",9),o(),i(17,"div",10)(18,"div",11)(19,"div",12)(20,"h1")(21,"strong"),a(22,"Journal #"),o(),i(23,"span"),a(24),o()()(),i(25,"div",12)(26,"div",13)(27,"div",14)(28,"table",15)(29,"thead",16)(30,"tr")(31,"th"),a(32,"Date"),o(),i(33,"th"),a(34,"Outlet"),o()()(),i(35,"tbody")(36,"tr",17)(37,"td",18),a(38),g(39,"date"),o(),i(40,"td",18),a(41),o()()()()()()()()()(),i(42,"div",19)(43,"div",20)(44,"table",21)(45,"thead",22)(46,"tr",23)(47,"th"),a(48,"Code"),o(),i(49,"th"),a(50,"Account"),o(),i(51,"th",24),a(52,"Debit"),o(),i(53,"th",24),a(54,"Credit"),o()()(),i(55,"tbody"),d(56,hp,11,5,"tr",25),o(),i(57,"tfoot")(58,"tr"),_(59,"td",26),i(60,"td",24),a(61),g(62,"Filter"),g(63,"sum"),g(64,"number"),o(),i(65,"td",24),a(66),g(67,"Filter"),g(68,"sum"),g(69,"number"),o()()()()()(),i(70,"table",27),d(71,yp,7,1,"tr",28)(72,Sp,7,1,"tr",0),o(),d(73,Ip,21,4,"div",29)(74,wp,2,1,"small",30),o(),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,sp,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(" ",u(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,u(63,31,mt(62,27,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),C(" ",m(69,43,u(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(D(t=>T.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)(M(S),M(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,Tp,75,48,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[q,L,y,w,R,V,tt,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 Dp(n,l){if(n&1&&(x(0),i(1,"div",18),a(2,"Payment Note"),o(),i(3,"div",19),a(4,":"),o(),_(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 kp(n,l){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td"),a(4),o(),i(5,"td"),a(6),o(),i(7,"td",31),a(8),o(),i(9,"td",31),a(10),g(11,"number"),o(),i(12,"td",31),a(13),g(14,"number"),o()()),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 Ep(n,l){if(n&1&&(x(0),i(1,"div",26)(2,"div",27)(3,"table",28)(4,"thead",29)(5,"tr")(6,"th",30),a(7," No "),o(),i(8,"th"),a(9," Name "),o(),i(10,"th"),a(11," Code "),o(),i(12,"th",31),a(13," Qty "),o(),i(14,"th",31),a(15," Price "),o(),i(16,"th",31),a(17," Total "),o()()(),i(18,"tbody"),d(19,kp,15,10,"tr",32),o()()()(),v()),n&2){let t=c().ngIf;e(19),r("ngForOf",t==null||t.Data==null?null:t.Data.InvoiceItems)}}function Ap(n,l){if(n&1&&(i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),a(4),o(),_(5,"small",4)(6,"h6",5),g(7,"newlines"),_(8,"h6",6),g(9,"newlines"),o(),i(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),a(15,"Payment Date"),o()()(),i(16,"tbody")(17,"tr",11)(18,"td")(19,"div",12),a(20),g(21,"date"),o()()()()()()(),i(22,"div",13)(23,"div",14)(24,"h1"),a(25),o(),i(26,"h6",15),a(27),o()(),i(28,"div",16)(29,"div",17)(30,"div",18),a(31,"Received From"),o(),i(32,"div",19),a(33,":"),o(),i(34,"div",20),a(35),o(),i(36,"div",18),a(37,"Payment For"),o(),i(38,"div",19),a(39,":"),o(),i(40,"div",20),a(41),g(42,"date"),o(),d(43,Dp,7,3,"ng-container",21),o()(),d(44,Ep,20,1,"ng-container",21),i(45,"div",22)(46,"span",23),a(47,"Amount"),o(),i(48,"span",24),a(49),g(50,"number"),o()()()()),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(u(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," - ",u(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)(M(S),M(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,Ap,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 Np=n=>({width:n});function Hp(n,l){if(n&1&&_(0,"img",39),n&2){let t=c(2).ngIf;ct(et(3,Np,(t==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t==null?null:t.Template.Logo,J)}}function Rp(n,l){if(n&1&&(x(0),d(1,Hp,1,5,"img",38),v()),n&2){let t=c().ngIf;e(),r("ngIf",t==null?null:t.Template.Logo)}}function zp(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 Bp(n,l){if(n&1&&d(0,zp,1,1,"img",40),n&2){let t=c().ngIf;r("ngIf",t==null?null:t.Template.Logo)}}function Lp(n,l){if(n&1&&_(0,"span",9),n&2){let t=c().ngIf;r("innerHTML",t.Data.RegisterCode,s)}}function Jp(n,l){if(n&1&&(i(0,"span"),a(1),o()),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 Vp(n,l){if(n&1&&(i(0,"h6",41)(1,"span"),a(2),o(),d(3,Jp,2,2,"span",1),o()),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 Fp(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 jp(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 Up(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 $p(n,l){if(n&1&&(i(0,"span"),a(1),g(2,"limitTo"),o()),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 Qp(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 Wp(n,l){if(n&1&&(i(0,"h2",45),a(1),o()),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 Gp(n,l){if(n&1&&(i(0,"h2",16),a(1),o()),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 Xp(n,l){if(n&1&&(x(0),i(1,"h3",45),a(2),o(),v()),n&2){let t=c().ngIf;e(2),P(t.Data.ParkLabel)}}function Zp(n,l){if(n&1&&(i(0,"div",17),a(1),o()),n&2){let t=c().ngIf;e(),C(" Creator : ",t.Data.DocumentInfo.Created.User," ")}}function qp(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 Kp(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 Yp(n,l){if(n&1&&(i(0,"div",58)(1,"i",59),a(2),o()()),n&2){let t=c().$implicit;e(2),C(" sold by ",t.SalesName," ")}}function tg(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 ng(n,l){if(n&1&&(x(0),d(1,tg,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 eg(n,l){if(n&1&&(i(0,"span",64),a(1),o()),n&2){let t=c(2).$implicit;e(),C(" ",t.Taxable?"V":"N"," ")}}function ig(n,l){if(n&1&&(i(0,"span",64),a(1),o()),n&2){let t=c(2).$implicit,p=c().ngIf;e(),C(" ",t.Taxable?p==null?null:p.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel:"N"," ")}}function og(n,l){if(n&1&&(i(0,"div",62),d(1,eg,2,1,"span",63)(2,ig,2,1,"span",63),o()),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 lg(n,l){if(n&1&&(i(0,"span",65),a(1),g(2,"number"),o()),n&2){let t=c().$implicit,p=c().ngIf;e(),yt(" ",u(2,3,t.Quantity,"1.0-4")," ",p!=null&&p.AppConfigJSON.PrintConfigInvoice.ItemsTable.UOMVisible?t.UOMName:""," ",t.UnitQuantity!=1?" x "+t.UnitQuantity:""," ")}}function ag(n,l){if(n&1&&(x(0),i(1,"i",66),a(2),g(3,"number"),o(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.Discount)+"%"," ")}}function rg(n,l){if(n&1&&(x(0),i(1,"i",67),a(2),g(3,"number"),o(),v()),n&2){let t=c().$implicit;e(2),C(" ","-"+m(3,1,t.DiscountAmount)," ")}}function cg(n,l){if(n&1&&(i(0,"div",46)(1,"div",17)(2,"div",47)(3,"div"),x(4),a(5),v(),a(6),o(),d(7,Kp,2,1,"ng-container",1)(8,Yp,3,1,"div",48)(9,ng,2,1,"ng-container",1),o(),d(10,og,3,2,"div",49),o(),i(11,"div",50)(12,"div",51)(13,"div",52),d(14,lg,3,6,"span",53),x(15),i(16,"span",54),a(17,"x"),o(),i(18,"span",55),a(19),g(20,"number"),o(),v(),d(21,ag,4,3,"ng-container",1)(22,rg,4,3,"ng-container",1),o()(),i(23,"div",56)(24,"span"),a(25),g(26,"number"),g(27,"TrailingZero"),o()()()()),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(" ",u(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&&(i(0,"span")(1,"span"),a(2),o()()),n&2){let t=c().$implicit;e(2),C("",t.Label," :")}}function gg(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=c().$implicit;e(),C("",t.CurrencySymbol," ")}}function dg(n,l){if(n&1&&(i(0,"div",68),g(1,"Filter"),i(2,"div",69),a(3),d(4,pg,3,1,"span"),o(),i(5,"div",70)(6,"div",71)(7,"div",72),d(8,gg,2,1,"span",1),o(),i(9,"div",28)(10,"span"),a(11),g(12,"number"),g(13,"TrailingZero"),o()()()()()),n&2){let t=l.$implicit,p=l.index,O=c().ngIf,W=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"?W.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(u(13,13,m(12,11,t.Amount),O.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function _g(n,l){if(n&1&&(i(0,"span",72),a(1),o()),n&2){let t=c().ngIf;e(),P(t.Data.CurrencySymbol)}}function Cg(n,l){if(n&1&&(i(0,"span",72),a(1),o()),n&2){let t=c(2).ngIf;e(),P(t.Data.CurrencySymbol)}}function mg(n,l){if(n&1&&(i(0,"div",24)(1,"div",73),a(2),o(),i(3,"div",26),d(4,Cg,2,1,"span",27),i(5,"span",28),a(6),g(7,"TrailingZero"),o()()()),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(u(7,3,t.Data.Invoice.Data.Remaining,t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Pg(n,l){if(n&1&&(i(0,"h6",74),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.SalesPerson," ")}}function sg(n,l){if(n&1&&(i(0,"p"),a(1),o()),n&2){let t=c().ngIf;e(),C(" ",t.Data.SalesName," ")}}function Og(n,l){n&1&&(i(0,"h6",74),a(1," Note "),o())}function Mg(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 ug(n,l){n&1&&(i(0,"h6",75),a(1," Note "),o())}function fg(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 xg(n,l){if(n&1&&(i(0,"p",77),a(1),o()),n&2){let t=c().ngIf;e(),C(" Printed : ",t.Data.PrintDate," ")}}function vg(n,l){if(n&1&&(i(0,"p",77),a(1),o()),n&2){let t=c().ngIf;e(),C(" Created : ",t.Data.Created," ")}}function bg(n,l){n&1&&(i(0,"div"),_(1,"div",78),o())}function hg(n,l){if(n&1&&(x(0)(1),_(2,"link",2),g(3,"StylesheetSafeUrl"),_(4,"POS-print-mode",3),i(5,"div")(6,"div",4),d(7,Rp,2,1,"ng-container",5)(8,Bp,1,1,"ng-template",null,0,K),o(),i(10,"div",4),_(11,"h2",6)(12,"i",7),i(13,"p",8),_(14,"span",9),g(15,"newlines"),_(16,"br"),d(17,Lp,1,1,"span",10),_(18,"span",9),g(19,"newlines"),o(),d(20,Vp,4,2,"h6",11)(21,Fp,1,1,"h6",12)(22,jp,2,3,"p",13)(23,Up,3,5,"span",1)(24,$p,3,5,"span",1)(25,Qp,1,1,"p",14),o(),d(26,Wp,2,3,"h2",15)(27,Gp,2,1,"h2",16)(28,Xp,3,1,"ng-container",1)(29,Zp,2,1,"div",17),i(30,"div",18)(31,"div",19),d(32,qp,2,1,"ng-container",1),_(33,"div",9),o(),i(34,"div",20)(35,"div"),a(36),g(37,"date"),o()()(),d(38,cg,28,19,"div",21),i(39,"div",22),d(40,dg,14,16,"div",23),g(41,"Filter"),o(),i(42,"div",24)(43,"div",25),a(44),o(),i(45,"div",26),d(46,_g,2,1,"span",27),i(47,"span",28),a(48),g(49,"number"),g(50,"TrailingZero"),o()()(),d(51,mg,8,6,"div",29),i(52,"div",30),d(53,Pg,2,1,"h6",31)(54,sg,2,1,"p",1)(55,Og,2,0,"h6",31)(56,Mg,2,3,"p",10)(57,ug,2,0,"h6",32)(58,fg,2,3,"p",33),o(),_(59,"p",9),g(60,"SafeHtml"),_(61,"div",34),g(62,"SafeHtml"),i(63,"div",4),d(64,xg,2,1,"p",35),o(),i(65,"div",36),d(66,vg,2,1,"p",35),o(),d(67,bg,2,0,"div",1),o(),i(68,"div",37),a(69),o(),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(u(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(" ",u(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(D(l=>T.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 W=p>1?"s":"",nt=this.decimalPipe.transform(p,"1.0-4").toString(),lt=t.PrintConfigInvoice?.ItemsFooter?.TotalQuantityVisible;this.totalItemsLabel=`Total (Item${W}: ${O}${lt?`, Qty: ${nt})`:")"}`}static \u0275fac=function(t){return new(t||n)(M(h),M(S),M(A),M(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,hg,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 yg=["barcode"],Sg=n=>({"col-12 border-0":n}),Ig=n=>({"col-12":n});function wg(n,l){n&1&&_(0,"link",14)}function Tg(n,l){n&1&&_(0,"link",15)}function Dg(n,l){n&1&&_(0,"link",16)}function kg(n,l){if(n&1&&(i(0,"div",7)(1,"span",17),a(2,"Invoice Number:"),o(),i(3,"span"),a(4),o()()),n&2){let t,p=c();e(4),P((t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function Eg(n,l){n&1&&(i(0,"div",8),_(1,"img",18,0),o())}function Ag(n,l){if(n&1&&(i(0,"h6"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function Ng(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function Hg(n,l){if(n&1&&(i(0,"div",21),a(1),o()),n&2){let t,p=c(2);e(),C(" ",(t=p.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function Rg(n,l){if(n&1&&(i(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Receiver:"),o(),i(4,"div"),d(5,Ag,2,1,"h6")(6,Ng,2,1,"span"),o()(),d(7,Hg,2,1,"div",21),o()),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 zg(n,l){if(n&1&&(i(0,"h6"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.DisplayName)}}function Bg(n,l){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t,p=c(2);e(),P((t=p.template())==null?null:t.ContactInfo)}}function Lg(n,l){if(n&1&&(i(0,"div",22),a(1),o()),n&2){let t,p=c(2);e(),C(" ",(t=p.template())==null?null:t.Address," ")}}function Jg(n,l){if(n&1&&(i(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Sender:"),o(),i(4,"div"),d(5,zg,2,1,"h6")(6,Bg,2,1,"span"),o()(),d(7,Lg,2,1,"div",22),o()),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 Vg(n,l){if(n&1&&(i(0,"div",23)(1,"h5"),a(2),o()()),n&2){let t,p=c(2);r("ngClass",et(2,Sg,!p.invoiceNoteVisible())),e(2),P((t=p.receipt())==null?null:t.Tag)}}function Fg(n,l){if(n&1&&(i(0,"div",24),_(1,"p",25),o()),n&2){let t,p=c(2);r("ngClass",et(2,Ig,!p.orderTagVisible())),e(),r("innerHTML",(t=p.receipt())==null||t.Invoice==null?null:t.Invoice.Note,s)}}function jg(n,l){if(n&1&&(i(0,"div",11),d(1,Vg,3,4,"div",23)(2,Fg,2,4,"div",24),o()),n&2){let t=c();e(),f(t.orderTagVisible()?1:-1),e(),f(t.invoiceNoteVisible()?2:-1)}}function Ug(n,l){n&1&&(i(0,"th",27),a(1,"Name"),o())}function $g(n,l){n&1&&(i(0,"th",28),a(1,"Code"),o())}function Qg(n,l){n&1&&(i(0,"th",28),a(1,"QTy"),o())}function Wg(n,l){if(n&1&&_(0,"span",31),n&2){let t=c(2).$implicit;r("innerHTML",t==null?null:t.Note,s)}}function Gg(n,l){if(n&1&&(i(0,"td",30)(1,"div"),a(2),o(),d(3,Wg,1,1,"span",31),o()),n&2){let t=c().$implicit,p=c(2);e(2),P(t==null?null:t.Name),e(),f(p.itemNotesVisible()?3:-1)}}function Xg(n,l){if(n&1&&(i(0,"td",28),a(1),o()),n&2){let t=c().$implicit;e(),P(t==null?null:t.Code)}}function Zg(n,l){if(n&1&&(i(0,"td",28),a(1),g(2,"number"),o()),n&2){let t=c().$implicit;e(),P(m(2,1,t==null?null:t.Quantity))}}function qg(n,l){if(n&1&&(i(0,"tr")(1,"td",28),a(2),o(),d(3,Gg,4,2,"td",30)(4,Xg,2,1,"td",28)(5,Zg,3,3,"td",28),o()),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 Kg(n,l){if(n&1&&_(0,"td",32),n&2){let t=c(3);r("colSpan",t.getVisibleColumnCount())}}function Yg(n,l){if(n&1&&(i(0,"tfoot",29)(1,"tr",29),d(2,Kg,1,1,"td",32),i(3,"td",33)(4,"span",34),a(5,"Total"),o()(),i(6,"td",33)(7,"span",34),a(8),g(9,"sum"),g(10,"number"),o()()()()),n&2){let t,p=c(2);e(2),f(p.productCodeVisible()||p.productNameVisible()?2:-1),e(6),P(m(10,5,u(9,2,(t=p.receipt())==null?null:t.List,"Quantity")))}}function td(n,l){if(n&1&&(i(0,"table",13)(1,"thead")(2,"tr")(3,"th",26),a(4,"No"),o(),d(5,Ug,2,0,"th",27)(6,$g,2,0,"th",28)(7,Qg,2,0,"th",28),o()(),i(8,"tbody"),Nt(9,qg,6,4,"tr",null,At),o(),d(11,Yg,11,7,"tfoot",29),o()),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 Tt=class n{receipt=Dt();config=Dt();template=Dt();css=Dt();invoiceNumber=Y(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=Y(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=Y(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);barcodeVisible=Y(()=>this.packingSlipConfig()?.General?.BarcodeVisible);storeNameVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=Y(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=Y(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=Y(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=Y(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=Y(()=>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=Y(()=>{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(yg,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,wg,1,0,"link",1)(1,Tg,1,0,"link",2)(2,Dg,1,0,"link",3),_(3,"link",4),g(4,"StylesheetSafeUrl"),i(5,"div",5)(6,"div",6)(7,"h3"),a(8,"PACKING SLIP"),o()(),d(9,kg,5,1,"div",7)(10,Eg,3,0,"div",8),i(11,"div",9),d(12,Rg,8,3,"div",10)(13,Jg,8,3,"div",10),o(),d(14,jg,3,2,"div",11),i(15,"div",12),d(16,td,12,4,"table",13),o()()),t&2){let O,W,nt,lt;r("ngIf",(O=p.template())==null?null:O.PrintLX300),e(),r("ngIf",(W=p.template())==null?null:W.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,tt,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 nd(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(D(t=>T.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)(M(S),M(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,nd,2,4,"ng-container",0),g(1,"async")),t&2&&r("ngIf",m(1,1,p.data$))},dependencies:[ft,y,w,Tt],encapsulation:2})};var ed=[{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:[un.forChild(ed),un]})};var Qn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=bt({type:n});static \u0275inj=vt({imports:[ft,sn,Jn,jn,Fn,Qt,It,Vt,dt,Tt]})};export{nn as a,Qn as b};