dealpos 1.0.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 (238) hide show
  1. package/POS/3rdpartylicenses.txt +1645 -0
  2. package/POS/assets/icons/icon-128x128.png +0 -0
  3. package/POS/assets/icons/icon-144x144.png +0 -0
  4. package/POS/assets/icons/icon-152x152.png +0 -0
  5. package/POS/assets/icons/icon-192x192.png +0 -0
  6. package/POS/assets/icons/icon-384x384.png +0 -0
  7. package/POS/assets/icons/icon-512x512.png +0 -0
  8. package/POS/assets/icons/icon-72x72.png +0 -0
  9. package/POS/assets/icons/icon-96x96.png +0 -0
  10. package/POS/chunk-26YXEYJK.js +1 -0
  11. package/POS/chunk-2DNKBN6G.js +1 -0
  12. package/POS/chunk-2FKYC63K.js +1 -0
  13. package/POS/chunk-2FWFPV5I.js +1 -0
  14. package/POS/chunk-2OSKJOSS.js +1 -0
  15. package/POS/chunk-2OXMYDYT.js +1 -0
  16. package/POS/chunk-2OZMF5DL.js +1 -0
  17. package/POS/chunk-2W3MAOOP.js +1 -0
  18. package/POS/chunk-33XCA4ER.js +14 -0
  19. package/POS/chunk-35V3VL6F.js +1 -0
  20. package/POS/chunk-3A7KA4YN.js +1 -0
  21. package/POS/chunk-3BODNSIH.js +1 -0
  22. package/POS/chunk-3FOIEYAT.js +4 -0
  23. package/POS/chunk-3PFXZUB6.js +7 -0
  24. package/POS/chunk-3QABPVXZ.js +3 -0
  25. package/POS/chunk-4BDQDYVB.js +1 -0
  26. package/POS/chunk-4CBDK52E.js +4 -0
  27. package/POS/chunk-4G26RHGA.js +1 -0
  28. package/POS/chunk-4MX7Q77M.js +2 -0
  29. package/POS/chunk-4UAHOTBD.js +1 -0
  30. package/POS/chunk-56EQRIAH.js +1 -0
  31. package/POS/chunk-5KBFQLSN.js +1 -0
  32. package/POS/chunk-5W7F4VJH.js +1 -0
  33. package/POS/chunk-64PDX5ZX.js +1 -0
  34. package/POS/chunk-65YDOCXF.js +1 -0
  35. package/POS/chunk-67VBXFVT.js +6 -0
  36. package/POS/chunk-6BQZINLH.js +1 -0
  37. package/POS/chunk-6L6CIH5M.js +1 -0
  38. package/POS/chunk-6PXJEE4K.js +1 -0
  39. package/POS/chunk-6S4Q5VRA.js +1 -0
  40. package/POS/chunk-75STMWUR.js +6 -0
  41. package/POS/chunk-76C33PK5.js +1 -0
  42. package/POS/chunk-77D6X2SQ.js +11 -0
  43. package/POS/chunk-7DWKYGA4.js +1 -0
  44. package/POS/chunk-7M6CWVRI.js +1 -0
  45. package/POS/chunk-7Q3437BR.js +1 -0
  46. package/POS/chunk-AA32I4UN.js +1 -0
  47. package/POS/chunk-AJMKP7YZ.js +1 -0
  48. package/POS/chunk-AOJW6WJT.js +1 -0
  49. package/POS/chunk-AOPKPEVH.js +1 -0
  50. package/POS/chunk-APJK7OH2.js +2 -0
  51. package/POS/chunk-APYNCJ2H.js +1 -0
  52. package/POS/chunk-AUYYX2UQ.js +45 -0
  53. package/POS/chunk-AVDGNFC7.js +1 -0
  54. package/POS/chunk-AWGZKLLY.js +1 -0
  55. package/POS/chunk-AYKDALBT.js +1 -0
  56. package/POS/chunk-B2OT7HA4.js +4 -0
  57. package/POS/chunk-B36XIZVJ.js +1 -0
  58. package/POS/chunk-B5FODXLM.js +1 -0
  59. package/POS/chunk-B7RM5KKA.js +1 -0
  60. package/POS/chunk-BCVO66L3.js +5 -0
  61. package/POS/chunk-BETKNHFK.js +1 -0
  62. package/POS/chunk-BH2ZVZIU.js +1 -0
  63. package/POS/chunk-BHXS5IA6.js +1 -0
  64. package/POS/chunk-BLZEDUEI.js +1 -0
  65. package/POS/chunk-BYXBJQAS.js +0 -0
  66. package/POS/chunk-BZC5JINN.js +5 -0
  67. package/POS/chunk-C43IYFVU.js +1 -0
  68. package/POS/chunk-CBW7IA6S.js +1 -0
  69. package/POS/chunk-CCGPOEE3.js +4 -0
  70. package/POS/chunk-CFIFFKWA.js +1 -0
  71. package/POS/chunk-CI45CZMG.js +1 -0
  72. package/POS/chunk-CJO25BBP.js +1 -0
  73. package/POS/chunk-CLL3TEL5.js +1 -0
  74. package/POS/chunk-CPUGWH3I.js +1 -0
  75. package/POS/chunk-CPW6IWAB.js +1 -0
  76. package/POS/chunk-CRSUSQ3W.js +1 -0
  77. package/POS/chunk-CW27R4N3.js +2 -0
  78. package/POS/chunk-CWU5DTSS.js +1 -0
  79. package/POS/chunk-CY2FQLP4.js +1 -0
  80. package/POS/chunk-DRGWLGRP.js +1 -0
  81. package/POS/chunk-DXF4M3Z6.js +1 -0
  82. package/POS/chunk-E72IOARD.js +1 -0
  83. package/POS/chunk-EA7CLJMQ.js +18 -0
  84. package/POS/chunk-ECMSF3OR.js +1 -0
  85. package/POS/chunk-EOFWQEK7.js +1 -0
  86. package/POS/chunk-EQOB7536.js +156 -0
  87. package/POS/chunk-ESD5O3BQ.js +1 -0
  88. package/POS/chunk-EZCHVNC5.js +3 -0
  89. package/POS/chunk-F3ZYFWTM.js +1 -0
  90. package/POS/chunk-F6GAPEFT.js +1 -0
  91. package/POS/chunk-FBR7TAEJ.js +5 -0
  92. package/POS/chunk-FE5LZK5I.js +1 -0
  93. package/POS/chunk-FOEYBSQT.js +2 -0
  94. package/POS/chunk-FWVI7M5F.js +1 -0
  95. package/POS/chunk-G4DDQBH4.js +1 -0
  96. package/POS/chunk-GDFWXFK2.js +1 -0
  97. package/POS/chunk-GHQFOULJ.js +2 -0
  98. package/POS/chunk-GNSQPTDB.js +1 -0
  99. package/POS/chunk-GSLPZSSX.js +1 -0
  100. package/POS/chunk-GVXSG66Q.js +1 -0
  101. package/POS/chunk-H55AJAX5.js +8 -0
  102. package/POS/chunk-HIRUHGYD.js +2 -0
  103. package/POS/chunk-HKR2C3HA.js +1 -0
  104. package/POS/chunk-HSOC6U4B.js +1 -0
  105. package/POS/chunk-I6CGSFEU.js +1 -0
  106. package/POS/chunk-I6YPWC52.js +1 -0
  107. package/POS/chunk-IDDHFZWG.js +1 -0
  108. package/POS/chunk-IE5R6YWY.js +1 -0
  109. package/POS/chunk-IOQ3OION.js +1 -0
  110. package/POS/chunk-IUKSWU5B.js +1 -0
  111. package/POS/chunk-IY6EDHBT.js +1 -0
  112. package/POS/chunk-IZGPRDGN.js +2 -0
  113. package/POS/chunk-J3W6DQKW.js +1 -0
  114. package/POS/chunk-JLWKTGB2.js +1 -0
  115. package/POS/chunk-JM3SJLS7.js +1 -0
  116. package/POS/chunk-JNUC6PO5.js +1 -0
  117. package/POS/chunk-K5XVN3MT.js +1 -0
  118. package/POS/chunk-KBQ5ZM55.js +1 -0
  119. package/POS/chunk-KCNSCS4R.js +1 -0
  120. package/POS/chunk-KI2MQKDF.js +1 -0
  121. package/POS/chunk-KNRLGMUT.js +1 -0
  122. package/POS/chunk-KR4OPCRF.js +1 -0
  123. package/POS/chunk-KW4B7WMB.js +1 -0
  124. package/POS/chunk-KYX6U2UX.js +1 -0
  125. package/POS/chunk-KZNSGBGF.js +2 -0
  126. package/POS/chunk-L3UWNQXB.js +1 -0
  127. package/POS/chunk-LHWN2J4H.js +15 -0
  128. package/POS/chunk-LJUP6CCS.js +1 -0
  129. package/POS/chunk-LY4FOMQ6.css +1 -0
  130. package/POS/chunk-LZ3SKBTU.js +1 -0
  131. package/POS/chunk-M5ONTRWK.js +1 -0
  132. package/POS/chunk-MA7NEQCZ.js +1 -0
  133. package/POS/chunk-MDKYCLYA.js +17 -0
  134. package/POS/chunk-MGDA6GY6.js +1 -0
  135. package/POS/chunk-MWWGZRMN.js +1 -0
  136. package/POS/chunk-NCATMO6T.js +1 -0
  137. package/POS/chunk-NDAI7L23.js +1 -0
  138. package/POS/chunk-NHUK6IK5.js +40 -0
  139. package/POS/chunk-NUZ5K7GT.js +1 -0
  140. package/POS/chunk-O2PELRQA.js +1 -0
  141. package/POS/chunk-OUOP65JB.js +1 -0
  142. package/POS/chunk-OXSD6KML.js +1 -0
  143. package/POS/chunk-PEOMRJUI.js +3 -0
  144. package/POS/chunk-PHGK3EAU.js +1 -0
  145. package/POS/chunk-PLC4GZ67.js +1 -0
  146. package/POS/chunk-PTF6AQY6.js +1 -0
  147. package/POS/chunk-PTXKBWBA.js +1 -0
  148. package/POS/chunk-Q3SJOSAG.js +1 -0
  149. package/POS/chunk-QBDEGNJP.js +1 -0
  150. package/POS/chunk-QCTMAR3L.js +1 -0
  151. package/POS/chunk-QZWOQRAM.js +1 -0
  152. package/POS/chunk-R5VG3XDC.js +1 -0
  153. package/POS/chunk-R7NR3M2Q.js +1 -0
  154. package/POS/chunk-RBKYZOZX.js +3 -0
  155. package/POS/chunk-RHQGCHFI.js +1 -0
  156. package/POS/chunk-RL3GYZVU.js +8 -0
  157. package/POS/chunk-RRKCUSBB.js +1 -0
  158. package/POS/chunk-S4OLP2TR.js +18 -0
  159. package/POS/chunk-SDH32O74.js +1 -0
  160. package/POS/chunk-SE7OFLAL.js +1 -0
  161. package/POS/chunk-SEVYM4GA.js +1 -0
  162. package/POS/chunk-SGRJ5YG2.js +1 -0
  163. package/POS/chunk-SNNLFZQ3.js +3 -0
  164. package/POS/chunk-SVNOJVQF.js +1 -0
  165. package/POS/chunk-TCLYGBIP.js +1 -0
  166. package/POS/chunk-TIDDF777.js +1 -0
  167. package/POS/chunk-TJQIORGG.js +1 -0
  168. package/POS/chunk-TK5H65DN.js +1 -0
  169. package/POS/chunk-TLHNFDPP.js +1 -0
  170. package/POS/chunk-TVNDX4KA.js +3 -0
  171. package/POS/chunk-TX6G2LAN.js +1 -0
  172. package/POS/chunk-U3O6FO5X.js +1 -0
  173. package/POS/chunk-UJMXJABS.js +1 -0
  174. package/POS/chunk-UNGT7KQO.js +1 -0
  175. package/POS/chunk-UPRH3DLS.js +1 -0
  176. package/POS/chunk-UVFDCVT4.js +2 -0
  177. package/POS/chunk-V22EVF6N.js +1 -0
  178. package/POS/chunk-V4RKZMUB.js +11 -0
  179. package/POS/chunk-VBOV2ZGQ.js +1 -0
  180. package/POS/chunk-VGGNSOCP.js +1 -0
  181. package/POS/chunk-VLGOEX3D.js +24 -0
  182. package/POS/chunk-VPAQFQA7.js +1 -0
  183. package/POS/chunk-VSMYP4AC.js +1 -0
  184. package/POS/chunk-VXCP4DBC.js +1 -0
  185. package/POS/chunk-W43P2XHR.js +1 -0
  186. package/POS/chunk-W7PIRMKD.js +1 -0
  187. package/POS/chunk-WG6PV6VL.js +4 -0
  188. package/POS/chunk-WK4T26FX.js +2 -0
  189. package/POS/chunk-WKS7JIOA.js +1 -0
  190. package/POS/chunk-WKXE4B24.js +1 -0
  191. package/POS/chunk-WLRXTHLM.js +1 -0
  192. package/POS/chunk-WSZGVB3P.js +1 -0
  193. package/POS/chunk-WXHOQKTU.js +1 -0
  194. package/POS/chunk-X55EKFUZ.js +1 -0
  195. package/POS/chunk-X7QMXCEW.js +4 -0
  196. package/POS/chunk-XIGLLWLV.js +1 -0
  197. package/POS/chunk-XRKZOON6.js +4 -0
  198. package/POS/chunk-XW2QKXZF.js +5 -0
  199. package/POS/chunk-XZPCPUT7.js +1 -0
  200. package/POS/chunk-Y5SPDICN.js +2 -0
  201. package/POS/chunk-Y7XBMFXR.js +1 -0
  202. package/POS/chunk-YATUCULL.js +1 -0
  203. package/POS/chunk-YBFOOZH4.js +2 -0
  204. package/POS/chunk-YBINYTS7.js +1 -0
  205. package/POS/chunk-YE2HNBMX.js +1 -0
  206. package/POS/chunk-YENHZRM5.js +9 -0
  207. package/POS/chunk-YHCFOJEX.js +1 -0
  208. package/POS/chunk-YKBQYDEJ.js +2 -0
  209. package/POS/chunk-YPFXYXHP.js +8 -0
  210. package/POS/chunk-YRHYSRBM.js +1 -0
  211. package/POS/chunk-YRITVFOW.js +1 -0
  212. package/POS/chunk-YRNTUREW.js +1 -0
  213. package/POS/chunk-YXRRTX7W.js +1 -0
  214. package/POS/chunk-Z426RGUL.js +24 -0
  215. package/POS/chunk-ZB45Y55B.js +1 -0
  216. package/POS/chunk-ZGRVB4IB.js +1 -0
  217. package/POS/chunk-ZJ3TX62Q.js +1 -0
  218. package/POS/chunk-ZKWXTWYY.js +1 -0
  219. package/POS/index.html +33 -0
  220. package/POS/main-CNMNNNEI.js +4 -0
  221. package/POS/main-VPAR6OBK.css +1 -0
  222. package/POS/manifest.webmanifest +59 -0
  223. package/POS/media/color-727V6BA6.png +0 -0
  224. package/POS/media/hue-3YTJE6JS.png +0 -0
  225. package/POS/media/primeicons-4GST5W3O.woff2 +0 -0
  226. package/POS/media/primeicons-DHQU4SEP.svg +345 -0
  227. package/POS/media/primeicons-GEFHGEHP.ttf +0 -0
  228. package/POS/media/primeicons-P53SE5CV.woff +0 -0
  229. package/POS/media/primeicons-RSSEDYLY.eot +0 -0
  230. package/POS/polyfills-FHOOFFEX.js +2 -0
  231. package/POS/scripts-3E2G6IZ4.js +10 -0
  232. package/POS/styles-T7FPZRNG.css +25 -0
  233. package/Styles/Master/app_custom.css +18 -0
  234. package/Styles/Master/login_custom.css +0 -0
  235. package/Styles/Print/PaperSize8cm_custom.css +1 -0
  236. package/Styles/Print/PaperSizeA4_custom.css +1 -0
  237. package/StylesB/Master/app_custom.css +0 -0
  238. package/package.json +1 -0
@@ -0,0 +1 @@
1
+ import{a as fn}from"./chunk-PTXKBWBA.js";import{a as gt,b as In}from"./chunk-CI45CZMG.js";import{a as hn,b as yn}from"./chunk-J3W6DQKW.js";import{b as vn,c as un,d as bn}from"./chunk-NUZ5K7GT.js";import{a as q,b as ht}from"./chunk-NDAI7L23.js";import{a as ft}from"./chunk-6PXJEE4K.js";import{a as $}from"./chunk-AOJW6WJT.js";import{a as vt}from"./chunk-ZGRVB4IB.js";import{E as On,H as ut,I as xn,O as bt,d as X,g as J,n as Mn,o as D,q as et,v as sn,z as it}from"./chunk-2W3MAOOP.js";import{a as I,d as dt}from"./chunk-26YXEYJK.js";import{a as b}from"./chunk-RRKCUSBB.js";import{$b as C,$c as T,Ab as o,Bb as g,Cb as N,Db as B,E as S,Eb as tt,Ib as _n,J as Pt,Kb as l,Ld as u,Nb as st,Pa as P,Pc as V,Qa as k,Qd as tn,Ra as f,Rc as w,Sc as h,Ua as e,Va as x,Wc as Cn,Xc as mn,Yb as F,Yc as Pn,Zb as a,Zc as E,_b as m,ac as Z,ba as Mt,bb as nt,bc as Ot,cd as xt,d as mt,da as an,gb as d,ia as ct,ic as G,jc as j,la as cn,mb as r,nb as Kt,o as on,pa as v,pb as Q,qa as rt,qb as ln,qc as p,qd as Y,rb as lt,rc as M,sc as O,tc as _t,ub as y,va as rn,vb as dn,wc as U,xb as gn,yb as pn,zb as i}from"./chunk-H55AJAX5.js";function kn(n,c){if(n&1&&(N(0),g(1,"pos-receipt",1),B()),n&2){let t=l();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)}}var yt=class n{constructor(c,t,_,s){this.httpService=c;this.activeRoute=t;this.titleService=_;this.roleService=s;this.destroy$=new mt}model;receiptParam;destroy$;ngOnInit(){let c=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),_=this.activeRoute.snapshot.queryParamMap.get("Price"),s=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:c,Template:t,Price:_,Print:s},this.httpService.post("/Api/Print/InvoiceMini",this.receiptParam).pipe(Mt(this.destroy$)).subscribe(ot=>{this.model=ot,this.model.Data.InvoiceID=c,this.setBrowserTitle(ot);let Yt=this.activeRoute.snapshot.queryParamMap.get("Print"),pt=this.activeRoute.snapshot.queryParamMap.get("Printer");pt&&(this.model.Template.PrintLX300=pt=="EpsonLX300"),parseInt(Yt)==1&&window.setTimeout(function(){window.print()},500)})}setBrowserTitle(c){let _=`Invoice Mini | ${c.Data.Number}`;this.titleService.setTitle(_)}preventOpenContextMenu(c){return alert("This function is disabled."),c.preventDefault(),!1}static \u0275fac=function(t){return new(t||n)(x(b),x(u),x(Y),x(dt))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,_){t&1&&_n("contextmenu",function(ot){return _.preventOpenContextMenu(ot)})},decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction"]],template:function(t,_){t&1&&d(0,kn,2,6,"ng-container",0),t&2&&r("ngIf",_.model)},dependencies:[h,un]})};function En(n,c){if(n&1&&(i(0,"div"),g(1,"pos-receipt-a4",1),o()),n&2){let t=l();e(),r("receiptParam",t.receiptParam)("data",t.model.Data)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("workOrderMode",!1)("fullMode",!0)}}var It=class n{constructor(c,t,_){this.httpService=c;this.activeRoute=t;this.titleService=_;this.destroy$=new mt}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};model;receiptParam;destroy$;ngOnInit(){let c=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),_=this.activeRoute.snapshot.queryParamMap.get("Price"),s=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:c,Template:t,Price:_,Print:s},this.httpService.post("/Api/Print/Invoice",this.receiptParam).pipe(Mt(this.destroy$)).subscribe(ot=>{this.model=ot,this.setBrowserTitle(ot);let Yt=this.activeRoute.snapshot.queryParamMap.get("Print"),pt=this.activeRoute.snapshot.queryParamMap.get("Printer");pt&&(this.model.Template.PrintLX300=pt=="EpsonLX300"),parseInt(Yt)==1&&window.setTimeout(function(){window.print()},500)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}setBrowserTitle(c){let _=`Invoice A4 | ${c.Data.Invoice.Number}`;this.titleService.setTitle(_)}static \u0275fac=function(t){return new(t||n)(x(b),x(u),x(Y))};static \u0275cmp=v({type:n,selectors:[["POS-invoice"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","printTemplate","config","barcodeOptions","workOrderMode","fullMode"]],template:function(t,_){t&1&&d(0,En,2,7,"div",0),t&2&&r("ngIf",_.model)},dependencies:[h,gt]})};function Dn(n,c){if(n&1&&(i(0,"div"),g(1,"park-order",1),o()),n&2){let t=l();e(),r("data",t.model.Data)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)}}var St=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}model;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/SalesOrderMini",c).subscribe(t=>{this.model=t,c.Printer&&(this.model.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-sales-order"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","printTemplate","config"]],template:function(t,_){t&1&&d(0,Dn,2,3,"div",0),t&2&&r("ngIf",_.model)},dependencies:[h,hn]})};var An=(n,c)=>({lx300:n,"print-normal":c}),zn=n=>({width:n});function Hn(n,c){n&1&&g(0,"link",44)}function Nn(n,c){n&1&&g(0,"link",45)}function Bn(n,c){if(n&1&&g(0,"img",48),n&2){let t=l(4);Q(G(3,zn,(t.Model==null||t.Model.AppConfigJSON.PrintConfigInvoice==null||t.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Model.Template.Logo,k)}}function Rn(n,c){if(n&1&&(N(0),d(1,Bn,1,5,"img",47),B()),n&2){let t=l(3);e(),r("ngIf",t.Model.Template.Logo)}}function Ln(n,c){if(n&1&&g(0,"img",48),n&2){let t=l(4);r("src",t.Model.Template.Logo,k)}}function Fn(n,c){if(n&1&&d(0,Ln,1,1,"img",49),n&2){let t=l(3);r("ngIf",t.Model.Template.Logo)}}function Vn(n,c){if(n&1&&(i(0,"div",11),d(1,Rn,2,1,"ng-container",46)(2,Fn,1,1,"ng-template",null,0,U),o()),n&2){let t=F(3),_=l(2);e(),r("ngIf",(_.Model==null||_.Model.AppConfigJSON.PrintConfigInvoice==null||_.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:_.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Jn(n,c){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=l(3);e(),C("(",t.Model.Data.Contact.MemberIdentification,")")}}function jn(n,c){if(n&1&&(i(0,"div",50)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",51)(5,"strong"),a(6),o(),d(7,Jn,2,1,"span",1),i(8,"div",52)(9,"div")(10,"span"),a(11),o()(),i(12,"div")(13,"span"),a(14),o()(),i(15,"div"),g(16,"span",15),o(),i(17,"div")(18,"span"),a(19),o()()()()()),n&2){let t=l(2);e(3),m(t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer),e(3),m(t.Model.Data.ContactDisplay),e(),r("ngIf",t.Model.Data.Contact.MemberIdentification),e(4),m(t.Model.Data.Contact.Email),e(3),m(t.Model.Data.Contact.Phone?t.Model.Data.Contact.Phone:t.Model.Data.Contact.Mobile),e(2),r("innerHTML",t.Model.Data.Contact.Address,P),e(3),m(t.Model.Data.City)}}function Un(n,c){n&1&&(i(0,"th"),a(1,"Due"),o())}function $n(n,c){n&1&&(i(0,"th"),a(1,"ToP"),o())}function Wn(n,c){n&1&&(i(0,"th"),a(1,"Sales"),o())}function Qn(n,c){n&1&&(i(0,"th"),a(1," PO# "),o())}function Gn(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"date"),o()),n&2){let t=l(2);e(),C(" ",O(2,1,t.Model.Data.Invoice.Due,"dd MMM yyyy")," ")}}function Xn(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),m(t.Model.Data.ToP)}}function qn(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.Model.Data.SalesName," ")}}function Zn(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function Yn(n,c){if(n&1&&(i(0,"span"),a(1),o()),n&2){let t=l(3);e(),C(", ",t.Model.Data.ShippingAddress.Phone,"")}}function Kn(n,c){if(n&1&&(i(0,"div",53)(1,"h3"),a(2),o(),i(3,"div",51)(4,"div"),a(5),d(6,Yn,2,1,"span",1),o(),g(7,"div",15),i(8,"div"),a(9),o()()()),n&2){let t=l(2);e(2),C(" ",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress," "),e(3),C(" ",t.Model.Data.ShippingAddress.Recipient,""),e(),r("ngIf",t.Model.Data.ShippingAddress.Phone),e(),r("innerHTML",t.Model.Data.ShippingAddress.Street,P),e(2),C(" ",t.Model.Data.ShippingAddress.City," ")}}function te(n,c){n&1&&(i(0,"th",54),a(1," Disc "),o())}function ne(n,c){if(n&1&&(g(0,"i",57),p(1,"newlines")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.Note),P)}}function ee(n,c){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=l(2).$implicit;e(),C("-",t.Discount,"%")}}function ie(n,c){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=l(2).$implicit;e(),C(" -",t.DiscountAmount," ")}}function oe(n,c){if(n&1&&(i(0,"td",58),d(1,ee,2,1,"div",1)(2,ie,2,1,"div",1),o()),n&2){let t=l().$implicit;e(),r("ngIf",t.Discount!=0),e(),r("ngIf",t.DiscountAmount!=0)}}function ae(n,c){if(n&1&&(i(0,"tr")(1,"td",16),a(2),o(),i(3,"td"),a(4),i(5,"div"),d(6,ne,2,3,"i",55),o()(),i(7,"td"),a(8),o(),i(9,"td",16),a(10),p(11,"number"),o(),i(12,"td"),a(13),o(),i(14,"td",16),a(15),p(16,"number"),o(),d(17,oe,3,2,"td",56),i(18,"td",16),a(19),p(20,"TrailingZero"),o()()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(2),C("",_+1,"."),e(2),C(" ",t.Name," "),e(2),r("ngIf",t.Note!=null),e(2),m(t.Code),e(2),m(M(11,9,t.Quantity)),e(3),m(t.UOMName),e(2),m(M(16,11,t.UnitPrice)),e(2),r("ngIf",s.isDiscount),e(2),C(" ",O(20,13,t.Total,s.Model.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ce(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l(3);e(),C("Qty : ",M(2,1,t.totalQty),";")}}function re(n,c){if(n&1&&(i(0,"tr")(1,"th"),d(2,ce,3,3,"span",1),a(3),o(),i(4,"td"),a(5,":"),o(),i(6,"td",59),a(7),o(),i(8,"td",27),a(9),p(10,"TrailingZero"),o()()),n&2){let t=c.$implicit,_=l(2);e(2),r("ngIf",_.count>1),e(),C("",t.Label," "),e(4),m(t.CurrencySymbol),e(2),C(" ",O(10,4,t.Amount,_.Model.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function le(n,c){if(n&1&&(i(0,"td",61),a(1),o()),n&2){let t=l(3);e(),C(" ",t.Model.Data.TotalInWords," ")}}function de(n,c){if(n&1&&(i(0,"tr"),g(1,"th",15),i(2,"td"),a(3,":"),o(),d(4,le,2,1,"td",60),o()),n&2){let t=l(2);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigGeneral!=null&&t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",P),e(3),r("ngIf",t.Model.Data.TotalInWords)}}function ge(n,c){if(n&1&&(i(0,"span")(1,"span",62),a(2),p(3,"date"),o(),a(4),p(5,"number"),g(6,"br"),o()),n&2){let t=c.$implicit,_=l(3);e(),r("hidden",_.Model.Data.Payments),e(),m(O(3,5,t.Date,"dd MMM yy")),e(2),Ot(" ",t.MethodName," ",t.Note?t.Note:""," ",M(5,8,t.Amount)," ")}}function pe(n,c){if(n&1&&(i(0,"tr"),g(1,"th",15),i(2,"td"),a(3,":"),o(),i(4,"td"),d(5,ge,7,10,"span",30),o()()),n&2){let t=l(2);e(),r("innerHTML",t.Model.Data.Invoice.PaymentStateID==2?"Down Payment":"Payment",P),e(4),r("ngForOf",t.Model.Data.Payments)}}function _e(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Delivery"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",63)(7,"li"),a(8),o()()()()),n&2){let t=l(2);e(8),C(" ",t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function Ce(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",63),g(7,"li",15),p(8,"newlines"),o()()()),n&2){let t=l(2);e(7),r("innerHTML",M(8,1,t.Model.Data.Invoice==null?null:t.Model.Data.Invoice.Note),P)}}function me(n,c){if(n&1&&(i(0,"div",64)(1,"h5"),a(2),o(),i(3,"div",37),a(4,"\xA0"),o()()),n&2){let t=l(2);e(2),C(" ",t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function Pe(n,c){if(n&1&&(i(0,"div",65)(1,"h5"),a(2),o(),i(3,"div",37),a(4,"\xA0"),o()()),n&2){let t=l(2);e(2),C(" ",t.Model.AppConfigJSON.PrintConfigDelivery==null?null:t.Model.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Me(n,c){if(n&1&&g(0,"div",66),n&2){let t=l(2);r("innerHTML",t.Model.Template.FooterRight,P)}}function se(n,c){if(n&1&&(i(0,"div"),g(1,"link",2)(2,"link",3),d(3,Hn,1,0,"link",4)(4,Nn,1,0,"link",5),i(5,"div",6)(6,"div",7)(7,"div",8)(8,"div",9)(9,"div",10),d(10,Vn,4,2,"div",11),i(11,"div",12)(12,"h2"),a(13),o(),i(14,"small"),a(15),o(),i(16,"div",13)(17,"div",14),g(18,"span",15),p(19,"newlines"),o(),i(20,"div",16),g(21,"span",15),p(22,"newlines"),o()()()(),d(23,jn,20,7,"div",17),o(),i(24,"div",18)(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,Un,2,0,"th",1)(37,$n,2,0,"th",1)(38,Wn,2,0,"th",1)(39,Qn,2,0,"th",1),o()(),i(40,"tbody")(41,"tr")(42,"td"),a(43),p(44,"date"),o(),d(45,Gn,3,4,"td",1)(46,Xn,2,1,"td",1)(47,qn,2,1,"td",1)(48,Zn,2,1,"td",1),o()()()(),d(49,Kn,10,5,"div",19),o()()(),i(50,"section",20)(51,"div",21)(52,"table",22)(53,"thead",23)(54,"tr")(55,"th",24),a(56,"No"),o(),i(57,"th"),a(58,"Name"),o(),i(59,"th",25),a(60,"Code"),o(),i(61,"th",26),a(62,"Qty"),o(),i(63,"th",27),a(64,"UOM"),o(),i(65,"th",28),a(66),o(),d(67,te,2,0,"th",29),i(68,"th",28),a(69),o()()(),i(70,"tbody"),d(71,ae,21,16,"tr",30),o(),i(72,"tr",31)(73,"td",32)(74,"table",33)(75,"tbody"),d(76,re,11,7,"tr",30),o()()()()()()(),i(77,"table",34),d(78,de,5,2,"tr",1)(79,pe,6,2,"tr",1)(80,_e,9,1,"tr",1)(81,Ce,9,3,"tr",1),o(),i(82,"div")(83,"div")(84,"div",35)(85,"div",36)(86,"h5"),a(87),o(),i(88,"div",37),a(89,"\xA0"),o()(),d(90,me,5,1,"div",38)(91,Pe,5,1,"div",39),i(92,"div",40)(93,"h5"),a(94),o(),i(95,"div",37),a(96),o()()()()(),i(97,"div",41),g(98,"div",42),d(99,Me,1,1,"div",43),o()()()),n&2){let t=l();e(3),r("ngIf",t.Model.Template.PrintLX300),e(),r("ngIf",t.Model.Template.PrintLX300),e(),r("ngClass",j(45,An,t.Model.Template.PrintLX300,!t.Model.Template.PrintLX300)),e(5),y(t.Model.Template.Logo?10:-1),e(3),m(t.Model.Template.Title),e(2),m(t.Model.Template.Field),e(3),r("innerHTML",M(19,38,t.Model.Template.Address),P),e(3),r("innerHTML",M(22,40,t.Model.Template.ContactInfo),P),e(2),r("ngIf",t.Model.Data.ContactDisplay),e(4),m(t.Model.Data.Prefixed),e(2),C(" ",t.Model.Data.Invoice==null?null:t.Model.Data.Invoice.Number," "),e(7),r("ngIf",t.Model.Data.ToP),e(),r("ngIf",t.Model.Data.ToP),e(),r("ngIf",t.Model.Data.SaleVisible),e(),r("ngIf",(t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO.ReferenceNumber)!=null),e(4),m(O(44,42,t.Model.Data.Invoice==null?null:t.Model.Data.Invoice.Date,"dd MMM yyyy")),e(2),r("ngIf",t.Model.Data.ToP),e(),r("ngIf",t.Model.Data.ToP),e(),r("ngIf",t.Model.Data.SaleVisible),e(),r("ngIf",t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO.ReferenceNumber),e(),r("ngIf",t.Model.Data.ShippingAddress),e(17),C(" Price(",t.Model.Data.CurrencySymbol,") "),e(),r("ngIf",t.checkDiscount(t.Model.Data.Items)),e(2),C(" Total(",t.Model.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Model.Data.Items),e(5),r("ngForOf",t.Model.Data.Aggregate),e(2),r("ngIf",(t.Model.AppConfigJSON.PrintConfigGeneral==null?null:t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||t.Model.Data.TotalInWords),e(),r("ngIf",(t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&t.Model.Data.Payments.length>0),e(),r("ngIf",(t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO)!=null&&(t.Model.Data.CustomerTransaction==null?null:t.Model.Data.CustomerTransaction.SO.DeliveryStateID)!=3&&(t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.Footer.DeliveryInfoVisible)),e(),r("ngIf",t.Model.Data.Invoice==null?null:t.Model.Data.Invoice.Note),e(6),C(" ",t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy," "),e(3),r("ngIf",(t.Model.AppConfigJSON.PrintConfigDelivery==null?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==1||(t.Model.AppConfigJSON.PrintConfigDelivery==null?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(),r("ngIf",(t.Model.AppConfigJSON.PrintConfigDelivery==null?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(3),C(" ",t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy," "),e(2),C(" ",t.Model.Data.ItemTransfer==null?null:t.Model.Data.ItemTransfer.Courier," "),e(2),r("ngClass",!t.Model.Template.FooterRight&&"single")("innerHTML",t.Model.Template.FooterLeft,P),e(),r("ngIf",t.Model.Template.FooterRight)}}var wt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}Model={Data:"",Template:"",AppConfigJSON:""};isDiscount=!1;BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};count;totalQty;TrailingZero;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/CustomerPOInvoice",c).subscribe(t=>{this.Model.AppConfigJSON=t.AppConfigJSON,this.TrailingZero=t.AppConfigJSON.PrintConfigGeneral.TrailingZero?t.AppConfigJSON.PrintConfigGeneral.TrailingZero:0,this.Model.Data=t.Data,this.Model.Template=t.Template,this.count=0,this.totalQty=0;for(let _ of this.Model.Data.Items)this.totalQty+=_.Quantity,this.count++;c.Printer&&(this.Model.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}checkDiscount(c){if(c!=null){for(let t=0;t<c.length;t++)if(c[t].Discount!=0||c[t].DiscountAmount!=0)return this.isDiscount=!0,!0}return this.isDiscount=!1,!1}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-customer-po"]],decls:1,vars:1,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"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",f`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",f`/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,_){t&1&&d(0,se,100,48,"div",1),t&2&&r("ngIf",_.Model)},dependencies:[V,w,h,T,E,D,et],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}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 at=(s=>(s[s.TRANSFER_ORDER=0]="TRANSFER_ORDER",s[s.OUTBOUND=1]="OUTBOUND",s[s.INBOUND=2]="INBOUND",s[s.INVOICE_DELIVERY=3]="INVOICE_DELIVERY",s))(at||{});var Oe=(n,c)=>({lx300:n,"print-normal":c}),xe=n=>({width:n}),fe=(n,c)=>({"justify-content-between":n,"justify-content-end":c});function ve(n,c){n&1&&g(0,"link",10)}function ue(n,c){n&1&&g(0,"link",11)}function be(n,c){if(n&1&&(N(0),g(1,"POS-print-mode",53),B()),n&2){let t=l(2);e(),r("paperPrints",t.paperPrintMode)}}function he(n,c){if(n&1&&(N(0),g(1,"img",55),B()),n&2){let t=l(3);e(),Q(G(3,xe,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),r("src",t.printTemplate.Logo,k)}}function ye(n,c){if(n&1&&g(0,"img",55),n&2){let t=l(3);r("src",t.printTemplate.Logo,k)}}function Ie(n,c){if(n&1&&(i(0,"div",16),d(1,he,2,5,"ng-container",54)(2,ye,1,1,"ng-template",null,2,U),o()),n&2){let t=F(3),_=l(2);e(),r("ngIf",(_.config==null||_.config.PrintConfigInvoice==null||_.config.PrintConfigInvoice.LogoConfig==null?null:_.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Se(n,c){n&1&&(i(0,"th"),a(1," Due "),o())}function we(n,c){n&1&&(i(0,"th"),a(1," ToP "),o())}function Te(n,c){n&1&&(i(0,"th"),a(1," Sales "),o())}function ke(n,c){n&1&&(N(0),i(1,"th"),a(2,"PO#"),o(),B())}function Ee(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"date"),o()),n&2){let t=l(2);e(),C(" ",O(2,1,t.data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function De(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.data.ToP," ")}}function Ae(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.data.SalesName," ")}}function ze(n,c){if(n&1&&(N(0),i(1,"td"),a(2),o(),B()),n&2){let t=l(2);e(2),m(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function He(n,c){if(n&1&&(i(0,"div",56),g(1,"h3",57),i(2,"div"),a(3),g(4,"div",57)(5,"div",57),o()()),n&2){let t=l(2);Kt("margin-right","15px"),e(),r("innerHtml",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,P),e(2),Z(" ",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,P),e(),r("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.City,P)}}function Ne(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Contact.Email)}}function Be(n,c){if(n&1&&(i(0,"div"),g(1,"span",18),o()),n&2){let t=l(3);e(),r("innerHTML",t.data.Contact.Address,P)}}function Re(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function Le(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.City)}}function Fe(n,c){if(n&1&&(i(0,"div",58),g(1,"span",18),i(2,"strong",59),a(3),o(),i(4,"div",60),d(5,Ne,3,1,"div",13)(6,Be,2,1,"div",13)(7,Re,3,1,"div",13)(8,Le,3,1,"div",13),o()()),n&2){let t=l(2);e(),r("innerHTML",t.data.IsInDelivery?t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle:t.config.PrintConfigInvoice.DocumentLabel.Customer,P),e(2),Z("",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 Ve(n,c){if(n&1&&(i(0,"div",58)(1,"span"),a(2),o()()),n&2){let t=l(2);e(2),C("Courier: ",t.data.ItemTransfer.Courier,"")}}function Je(n,c){n&1&&(i(0,"th",61),a(1," Code "),o())}function je(n,c){if(n&1&&(i(0,"th",35),a(1),o()),n&2){let t=l(2);e(),C(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function Ue(n,c){n&1&&tt(0)}function $e(n,c){if(n&1&&d(0,Ue,1,0,"ng-container",62),n&2){l();let t=F(67);r("ngTemplateOutlet",t)}}function We(n,c){n&1&&tt(0)}function Qe(n,c){if(n&1&&d(0,We,1,0,"ng-container",62),n&2){l();let t=F(67);r("ngTemplateOutlet",t)}}function Ge(n,c){if(n&1&&(i(0,"th",63),a(1),o(),i(2,"th",64),a(3),o()),n&2){let t=l(2);e(),C("Cost (",t.data.currencySymbol,")"),e(2),C(" Total Cost (",t.data.currencySymbol,") ")}}function Xe(n,c){n&1&&tt(0)}function qe(n,c){if(n&1&&d(0,Xe,1,0,"ng-container",62),n&2){l();let t=F(71);r("ngTemplateOutlet",t)}}function Ze(n,c){n&1&&tt(0)}function Ye(n,c){if(n&1&&d(0,Ze,1,0,"ng-container",62),n&2){l();let t=F(71);r("ngTemplateOutlet",t)}}function Ke(n,c){if(n&1&&(i(0,"th",65),a(1),o(),i(2,"th",66),a(3,"%"),o(),i(4,"th",67),a(5),o()),n&2){let t=l(2);e(),C("Price (",t.data.currencySymbol,")"),e(4),C(" Total Price (",t.data.currencySymbol,") ")}}function ti(n,c){n&1&&(i(0,"th"),a(1,"Note"),o())}function ni(n,c){if(n&1&&(i(0,"th",65),a(1),o()),n&2){let t=l(2);e(),C(" Price (",t.data.currencySymbol,") ")}}function ei(n,c){if(n&1&&(i(0,"th",67),a(1),o()),n&2){let t=l(2);e(),C(" Total Price (",t.data.currencySymbol,") ")}}function ii(n,c){if(n&1&&(i(0,"th",65),a(1),o()),n&2){let t=l(2);e(),C(" Cost (",t.data.currencySymbol,") ")}}function oi(n,c){if(n&1&&(i(0,"th",64),a(1),o()),n&2){let t=l(2);e(),C(" Total Cost (",t.data.currencySymbol,") ")}}function ai(n,c){if(n&1&&g(0,"i",72),n&2){let t=l(2).$implicit;r("innerHTML",t.Note,P)}}function ci(n,c){if(n&1&&(i(0,"div"),d(1,ai,1,1,"i",71),o()),n&2){let t=l().$implicit;e(),r("ngIf",t.Note!=null)}}function ri(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l().$implicit;e(),C(" ",t.Code," ")}}function li(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),C(" x ",M(2,1,t.Unit),"")}}function di(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),C(" x ",M(2,1,t.UnitQuantity),"")}}function gi(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l(2).$implicit;e(),C(" ",M(2,1,t.Quantity*t.Unit)," ")}}function pi(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l(2).$implicit;e(),C(" ",M(2,1,t.Quantity*t.UnitQuantity)," ")}}function _i(n,c){if(n&1&&(i(0,"td"),d(1,gi,3,3,"span",13)(2,pi,3,3,"span",13),o()),n&2){let t=l().$implicit;e(),r("ngIf",t.Unit),e(),r("ngIf",t.UnitQuantity)}}function Ci(n,c){n&1&&tt(0)}function mi(n,c){if(n&1&&d(0,Ci,1,0,"ng-container",62),n&2){l();let t=F(22);r("ngTemplateOutlet",t)}}function Pi(n,c){n&1&&tt(0)}function Mi(n,c){if(n&1&&d(0,Pi,1,0,"ng-container",62),n&2){l();let t=F(22);r("ngTemplateOutlet",t)}}function si(n,c){n&1&&tt(0)}function Oi(n,c){if(n&1&&d(0,si,1,0,"ng-container",62),n&2){l();let t=F(24);r("ngTemplateOutlet",t)}}function xi(n,c){n&1&&tt(0)}function fi(n,c){if(n&1&&d(0,xi,1,0,"ng-container",62),n&2){l();let t=F(24);r("ngTemplateOutlet",t)}}function vi(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l(2).$implicit;r("innerHTML",M(1,1,t.UnitCost),P)}}function ui(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l(2).$implicit;r("innerHTML",M(1,1,t.TotalCost),P)}}function bi(n,c){if(n&1&&d(0,vi,2,3,"td",70)(1,ui,2,3,"td",70),n&2){let t=l(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 hi(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l(2).$implicit;r("innerHTML",M(1,1,t.UnitPrice),P)}}function yi(n,c){if(n&1&&g(0,"td",73),n&2){let t=l(2).$implicit;r("innerHTML",t.Discount,P)}}function Ii(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l(2).$implicit;r("innerHTML",M(1,1,t.TotalPrice),P)}}function Si(n,c){if(n&1&&d(0,hi,2,3,"td",70)(1,yi,1,1,"td",70)(2,Ii,2,3,"td",70),n&2){let t=l(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 wi(n,c){if(n&1&&(i(0,"td"),g(1,"span",74),o()),n&2){let t=l().$implicit;e(),r("innerHTML",t.Note?t.Note:t.PONote,P)}}function Ti(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.UnitPrice),P)}}function ki(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.TotalPrice),P)}}function Ei(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.UnitCost),P)}}function Di(n,c){if(n&1&&(g(0,"td",73),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.TotalCost),P)}}function Ai(n,c){if(n&1&&(i(0,"tr")(1,"td",68),a(2),o(),i(3,"td")(4,"div"),a(5),o(),g(6,"app-serial-note",69),d(7,ci,2,1,"div",13),o(),d(8,ri,2,1,"td",13),i(9,"td",46),a(10),p(11,"number"),d(12,li,3,3,"span",13)(13,di,3,3,"span",13),o(),d(14,_i,3,2,"td",13),i(15,"td"),a(16),o(),d(17,mi,1,1,"ng-container")(18,Mi,1,1,"ng-container")(19,Oi,1,1,"ng-container")(20,fi,1,1,"ng-container")(21,bi,2,2,"ng-template",null,3,U)(23,Si,3,3,"ng-template",null,4,U)(25,wi,2,1,"td",13)(26,Ti,2,3,"td",70)(27,ki,2,3,"td",70)(28,Ei,2,3,"td",70)(29,Di,2,3,"td",70),o()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(2),C("",_+1,"."),e(3),C(" ",t.Name," "),e(),r("serials",t.Serial),e(),r("ngIf",s.data.IsTransfer),e(),r("ngIf",s.config==null||s.config.PrintConfigDelivery==null?null:s.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(2),C(" ",M(11,19,t.Quantity)," "),e(2),r("ngIf",t.Unit!=1&&t.Unit!=null&&(s.config.PrintConfigInvoice==null||s.config.PrintConfigInvoice.ItemsTable==null||s.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:s.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",t.UnitQuantity!=1&&t.UnitQuantity!=null&&(s.config.PrintConfigInvoice==null||s.config.PrintConfigInvoice.ItemsTable==null||s.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:s.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),r("ngIf",s.config.ModuleSell.ProductDialog.UnitQtyLabel&&(s.config.PrintConfigInvoice.ItemsTable==null||s.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:s.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(2),m(t.UOMName),e(),y(s.type==s.printingType.INBOUND&&s.roleService.product.Cost?17:-1),e(),y(s.type==s.printingType.TRANSFER_ORDER&&(!(s.config==null||s.config.PrintConfigDelivery==null)&&s.config.PrintConfigDelivery.Visibility.CostVisible)&&s.roleService.product.Cost?18:-1),e(),y(s.type==s.printingType.TRANSFER_ORDER&&(!(s.config==null||s.config.PrintConfigDelivery==null)&&s.config.PrintConfigDelivery.Visibility.PriceVisible)&&s.roleService.product.Price?19:-1),e(),y(s.type==s.printingType.OUTBOUND&&s.roleService.product.Price?20:-1),e(5),r("ngIf",!s.data.IsTransfer),e(),r("ngIf",s.data.isPrice&&s.data.unitPrice!=null),e(),r("ngIf",s.data.isPrice&&s.data.unitPrice!=null),e(),r("ngIf",s.data.isCost&&s.data.unitCost!=null),e(),r("ngIf",s.data.isCost&&s.data.unitCost!=null)}}function zi(n,c){if(n&1&&(i(0,"td",43)(1,"div",75)(2,"span",76),a(3,"Weight: "),o(),i(4,"span",76),a(5),p(6,"number"),o()()()),n&2){let t=l(2);e(5),C("",M(6,1,t.totalWeight())," gr")}}function Hi(n,c){if(n&1&&g(0,"td",44),n&2){let t=l(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function Ni(n,c){n&1&&g(0,"td")}function Bi(n,c){n&1&&g(0,"td")}function Ri(n,c){if(n&1&&(i(0,"td",45)(1,"b"),a(2),p(3,"number"),o()()),n&2){let t=l(2);r("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),m(M(3,2,t.TotalCost))}}function Li(n,c){n&1&&g(0,"td")}function Fi(n,c){n&1&&g(0,"td")}function Vi(n,c){if(n&1&&(i(0,"td",77)(1,"b"),a(2),p(3,"number"),o()()),n&2){let t=l(2);e(2),m(M(3,1,t.TotalPrice))}}function Ji(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l(4);e(),m(t.data.Items.length>1?"Qty: "+M(2,1,t.TotalQty):"")}}function ji(n,c){if(n&1&&(i(0,"tr")(1,"th",79),d(2,Ji,3,3,"span",13),a(3),o(),i(4,"th"),a(5,":"),o(),i(6,"th",80),a(7),o(),i(8,"th",35),a(9),p(10,"TrailingZero"),o()()),n&2){let t=c.$implicit,_=l(3);e(2),r("ngIf",_.config.PrintConfigInvoice.ItemsFooter.TotalQuantityVisible),e(),C(" ",t.Label," "),e(4),m(t.CurrencySymbol),e(2),C(" ",O(10,4,t.Amount,_.data.TrailingZero)," ")}}function Ui(n,c){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",35),a(8),p(9,"TrailingZero"),o()()),n&2){let t=c.$implicit,_=l(3);e(2),m(t.Label),e(4),m(t.CurrencySymbol),e(2),C(" ",O(9,3,t.Amount,_.data.TrailingZero)," ")}}function $i(n,c){if(n&1&&(i(0,"div",50)(1,"table",78)(2,"tbody"),d(3,ji,11,7,"tr",41)(4,Ui,10,6,"tr",41),o()()()),n&2){let t=l(2);e(3),r("ngForOf",t.data.AmountSummary),e(),r("ngForOf",t.data.PaidAmountSummary)}}function Wi(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),g(7,"li",18),o()()()),n&2){let t=l(3);e(7),r("innerHTML",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note),P)}}function Qi(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Status"),o(),i(3,"td"),a(4,":"),o(),i(5,"td")(6,"ul",82),g(7,"li",18),o()()()),n&2){let t=l(3);e(7),r("innerHTML",t.data==null?null:t.data.Status,P)}}function Gi(n,c){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),p(9,"date"),o()()()()),n&2){let t=l(3);e(2),C(" ",t.config.ModuleSell.Shipping.DateLabel," "),e(6),C(" ",O(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function Xi(n,c){if(n&1&&(i(0,"table",81),d(1,Wi,8,1,"tr",13)(2,Qi,8,1,"tr")(3,Gi,10,5,"tr",13),o()),n&2){let t=l(2);e(),r("ngIf",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note)),e(),y(!(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)}}function qi(n,c){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=l(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,P)}}function Zi(n,c){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=l(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,P)}}function Yi(n,c){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=l(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,P)}}function Ki(n,c){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=l(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,P)}}function to(n,c){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=l(3);e(),r("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,P)}}function no(n,c){if(n&1&&(i(0,"div",92),g(1,"div",93),o()),n&2){let t=l(3);e(),r("innerHTML",t.printTemplate.DeliveryNote,P)}}function eo(n,c){if(n&1&&g(0,"small",94),n&2){let t=l(3);r("innerHTML",t.data.Creator,P)}}function io(n,c){if(n&1&&(i(0,"div",83)(1,"div",84),d(2,qi,5,1,"div",85)(3,Zi,5,1,"div",85)(4,Yi,5,1,"div",85)(5,Ki,5,1,"div",85)(6,to,5,1,"div",85),o(),d(7,no,2,1,"div",86),i(8,"div",87),d(9,eo,1,1,"small",88),o()()),n&2){let t=l(2);e(),r("ngClass",j(8,fe,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 oo(n,c){if(n&1&&(i(0,"div",12),d(1,be,2,1,"ng-container",13),i(2,"div")(3,"div",14)(4,"div",15),d(5,Ie,4,2,"div",16),i(6,"div",17),g(7,"h2",18)(8,"small",18),i(9,"div")(10,"div"),g(11,"div",18),p(12,"newlines"),o(),i(13,"div"),g(14,"div",18),p(15,"newlines"),g(16,"br"),o()()()()(),i(17,"div",19)(18,"div",20)(19,"div",21)(20,"div",22)(21,"strong"),a(22),p(23,"uppercase"),o(),g(24,"span",18),o()(),i(25,"div",23)(26,"table",24)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),o(),d(31,Se,2,0,"th",13)(32,we,2,0,"th",13)(33,Te,2,0,"th",13)(34,ke,3,0,"ng-container",13),o()(),i(35,"tbody")(36,"tr")(37,"td"),a(38),p(39,"date"),o(),d(40,Ee,3,4,"td",13)(41,De,2,1,"td",13)(42,Ae,2,1,"td",13)(43,ze,3,1,"ng-container",13),o()()()()(),i(44,"div",25),d(45,He,6,7,"div",26),o()()(),i(46,"div",27),d(47,Fe,9,7,"div",28)(48,Ve,3,1,"div",28),o(),i(49,"div",29)(50,"div",30)(51,"table",31)(52,"thead")(53,"tr",32)(54,"th",33),a(55,"No"),o(),i(56,"th"),a(57,"Name"),o(),d(58,Je,2,0,"th",34),i(59,"th",35),a(60,"Qty"),o(),d(61,je,2,1,"th",36),i(62,"th",37),a(63,"UOM"),o(),d(64,$e,1,1,"ng-container")(65,Qe,1,1,"ng-container")(66,Ge,4,2,"ng-template",null,0,U)(68,qe,1,1,"ng-container")(69,Ye,1,1,"ng-container")(70,Ke,6,2,"ng-template",null,1,U)(72,ti,2,0,"th",13)(73,ni,2,1,"th",38)(74,ei,2,1,"th",39)(75,ii,2,1,"th",38)(76,oi,2,1,"th",40),o()(),i(77,"tbody"),d(78,Ai,30,21,"tr",41),o(),i(79,"tfoot")(80,"tr",42),d(81,zi,7,3,"td",43)(82,Hi,1,1,"td",44),i(83,"td",45)(84,"b"),a(85,"Total"),o()(),i(86,"td",46)(87,"b"),a(88),p(89,"number"),o()(),d(90,Ni,1,0,"td",13)(91,Bi,1,0,"td",13)(92,Ri,4,4,"td",47)(93,Li,1,0,"td",13)(94,Fi,1,0,"td",13)(95,Vi,4,3,"td",48),o()()()(),d(96,$i,5,2,"div",49),i(97,"div",50),d(98,Xi,4,3,"table",51),o(),d(99,io,10,11,"div",52),o()()),n&2){let t=l();r("ngClass",j(61,Oe,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),e(),r("ngIf",t.hasInvoiceOption),e(),lt("",t.printTemplate.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(3),y(t.printTemplate.Logo?5:-1),e(2),r("innerHTML",t.printTemplate.Title,P),e(),r("innerHTML",t.printTemplate.Field,P),e(3),r("innerHTML",M(12,50,t.printTemplate.Address),P),e(3),r("innerHTML",M(15,52,t.printTemplate.ContactInfo),P),e(8),C(" ",M(23,54,t.data.Prefixed)," "),e(2),r("innerHTML",t.data.ItemTransfer.Number,P),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),m(O(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(),Kt("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),y(t.type==t.printingType.INBOUND&&t.roleService.product.Cost&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)?64:-1),e(),y(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),y(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(),y(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),y(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),m(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 K=class n{constructor(c,t,_){this.activeRoute=c;this.decimalPipe=t;this.roleService=_}data;printTemplate;config;hasInvoiceOption=!1;paperPrintMode=[];type=0;printingType=at;TotalPack;TotalCost;TotalPrice;TotalQty;GuidEmpty=I.GuidEmpty;totalWeight=nt(0);signatureCount=nt(0);ngOnChanges(c){this.TotalPack=0,this.TotalCost=0,this.TotalPrice=0,this.TotalQty=0;let t=0;if(c.data.currentValue){for(let _ of this.data.Items)this.TotalPack+=_.Pack,this.TotalCost+=_.TotalCost,this.TotalPrice+=_.TotalPrice,this.TotalQty+=_.Quantity,t+=_.TotalWeight;this.totalWeight.set(t),this.checkSignatureCount()}}checkSignatureCount(){let c=[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=>I.IsNotEmpty(t));this.signatureCount.set(c.length)}static \u0275fac=function(t){return new(t||n)(x(u),x(T),x(dt))};static \u0275cmp=v({type:n,selectors:[["pos-customer-delivery"]],inputs:{data:"data",printTemplate:"printTemplate",config:"config",hasInvoiceOption:"hasInvoiceOption",paperPrintMode:"paperPrintMode",type:"type"},features:[rn],decls:5,vars:3,consts:[["CostHeader",""],["PriceHeader",""],["DEFAULTWIDTH",""],["CostBody",""],["PriceBody",""],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.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"],["class","print_container outdelivery_print_container",3,"ngClass",4,"ngIf"],["href",f`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",f`/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"],["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,_){t&1&&(g(0,"link",5)(1,"link",6),d(2,ve,1,0,"link",7)(3,ue,1,0,"link",8)(4,oo,100,64,"div",9)),t&2&&(e(2),r("ngIf",_.data&&(_.printTemplate==null?null:_.printTemplate.PrintLX300)),e(),r("ngIf",_.data&&(_.printTemplate==null?null:_.printTemplate.PrintLX300)),e(),r("ngIf",_.data))},dependencies:()=>[V,w,h,Cn,q,$,Pn,T,E,D,et],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!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}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}']})},Tt=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=rt({type:n});static \u0275inj=ct({imports:[xt,bt,vn,ht,$]})};var Et=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;printTemplate;config;printType=at;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/OutDelivery",c).subscribe(t=>{this.config=t.AppConfigJSON,this.data=t.Data,this.printTemplate=t.Template,c.Printer&&(this.printTemplate.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-out-delivery"]],decls:1,vars:4,consts:[[3,"data","printTemplate","config","type"]],template:function(t,_){t&1&&g(0,"pos-customer-delivery",0),t&2&&r("data",_.data)("printTemplate",_.printTemplate)("config",_.config)("type",_.printType.OUTBOUND)},dependencies:[K]})};var ao=(n,c)=>({lx300:n,"print-normal":c});function co(n,c){n&1&&g(0,"link",6)}function ro(n,c){n&1&&g(0,"link",7)}function lo(n,c){n&1&&g(0,"link",8)}function go(n,c){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=l(3);e(),m(t.data.Customer.ContactDisplay)}}function po(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Customer.Email)}}function _o(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Customer.Mobile)}}function Co(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Customer.Phone)}}function mo(n,c){if(n&1&&(i(0,"div"),g(1,"span",22),o()),n&2){let t=l(3);e(),r("innerHTML",t.data.Customer.Address,P)}}function Po(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Customer.CityName)}}function Mo(n,c){if(n&1&&(i(0,"div",23)(1,"div",24)(2,"h4"),g(3,"span",22),o(),d(4,go,2,1,"strong",16)(5,po,3,1,"div",16)(6,_o,3,1,"div",16)(7,Co,3,1,"div",16)(8,mo,2,1,"div",16)(9,Po,3,1,"div",16),o()()),n&2){let t=l(2);e(3),r("innerHTML",t.config.PrintConfigInvoice.DocumentLabel.Customer,P),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function so(n,c){if(n&1&&(i(0,"strong"),a(1),o()),n&2){let t=l(3);e(),m(t.data.Shipping.Recipient)}}function Oo(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Shipping.Street)}}function xo(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Shipping.Phone)}}function fo(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Shipping.City)}}function vo(n,c){if(n&1&&(i(0,"div"),g(1,"span",22),o()),n&2){let t=l(3);e(),r("innerHTML",t.data.Shipping.Description,P)}}function uo(n,c){if(n&1&&(i(0,"div",11)(1,"div",25)(2,"div",13),g(3,"span",22),o(),d(4,so,2,1,"strong",16)(5,Oo,3,1,"div",16)(6,xo,3,1,"div",16)(7,fo,3,1,"div",16)(8,vo,2,1,"div",16),o()()),n&2){let t=l(2);e(3),r("innerHTML",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,P),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(),r("ngIf",t.data.Shipping.Street),e(),r("ngIf",t.data.Shipping.Mobile),e(),r("ngIf",t.data.Shipping.City),e(),r("ngIf",t.data.Shipping.Description)}}function bo(n,c){if(n&1&&(N(0),i(1,"div",26)(2,"div",27)(3,"div",28)(4,"span",13),a(5),o()()()(),B()),n&2){let t=l(2);e(5),m(t.data.TypeName)}}function ho(n,c){n&1&&(i(0,"th"),a(1,"Code"),o())}function yo(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l().$implicit;e(),m(t.Code)}}function Io(n,c){if(n&1&&(i(0,"tr"),g(1,"td",35),o()),n&2){let t=l().$implicit,_=l(3);e(),r("colSpan",_.config.PrintConfigPackingSlip.ProductCodeVisible?4:3)("innerHTML",t.Note,P)}}function So(n,c){if(n&1&&(i(0,"tbody")(1,"tr")(2,"td",34),a(3),o(),i(4,"td"),a(5),o(),d(6,yo,2,1,"td",16),i(7,"td",34),a(8),p(9,"number"),o()(),d(10,Io,2,2,"tr",16),o()),n&2){let t=c.$implicit,_=c.index,s=l(3);e(3),m(_+1),e(2),C(" ",t.Name," "),e(),r("ngIf",s.config.PrintConfigPackingSlip.ProductCodeVisible),e(2),m(M(9,5,t.Quantity)),e(2),r("ngIf",s.config.PrintConfigInvoice.ItemsTable.NoteItemVisible&&t.Note)}}function wo(n,c){if(n&1&&(i(0,"div",18)(1,"div",12)(2,"table",29)(3,"thead",30)(4,"tr")(5,"th",31),a(6,"No"),o(),i(7,"th",32),a(8,"Name"),o(),d(9,ho,2,0,"th",16),i(10,"th",31),a(11,"Qty"),o()()(),d(12,So,11,7,"tbody",33),o()()()),n&2){let t=l(2);e(9),r("ngIf",t.config.PrintConfigPackingSlip.ProductCodeVisible),e(3),r("ngForOf",t.data.List)}}function To(n,c){if(n&1&&(i(0,"div",18)(1,"div",12),g(2,"div",36),o()()),n&2){let t=l(2);e(2),r("innerHTML",t.data.Invoice.Note,P)}}function ko(n,c){if(n&1&&(i(0,"div",9)(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"span"),a(6),o()()()(),d(7,Mo,10,7,"div",14)(8,uo,9,6,"div",15)(9,bo,6,1,"ng-container",16)(10,wo,13,2,"div",17)(11,To,3,1,"div",17),i(12,"div",18)(13,"div",12)(14,"div",19)(15,"div",20)(16,"div",21),g(17,"span",22),o()()()()()()()),n&2){let t=l();e(),r("ngClass",j(9,ao,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),e(5),Z("",t.config.PrintConfigOthers.Header.PackingReceiptTitle," : ",t.data.Delivery.Number,""),e(),r("ngIf",!(t.data.Shipping!=null&&t.data.Shipping.Recipient)),e(),r("ngIf",t.data.Shipping),e(),r("ngIf",t.data.TypeName),e(),r("ngIf",t.config.PrintConfigPackingSlip.ProductTableVisible),e(),r("ngIf",t.config.PrintConfigPackingSlip.RenderInvoiceNote&&t.data.Invoice.Note!=null),e(6),r("innerHTML",t.printTemplate.DeliveryNote,P)}}var Dt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;printTemplate;config;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/PrintPackingSlip",c).subscribe(t=>{this.config=t.AppConfigJSON,this.data=t.Data,this.printTemplate=t.Template,c.Printer&&(this.printTemplate.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-packing-slip"]],decls:6,vars:4,consts:[["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","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"type","text/css"],["class","print_container_delivery",4,"ngIf"],["href",f`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",f`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",f`/Styles/Print/LX300.css`,"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"],[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"],[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,_){t&1&&(d(0,co,1,0,"link",0)(1,ro,1,0,"link",1)(2,lo,1,0,"link",2),g(3,"link",3)(4,"link",4),d(5,ko,18,12,"div",5)),t&2&&(r("ngIf",_.data&&(_.printTemplate==null?null:_.printTemplate.PrintLX300)),e(),r("ngIf",_.data&&(_.printTemplate==null?null:_.printTemplate.PrintLX300)),e(),r("ngIf",_.data&&(_.printTemplate==null?null:_.printTemplate.PrintLX300)),e(3),r("ngIf",_.data))},dependencies:[V,w,h,T],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 Eo(n,c){if(n&1&&(i(0,"div"),g(1,"pos-receipt-a4",1),o()),n&2){let t=l();e(),r("data",t.model.Data)("workOrderMode",!0)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!0)}}var At=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};model;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/WorkOrder",c).subscribe(t=>{this.model=t,c.Printer&&(this.model.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-work-order"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","workOrderMode","printTemplate","config","barcodeOptions","invoiceOption"]],template:function(t,_){t&1&&d(0,Eo,2,7,"div",0),t&2&&r("ngIf",_.model)},dependencies:[h,gt]})};function Do(n,c){if(n&1&&(i(0,"div"),g(1,"pos-receipt-a4",1),i(2,"div",2),g(3,"pos-customer-delivery",3),o()()),n&2){let t=l();e(),r("data",t.data.Invoice)("printTemplate",t.data.Template)("config",t.data.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!1),e(2),r("data",t.data.Delivery)("printTemplate",t.data.Template)("config",t.data.AppConfigJSON)}}var zt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/InvoiceAndDelivery",c).subscribe(t=>{this.data=t,this.data.Delivery.PO=t.Invoice.Order,c.Printer&&(this.data.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-delivery"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","printTemplate","config","barcodeOptions","invoiceOption","workOrderMode"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config"]],template:function(t,_){t&1&&d(0,Do,4,9,"div",0),t&2&&r("ngIf",_.data)},dependencies:[h,gt,K]})};var Ht=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;printTemplate;config;paperPrintMode;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activeRoute.queryParams.subscribe(c=>{this.httpService.post("/API/Print/Transfer",c).subscribe(t=>{this.config=t.AppConfigJSON,this.data=t.Data,this.printTemplate=t.Template,c.Printer&&(this.printTemplate.PrintLX300=c.Printer=="EpsonLX300"),this.printInvoice(c),this.initPrintOption(c)})})}initPrintOption(c){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:c},{label:"8cm",link:"/print/TransferMini",param:c}]}printInvoice(c){c.Print==1&&window.setTimeout(function(){window.print()},500)}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-transfer"]],decls:1,vars:5,consts:[[3,"hasInvoiceOption","paperPrintMode","data","printTemplate","config"]],template:function(t,_){t&1&&g(0,"pos-customer-delivery",0),t&2&&r("hasInvoiceOption",!0)("paperPrintMode",_.paperPrintMode)("data",_.data)("printTemplate",_.printTemplate)("config",_.config)},dependencies:[K]})};var Nt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;printTemplate;config;printType=at;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/InDelivery",c).subscribe(t=>{this.config=t.AppConfig,this.data=t.Data,this.printTemplate=t.Template,c.Printer&&(this.printTemplate.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-indelivery"]],decls:1,vars:4,consts:[[3,"data","printTemplate","config","type"]],template:function(t,_){t&1&&g(0,"pos-customer-delivery",0),t&2&&r("data",_.data)("printTemplate",_.printTemplate)("config",_.config)("type",_.printType.INBOUND)},dependencies:[K]})};var Ho=["class","component"],No=n=>({width:n});function Bo(n,c){if(n&1&&g(0,"img",39),n&2){let t=l(5);Q(G(3,No,(t.Model==null||t.Model.AppConfigJSON.PrintConfigInvoice==null||t.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.Model.Template.Logo,k)}}function Ro(n,c){if(n&1&&(N(0),d(1,Bo,1,5,"img",38),B()),n&2){let t=l(4);e(),r("ngIf",t.Model.Template.Logo)}}function Lo(n,c){if(n&1&&g(0,"img",39),n&2){let t=l(5);r("src",t.Model.Template.Logo,k)}}function Fo(n,c){if(n&1&&d(0,Lo,1,1,"img",40),n&2){let t=l(4);r("ngIf",t.Model.Template.Logo)}}function Vo(n,c){if(n&1&&(i(0,"div",31),d(1,Ro,2,1,"ng-container",37)(2,Fo,1,1,"ng-template",null,0,U),o()),n&2){let t=F(3),_=l(3);e(),r("ngIf",(_.Model==null||_.Model.AppConfigJSON.PrintConfigInvoice==null||_.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:_.Model.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Jo(n,c){if(n&1&&(i(0,"div",30),d(1,Vo,4,2,"div",31),i(2,"div",32),g(3,"h2",33)(4,"small",33),i(5,"div",34),g(6,"div",35),p(7,"newlines"),g(8,"div",36),p(9,"newlines"),o()()()),n&2){let t=l(2);e(),y(t.Model.Template.Logo?1:-1),e(2),r("innerHTML",t.Model.Template.Title,P),e(),r("innerHTML",t.Model.Template.Field,P),e(2),r("innerHTML",M(7,5,t.Model.Template.Address),P),e(2),r("innerHTML",M(9,7,t.Model.Template.ContactInfo),P)}}function jo(n,c){if(n&1&&g(0,"strong",33),n&2){let t=l(3);r("innerHTML",t.Model.Data.ContactDisplay,P)}}function Uo(n,c){if(n&1&&g(0,"div",33),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.Email,P)}}function $o(n,c){if(n&1&&g(0,"div",33),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.Phone,P)}}function Wo(n,c){if(n&1&&(g(0,"div",33),p(1,"newlines")),n&2){let t=l(3);r("innerHTML",M(1,1,t.Model.Data.Contact==null?null:t.Model.Data.Contact.Address),P)}}function Qo(n,c){if(n&1&&g(0,"div",33),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.City,P)}}function Go(n,c){if(n&1&&(i(0,"div",41),g(1,"h3",33),i(2,"div",42),d(3,jo,1,1,"strong",43),i(4,"div",44),d(5,Uo,1,1,"div",43)(6,$o,1,1,"div",43)(7,Wo,2,3,"div",43)(8,Qo,1,1,"div",43),o()()()),n&2){let t=l(2);e(),r("innerHTML",t.Model==null||t.Model.AppConfigJSON==null||t.Model.AppConfigJSON.PrintConfigPurchase==null||t.Model.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.Model.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,P),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Xo(n,c){n&1&&(i(0,"th"),a(1,"Due"),o())}function qo(n,c){n&1&&(i(0,"th"),a(1,"ToP"),o())}function Zo(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"date"),o()),n&2){let t=l(2);e(),C(" ",O(2,1,t.Model.Data.Due,"dd MMM yyyy")," ")}}function Yo(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.Model.Data.ToP," Days ")}}function Ko(n,c){n&1&&(i(0,"th"),a(1," Category "),o())}function ta(n,c){n&1&&(i(0,"th",17),a(1,"UOM"),o())}function na(n,c){n&1&&(i(0,"span"),a(1,"Rp"),o())}function ea(n,c){if(n&1&&(i(0,"th",45),a(1," Price ("),d(2,na,2,0,"span",11),a(3,") "),o()),n&2){let t=l(2);e(2),r("ngIf",t.Model.Data.CurrencySymbol)}}function ia(n,c){n&1&&(i(0,"th",19),a(1,"Disc"),o())}function oa(n,c){n&1&&(i(0,"span"),a(1,"Rp"),o())}function aa(n,c){if(n&1&&(i(0,"th",46),a(1," Total ("),d(2,oa,2,0,"span",11),a(3,") "),o()),n&2){let t=l(2);e(2),r("ngIf",t.Model.Data.CurrencySymbol)}}function ca(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l().$implicit;e(),C(" ",t.Category," ")}}function ra(n,c){if(n&1&&g(0,"i",54),n&2){let t=l().$implicit;r("innerHTML",t.Note,P)}}function la(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"quantityFraction"),o()),n&2){let t=l().$implicit;e(),C("x ",M(2,1,t.UnitQuantity),"")}}function da(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l().$implicit;e(),m(t.UOMName?t.UOMName:"-")}}function ga(n,c){if(n&1&&(g(0,"td",36),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.UnitPrice),P)}}function pa(n,c){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=l(2).$implicit;e(),C("-",t.Discount,"%")}}function _a(n,c){if(n&1&&(i(0,"div"),a(1),p(2,"number"),o()),n&2){let t=l(2).$implicit;e(),C("-",M(2,1,t.DiscountAmount),"")}}function Ca(n,c){if(n&1&&(i(0,"td",52),d(1,pa,2,1,"div")(2,_a,3,3,"div"),o()),n&2){let t=l().$implicit;e(),y(t.Discount?1:-1),e(),y(t.DiscountAmount?2:-1)}}function ma(n,c){if(n&1&&(i(0,"td",55),a(1),p(2,"amountFraction"),o()),n&2){let t=l().$implicit;e(),C(" ",M(2,1,t.Total)," ")}}function Pa(n,c){if(n&1&&(i(0,"tr"),g(1,"td",36),d(2,ca,2,1,"td",11),i(3,"td")(4,"span",47),a(5),o(),g(6,"app-serial-note",48),d(7,ra,1,1,"i",49),o(),g(8,"td",33),i(9,"td",50),a(10),p(11,"quantityFraction"),d(12,la,3,3,"span",11),o(),d(13,da,2,1,"td")(14,ga,2,3,"td",51)(15,Ca,3,2,"td",52)(16,ma,3,3,"td",53),o()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(),r("innerHTML",_+1+".",P),e(),r("ngIf",s.Model.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(3),m(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note!=null),e(),r("innerHTML",t.Code,P),e(2),C(" ",M(11,12,t.Quantity)," "),e(2),r("ngIf",t.UnitQuantity!=1),e(),y(s.isUomVisible()?13:-1),e(),r("ngIf",s.Model.Data.PriceVisible),e(),y(s.Model.PriceVisible&&s.isDiscVisible()?15:-1),e(),r("ngIf",s.Model.Data.PriceVisible)}}function Ma(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td",58),a(4,":"),o(),i(5,"td",59),a(6),o(),i(7,"td",17),a(8),p(9,"amountFraction"),o()()),n&2){let t=c.$implicit;e(2),m(t.Label),e(4),m(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount)," ")}}function sa(n,c){if(n&1&&(i(0,"td",56)(1,"table",57)(2,"tbody"),d(3,Ma,10,5,"tr",21),o()()()),n&2){let t=l(2);e(3),r("ngForOf",t.Model.Data.Aggregate)}}function Oa(n,c){if(n&1&&(i(0,"td",62),a(1),p(2,"newlines"),o()),n&2){let t=l(3);e(),C(" ",M(2,1,t.Model.Data.TotalInWord)," ")}}function xa(n,c){if(n&1&&(i(0,"tr")(1,"th",60),a(2),o(),i(3,"td",58),a(4,":"),o(),d(5,Oa,3,3,"td",61),o()),n&2){let t=l(2);e(2),C(" ",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t.Model.Data.TotalInWord)}}function fa(n,c){if(n&1&&(i(0,"tr")(1,"th",60)(2,"span"),a(3),o()(),i(4,"td",58),a(5,":"),o(),i(6,"td")(7,"ul",63),g(8,"li",33),p(9,"newlines"),o()()()),n&2){let t=l(2);e(3),m(t.Model.Data.Invoice.Data.PaymentStateID==2?"Down Payment":"Payment"),e(5),r("innerHTML",M(9,2,t.Model.Data.PaymentLabel),P)}}function va(n,c){if(n&1&&(i(0,"tr")(1,"th",60),a(2,"Remaining"),o(),i(3,"td",58),a(4,":"),o(),i(5,"td")(6,"ul",63)(7,"li"),a(8),p(9,"number"),o()()()()),n&2){let t=l(2);e(8),C(" ",M(9,1,t.Model.Data.Remaining)," ")}}function ua(n,c){if(n&1&&(i(0,"tr")(1,"th",60),a(2,"Attention"),o(),i(3,"td",58),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=l(2);e(6),m(t.Model.Data.Att)}}function ba(n,c){if(n&1&&(i(0,"tr")(1,"th",60),a(2,"Note"),o(),i(3,"td",58),a(4,":"),o(),g(5,"td",33),p(6,"newlines"),o()),n&2){let t=l(2);e(5),r("innerHTML",M(6,1,t.Model.Data.Note),P)}}function ha(n,c){if(n&1&&(i(0,"div",66)(1,"h5",67),a(2," \xA0 "),o(),i(3,"div",68),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column1,P)}}function ya(n,c){if(n&1&&(i(0,"div",66)(1,"h5",67),a(2," \xA0 "),o(),i(3,"div",68),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column2,P)}}function Ia(n,c){if(n&1&&(i(0,"div",66)(1,"h5",67),a(2," \xA0 "),o(),i(3,"div",68),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column3,P)}}function Sa(n,c){if(n&1&&(i(0,"div",66)(1,"h5",67),a(2," \xA0 "),o(),i(3,"div",68),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column4,P)}}function wa(n,c){if(n&1&&(i(0,"div")(1,"div",64),d(2,ha,5,1,"div",65)(3,ya,5,1,"div",65)(4,Ia,5,1,"div",65)(5,Sa,5,1,"div",65),o()()),n&2){let t=l(2);e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column1),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column2),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column3),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column4)}}function Ta(n,c){if(n&1&&(g(0,"div",69),p(1,"SafeHtml")),n&2){let t=l(2);r("innerHTML",t.Model.Template.FooterNote?M(1,1,t.Model.Template.FooterNote):"",P)}}function ka(n,c){if(n&1&&g(0,"small",70),n&2){let t=l(2);r("innerHTML",t.Model.Data.Creator,P)}}function Ea(n,c){if(n&1&&(i(0,"div",4),g(1,"POS-print-mode",5),i(2,"div",6)(3,"div")(4,"div",7),d(5,Jo,10,9,"div",8)(6,Go,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,Xo,2,0,"th",11)(20,qo,2,0,"th",11),o()(),i(21,"tbody")(22,"tr")(23,"td"),a(24),p(25,"date"),o(),d(26,Zo,3,4,"td",11)(27,Yo,2,1,"td",11),o()()()()()(),i(28,"div",12)(29,"table",13)(30,"thead")(31,"tr")(32,"th",14),a(33,"No"),o(),d(34,Ko,2,0,"th",11),i(35,"th"),a(36,"Name"),o(),i(37,"th",15),a(38,"Code"),o(),i(39,"th",16),a(40,"Qty"),o(),d(41,ta,2,0,"th",17)(42,ea,4,1,"th",18)(43,ia,2,0,"th",19)(44,aa,4,1,"th",20),o()(),i(45,"tbody"),d(46,Pa,17,14,"tr",21),o(),i(47,"tfoot")(48,"tr",22),g(49,"td",23),i(50,"td",24)(51,"b"),a(52,"Total"),o()(),i(53,"td",25)(54,"b"),a(55),p(56,"sum"),p(57,"quantityFraction"),o()(),d(58,sa,4,1,"td",26),o()()()(),i(59,"div")(60,"table",27),d(61,xa,6,2,"tr",11)(62,fa,10,4,"tr",11)(63,va,10,3,"tr",11)(64,ua,7,1,"tr",11)(65,ba,7,3,"tr",11),o(),i(66,"div"),d(67,wa,6,4,"div",11),o()(),d(68,Ta,2,3,"div",28)(69,ka,1,1,"small",29),o()()),n&2){let t=l();e(),r("paperPrints",t.paperPrintMode),e(2),lt("",t.Model.Template.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden"),e(2),r("ngIf",t.Model==null||t.Model.AppConfigJSON==null||t.Model.AppConfigJSON.PrintConfigInvoice==null?null:t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.Model.Data.Contact||t.Model.Data.ContactDisplay),e(4),m(t.Model.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),C(" ",t.Model.Data.Invoice.Data.Number," "),e(7),r("ngIf",t.Model.Data.ToP!=null),e(),r("ngIf",t.Model.Data.ToP!=null),e(4),C(" ",O(25,29,t.Model.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",t.Model.Data.ToP!=null),e(),r("ngIf",t.Model.Data.ToP!=null),e(7),r("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),e(7),y(t.isUomVisible()?41:-1),e(),r("ngIf",t.Model.Data.PriceVisible),e(),y(t.Model.PriceVisible&&t.isDiscVisible()?43:-1),e(),r("ngIf",t.Model.Data.PriceVisible),e(2),r("ngForOf",t.Model.Data.Items),e(9),m(M(57,35,O(56,32,t.Model.Data.Items,"Quantity"))),e(3),r("ngIf",t.Model.Data.PriceVisible),e(3),r("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible&&t.Model.Data.PriceVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible&&t.Model.Data.PaymentLabel&&t.Model.PriceVisible),e(),r("ngIf",t.Model.Data.Invoice.Data.PaymentStateID<=2&&t.Model.PriceVisible&&t.Model.AppConfigJSON.PrintConfigPurchase.Footer.RemainingVisible),e(),r("ngIf",t.Model.Data.Att),e(),r("ngIf",t.Model.Data.Note&&t.Model.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}var Bt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}paperPrintMode;Model={AppConfigJSON:null,Data:null,PriceVisible:!1,Template:new fn};TotalQuantity=0;TotalDiscount=0;isDiscVisible=nt(!0);isUomVisible=nt(!0);ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/SupplierInvoice",c).subscribe(t=>{this.Model.AppConfigJSON=t.AppConfigJSON,this.Model.Data=t.Data,this.Model.PriceVisible=t.PriceVisible,this.Model.Template=t.Template;for(let _ of this.Model.Data.Items)this.TotalQuantity+=_.Quantity,this.TotalDiscount+=_.Discount;c.Printer&&(this.Model.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&window.setTimeout(function(){window.print()},500),this.initDiscVisible(t.Data),this.initUomVisible(t.Data),this.initPrintOption(c)})})}initDiscVisible(c){let _=(c.Items?c.Items:[]).some(s=>s.Discount>0||s.DiscountAmount>0);this.isDiscVisible.set(_)}initUomVisible(c){let _=(c.Items?c.Items:[]).some(s=>I.IsNotEmpty(s.UOMName));this.isUomVisible.set(_)}initPrintOption(c){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:c},{label:"8cm",link:"/print/SupplierInvoiceMini",param:c}]}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-invoice",8,"component"]],attrs:Ho,decls:3,vars:1,consts:[["DEFAULTWIDTH",""],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"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"],[4,"ngIf"],[1,"cartItems"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"text-end",2,"width","50px"],[2,"width","50px"],["class","number","style","width: 100px",4,"ngIf"],[1,"number","text-end",2,"width","70px"],["class","number","style","width: 90px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","2"],[1,"number","align-top",2,"vertical-align","top"],[1,"text-end","align-top"],["class","number noTopPad","colspan","4",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","100px"],[1,"number",2,"width","90px"],[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"],["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,_){t&1&&(g(0,"link",1)(1,"link",2),d(2,Ea,70,37,"div",3)),t&2&&(e(2),r("ngIf",_.Model.Data))},dependencies:[w,h,q,$,T,E,J,D,it,ft,vt],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!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}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 Da(n,c){if(n&1&&(i(0,"small",13),a(1),o()),n&2){let t=l(2);e(),m(t.Template.Field)}}function Aa(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Balance"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),p(7,"number"),o()()),n&2){let t=l(2);e(6),m(M(7,1,t.Data.Package.Point))}}function za(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2,"Point Expired"),o(),i(3,"td"),a(4,":"),o(),i(5,"td"),a(6),p(7,"IsMinDate"),o()()),n&2){let t=l(2);e(6),m(M(7,1,t.Data.Package.Expired))}}function Ha(n,c){if(n&1&&g(0,"div",14),n&2){let t=l(2);r("innerHTML",t.Template.FooterLeft,P)}}function Na(n,c){if(n&1&&(i(0,"div")(1,"h1",4),a(2),o(),d(3,Da,2,1,"small",5),i(4,"p",6),g(5,"span",7),p(6,"newlines"),g(7,"span",7),p(8,"newlines"),o(),i(9,"h2",8),a(10),o(),i(11,"div",9)(12,"span"),a(13),p(14,"date"),o(),i(15,"span",10),a(16),p(17,"date"),o()(),i(18,"h3"),a(19,"Customer"),o(),i(20,"table",11)(21,"tr")(22,"td"),a(23,"Name"),o(),i(24,"td"),a(25,":"),o(),i(26,"td"),a(27),o()(),i(28,"tr")(29,"td"),a(30,"Code"),o(),i(31,"td"),a(32,":"),o(),i(33,"td"),a(34),o()(),i(35,"tr")(36,"td"),a(37,"Charged Point"),o(),i(38,"td"),a(39,":"),o(),i(40,"td"),a(41),p(42,"number"),o()(),i(43,"tr")(44,"td"),a(45,"Treatment Type"),o(),i(46,"td"),a(47,":"),o(),i(48,"td"),a(49),o()(),d(50,Aa,8,3,"tr",3)(51,za,8,3,"tr",3),i(52,"tr")(53,"td"),a(54,"Doctor"),o(),i(55,"td"),a(56,":"),o(),i(57,"td"),a(58),o()(),i(59,"tr")(60,"td"),a(61,"Note"),o(),i(62,"td"),a(63,":"),o(),i(64,"td"),a(65),o()(),i(66,"tr")(67,"td"),a(68,"Note 2"),o(),i(69,"td"),a(70,":"),o(),i(71,"td"),a(72),o()(),i(73,"tr")(74,"td"),a(75,"Assistant"),o(),i(76,"td"),a(77,":"),o(),i(78,"td"),a(79),o()(),i(80,"tr")(81,"td"),a(82,"Duration "),o(),i(83,"td"),a(84,":"),o(),i(85,"td"),a(86),p(87,"DateDiffInMinute"),o()()(),d(88,Ha,1,1,"div",12),o()),n&2){let t=l();e(2),m(t.Template.Title),e(),r("ngIf",t.Template.Address),e(2),r("innerHTML",M(6,20,t.Template.Address),P),e(2),r("innerHTML",M(8,22,t.Template.ContactInfo),P),e(3),C(" ",t.Data.Title," "),e(3),C("Date : ",O(14,24,t.Data.Invoice.QueueTime,"dd MMM yyyy"),""),e(3),C("Time : ",O(17,27,t.Data.Invoice.QueueTime,"HH:mm:ss"),""),e(11),m(t.Data.ContactDisplay),e(7),m(t.Data.ContactCode),e(7),Z("",O(42,30,t.Data.Invoice.PointBurned,"1.2-2")," ",t.Data.Invoice.VariantName,""),e(8),m(t.Data.Invoice.TreatmentTypeName),e(),r("ngIf",t.Data.Package),e(),r("ngIf",t.Data.Package),e(7),m(t.Data.Invoice.DoctorName),e(7),m(t.Data.Invoice.Note),e(7),m(t.Data.Invoice.Note2),e(7),m(t.Data.Invoice.AssistantName),e(7),C("",O(87,33,t.Data.Invoice.StartTime,t.Data.Invoice.EndTime)," Minute(s)"),e(2),r("ngIf",t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}var Rt=class n{constructor(c,t,_){this.httpService=c;this.route=t;this.titleService=_}data;id;ngOnInit(){let t={ID:this.route.snapshot.queryParams.ID||this.id};this.httpService.post("/API/Print/TreatmentInvoice",t).subscribe(_=>{this.titleService.setTitle(_.Title),this.data=_})}get AppConfigJSON(){return this.data.AppConfigJSON}get Data(){return this.data.Data}get Template(){return this.data.Template}static \u0275fac=function(t){return new(t||n)(x(b),x(u),x(Y))};static \u0275cmp=v({type:n,selectors:[["POS-treatment"]],inputs:{id:"id"},decls:4,vars:1,consts:[["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"type","text/css"],[1,"print_container"],[4,"ngIf"],[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,_){t&1&&(g(0,"link",0)(1,"link",1),i(2,"div",2),d(3,Na,89,36,"div",3),o()),t&2&&(e(3),r("ngIf",_.data))},dependencies:[h,T,E,D,ut,On],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 Ba=n=>({width:n});function Ra(n,c){if(n&1&&g(0,"img",36),n&2){let t=l(3);Q(G(3,Ba,(t.config.PrintConfigInvoice==null||t.config.PrintConfigInvoice.LogoConfig==null?null:t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),r("src",t.template.Logo,k)}}function La(n,c){if(n&1&&(N(0),d(1,Ra,1,5,"img",35),B()),n&2){let t=l(2);e(),r("ngIf",t.template.Logo)}}function Fa(n,c){if(n&1&&g(0,"img",36),n&2){let t=l(3);r("src",t.template.Logo,k)}}function Va(n,c){if(n&1&&d(0,Fa,1,1,"img",37),n&2){let t=l(2);r("ngIf",t.template.Logo)}}function Ja(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Contact.Email)}}function ja(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Contact.Phone)}}function Ua(n,c){if(n&1&&(i(0,"div",38)(1,"h3")(2,"span"),a(3),o()(),i(4,"div",39)(5,"strong"),a(6),o(),i(7,"div",40),d(8,Ja,3,1,"div",1)(9,ja,3,1,"div",1),i(10,"div"),g(11,"span",14),p(12,"newlines"),o(),i(13,"div")(14,"span"),a(15),o()()()()()),n&2){let t=l(2);e(3),C(" ",t.config.PrintConfigInvoice.DocumentLabel.Customer," "),e(3),m(t.data.ContactDisplay),e(2),r("ngIf",!t.data.IsTransfer),e(),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(2),r("innerHTML",M(12,6,t.data.Contact.Address),P),e(4),m(t.data.City)}}function $a(n,c){n&1&&(i(0,"th"),a(1,"Sales"),o())}function Wa(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),m(t.data.SalesName)}}function Qa(n,c){if(n&1&&(i(0,"th",41),a(1),o()),n&2){let t=l(2);e(),C(" Price(",t.data.CurrencySymbol,")")}}function Ga(n,c){if(n&1&&(i(0,"th",41),a(1),o()),n&2){let t=l(2);e(),C(" Total(",t.data.CurrencySymbol,")")}}function Xa(n,c){if(n&1&&g(0,"p",46),n&2){let t=l().$implicit;r("innerHTML",t.Note,P)}}function qa(n,c){if(n&1&&(i(0,"td",15),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),m(M(2,1,t.UnitPrice))}}function Za(n,c){if(n&1&&(i(0,"td",15),a(1),p(2,"TrailingZero"),o()),n&2){let t=l().$implicit,_=l(2);e(),m(O(2,1,t.Total,_.config.PrintConfigGeneral.TrailingZero))}}function Ya(n,c){if(n&1&&(i(0,"tr")(1,"td",15),a(2),o(),i(3,"td")(4,"span"),a(5),o(),d(6,Xa,1,1,"p",42),o(),i(7,"td"),a(8),o(),i(9,"td",43),a(10),p(11,"number"),o(),i(12,"td"),a(13),o(),d(14,qa,3,3,"td",44),i(15,"td",45),a(16),o(),d(17,Za,3,4,"td",44),o()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(2),C(" ",_+1+"."," "),e(3),m(t.Name),e(),r("ngIf",t.Note!=null),e(2),m(t.Code),e(2),C(" ",M(11,9,t.Quantity)," "),e(3),m(t.UOMName),e(),r("ngIf",s.priceVisible),e(2),m(t.Discount!=0?"-"+t.Discount+"%":""),e(),r("ngIf",s.priceVisible)}}function Ka(n,c){if(n&1&&(i(0,"td",29)(1,"div",47),a(2),p(3,"sum"),p(4,"number"),o()()),n&2){let t=l(2);e(2),C("Qty: ",M(4,4,O(3,1,t.data.Items,"Quantity")),"")}}function tc(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",48),a(6),o(),i(7,"td",24),a(8),p(9,"TrailingZero"),o()()),n&2){let t=c.$implicit,_=l(2);e(2),m(t.Label),e(4),m(t.CurrencySymbol),e(2),C("",O(9,3,t.Amount,_.config.PrintConfigGeneral.TrailingZero)," ")}}function nc(n,c){if(n&1&&(i(0,"td",50),a(1),o()),n&2){let t=l(3);e(),m(t.data.TotalInWords)}}function ec(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4," : "),o(),d(5,nc,2,1,"td",49),o()),n&2){let t=l(2);e(2),C(" ",t.config.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),r("ngIf",t.data.TotalInWords)}}function ic(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"date"),o()),n&2){let t=l().$implicit;e(),C(" ",O(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function oc(n,c){if(n&1&&(i(0,"span"),d(1,ic,3,4,"span",1),p(2,"checkPropValueIsSame"),a(3),p(4,"number"),g(5,"br"),o()),n&2){let t=c.$implicit,_=l(3);e(),r("ngIf",O(2,4,_.data.Payments,"Date")),e(2),Ot(" ",t.MethodName," ",t.Note?t.Note:""," ",t.Amount<_.data.FinalAmount?" - "+M(4,7,t.Amount):""," ")}}function ac(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4," : "),o(),i(5,"td"),d(6,oc,6,9,"span",27),o()()),n&2){let t=l(2);e(2),C(" ",t.data.Invoice.PaymentStateID==2?"Down Payment":"Payment"," "),e(4),r("ngForOf",t.data.Payments)}}function cc(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2," Note : "),o(),i(3,"td"),a(4," : "),o(),i(5,"td")(6,"ul",51)(7,"li"),a(8),o()()()()),n&2){let t=l(2);e(8),C(" ",t.data.Invoice.Note," ")}}function rc(n,c){if(n&1&&(i(0,"div",54)(1,"h5",55),a(2,"\xA0"),o(),i(3,"div",56),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.config.PrintConfigInvoice.Signature.Column1,P)}}function lc(n,c){if(n&1&&(i(0,"div",54)(1,"h5",55),a(2,"\xA0"),o(),i(3,"div",56),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.config.PrintConfigInvoice.Signature.Column2,P)}}function dc(n,c){if(n&1&&(i(0,"div",54)(1,"h5",55),a(2,"\xA0"),o(),i(3,"div",56),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.config.PrintConfigInvoice.Signature.Column3,P)}}function gc(n,c){if(n&1&&(i(0,"div",54)(1,"h5",55),a(2,"\xA0"),o(),i(3,"div",56),a(4," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHTML",t.config.PrintConfigInvoice.Signature.Column4,P)}}function pc(n,c){if(n&1&&(i(0,"div",52),d(1,rc,5,1,"div",53)(2,lc,5,1,"div",53)(3,dc,5,1,"div",53)(4,gc,5,1,"div",53),o()),n&2){let t=l(2);e(),r("ngIf",t.config.PrintConfigInvoice.Signature.Column1),e(),r("ngIf",t.config.PrintConfigInvoice.Signature.Column2),e(),r("ngIf",t.config.PrintConfigInvoice.Signature.Column3),e(),r("ngIf",t.config.PrintConfigInvoice.Signature.Column4)}}function _c(n,c){if(n&1&&(i(0,"div",60),g(1,"span",14),p(2,"SafeHtml"),o()),n&2){let t=l(3);e(),r("innerHTML",M(2,1,t.template.FooterLeft),P)}}function Cc(n,c){if(n&1&&(i(0,"div",61),g(1,"span",14),p(2,"SafeHtml"),o()),n&2){let t=l(3);e(),r("innerHTML",M(2,1,t.template.FooterRight),P)}}function mc(n,c){if(n&1&&(i(0,"div",57),d(1,_c,3,3,"div",58)(2,Cc,3,3,"div",59),o()),n&2){let t=l(2);e(),r("ngIf",t.template.FooterLeft),e(),r("ngIf",t.template.FooterRight)}}function Pc(n,c){if(n&1&&(N(0),g(1,"link",2)(2,"link",3),i(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7)(7,"div",8)(8,"div",9),d(9,La,2,1,"ng-container",10)(10,Va,1,1,"ng-template",null,0,U),o(),i(12,"div",11)(13,"h2"),a(14),o(),i(15,"small"),a(16),o(),i(17,"div",12)(18,"div",13),g(19,"span",14),p(20,"newlines"),o(),i(21,"div",15),g(22,"span",14),p(23,"newlines"),o()()()(),d(24,Ua,16,8,"div",16),o(),i(25,"div",17)(26,"h1")(27,"strong"),a(28),o(),i(29,"span"),a(30),o()(),i(31,"div")(32,"table")(33,"thead")(34,"tr")(35,"th"),a(36,"Date"),o(),d(37,$a,2,0,"th"),o()(),i(38,"tbody")(39,"tr")(40,"td"),a(41),p(42,"date"),o(),d(43,Wa,2,1,"td"),o()()()()()()(),i(44,"section",18)(45,"div",19)(46,"table",20)(47,"thead")(48,"tr")(49,"th",21),a(50,"No"),o(),i(51,"th"),a(52,"Name"),o(),i(53,"th",22),a(54,"Code"),o(),i(55,"th",23),a(56,"Qty"),o(),i(57,"th",24),a(58,"UOM"),o(),d(59,Qa,2,1,"th",25),i(60,"th",26),a(61,"%"),o(),d(62,Ga,2,1,"th",25),o()(),i(63,"tbody"),d(64,Ya,18,11,"tr",27),o(),i(65,"tfoot")(66,"tr",28),d(67,Ka,5,6,"td",29),i(68,"td",30)(69,"table",31)(70,"tbody"),d(71,tc,10,6,"tr",27),o()()()()()()()(),i(72,"table",32),d(73,ec,6,2,"tr",1)(74,ac,7,2,"tr",1)(75,cc,9,1,"tr",1),o(),i(76,"div")(77,"div"),d(78,pc,5,4,"div",33),o()(),d(79,mc,3,2,"div",34),o(),B()),n&2){let t=F(11),_=l();e(9),r("ngIf",(_.config.PrintConfigInvoice==null||_.config.PrintConfigInvoice.LogoConfig==null?null:_.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t),e(5),m(_.template.Title),e(2),m(_.template.Field),e(3),r("innerHTML",M(20,23,_.template.Address),P),e(3),r("innerHTML",M(23,25,_.template.ContactInfo),P),e(2),r("ngIf",_.data.ContactDisplay),e(4),m(_.data.Prefixed),e(2),C(" ",_.data.Invoice.Number," "),e(7),y(_.data.SalesName?37:-1),e(4),m(O(42,27,_.data.Invoice.Date,"dd MMM yyyy")),e(2),y(_.data.SalesName?43:-1),e(16),r("ngIf",_.priceVisible),e(3),r("ngIf",_.priceVisible),e(2),r("ngForOf",_.data.Items),e(3),y(_.data.Items.length>1?67:-1),e(),r("colSpan",_.data.Items.length>1?4:8),e(3),r("ngForOf",_.data.Aggregate),e(2),r("ngIf",_.config.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||_.data.TotalInWords),e(),r("ngIf",_.config.PrintConfigInvoice.Footer.PaymentMethodVisible),e(),r("ngIf",_.data.Invoice.Note),e(3),r("ngIf",_.config.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",_.config.PrintConfigInvoice.Footer.NoteVisible)}}var Lt=class n{constructor(c,t,_){this.httpService=c;this.activeRoute=t;this.roleService=_;this.priceVisible=_.sell.PriceVisible}data;template;config;roles;priceVisible;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/EstimateInvoice",c).subscribe(t=>{this.data=t.Data,this.template=t.Template,this.config=t.AppConfigJSON,this.roles=t.Roles})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u),x(dt))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-estimate"]],decls:1,vars:1,consts:[["DEFAULTWIDTH",""],[4,"ngIf"],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"type","text/css"],[1,"print_container"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company","row"],[1,"col-auto"],[4,"ngIf","ngIfElse"],[1,"companyBody","col-6"],[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"],["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,_){t&1&&d(0,Pc,80,30,"ng-container",1),t&2&&r("ngIf",_.data)},dependencies:[w,h,T,E,J,D,et,it,xn],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 Mc=(n,c)=>({"text-success":n,"text-danger":c});function sc(n,c){if(n&1&&(i(0,"div"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.data==null?null:t.data.Register.Code," ")}}function Oc(n,c){if(n&1&&(i(0,"div",14)(1,"div",13),a(2," NOTE "),o(),i(3,"div",13),a(4),o()()),n&2){let t=l(2);e(4),C(" ",t.data.Session.Note," ")}}function xc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=l(2);e(2),C(" ",t.config.PrintConfigInvoice.Footer.TaxableSales," "),e(2),C(" ",O(5,2,t.data.InvoiceAggregate.TaxableSale,t.decimal)," ")}}function fc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=l(2);e(2),C(" ",t.config.PrintConfigInvoice.Footer.TaxExemptSales," "),e(2),C(" ",O(5,2,t.data.InvoiceAggregate.TaxExemptSale,t.config.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function vc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Quantity," ")}}function uc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",38),a(3,"Variant Sales"),o(),d(4,vc,5,2,"div",32),i(5,"div",23)(6,"div",24),a(7," Total "),o(),i(8,"div",25),a(9),p(10,"sum"),p(11,"number"),o()()()),n&2){let t=l(2);e(4),r("ngForOf",t.data.VariantSales),e(5),C(" ",M(11,5,O(10,2,t.data.VariantSales,"Quantity"))," ")}}function bc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2," Visitors "),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=l(2);e(4),C(" ",M(5,1,t.data.Session.Visitors)," ")}}function hc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",M(5,2,t.NetSales)," ")}}function yc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",38),a(3,"Category Sales"),o(),d(4,hc,6,4,"div",32),i(5,"div",23)(6,"div",24),a(7," Total "),o(),i(8,"div",25),a(9),p(10,"sum"),p(11,"number"),o()()()),n&2){let t=l(2);e(4),r("ngForOf",t.data.CategorySales),e(5),C(" ",M(11,5,O(10,2,t.data.CategorySales,"NetSales"))," ")}}function Ic(n,c){n&1&&(i(0,"div",39),a(1," \xB1 "),o())}function Sc(n,c){if(n&1&&(i(0,"div",44),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;r("ngClass",j(4,Mc,t.ShortOver>0,t.ShortOver<0)),e(),C(" ",M(2,2,t.ShortOver)," ")}}function wc(n,c){if(n&1&&(i(0,"div",41)(1,"div",39),a(2),o(),i(3,"div",39),a(4),p(5,"number"),o(),i(6,"div",39),a(7),p(8,"number"),o(),d(9,Ic,2,0,"div",42)(10,Sc,3,7,"div",43),o()),n&2){let t=c.$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 Tc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",28),a(3,"Balance"),o(),i(4,"div",33)(5,"div",39),a(6," Type "),o(),i(7,"div",39),a(8," Start "),o(),i(9,"div",39),a(10," End "),o()(),d(11,wc,11,9,"div",40),i(12,"div",33)(13,"div",39),a(14," Total "),o(),i(15,"div",39),a(16),p(17,"sum"),p(18,"number"),o(),i(19,"div",39),a(20),p(21,"sum"),p(22,"number"),o()()()),n&2){let t=l(2);e(11),r("ngForOf",t.data.Payment),e(5),C(" ",M(18,6,O(17,3,t.data.Payment,"Start"))," "),e(4),C(" ",M(22,11,O(21,8,t.data.Payment,"Amount"))," ")}}function kc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",M(5,2,t.Received)," ")}}function Ec(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",38),a(3,"Account Receivable"),o(),i(4,"div",23)(5,"div",24),a(6," Amount "),o(),i(7,"div",25),a(8),p(9,"number"),o()(),i(10,"div",23)(11,"div",24),a(12," Transaction "),o(),i(13,"div",25),a(14),p(15,"number"),o()()()),n&2){let t=l(2);e(8),C(" ",M(9,2,t.data.InvoiceAR.Amount)," "),e(6),C(" ",M(15,4,t.data.InvoiceAR.Count)," ")}}function Dc(n,c){if(n&1&&(i(0,"div",41)(1,"div",39),a(2),o(),i(3,"div",39),a(4),p(5,"number"),o(),i(6,"div",39),a(7),p(8,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",M(5,3,t.Quantity)," "),e(3),C(" ",M(8,5,t.Total)," ")}}function Ac(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",45),a(3,"Products w. Commission"),o(),i(4,"div",41)(5,"div",39),a(6," Name "),o(),i(7,"div",39),a(8," Qty "),o(),i(9,"div",39),a(10," Total "),o()(),d(11,Dc,9,7,"div",40),i(12,"div",41)(13,"div",39),a(14," Total "),o(),i(15,"div",39),a(16),p(17,"sum"),p(18,"number"),o(),i(19,"div",39),a(20),p(21,"sum"),p(22,"number"),o()()()),n&2){let t=l(2);e(11),r("ngForOf",t.data.VariantCommission),e(5),C(" ",M(18,6,O(17,3,t.data.VariantCommission,"Quantity"))," "),e(4),C(" ",M(22,11,O(21,8,t.data.VariantCommission,"Total"))," ")}}function zc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",22),a(3,"Return"),o(),i(4,"div",23)(5,"div",24),a(6," Quantity "),o(),i(7,"div",25),a(8),p(9,"number"),o()(),i(10,"div",23)(11,"div",24),a(12," Total Price "),o(),i(13,"div",25),a(14),p(15,"number"),o()()()),n&2){let t=l(2);e(8),C(" ",M(9,2,t.data.ReturnTotal)," "),e(6),C(" ",M(15,4,t.data.ReturnPrice)," ")}}function Hc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",28),a(3,"Void Invoice"),o(),i(4,"div",23)(5,"div",24),a(6," Transaction "),o(),i(7,"div",25),a(8),p(9,"number"),o()(),i(10,"div",23)(11,"div",24),a(12," Invoice "),o(),i(13,"div",25),a(14),o()(),i(15,"div",23)(16,"div",24),a(17," Total "),o(),i(18,"div",25),a(19),p(20,"number"),o()()()),n&2){let t=l(2);e(8),C(" ",M(9,3,t.data.TotalVoid)," "),e(6),C(" ",t.data.VoidInvoiceRange," "),e(5),C(" ",M(20,5,t.data.TotalVoidSales)," ")}}function Nc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",28),a(3,"History"),o(),i(4,"div",23)(5,"div",24),a(6," Z-Count "),o(),i(7,"div",25),a(8),p(9,"number"),o()(),i(10,"div",23)(11,"div",24),a(12," Current Gross "),o(),i(13,"div",24),a(14),p(15,"TrailingZero"),o()(),i(16,"div",23)(17,"div",24),a(18," Previous "),o(),i(19,"div",25),a(20),p(21,"number"),o()(),i(22,"div",23)(23,"div",24),a(24," Accumulated "),o(),i(25,"div",25),a(26),p(27,"TrailingZero"),o()()()),n&2){let t=l(2);e(8),C(" ",M(9,4,t.data.ZCount)," "),e(6),C(" ",O(15,6,t.data.InvoiceAggregate.SalesWithTax,t.config.PrintConfigGeneral.TrailingZero)," "),e(6),C(" ",M(21,9,t.data.AccumulatedHistory)," "),e(6),C(" ",M(27,11,t.data.InvoiceAggregate.SalesWithTax+t.data.AccumulatedHistory)," ")}}function Bc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",22),a(3,"Point"),o(),i(4,"div",23)(5,"div",24),a(6," Point Used "),o(),i(7,"div",25),a(8),p(9,"number"),o()(),i(10,"div",23)(11,"div",24),a(12," Point Discount "),o(),i(13,"div",25),a(14),p(15,"number"),o()()()),n&2){let t=l(2);e(8),C(" ",M(9,2,t.data.PointUsed)," "),e(6),C(" ",M(15,4,t.data.PointUsed*t.config.POS.LoyaltyPoint.EarnPointAmount)," ")}}function Rc(n,c){if(n&1&&(i(0,"div",41)(1,"div",39),a(2),o(),i(3,"div",39),a(4),o(),i(5,"div",39),a(6),p(7,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.PriceDisplay," "),e(2),C(" ",t.Quantity," "),e(2),C(" ",M(7,3,t.Total)," ")}}function Lc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",46),a(3,"Denomination"),o(),i(4,"div",41)(5,"div",39),a(6," Cash Denomination "),o(),i(7,"div",39),a(8," Qty "),o(),i(9,"div",39),a(10," Total "),o()(),d(11,Rc,8,5,"div",40),i(12,"div",47)(13,"div",48),a(14," Total "),o(),i(15,"div",49),a(16),p(17,"sum"),p(18,"number"),o()()()),n&2){let t=l(2);e(11),r("ngForOf",t.data.Denominations),e(5),C(" ",M(18,5,O(17,2,t.data.Denominations,"Total"))," ")}}function Fc(n,c){if(n&1&&(i(0,"div",23)(1,"div",24),a(2),o(),i(3,"div",25),a(4),p(5,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",M(5,2,t.Amount)," ")}}function Vc(n,c){if(n&1&&(i(0,"div",50),g(1,"div",6),i(2,"h2",51),a(3,"Expense"),o(),i(4,"div",23)(5,"div",24),a(6," Label "),o(),i(7,"div",25),a(8," Amount "),o()(),d(9,Fc,6,4,"div",32),o()),n&2){let t=l(2);e(9),r("ngForOf",t.data.Expenses)}}function Jc(n,c){if(n&1&&(i(0,"div",41)(1,"div",52),a(2),o(),i(3,"div",53),a(4),o(),i(5,"div",54),a(6),p(7,"number"),o()()),n&2){let t=c.$implicit;e(2),C(" ",t.Name," "),e(2),C(" ",t.Count," "),e(2),C(" ",M(7,3,t.SalesNet)," ")}}function jc(n,c){if(n&1&&(i(0,"div",21),g(1,"div",6),i(2,"h2",46),a(3,"Sales Type"),o(),i(4,"div",41)(5,"div",52),a(6," Type "),o(),i(7,"div",53),a(8," Qty "),o(),i(9,"div",54),a(10," Amount "),o()(),d(11,Jc,8,5,"div",40),i(12,"div",23)(13,"div",24),a(14," Total "),o(),i(15,"div",54),a(16),p(17,"sum"),p(18,"number"),o()()()),n&2){let t=l(2);e(11),r("ngForOf",t.data.ListSalesType),e(5),C(" ",M(18,5,O(17,2,t.data.ListSalesType,"SalesNet"))," ")}}function Uc(n,c){if(n&1&&(i(0,"div",1),g(1,"link",2)(2,"link",3),i(3,"div",4)(4,"div",5)(5,"span"),a(6),o()(),g(7,"div",6),i(8,"div",7)(9,"h2",8),a(10),o(),i(11,"i",9),a(12),o(),g(13,"div",10),p(14,"newlines"),d(15,sc,2,1,"div",11),g(16,"div",10),p(17,"newlines"),o(),g(18,"div"),i(19,"div")(20,"div",12)(21,"div",13),a(22," CASHIER "),o(),i(23,"div",13),a(24),o()(),i(25,"div",14)(26,"div",13),a(27," REGISTER "),o(),i(28,"div",13),a(29),o()(),d(30,Oc,5,1,"div",15),o(),g(31,"div",16),i(32,"div")(33,"div",17)(34,"div",13),a(35," START TIME "),o(),i(36,"div",13),a(37," END TIME "),o()(),i(38,"div",18)(39,"div",13)(40,"span",19),a(41),p(42,"date"),o()(),i(43,"div",13)(44,"span",19),a(45),p(46,"date"),o()()(),i(47,"div",20)(48,"div",13),a(49),p(50,"date"),o(),i(51,"div",13),a(52),p(53,"date"),o()()(),i(54,"div",21),g(55,"div",6),i(56,"h2",22),a(57,"Sales"),o(),i(58,"div",23)(59,"div",24),a(60," New Sales "),o(),i(61,"div",25),a(62),p(63,"number"),o()(),i(64,"div",23)(65,"div",24),a(66," Discount "),o(),i(67,"div",25),a(68),p(69,"number"),o()(),i(70,"div",23)(71,"div",24),a(72),o(),i(73,"div",25),a(74),p(75,"number"),o()(),d(76,xc,6,5,"div",26)(77,fc,6,5,"div",26),i(78,"div",23)(79,"div",24),a(80),o(),i(81,"div",25),a(82),p(83,"number"),o()(),i(84,"div",23)(85,"div",24),a(86),o(),i(87,"div",25),a(88),p(89,"number"),o()()(),d(90,uc,12,7,"div",27),i(91,"div",21),g(92,"div",6),i(93,"h2",28),a(94,"Summary"),o(),i(95,"div",23)(96,"div",24),a(97," Transaction "),o(),i(98,"div",25),a(99),o()(),i(100,"div",23)(101,"div",29),a(102," Invoice "),o(),i(103,"div",30),a(104),o()(),i(105,"div",23)(106,"div",24),a(107," Item Sold "),o(),i(108,"div",25),a(109),p(110,"number"),o()(),d(111,bc,6,3,"div",26),o(),d(112,yc,12,7,"div",27)(113,Tc,23,13,"div",27),i(114,"div",21),g(115,"div",6),i(116,"h2",31),a(117,"Payment Method"),o(),d(118,kc,6,4,"div",32),i(119,"div",33)(120,"div",24),a(121," Total "),o(),i(122,"div",25),a(123),p(124,"sum"),p(125,"number"),o()()(),d(126,Ec,16,6,"div",27)(127,Ac,23,13,"div",27)(128,zc,16,6,"div",27)(129,Hc,21,7,"div",27)(130,Nc,28,13,"div",27)(131,Bc,16,6,"div",27)(132,Lc,19,7,"div",27)(133,Vc,10,1,"div",34)(134,jc,19,7,"div",27),i(135,"div",35),g(136,"span",36),p(137,"newlines"),o(),i(138,"span",37),a(139),o()()()),n&2){let t=l();e(6),m(t.config.PrintConfigClosure==null||t.config.PrintConfigClosure.header==null?null:t.config.PrintConfigClosure.header.RegisterClosure),e(4),C(" ",t.template.Title," "),e(2),C(" ",t.template.Field," "),e(),r("innerHTML",M(14,43,t.template.Address),P),e(2),r("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.RegisterCode),e(),r("innerHTML",M(17,45,t.template.ContactInfo),P),e(8),C(" ",t.data.Cashier," "),e(5),C(" ",t.data.Register.Name," "),e(),r("ngIf",(t.data==null||t.data.Session==null||t.data.Session.Note==null?null:t.data.Session.Note.length)>0),e(11),m(O(42,47,t.data.StartTime,"HH:mm")),e(4),m(O(46,50,t.data.EndTime,"HH:mm")),e(4),C(" ",O(50,53,t.data.StartTime,"dd MMM")," "),e(3),C(" ",O(53,56,t.data.EndTime,"dd MMM")," "),e(10),C(" ",O(63,59,t.data.InvoiceAggregate.GrossSales,t.decimal)," "),e(6),C(" ",O(69,62,t.data.InvoiceAggregate.Discount,t.decimal)," "),e(4),C(" ",t.config.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",O(75,65,t.data.InvoiceAggregate.TaxAmount,t.decimal)," "),e(2),r("ngIf",t.config.PrintConfigInvoice.Footer.TaxDetailVisible),e(),r("ngIf",t.config.PrintConfigInvoice.Footer.TaxDetailVisible),e(3),C(" ",t.config.PrintConfigCore.SurchargePcg||"Surcharge"," "),e(2),C(" ",M(83,68,t.data.Session.Surcharge)," "),e(4),C(" Sales + ",t.config.PrintConfigInvoice.Footer.Tax," "),e(2),C(" ",M(89,70,t.data.InvoiceAggregate.SalesWithoutTax+t.data.InvoiceAggregate.TaxAmount)," "),e(2),r("ngIf",t.data.VariantSales.length>0&&t.config.PrintConfigClosure.Visibility.ClosureVariant),e(9),C(" ",t.data.InvoiceAggregate.Orders," "),e(5),C(" ",t.data.InvoiceRange," "),e(5),C(" ",M(110,72,t.data.InvoiceAggregate.ItemsQuantity)," "),e(2),r("ngIf",(t.data==null||t.data.Session==null?null:t.data.Session.Visitors)!=null),e(),r("ngIf",t.config.PrintConfigClosure.Visibility.CategorySalesVisible),e(),r("ngIf",t.data.Balance),e(5),r("ngForOf",t.data.Payment),e(5),C(" ",M(125,77,O(124,74,t.data.Payment,"Received"))," "),e(3),r("ngIf",t.data.InvoiceAR.Count>0),e(),r("ngIf",t.config.PrintConfigClosure.Visibility.ProductsWithCommission),e(),r("ngIf",t.data.ReturnTotal<0),e(),r("ngIf",t.data.TotalVoid>0&&t.config.PrintConfigClosure.Visibility.VoidInvoice),e(),r("ngIf",t.config.PrintConfigClosure.Visibility.HistoryVisible),e(),r("ngIf",t.config.PrintConfigClosure.Visibility.PointUsed),e(),r("ngIf",t.data.Denominations.length>0),e(),r("ngIf",t.data.Expenses.length>0),e(),r("ngIf",t.data.ListSalesType.length>0),e(2),r("innerHTML",M(137,79,t.template.EodFooter),P),e(3),m(t.data.PrintDate)}}var Ft=class n{constructor(c,t){this.activatedRoute=c;this.httpService=t}data;config;template;decimal="";ngOnInit(){this.activatedRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/API/Print/RegisterClosure",c).subscribe(t=>{this.data=t.Data,this.config=t.AppConfigJSON;let _=this.config.PrintConfigGeneral.TrailingZero;_!=0?this.decimal="1."+_+"-"+_:this.decimal="0.0-0",this.template=t.Template,this.filterDenomination()})})}filterDenomination(){let c=this.data.Denominations;c&&(this.data.Denominations=c.filter(t=>!(t.Quantity==0&&t.Total==0)))}static \u0275fac=function(t){return new(t||n)(x(u),x(b))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-register-closure"]],decls:1,vars:1,consts:[["class","print_container",4,"ngIf"],[1,"print_container"],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"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,_){t&1&&d(0,Uc,140,81,"div",0),t&2&&r("ngIf",_.data)},dependencies:[V,w,h,T,E,J,D,et],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 $c=(n,c)=>({"col-8":n,col:c}),Wc=n=>({width:n});function Qc(n,c){if(n&1&&g(0,"img",25),n&2){let t=l(3);Q(G(3,Wc,t.imageSize+"px")),r("src",t.template.Logo,k)}}function Gc(n,c){if(n&1&&(N(0),d(1,Qc,1,5,"img",24),B()),n&2){let t=l(2);e(),r("ngIf",t.template.Logo)}}function Xc(n,c){if(n&1&&g(0,"img",25),n&2){let t=l(3);r("src",t.template.Logo,k)}}function qc(n,c){if(n&1&&d(0,Xc,1,1,"img",26),n&2){let t=l(2);r("ngIf",t.template.Logo)}}function Zc(n,c){if(n&1&&(i(0,"tbody")(1,"tr",27)(2,"td",28),a(3),g(4,"br"),a(5),o()(),i(6,"tr",29)(7,"td"),a(8),o(),i(9,"td",30),a(10),o()()()),n&2){let t=c.$implicit;e(3),m(t.Name),e(2),m(t.Note),e(3),m(t.Code),e(2),m(t.Quantity)}}function Yc(n,c){if(n&1&&(i(0,"tbody")(1,"tr",27)(2,"td",28),a(3),g(4,"br"),a(5),o()(),i(6,"tr",29)(7,"td"),a(8),o(),i(9,"td",30),a(10),o()()()),n&2){let t=c.$implicit;e(3),m(t.Name),e(2),m(t.Note),e(3),m(t.Code),e(2),m(t.Quantity)}}function Kc(n,c){if(n&1&&(i(0,"div",6)(1,"div",7)(2,"div",8)(3,"div",9)(4,"div",10),d(5,Gc,2,1,"ng-container",11)(6,qc,1,1,"ng-template",null,0,U),o(),i(8,"div",12)(9,"h2"),a(10),o(),i(11,"small"),a(12),o(),i(13,"div",13),a(14),o()()()(),i(15,"div",14)(16,"h1")(17,"strong"),a(18,"JOB ORDER #"),o(),i(19,"span",15),a(20),o()()()(),i(21,"h1",16),a(22),o(),i(23,"span",17),a(24,"Output Item(s)"),o(),i(25,"table",18)(26,"thead")(27,"tr",7)(28,"th"),a(29,"Name"),o(),i(30,"th",19),a(31,"Qty"),o()()(),d(32,Zc,11,4,"tbody",20),o(),i(33,"span",17),a(34,"Material Item(s)"),o(),i(35,"table",18)(36,"thead")(37,"tr",7)(38,"th"),a(39,"Name"),o(),i(40,"th",19),a(41,"Qty"),o()()(),d(42,Yc,11,4,"tbody",20),o(),i(43,"p",21),a(44),o(),i(45,"small",22),a(46),p(47,"date"),o(),i(48,"small",23),a(49),o()()),n&2){let t=F(7),_=l();e(5),r("ngIf",_.imageSize>0)("ngIfElse",t),e(3),r("ngClass",j(16,$c,_.template.Title,!_.template.Title)),e(2),m(_.template.Title),e(2),m(_.template.Field),e(2),C(" ",_.template.Address," "),e(6),m(_.title),e(2),m(_.data.JobOrder.Name),e(10),r("ngForOf",_.data.Header),e(10),r("ngForOf",_.data.Material),e(2),m(_.data.JobOrder.Note),e(2),m(O(47,13,_.data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),m(_.data.User.Name)}}var Vt=class n{constructor(c,t){this.activeRoute=c;this.httpService=t}data;template;title;imageSize=0;paperPrintMode=[];ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/API/Print/JobOrders",c).subscribe(t=>{this.data=t.Data,this.imageSize=t.Config.ReceiptLogoResizedWidth,this.template=t.Template,this.title=t.Title,this.initPaperModeConfig(c)})})}initPaperModeConfig(c){this.paperPrintMode=[{label:"8cm",link:"/print/JobOrderMini",param:c},{label:"A4",link:"/print/JobOrder",param:c}]}static \u0275fac=function(t){return new(t||n)(x(u),x(b))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-job-order"]],decls:5,vars:2,consts:[["DEFAULTWIDTH",""],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"type","text/css"],[1,"print_container"],["paperType","A4",1,"d-print-none",3,"paperPrints"],["class","invoice_container",4,"ngIf"],[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,_){t&1&&(g(0,"link",1)(1,"link",2),i(2,"div",3),g(3,"POS-print-mode",4),d(4,Kc,50,19,"div",5),o()),t&2&&(e(3),r("paperPrints",_.paperPrintMode),e(),r("ngIf",_.data))},dependencies:[V,w,h,q,E],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}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 tr(n,c){if(n&1&&(i(0,"tbody")(1,"tr",18)(2,"td",19),a(3),g(4,"br"),a(5),o()(),i(6,"tr",20)(7,"td"),a(8),o(),i(9,"td",21),a(10),o()()()),n&2){let t=c.$implicit;e(3),C(" ",t.Name,""),e(2),C("",t.Note," "),e(3),m(t.Code),e(2),m(t.Quantity)}}function nr(n,c){if(n&1&&(i(0,"tbody")(1,"tr",18)(2,"td",19),a(3),g(4,"br"),a(5),o()(),i(6,"tr",20)(7,"td"),a(8),o(),i(9,"td",21),a(10),o()()()),n&2){let t=c.$implicit;e(3),C(" ",t.Name,""),e(2),C("",t.Note," "),e(3),m(t.Code),e(2),m(t.Quantity)}}function er(n,c){if(n&1&&(i(0,"div",5)(1,"h1",6),a(2),o(),i(3,"p",7),a(4),o(),i(5,"h2",8),a(6),o(),i(7,"span",9),a(8,"Output Item(s)"),o(),i(9,"table",10)(10,"thead")(11,"tr",11)(12,"th"),a(13," Name "),o(),i(14,"th",12),a(15," Qty"),o()()(),d(16,tr,11,4,"tbody",13),o(),i(17,"span",14),a(18,"Material Item(s)"),o(),i(19,"table",10)(20,"thead")(21,"tr",11)(22,"th"),a(23," Name "),o(),i(24,"th",12),a(25," Qty"),o()()(),d(26,nr,11,4,"tbody",13),o(),i(27,"p",15),a(28),o(),i(29,"small",16),a(30),p(31,"date"),o(),i(32,"small",17),a(33),o()()),n&2){let t=l();e(2),m(t.template.Title),e(2),m(t.data.JobOrder.Name),e(2),m(t.title),e(10),r("ngForOf",t.data.Header),e(10),r("ngForOf",t.data.Material),e(2),m(t.data.JobOrder.Note),e(2),m(O(31,8,t.data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),m(t.data.User.Name)}}var Jt=class n{constructor(c,t){this.activeRoute=c;this.httpService=t}data;template;title;paperPrintMode=[];ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/API/Print/JobOrderMini",c).subscribe(t=>{this.data=t.Data,this.template=t.Template,this.title=t.Title,this.initPaperModeConfig(c)})})}initPaperModeConfig(c){this.paperPrintMode=[{label:"A4",link:"/print/JobOrder",param:c},{label:"8cm",link:"/print/JobOrderMini",param:c}]}static \u0275fac=function(t){return new(t||n)(x(u),x(b))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-job-order-mini"]],decls:5,vars:2,consts:[["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],["class","invoice_container",4,"ngIf"],[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,_){t&1&&(g(0,"link",0)(1,"link",1),i(2,"div",2),g(3,"POS-print-mode",3),d(4,er,34,11,"div",4),o()),t&2&&(e(3),r("paperPrints",_.paperPrintMode),e(),r("ngIf",_.data))},dependencies:[w,h,q,E],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}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 ir(n,c){if(n&1&&(g(0,"img",35),p(1,"images")),n&2){let t=l(3);r("src",M(1,1,t.Model.Template.Logo),k)}}function or(n,c){if(n&1&&(i(0,"div",28),d(1,ir,2,3,"img",29),i(2,"div",30),g(3,"h2",31)(4,"small",31),i(5,"div",32),g(6,"div",33),p(7,"newlines"),g(8,"div",34),p(9,"newlines"),o()()()),n&2){let t=l(2);e(),r("ngIf",t.Model.Template.Logo),e(2),r("innerHTML",t.Model.Template.Title,P),e(),r("innerHTML",t.Model.Template.Field,P),e(2),r("innerHTML",M(7,5,t.Model.Template.Address),P),e(2),r("innerHTML",M(9,7,t.Model.Template.ContactInfo),P)}}function ar(n,c){if(n&1&&g(0,"strong",31),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.Name,P)}}function cr(n,c){if(n&1&&g(0,"div",31),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.Email,P)}}function rr(n,c){if(n&1&&g(0,"div",31),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.Phone,P)}}function lr(n,c){if(n&1&&(g(0,"div",31),p(1,"newlines")),n&2){let t=l(3);r("innerHTML",M(1,1,t.Model.Data.Contact==null?null:t.Model.Data.Contact.Address),P)}}function dr(n,c){if(n&1&&g(0,"div",31),n&2){let t=l(3);r("innerHTML",t.Model.Data.Contact==null?null:t.Model.Data.Contact.CityName,P)}}function gr(n,c){if(n&1&&(i(0,"div",36),g(1,"h3",31),i(2,"div",37),d(3,ar,1,1,"strong",38),i(4,"div",39),d(5,cr,1,1,"div",38)(6,rr,1,1,"div",38)(7,lr,2,3,"div",38)(8,dr,1,1,"div",38),o()()()),n&2){let t=l(2);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,P),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function pr(n,c){n&1&&(i(0,"th"),a(1," Due "),o())}function _r(n,c){n&1&&(i(0,"th"),a(1," Top "),o())}function Cr(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"date"),o()),n&2){let t=l(2);e(),C(" ",O(2,1,t.Model.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function mr(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l(2);e(),C(" ",t.Model.Data.Top," ")}}function Pr(n,c){n&1&&(i(0,"th",18),a(1,"Disc"),o())}function Mr(n,c){if(n&1&&(i(0,"div",43),a(1),o()),n&2){let t=l(2).$implicit;e(),C("-",t.Discount,"%")}}function sr(n,c){if(n&1&&(i(0,"div",43),a(1),p(2,"number"),o()),n&2){let t=l(2).$implicit;e(),C(" ",M(2,1,t.DiscountAmount)," ")}}function Or(n,c){if(n&1&&(i(0,"td"),d(1,Mr,2,1,"div",43)(2,sr,3,3,"div",43),o()),n&2){let t=l().$implicit;e(),y(t.Discount?1:-1),e(),y(t.DiscountAmount?2:-1)}}function xr(n,c){if(n&1&&(i(0,"tr"),g(1,"td",40)(2,"td",31)(3,"td",31)(4,"td",40),p(5,"quantityFraction"),g(6,"td",31),i(7,"td",41),a(8),p(9,"number"),o(),d(10,Or,3,2,"td"),g(11,"td",42),p(12,"amountFraction"),o()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(),r("innerHTML",_+1,P),e(),r("innerHTML",t.Name,P),e(),r("innerHTML",t.Code,P),e(),r("innerHTML",M(5,8,t.Quantity),P),e(2),r("innerHTML",t.UOMName,P),e(2),m(M(9,10,t.UnitPrice)),e(2),y(s.isDiscVisible()?10:-1),e(),r("innerHTML",M(12,12,t.Total),P)}}function fr(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2),o(),i(3,"td"),a(4,":"),o(),i(5,"td",44),a(6),o(),i(7,"td",45),a(8),p(9,"amountFraction"),o()()),n&2){let t=c.$implicit;e(2),m(t.Label),e(4),m(t.CurrencySymbol),e(2),C(" ",M(9,3,t.Amount)," ")}}function vr(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Wordify"),o(),i(3,"td"),a(4,":"),o(),g(5,"td",46),p(6,"newlines"),o()),n&2){let t=l(2);e(5),r("innerHTML",M(6,1,t.Model.Data.totalInWords),P)}}function ur(n,c){if(n&1&&(i(0,"tr"),g(1,"th",31),i(2,"td"),a(3,":"),o(),g(4,"td",46),p(5,"date"),o()),n&2){let t=l(2);e(),r("innerHTML",t.Model.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,P),e(3),r("innerHTML",O(5,2,t.Model.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),P)}}function br(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td"),a(4,":"),o(),g(5,"td",47),p(6,"newlines"),o()),n&2){let t=l(2);e(5),r("innerHTML",M(6,1,t.Model.Data.Data.Note),P)}}function hr(n,c){if(n&1&&(i(0,"div",54),g(1,"h5",31),i(2,"div",50),a(3,"\xA0"),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy,P)}}function yr(n,c){if(n&1&&(i(0,"div",55),g(1,"h5",31),i(2,"div",50),a(3,"\xA0"),o()()),n&2){let t=l(3);e(),r("innerHTML",t.Model.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy,P)}}function Ir(n,c){if(n&1&&(i(0,"div",48)(1,"div",49),g(2,"h5",31),i(3,"div",50),a(4,"\xA0"),o()(),d(5,hr,4,1,"div",51)(6,yr,4,1,"div",52),i(7,"div",53),g(8,"h5",31)(9,"div",50),o()()),n&2){let t=l(2);e(2),r("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy,P),e(3),r("ngIf",t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType==2),e(2),r("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy,P)}}function Sr(n,c){if(n&1&&(i(0,"small",56),a(1," Print by: "),i(2,"small"),a(3),o(),a(4),p(5,"date"),o()),n&2){let t=l(2);e(3),m(t.Model.Template.DisplayName),e(),C(" ",O(5,2,t.Model.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function wr(n,c){if(n&1&&(i(0,"div",3)(1,"div")(2,"div",4),d(3,or,10,9,"div",5)(4,gr,9,6,"div",6),o(),i(5,"div",7)(6,"div",8)(7,"div",9)(8,"h1")(9,"strong"),a(10),o(),i(11,"span"),a(12),o()(),i(13,"table")(14,"thead")(15,"tr")(16,"th"),a(17,"Date"),o(),d(18,pr,2,0,"th",10),p(19,"IsMinDate"),d(20,_r,2,0,"th",10),p(21,"IsMinDate"),o()(),i(22,"tbody")(23,"tr")(24,"td"),a(25),p(26,"date"),o(),d(27,Cr,3,4,"td",10),p(28,"IsMinDate"),d(29,mr,2,1,"td",10),p(30,"IsMinDate"),o()()()()()()(),i(31,"div",11)(32,"table",12)(33,"thead")(34,"tr")(35,"th",13),a(36,"No"),o(),i(37,"th"),a(38,"Name"),o(),i(39,"th",14),a(40,"Code"),o(),i(41,"th",15),a(42,"Qty"),o(),i(43,"th",16),a(44,"UOM"),o(),i(45,"th",17),a(46),o(),d(47,Pr,2,0,"th",18),i(48,"th",17),a(49),o()()(),i(50,"tbody"),d(51,xr,13,14,"tr",19),o(),i(52,"tfoot")(53,"tr",20)(54,"td",21)(55,"b"),a(56,"Total"),o()(),i(57,"td",22),a(58),p(59,"sum"),p(60,"quantityFraction"),o(),i(61,"td",22),a(62),o(),i(63,"td",23)(64,"table",24)(65,"tbody"),d(66,fr,10,5,"tr",19),o()()()()()()(),i(67,"table",25),d(68,vr,7,3,"tr",10)(69,ur,6,5,"tr",10),p(70,"IsMinDate"),d(71,br,7,3,"tr",10),o(),i(72,"div"),d(73,Ir,10,4,"div",26),o(),d(74,Sr,6,5,"small",27),o()),n&2){let t=l();e(),lt("",t.Model.Template.CssClass," header"),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.Model.Data.Contact),e(6),m(t.Model.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),m(t.Model.Data.Data.Number),e(6),r("ngIf",M(19,25,t.Model.Data.Invoice.Data.Due)!="-"&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),e(2),r("ngIf",M(21,27,t.Model.Data.Invoice.Data.Due)!="-"&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),e(5),C(" ",O(26,29,t.Model.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),r("ngIf",M(28,32,t.Model.Data.Invoice.Data.Due)!="-"&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),e(2),r("ngIf",M(30,34,t.Model.Data.Invoice.Data.Due)!="-"&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),e(17),C(" Price (",t.Model.Data.CurrencySymbol,") "),e(),y(t.isDiscVisible()?47:-1),e(2),C(" Total (",t.Model.Data.CurrencySymbol,") "),e(2),r("ngForOf",t.Model.Data.Item),e(3),r("colSpan",3),e(4),C(" ",M(60,39,O(59,36,t.Model.Data.Item,"Quantity"))," "),e(4),C(" ",t.Model.Data.Item.UOMName," "),e(4),r("ngForOf",t.Model.Data.Aggregate),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible),e(),r("ngIf",M(70,41,t.Model.Data.Invoice.CustomDateField)!="-"),e(2),r("ngIf",t.Model.Data.Data.Note),e(2),r("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),r("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}var jt=class n{constructor(c,t,_){this.httpService=c;this.route=t;this.title=_}isDiscVisible=nt(!0);Model;ngOnInit(){let c=this.route.snapshot.queryParams;this.route.queryParams.pipe(S(t=>I.IsNotEmpty(t)),Pt(t=>this.httpService.post("/API/Print/SupplierPONG",t))).subscribe(t=>{this.Model=t,this.initDiscVisible(t.Data),this.title.setTitle(t.Title),c.Printer&&(this.Model.Template.PrintLX300=c.Printer=="EpsonLX300"),c.Print==1&&setTimeout(()=>window.print(),500)})}initDiscVisible(c){let _=(c.Item?c.Item:[]).some(s=>s.Discount>0||s.DiscountAmount>0);this.isDiscVisible.set(_)}static \u0275fac=function(t){return new(t||n)(x(b),x(u),x(Y))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-po"]],decls:3,vars:1,consts:[["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"type","text/css"],["class","print_container supplierpo",4,"ngIf"],[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"],[4,"ngIf"],[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,_){t&1&&(g(0,"link",0)(1,"link",1),d(2,wr,75,43,"div",2)),t&2&&(e(2),r("ngIf",_.Model))},dependencies:[w,h,T,E,J,D,ut,X,ft,vt],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!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}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 Tr(n,c){if(n&1&&(g(0,"img",33),p(1,"images")),n&2){let t=l(3);st("src",M(1,1,t.data.Template.Logo),k)}}function kr(n,c){if(n&1&&(i(0,"div",27),d(1,Tr,2,3,"img",28),i(2,"div",29),g(3,"h2",30)(4,"small",30),i(5,"div",31)(6,"div",32),g(7,"span",30),o(),i(8,"div",17),g(9,"span",30),p(10,"newlines"),o()()()()),n&2){let t=l(2);e(),r("ngIf",t.data.Template.Logo),e(2),r("innerHTML",t.data.Template.Title,P),e(),r("innerHTML",t.data.Template.Field,P),e(3),r("innerHTML",t.data.Template.Address,P),e(2),r("innerHTML",M(10,5,t.data.Template.ContactInfo),P)}}function Er(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Data.Contact.Email)}}function Dr(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Data.Contact.Phone)}}function Ar(n,c){if(n&1&&(i(0,"div",34)(1,"h3"),g(2,"span",30),o(),i(3,"div",35)(4,"strong"),a(5),o(),i(6,"div",36),d(7,Er,3,1,"div",37)(8,Dr,3,1,"div",37),i(9,"div",38),g(10,"span",30),o(),i(11,"div")(12,"span"),a(13),o()()()()()),n&2){let t=l(2);e(2),r("innerHTML",t.data.Data.Prefixed==="Outlet Delivery"?t.data.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer:t.data.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,P),e(3),m(t.data.Data.Contact.Name),e(2),r("ngIf",!t.data.Data.IsTransfer),e(),r("ngIf",!t.data.Data.IsTransfer),e(2),r("innerHTML",t.data.Data.Contact.Address,P),e(3),m(t.data.City)}}function zr(n,c){n&1&&(i(0,"th"),a(1,"Code"),o())}function Hr(n,c){n&1&&(i(0,"th",39),a(1,"Cost"),o())}function Nr(n,c){if(n&1&&(i(0,"th",39),a(1,"Price"),g(2,"br"),a(3),o()),n&2){let t=l(2);e(3),C("(",t.data.Data.currencySymbol,")")}}function Br(n,c){if(n&1&&(i(0,"div"),g(1,"small",30),o()),n&2){let t=l().$implicit;e(),r("innerHTML",t.Note,P)}}function Rr(n,c){if(n&1&&(i(0,"td"),a(1),o()),n&2){let t=l().$implicit;e(),m(t.Code)}}function Lr(n,c){if(n&1&&(i(0,"th",44),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),m(M(2,1,t.UnitCost))}}function Fr(n,c){if(n&1&&(g(0,"th",45),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.UnitPrice),P)}}function Vr(n,c){if(n&1&&(i(0,"tr")(1,"td")(2,"div"),a(3),o(),g(4,"app-serial-note",40),d(5,Br,2,1,"div",37),o(),d(6,Rr,2,1,"td"),g(7,"td",41),p(8,"number"),d(9,Lr,3,3,"th",42)(10,Fr,2,3,"th",43),o()),n&2){let t=c.$implicit,_=l(2);e(3),m(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note),e(),y(!(_.data.AppConfigJSON==null||_.data.AppConfigJSON.PrintConfigDelivery==null||_.data.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&_.data.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?6:-1),e(),r("innerHTML",O(8,7,t.Quantity,"1.0-2"),P),e(2),r("ngIf",_.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&_.data.DataCostVisible),e(),r("ngIf",_.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&_.data.Data.PriceVisible)}}function Jr(n,c){if(n&1&&(i(0,"div",46),g(1,"div",47),o()),n&2){let t=l(2);e(),r("innerHTML",t.data.Template.DeliveryNote,P)}}function jr(n,c){if(n&1&&(g(0,"span",48),p(1,"date")),n&2){let t=l(2);r("innerHTML",O(1,1,t.data.Data.Date,"dd MMM yyyy"),P)}}function Ur(n,c){if(n&1&&(i(0,"div",5)(1,"div",6)(2,"div",7),d(3,kr,11,7,"div",8)(4,Ar,14,6,"div",9),o(),i(5,"div",10)(6,"h1")(7,"strong",11),a(8),o(),i(9,"span"),a(10),o()()()(),i(11,"section",12)(12,"div")(13,"span",13),a(14,"To"),o(),a(15),o(),i(16,"div"),a(17),o(),i(18,"div")(19,"span",13),a(20,"Courier"),o(),a(21),o()(),i(22,"section",14)(23,"div",15)(24,"table",16)(25,"thead")(26,"tr")(27,"th"),a(28,"Name"),o(),d(29,zr,2,0,"th"),i(30,"th",17),a(31,"Qty"),o(),d(32,Hr,2,0,"th",18)(33,Nr,4,1,"th",18),o()(),i(34,"tbody"),d(35,Vr,11,10,"tr",19),o(),i(36,"tfoot")(37,"tr")(38,"td"),a(39,"Total"),o(),i(40,"td",20),a(41),p(42,"sum"),o()(),i(43,"tr")(44,"td",21),a(45,"Note : "),g(46,"span",22),o()()()()()(),i(47,"div",23),d(48,Jr,2,1,"div",24),o(),i(49,"div",25),d(50,jr,2,4,"span",26),o()()),n&2){let t=l();e(3),r("ngIf",t.data.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.data.Data.Contact.Name&&!t.data.Data.IsTransfer),e(4),m(t.data.Data.Prefixed),e(2),C(" ",t.data.Data.ItemTransfer.Number," "),e(5),C(": ",t.data.Data.Contact.Name,""),e(2),m(t.data.Data.Contact.Address),e(4),C(": ",t.data.Data.ItemTransfer.Courier,""),e(8),y(!(t.data.AppConfigJSON==null||t.data.AppConfigJSON.PrintConfigDelivery==null||t.data.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&t.data.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?29:-1),e(3),r("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.DataCostVisible),e(),r("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.Data.PriceVisible),e(2),r("ngForOf",t.data==null?null:t.data.Data.Items),e(6),m(O(42,15,t.data==null?null:t.data.Data.Items,"Quantity")),e(5),r("innerHTML",t.data.Data.ItemTransfer.Note,P),e(2),r("ngIf",!t.data.Data.IsTransfer),e(2),r("ngIf",t.data.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}var Ut=class n{constructor(c,t){this.activatedRoute=c;this.httpService=t}data;paperPrintMode;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activatedRoute.queryParams.subscribe(c=>{this.httpService.post("/API/Print/Transfer",c).subscribe(t=>{this.data=t,this.initPrintOption(c)})})}initPrintOption(c){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:c},{label:"8cm",link:"/print/TransferMini",param:c}]}static \u0275fac=function(t){return new(t||n)(x(u),x(b))};static \u0275cmp=v({type:n,selectors:[["POS-transfer-mini"]],decls:5,vars:2,consts:[["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],["class","supplierinvoice_print_container",4,"ngIf"],[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"],[4,"ngIf"],[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,_){t&1&&(g(0,"link",0)(1,"link",1),i(2,"div",2),g(3,"POS-print-mode",3),d(4,Ur,51,18,"div",4),o()),t&2&&(e(3),r("paperPrints",_.paperPrintMode),e(),r("ngIf",_.data))},dependencies:[w,h,q,$,T,E,J,D,X],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 $r(n,c){if(n&1&&(g(0,"img",27),p(1,"images")),n&2){let t=l(2);r("src",M(1,1,t.data==null?null:t.data.Template.Logo),k)}}function Wr(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data==null?null:t.data.Data.Contact.Email)}}function Qr(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data==null?null:t.data.Data.Contact.Phone)}}function Gr(n,c){if(n&1&&(i(0,"div",28)(1,"div",29)(2,"strong"),a(3),o(),i(4,"div",30),d(5,Wr,3,1,"div",23)(6,Qr,3,1,"div",23),i(7,"div"),g(8,"span",8),p(9,"newlines"),o(),i(10,"div")(11,"span"),a(12),o()()()()()),n&2){let t=l(2);e(3),m(t.data==null?null:t.data.Data.ContactDisplay),e(2),r("ngIf",!(t.data!=null&&t.data.Data.IsTransfer)),e(),r("ngIf",(t.appConfig==null?null:t.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",M(9,5,t.data==null?null:t.data.Data.Contact.Address),P),e(4),m(t.data==null?null:t.data.Data.City)}}function Xr(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2),p(3,"date"),o(),i(4,"td"),a(5),p(6,"date"),o(),i(7,"td"),a(8),o(),i(9,"td",21),a(10),p(11,"number"),o()()),n&2){let t=c.$implicit;e(2),m(O(3,4,t.Data.Date,"dd MMM yyyy")),e(3),m(O(6,7,t.Data.Due,"dd MMM")),e(3),m(t.Number),e(2),m(M(11,10,t.RemainingPaymentBaseCurrency))}}function qr(n,c){if(n&1&&(i(0,"td",33),a(1),o()),n&2){let t=l(3);e(),m(t.data==null?null:t.data.Data.TotalInWords)}}function Zr(n,c){if(n&1&&(i(0,"tr"),g(1,"th",8),i(2,"td",31),a(3," : "),o(),d(4,qr,2,1,"td",32),o()),n&2){let t=l(2);e(),r("innerHTML",t.appConfig!=null&&t.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",P),e(3),r("ngIf",t.data==null?null:t.data.Data.TotalInWords)}}function Yr(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2," Note "),o(),i(3,"td",31),a(4," : "),o(),i(5,"td")(6,"ul",34)(7,"li"),g(8,"span",35),o()()()()),n&2){let t=l(2);e(8),r("innerHtml",t.data==null?null:t.data.Data.Invoice.Note,P)}}function Kr(n,c){if(n&1&&(i(0,"div",39),g(1,"h5",40),i(2,"div",41),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1,P)}}function tl(n,c){if(n&1&&(i(0,"div",39),g(1,"h5",40),i(2,"div",41),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2,P)}}function nl(n,c){if(n&1&&(i(0,"div",39),g(1,"h5",40),i(2,"div",41),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3,P)}}function el(n,c){if(n&1&&(i(0,"div",39),g(1,"h5",40),i(2,"div",41),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4,P)}}function il(n,c){if(n&1&&(i(0,"div",36)(1,"div",37),d(2,Kr,4,1,"div",38)(3,tl,4,1,"div",38)(4,nl,4,1,"div",38)(5,el,4,1,"div",38),o()()),n&2){let t=l(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 ol(n,c){if(n&1&&(i(0,"div",45),g(1,"span",8),p(2,"SafeHtml"),o()),n&2){let t=l(3);e(),r("innerHTML",M(2,1,t.data!=null&&t.data.Template.FooterLeft?t.data==null?null:t.data.Template.FooterLeft:""),P)}}function al(n,c){if(n&1&&(i(0,"div",42),d(1,ol,3,3,"div",43),i(2,"div",44),g(3,"span",8),p(4,"SafeHtml"),o()()),n&2){let t=l(2);e(),r("ngIf",t.data==null?null:t.data.Template.FooterRight),e(2),r("innerHTML",M(4,2,t.data!=null&&t.data.Template.FooterRight?t.data==null?null:t.data.Template.FooterRight:""),P)}}function cl(n,c){if(n&1&&(i(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),d(4,$r,2,3,"img",6),i(5,"div",7),g(6,"h2",8)(7,"small",8),i(8,"div",9),g(9,"div",10),p(10,"newlines"),g(11,"div",11),p(12,"newlines"),o()()(),d(13,Gr,13,7,"div",12),o(),i(14,"div",13)(15,"h1")(16,"strong"),a(17),o(),i(18,"span"),a(19),o()(),i(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),a(25,"Date"),o()()(),i(26,"tbody")(27,"tr")(28,"td"),a(29),p(30,"date"),o()()()()()()(),i(31,"section",14)(32,"div",15)(33,"table",16)(34,"thead")(35,"tr")(36,"th",17),a(37,"Date"),o(),i(38,"th",17),a(39,"Due"),o(),i(40,"th"),a(41,"Number"),o(),i(42,"th",18),a(43,"Total"),o()()(),i(44,"tbody"),d(45,Xr,12,12,"tr",19),o(),i(46,"tfoot")(47,"tr")(48,"td",20),a(49),o(),i(50,"td",21),a(51),p(52,"sum"),p(53,"number"),o()()()()()(),i(54,"table",22),d(55,Zr,5,2,"tr",23)(56,Yr,9,1,"tr",23),o(),i(57,"div")(58,"div",24),d(59,il,6,4,"div",25),o(),d(60,al,5,4,"div",26),o()()),n&2){let t=l();r("ngClass",t.params.Mode||""),e(4),r("ngIf",t.data==null?null:t.data.Template.Logo),e(2),r("innerHTML",t.data==null?null:t.data.Template.Title,P),e(),r("innerHTML",t.data==null?null:t.data.Template.Field,P),e(2),r("innerHTML",M(10,17,t.data.Template.Address),P),e(2),r("innerHTML",M(12,19,t.data.Template.ContactInfo),P),e(2),r("ngIf",t.data.Data.ContactDisplay),e(4),m(t.data==null?null:t.data.Data.Prefixed),e(2),C(" ",t.data==null?null:t.data.Data.Invoice.Number," "),e(10),m(O(30,21,t.data==null?null:t.data.Data.Invoice.Date,"dd MMM yyyy")),e(16),r("ngForOf",t.data==null?null:t.data.Data.Items),e(4),C("",(t.data==null?null:t.data.Data.Items.length)>1?t.data==null?null:t.data.Data.Items.length:""," Invoice, Total:"),e(2),m(M(53,27,O(52,24,t.data==null?null:t.data.Data.Items,"RemainingPaymentBaseCurrency"))),e(4),r("ngIf",(t.appConfig==null?null:t.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t.data==null?null:t.data.Data.TotalInWords)),e(),r("ngIf",t.data==null?null:t.data.Data.Invoice.Note),e(3),r("ngIf",(t.appConfig==null||t.appConfig.PrintConfigGeneral==null||t.appConfig.PrintConfigGeneral.Visibility==null?null:t.appConfig.PrintConfigGeneral.Visibility.Visible)&&((t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1)||(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2)||(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3)||(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4))),e(),r("ngIf",t.appConfig==null?null:t.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var $t=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;params;appConfig;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.params=c,this.httpService.post("/Api/Print/BulkSupplierInvoice",c).subscribe(t=>{this.data=t,this.appConfig=t.AppConfigJSON})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-bulk-supplier-invoice"]],decls:2,vars:1,consts:[["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"type","text/css"],["class","print_container",3,"ngClass",4,"ngIf"],[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"],[4,"ngIf"],[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,_){t&1&&(g(0,"link",0),d(1,cl,61,29,"div",1)),t&2&&(e(),r("ngIf",_.data))},dependencies:[V,w,h,T,E,J,D,it,X],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}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 rl(n,c){if(n&1&&(g(0,"img",31),p(1,"images")),n&2){let t=l(2);r("src",M(1,1,t.data==null?null:t.data.Template.Logo),k)}}function ll(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data==null?null:t.data.Data.Contact.Email)}}function dl(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data==null?null:t.data.Data.Contact.Phone)}}function gl(n,c){if(n&1&&(i(0,"div",32)(1,"h3"),g(2,"span",8),o(),i(3,"div",33)(4,"strong"),a(5),o(),i(6,"div",34),d(7,ll,3,1,"div",25)(8,dl,3,1,"div",25),i(9,"div"),g(10,"span",8),p(11,"newlines"),o(),i(12,"div")(13,"span"),a(14),o()()()()()),n&2){let t=l(2);e(2),r("innerHTML",t.appConfig==null?null:t.appConfig.PrintConfigInvoice.DocumentLabel.Customer,P),e(3),m(t.data==null?null:t.data.Data.ContactDisplay),e(2),r("ngIf",!(t.data!=null&&t.data.Data.IsTransfer)),e(),r("ngIf",(t.appConfig==null?null:t.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(2),r("innerHTML",M(11,6,t.data==null?null:t.data.Data.Contact.Address),P),e(4),m(t.data==null?null:t.data.Data.City)}}function pl(n,c){n&1&&(i(0,"th",17),a(1,"Due"),o())}function _l(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"date"),o()),n&2){let t=l().$implicit;e(),m(O(2,1,t.Due,"dd MMM"))}}function Cl(n,c){if(n&1&&(i(0,"span",39),a(1,"x"),o(),i(2,"span"),a(3),p(4,"number"),o()),n&2){let t=l().$implicit;e(3),m(M(4,1,t.Quantity))}}function ml(n,c){if(n&1&&(i(0,"p",36)(1,"span"),a(2),o(),i(3,"span",37),a(4),o(),d(5,Cl,5,3),i(6,"span",38),a(7),o(),i(8,"span"),a(9),p(10,"number"),o()()),n&2){let t=c.$implicit,_=c.$index;e(2),C("",_+1,"."),e(2),m(t.Name),e(),y(t.Quantity>1?5:-1),e(2),m("@"),e(2),m(M(10,5,t.Total))}}function Pl(n,c){if(n&1&&gn(0,ml,11,7,"p",36,dn),n&2){let t=l().$implicit;pn(t.Items)}}function Ml(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2),p(3,"date"),o(),d(4,_l,3,4,"td"),i(5,"td",18)(6,"h5"),a(7),o(),d(8,Pl,2,0),o(),i(9,"td",35),a(10),p(11,"number"),o()()),n&2){let t=c.$implicit,_=l(2);e(2),m(O(3,5,t.Date,"dd MMM yyyy")),e(2),y(!(_.appConfig==null||_.appConfig.PrintConfigDebt==null||_.appConfig.PrintConfigDebt.ARColletion==null)&&_.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?4:-1),e(3),m(t.Number),e(),y(!(_.appConfig==null||_.appConfig.PrintConfigDebt==null||_.appConfig.PrintConfigDebt.ARColletion==null)&&_.appConfig.PrintConfigDebt.ARColletion.InvoiceDetailVisible?8:-1),e(2),C(" ",M(11,8,t.RemainingPaymentBaseCurrency)," ")}}function sl(n,c){if(n&1&&(i(0,"td",42),a(1),o()),n&2){let t=l(3);e(),C(" ",t.data==null?null:t.data.Data.TotalInWords," ")}}function Ol(n,c){if(n&1&&(i(0,"tr"),g(1,"th",8),i(2,"td",40),a(3,":"),o(),d(4,sl,2,1,"td",41),o()),n&2){let t=l(2);e(),r("innerHTML",t.appConfig!=null&&t.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",P),e(3),r("ngIf",t.data==null?null:t.data.Data.TotalInWords)}}function xl(n,c){if(n&1&&(i(0,"tr")(1,"th",43),a(2),o(),i(3,"td",43),a(4,":"),o(),i(5,"td",43),a(6),p(7,"number"),o()()),n&2){let t=l(2);e(2),C(" ",t.appConfig.PrintConfigDebt.FooterLabel.RemainingLabel," "),e(4),m(M(7,2,t.data==null?null:t.data.Data.Remaining))}}function fl(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"limitTo"),o()),n&2){let t=l().$implicit,_=l(3);e(),C(" ",(_.appConfig==null?null:_.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode)==3?"- ***"+_t(2,1,t.Code,4,t.Code.length-4):"- "+t.Code," ")}}function vl(n,c){if(n&1&&(i(0,"span",46),a(1),o()),n&2){let t=l().$implicit;e(),m(t.Note?t.Note:"")}}function ul(n,c){if(n&1&&(i(0,"span")(1,"span",8),p(2,"date"),a(3),p(4,"date"),o(),i(5,"span"),a(6),o(),d(7,fl,3,5,"span",25)(8,vl,2,1,"span",45),a(9),p(10,"number"),g(11,"br"),o()),n&2){let t=c.$implicit,_=l(3);e(),r("innerHTML",O(2,6,t.Date,"dd MMM yy")+" ~ ",P),e(2),C(" ",O(4,9,t.Date,"dd MMM yy")+" ~ "," "),e(3),m(t.MethodName+" ~ "),e(),r("ngIf",t.Code&&_.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode!=1),e(),r("ngIf",_.appConfig==null?null:_.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentNoteVisible),e(),C(" - ",M(10,12,t.Amount)," ")}}function bl(n,c){if(n&1&&(i(0,"tr"),g(1,"th",44),i(2,"td",43),a(3,":"),o(),i(4,"td",43),d(5,ul,12,14,"span",20),o()()),n&2){let t=l(2);e(),r("innerHTML",(t.data==null?null:t.data.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment",P),e(4),r("ngForOf",t.data==null?null:t.data.Data.Payments)}}function hl(n,c){if(n&1&&(i(0,"tr")(1,"th"),a(2,"Note"),o(),i(3,"td",40),a(4,":"),o(),i(5,"td")(6,"ul",47)(7,"li"),g(8,"div",48),o()()()()),n&2){let t=l(2);e(8),r("innerHtml",t.data==null?null:t.data.Data.Invoice.Note,P)}}function yl(n,c){if(n&1&&(i(0,"div",52),g(1,"h5",53),i(2,"div",54),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,P)}}function Il(n,c){if(n&1&&(i(0,"div",52),g(1,"h5",53),i(2,"div",54),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,P)}}function Sl(n,c){if(n&1&&(i(0,"div",52),g(1,"h5",53),i(2,"div",54),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,P)}}function wl(n,c){if(n&1&&(i(0,"div",52),g(1,"h5",53),i(2,"div",54),a(3," \xA0 "),o()()),n&2){let t=l(3);e(),r("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,P)}}function Tl(n,c){if(n&1&&(i(0,"div",49)(1,"div",50),d(2,yl,4,1,"div",51)(3,Il,4,1,"div",51)(4,Sl,4,1,"div",51)(5,wl,4,1,"div",51),o()()),n&2){let t=l(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 kl(n,c){if(n&1&&(i(0,"div",58),g(1,"span",8),p(2,"SafeHtml"),o()),n&2){let t=l(3);e(),r("innerHTML",M(2,1,!(t.data==null||t.data.Template==null)&&t.data.Template.FooterLeft?t.data==null||t.data.Template==null?null:t.data.Template.FooterLeft:""),P)}}function El(n,c){if(n&1&&(i(0,"div",55),d(1,kl,3,3,"div",56),i(2,"div",57),g(3,"span",8),p(4,"SafeHtml"),o()()),n&2){let t=l(2);e(),r("ngIf",t.data==null?null:t.data.Template.FooterRight),e(2),r("innerHTML",M(4,2,!(t.data==null||t.data.Template==null)&&t.data.Template.FooterRight?t.data==null||t.data.Template==null?null:t.data.Template.FooterRight:""),P)}}function Dl(n,c){if(n&1&&(i(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),d(4,rl,2,3,"img",6),i(5,"div",7),g(6,"h2",8)(7,"small",8),i(8,"div",9),g(9,"div",10),p(10,"newlines"),g(11,"div",11),p(12,"newlines"),o()()(),d(13,gl,15,8,"div",12),o(),i(14,"div",13)(15,"h1")(16,"strong"),a(17),o(),i(18,"span"),a(19),o()(),i(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),a(25,"Date"),o()()(),i(26,"tbody")(27,"tr")(28,"td"),a(29),p(30,"date"),o()()()()()()(),i(31,"section",14)(32,"div",15)(33,"table",16)(34,"thead")(35,"tr")(36,"th",17),a(37,"Date"),o(),d(38,pl,2,0,"th",17),i(39,"th",18),a(40,"Number"),o(),i(41,"th",19),a(42,"Total"),o()()(),i(43,"tbody"),d(44,Ml,12,10,"tr",20),o(),i(45,"tfoot")(46,"tr"),g(47,"td",21),i(48,"td",22),a(49),o(),i(50,"td",23),a(51),p(52,"sum"),p(53,"number"),o()()()()()(),i(54,"table",24),d(55,Ol,5,2,"tr",25)(56,xl,8,4,"tr")(57,bl,6,2,"tr",25),o(),i(58,"div",26)(59,"table",27),d(60,hl,9,1,"tr",25),o()(),i(61,"div")(62,"div",28),d(63,Tl,6,4,"div",29),o(),d(64,El,5,4,"div",30),o()()),n&2){let t=l();r("ngClass",(t.params==null?null:t.params.Mode)||""),e(4),r("ngIf",t.data==null?null:t.data.Template.Logo),e(2),r("innerHTML",t.data==null?null:t.data.Template.Title,P),e(),r("innerHTML",t.data==null?null:t.data.Template.Field,P),e(2),r("innerHTML",M(10,21,t.data.Template.Address),P),e(2),r("innerHTML",M(12,23,t.data.Template.ContactInfo),P),e(2),r("ngIf",t.data.Data.ContactDisplay),e(4),m(t.data==null?null:t.data.Data.Prefixed),e(2),C(" ",t.data==null?null:t.data.Data.Invoice.Number," "),e(10),m(O(30,25,t.data==null?null:t.data.Data.Invoice.Date,"dd MMM yyyy")),e(9),y(!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.ARColletion==null)&&t.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?38:-1),e(6),r("ngForOf",t.data==null?null:t.data.Data.Items),e(3),r("colSpan",!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.ARColletion==null)&&t.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?6:5),e(2),C(" ",t.data==null?null:t.data.Data.Items.length," Invoice, Total: "),e(2),C(" ",M(53,31,O(52,28,t.data==null?null:t.data.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),r("ngIf",(t.appConfig==null?null:t.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(t.data==null?null:t.data.Data.TotalInWords)),e(),y(t.data!=null&&t.data.Data.Remaining?56:-1),e(),r("ngIf",t.data==null?null:t.data.Data.Payments.length),e(3),r("ngIf",t.data==null?null:t.data.Data.Invoice.Note),e(3),r("ngIf",(t.appConfig==null||t.appConfig.PrintConfigGeneral==null||t.appConfig.PrintConfigGeneral.Visibility==null?null:t.appConfig.PrintConfigGeneral.Visibility.Visible)&&(t.appConfig.PrintConfigDebt.Signature.Column1||t.appConfig.PrintConfigDebt.Signature.Column2||t.appConfig.PrintConfigDebt.Signature.Column3||t.appConfig.PrintConfigDebt.Signature.Column4)),e(),r("ngIf",t.appConfig==null?null:t.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}var Wt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;params;appConfig;title=cn(Y);ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.params=c,this.httpService.post("/Api/Print/BulkInvoice",c).subscribe(t=>{this.data=t,this.appConfig=t.AppConfigJSON})})}ngAfterViewInit(){let c=JSON.parse(localStorage.getItem("AccountInfo"));this.activeRoute.queryParamMap.pipe(an(t=>{let _=t.get("pageContext");this.title.setTitle(`${c.BrandName} POS | Print ${_}`)})).subscribe()}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-bulk-invoice"]],decls:2,vars:1,consts:[["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`,"type","text/css"],["class","print_container bulkinvoice_print_container container",3,"ngClass",4,"ngIf"],[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"],[4,"ngIf"],[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",4,"ngIf"],[2,"line-break","anywhere"],[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,_){t&1&&(g(0,"link",0),d(1,Dl,65,33,"div",1)),t&2&&(e(),r("ngIf",_.data))},dependencies:[V,w,h,T,E,Mn,J,D,it,X],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!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}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 Al=(n,c)=>({"col-8":n,col:c}),zl=n=>({width:n}),Hl=(n,c)=>({"text-success":n,"text-danger":c});function Nl(n,c){if(n&1&&g(0,"img",30),n&2){let t=l(4);Q(G(3,zl,t.imageSize+"px")),r("src",t.template.Logo,k)}}function Bl(n,c){if(n&1&&(N(0),d(1,Nl,1,5,"img",29),B()),n&2){let t=l(3);e(),r("ngIf",t.template.Logo)}}function Rl(n,c){if(n&1&&g(0,"img",30),n&2){let t=l(4);r("src",t.template.Logo,k)}}function Ll(n,c){if(n&1&&d(0,Rl,1,1,"img",31),n&2){let t=l(3);r("ngIf",t.template.Logo)}}function Fl(n,c){if(n&1&&(i(0,"div",27),d(1,Bl,2,1,"ng-container",28)(2,Ll,1,1,"ng-template",null,0,U),o()),n&2){let t=F(3),_=l(2);e(),r("ngIf",_.imageSize>0)("ngIfElse",t)}}function Vl(n,c){n&1&&(i(0,"th",19),a(1," Price "),o())}function Jl(n,c){if(n&1&&(i(0,"td"),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),C(" ",M(2,1,t.UnitPrice)," ")}}function jl(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td")(4,"div"),a(5),o(),g(6,"app-serial-note",32)(7,"i",33),o(),i(8,"td"),a(9),o(),i(10,"td"),a(11),p(12,"number"),o(),d(13,Jl,3,3,"td",23),i(14,"td"),a(15),o()()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(2),m(_+1),e(3),m(t.Name),e(),r("serials",t.Serial),e(),r("innerHTML",t.Note,P),e(2),m(t.Code),e(),ln(j(12,Hl,t.Quantity>0,t.Quantity<0)),e(),C(" ",t.Quantity==null?t.Counted:M(12,10,t.Quantity)," "),e(2),r("ngIf",s.adjustmentConfig.Items.UnitPriceVisible),e(2),m(t.UOMName)}}function Ul(n,c){if(n&1&&(i(0,"tr")(1,"th",34),a(2,"Note"),o(),i(3,"td",35),a(4,":"),o(),g(5,"td",36),p(6,"newlines"),o()),n&2){let t=l(2);e(5),r("innerHtml",M(6,1,t.header.Note),P)}}function $l(n,c){if(n&1&&(i(0,"div",37)(1,"h5",38),a(2," \xA0 "),o(),i(3,"div",39),a(4," \xA0 "),o()()),n&2){let t=l(2);e(),r("innerHTML",t.adjustmentConfig.Signature.Column1,P)}}function Wl(n,c){if(n&1&&(i(0,"div",40)(1,"h5",38),a(2," \xA0 "),o(),i(3,"div",39),a(4," \xA0 "),o()()),n&2){let t=l(2);e(),r("innerHTML",t.adjustmentConfig.Signature.Column2,P)}}function Ql(n,c){if(n&1&&(i(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8),d(5,Fl,4,2,"div",9),i(6,"div",10),g(7,"h2",11)(8,"small",11),i(9,"div"),g(10,"div",11),p(11,"newlines"),g(12,"div",11),p(13,"newlines"),o()()()(),i(14,"div",12)(15,"h1")(16,"strong",13),a(17),o(),i(18,"span",14),a(19),o()(),i(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),a(25,"Date"),o()()(),i(26,"tbody")(27,"tr")(28,"td"),a(29),o()()()()()()(),i(30,"div",15)(31,"table",16)(32,"thead",17)(33,"tr")(34,"th",18),a(35,"No"),o(),i(36,"th"),a(37,"Name"),o(),i(38,"th",19),a(39,"Code"),o(),i(40,"th",19),a(41,"Qty"),o(),d(42,Vl,2,0,"th",20),i(43,"th",19),a(44,"UOM"),o()()(),i(45,"tbody"),d(46,jl,16,15,"tr",21),o()()(),i(47,"table",22),d(48,Ul,7,3,"tr",23),o(),i(49,"div")(50,"div")(51,"div",24),d(52,$l,5,1,"div",25)(53,Wl,5,1,"div",26),o()()()()()),n&2){let t=l();e(5),r("ngIf",t.template.Logo),e(),r("ngClass",j(18,Al,t.template.Title,!t.template.Title)),e(),r("innerHTML",t.template.Title,P),e(),r("innerHTML",t.template.Field,P),e(2),r("innerHTML",M(11,14,t.template.Address),P),e(2),r("innerHTML",M(13,16,t.template.ContactInfo),P),e(5),m(t.adjustmentConfig.HeaderTitle),e(2),C(" ",t.header.Number," "),e(10),C(" ",t.header.Date," "),e(13),r("ngIf",t.adjustmentConfig.Items.UnitPriceVisible),e(4),r("ngForOf",t.differenceArray),e(2),r("ngIf",t.header.Note),e(4),r("ngIf",t.adjustmentConfig.Signature.Column1),e(),r("ngIf",t.adjustmentConfig.Signature.Column2)}}var Qt=class n{constructor(c,t){this.httpService=c;this.activatedRoute=t}adjustmentConfig;header;countedArray;differenceArray;template;imageSize=0;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activatedRoute.queryParams.subscribe(c=>{this.httpService.post("/API/Print/Adjustment",c).subscribe(t=>{this.adjustmentConfig=t.Config.AdjustmentConfig,this.header=t.Header,this.imageSize=t.Config.ReceiptLogoResizedWidth,this.countedArray=t.CountedArray,this.differenceArray=t.DifferenceArray,this.template=t.Template})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-printing-adjustment"]],decls:3,vars:1,consts:[["DEFAULTWIDTH",""],["rel","stylesheet","href",f`/Styles/Master/app_custom.css`],["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`],["class","print_container",4,"ngIf"],[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"],[4,"ngIf"],[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,_){t&1&&(g(0,"link",1)(1,"link",2),d(2,Ql,54,21,"div",3)),t&2&&(e(2),r("ngIf",_.header))},dependencies:[V,w,h,$,T,D],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 Gl=(n,c)=>({"col-8":n,col:c});function Xl(n,c){if(n&1&&(g(0,"img",34),p(1,"images")),n&2){let t=l(3);r("src",M(1,1,t.printTemplate==null?null:t.printTemplate.Logo),k)}}function ql(n,c){if(n&1&&(i(0,"div",32),d(1,Xl,2,3,"img",33),o()),n&2){let t=l(2);e(),r("ngIf",t.printTemplate==null?null:t.printTemplate.Logo)}}function Zl(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Contact.Email)}}function Yl(n,c){if(n&1&&(i(0,"div",35)(1,"div",36)(2,"h3",37)(3,"span"),a(4),o()(),i(5,"div",38)(6,"strong"),a(7),o(),i(8,"div",39),d(9,Zl,3,1,"div",29),i(10,"div")(11,"span"),a(12),p(13,"newlines"),o()(),i(14,"div")(15,"span"),a(16),o()()()()()()),n&2){let t=l(2);e(4),m(t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle),e(3),m(t.data.ContactDisplay),e(2),r("ngIf",!t.data.IsTransfer),e(3),m(M(13,5,t.data.Contact.Address)),e(4),m(t.data.City)}}function Kl(n,c){if(n&1&&(i(0,"small"),a(1),o()),n&2){let t=l().$implicit;e(),m(t.Note)}}function td(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),m(M(2,1,t.Amount))}}function nd(n,c){if(n&1&&(i(0,"span"),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),m(M(2,1,t.Amount))}}function ed(n,c){if(n&1&&(i(0,"tr")(1,"td"),a(2),o(),i(3,"td"),a(4),g(5,"br"),d(6,Kl,2,1,"small",29),o(),i(7,"td",24),d(8,td,3,3,"span",29),o(),i(9,"td",24),d(10,nd,3,3,"span",29),o()()),n&2){let t=c.$implicit,_=l(2);e(2),m(t.AccountCode),e(2),m(t.AccountName),e(2),r("ngIf",_.config.PrintConfigAccounting.Visibility.JournalNoteAccountVisible),e(2),r("ngIf",t.DCTypeID==1),e(2),r("ngIf",t.DCTypeID==-1)}}function id(n,c){if(n&1&&(i(0,"tr",40)(1,"th",41),a(2,"Note"),o(),i(3,"td",42),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=l(2);e(6),C(" ",t.data.JournalHeader.Note," ")}}function od(n,c){if(n&1&&(i(0,"tr")(1,"th",16),a(2,"Reference"),o(),i(3,"td",43),a(4,":"),o(),i(5,"td"),a(6),o()()),n&2){let t=l(2);e(6),C(" ",t.data.JournalHeader.ReferenceTextDisplay," ")}}function ad(n,c){if(n&1&&(i(0,"div",44)(1,"div",45)(2,"h5",46),a(3),o(),i(4,"div",47),a(5," \xA0 "),o()(),i(6,"div",45)(7,"h5",46),a(8),o(),i(9,"div",47),a(10," \xA0 "),o()(),i(11,"div",45)(12,"h5",46),a(13),o(),i(14,"div",47),a(15," \xA0 "),o()(),i(16,"div",45)(17,"h5",46),a(18),o(),i(19,"div",47),a(20," \xA0 "),o()()()),n&2){let t=l(2);e(3),C(" ",t.config.PrintConfigAccounting.FooterLabel.CreatedBy," "),e(5),C(" ",t.config.PrintConfigAccounting.FooterLabel.ApprovedBy," "),e(5),C(" ",t.config.PrintConfigAccounting.FooterLabel.SignedBy," "),e(5),C(" ",t.config.PrintConfigAccounting.FooterLabel.ReceivedBy," ")}}function cd(n,c){if(n&1&&(i(0,"small",48),a(1),o()),n&2){let t=l(2);e(),C("",t.data.Creator," ")}}function rd(n,c){if(n&1&&(i(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),d(4,ql,2,1,"div",6),i(5,"div",7),g(6,"h2",8)(7,"small",8),i(8,"div"),g(9,"div",8),p(10,"newlines"),g(11,"div",8),p(12,"newlines"),o()()(),d(13,Yl,17,7,"div",9),o(),i(14,"div",10)(15,"div",11)(16,"div",12)(17,"h1")(18,"strong"),a(19,"Journal #"),o(),i(20,"span"),a(21),o()()(),i(22,"div",12)(23,"div",13)(24,"div",14)(25,"table",15)(26,"thead",16)(27,"tr")(28,"th"),a(29,"Date"),o(),i(30,"th"),a(31,"Outlet"),o()()(),i(32,"tbody")(33,"tr",17)(34,"td",18),a(35),p(36,"date"),o(),i(37,"td",18),a(38),o()()()()()()()()()(),i(39,"div",19)(40,"div",20)(41,"table",21)(42,"thead",22)(43,"tr",23)(44,"th"),a(45,"Code"),o(),i(46,"th"),a(47,"Account"),o(),i(48,"th",24),a(49,"Debit"),o(),i(50,"th",24),a(51,"Credit"),o()()(),i(52,"tbody"),d(53,ed,11,5,"tr",25),o(),i(54,"tfoot")(55,"tr"),g(56,"td",26),i(57,"td",24),a(58),p(59,"Filter"),p(60,"sum"),p(61,"number"),o(),i(62,"td",24),a(63),p(64,"Filter"),p(65,"sum"),p(66,"number"),o()()()()()(),i(67,"table",27),d(68,id,7,1,"tr",28)(69,od,7,1,"tr",29),o(),d(70,ad,21,4,"div",30)(71,cd,2,1,"small",31),o()),n&2){let t=l();e(4),r("ngIf",t.printTemplate==null?null:t.printTemplate.Logo),e(),r("ngClass",j(42,Gl,t.printTemplate==null?null:t.printTemplate.Title,!(t.printTemplate!=null&&t.printTemplate.Title))),e(),r("innerHtml",t.printTemplate==null?null:t.printTemplate.Title,P),e(),r("innerHtml",t.printTemplate==null?null:t.printTemplate.Field,P),e(2),r("innerHtml",M(10,17,t.printTemplate==null?null:t.printTemplate.Address),P),e(2),r("innerHtml",M(12,19,t.printTemplate==null?null:t.printTemplate.ContactInfo),P),e(2),r("ngIf",(t.data==null||t.data.Shipping==null?null:t.data.Shipping.Sender)||(t.data==null?null:t.data.ContactDisplay)),e(8),m(t.data.JournalHeader.Number),e(14),m(O(36,21,t.data.JournalHeader.Date,"dd MMM yyyy")),e(3),m(t.data.JournalHeader.EntityName),e(15),r("ngForOf",t.data.Items),e(5),m(M(61,31,O(60,28,_t(59,24,t.data.Items,-1,"DCTypeID"),"Amount"))),e(5),m(M(66,40,O(65,37,_t(64,33,t.data.Items,-1,"DCTypeID"),"Amount"))),e(5),r("ngIf",t.config.PrintConfigAccounting.FooterLabel.JournalNoteFooterVisible),e(),r("ngIf",t.data.JournalHeader.ReferenceTextDisplay),e(),r("ngIf",t.config.PrintConfigAccounting.Visibility.SignatureVisibility),e(),r("ngIf",t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}var Gt=class n{constructor(c,t){this.httpService=c;this.activeRoute=t}data;printTemplate;config;ngOnInit(){this.activeRoute.queryParams.pipe(S(c=>I.IsNotEmpty(c))).subscribe(c=>{this.httpService.post("/Api/Print/Journal",c).subscribe(t=>{this.config=t.AppConfigJSON,this.data=t.Data,this.printTemplate=t.Template,c.Print==1&&window.setTimeout(function(){window.print()},500)})})}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-journal"]],decls:2,vars:1,consts:[["rel","stylesheet","href",f`/Styles/Print/PaperSizeA4_custom.css`],["class","print_container",4,"ngIf"],[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"],[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,_){t&1&&(g(0,"link",0),d(1,rd,72,45,"div",1)),t&2&&(e(),r("ngIf",_.data))},dependencies:[V,w,h,T,E,J,D,sn,X],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 ld(n,c){if(n&1&&(N(0),i(1,"div",18),a(2,"Payment Note"),o(),i(3,"div",19),a(4,":"),o(),g(5,"div",25),p(6,"newlines"),B()),n&2){let t=l().ngIf;e(5),r("innerHTML",M(6,1,t.Data.Note),P)}}function dd(n,c){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),p(11,"number"),o(),i(12,"td",31),a(13),p(14,"number"),o()()),n&2){let t=c.$implicit,_=c.index;e(2),m(_+1),e(2),m(t.Name),e(2),m(t.Code),e(2),m(t.Quantity),e(2),m(M(11,6,t.UnitPrice)),e(3),m(M(14,8,t.Total))}}function gd(n,c){if(n&1&&(N(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,dd,15,10,"tr",32),o()()()(),B()),n&2){let t=l().ngIf;e(19),r("ngForOf",t==null||t.Data==null?null:t.Data.InvoiceItems)}}function pd(n,c){if(n&1&&(i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),a(4),o(),g(5,"small",4)(6,"h6",5),p(7,"newlines"),g(8,"h6",6),p(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),p(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),p(42,"date"),o(),d(43,ld,7,3,"ng-container",21),o()(),d(44,gd,20,1,"ng-container",21),i(45,"div",22)(46,"span",23),a(47,"Amount"),o(),i(48,"span",24),a(49),p(50,"number"),o()()()()),n&2){let t=c.ngIf;e(4),m(t.PrintTemplate.Title),e(),r("innerHtml",t.PrintTemplate.Field,P),e(),r("innerHTML",M(7,14,t.PrintTemplate.Address),P),e(2),r("innerHtml",M(9,16,t.PrintTemplate.ContactInfo),P),e(12),m(O(21,18,t.Data.Date,"dd MMM yyyy")),e(5),m(t.Config.Header),e(2),C("INVOICE: ",t.Data.InvoiceNumber,""),e(8),m(t.Data.Customer.Display),e(6),Z("",t.Data.InvoiceNumber," - ",O(42,21,t.Data.Date,"dd MMM yy"),""),e(2),r("ngIf",t.Data.Note),e(),r("ngIf",t.Config.Products),e(5),Z("",t.Data.CurrencySymbol," ",M(50,24,t.Data.Amount),"")}}var Xt=class n{constructor(c,t){this.http=c;this.aRoute=t}endpoint="/API/Print/Payment";_data$;ngOnInit(){let c=on(this.aRoute.snapshot.queryParams);this._data$=c.pipe(Pt(t=>this.http.post(this.endpoint,t)))}static \u0275fac=function(t){return new(t||n)(x(b),x(u))};static \u0275cmp=v({type:n,selectors:[["POS-payment-print"]],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,_){t&1&&(d(0,pd,51,26,"div",0),p(1,"async")),t&2&&r("ngIf",M(1,1,_._data$))},dependencies:[w,h,mn,T,E,D],styles:["@media print{div.container-fluid[_ngcontent-%COMP%]{width:100vw!important}}"]})};function _d(n,c){if(n&1&&(g(0,"img",30),p(1,"images")),n&2){let t=l(3);st("src",M(1,1,t.data.Template.Logo),k)}}function Cd(n,c){if(n&1&&(i(0,"div",24),d(1,_d,2,3,"img",25),i(2,"div",26),g(3,"h2",27)(4,"small",27),i(5,"div",28)(6,"div",29),g(7,"span",27),o(),i(8,"div",14),g(9,"span",27),p(10,"newlines"),o()()()()),n&2){let t=l(2);e(),r("ngIf",t.data.Template.Logo),e(2),r("innerHTML",t.data.Template.Title,P),e(),r("innerHTML",t.data.Template.Field,P),e(3),r("innerHTML",t.data.Template.Address,P),e(2),r("innerHTML",M(10,5,t.data.Template.ContactInfo),P)}}function md(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Data.Contact.Email)}}function Pd(n,c){if(n&1&&(i(0,"div")(1,"span"),a(2),o()()),n&2){let t=l(3);e(2),m(t.data.Data.Contact.Phone)}}function Md(n,c){if(n&1&&(i(0,"div",31)(1,"h3")(2,"span"),a(3,"Purchase Order"),o()(),i(4,"div",32)(5,"strong"),a(6),o(),i(7,"div",33),d(8,md,3,1,"div",34)(9,Pd,3,1,"div",34),i(10,"div",35),g(11,"span",27),o(),i(12,"div")(13,"span"),a(14),o()()()()()),n&2){let t=l(2);e(6),m(t.data.Data.Contact.Name),e(2),r("ngIf",!t.data.Data.IsTransfer),e(),r("ngIf",!t.data.Data.IsTransfer),e(2),r("innerHTML",t.data.Data.Contact.Address,P),e(3),m(t.data.City)}}function sd(n,c){n&1&&(i(0,"th",36),a(1,"Cost"),o())}function Od(n,c){if(n&1&&(i(0,"th",36),a(1,"Price"),g(2,"br"),a(3),o()),n&2){let t=l(2);e(3),C("(",t.data.Data.CurrencySymbol,")")}}function xd(n,c){if(n&1&&(i(0,"div"),g(1,"small",27),o()),n&2){let t=l().$implicit;e(),r("innerHTML",t.Note,P)}}function fd(n,c){if(n&1&&(i(0,"th",41),a(1),p(2,"number"),o()),n&2){let t=l().$implicit;e(),C(" ",M(2,1,t.UnitCost),"")}}function vd(n,c){if(n&1&&(g(0,"th",42),p(1,"number")),n&2){let t=l().$implicit;r("innerHTML",M(1,1,t.UnitPrice),P)}}function ud(n,c){if(n&1&&(i(0,"tr"),g(1,"td",37),i(2,"td")(3,"div"),a(4),o(),g(5,"app-serial-note",38),d(6,xd,2,1,"div",34),o(),g(7,"td",37),p(8,"number"),d(9,fd,3,3,"th",39)(10,vd,2,3,"th",40),o()),n&2){let t=c.$implicit,_=c.index,s=l(2);e(),r("innerHTML",_+1+".",P),e(3),m(t.Name),e(),r("serials",t.Serial),e(),r("ngIf",t.Note),e(),r("innerHTML",O(8,7,t.Quantity,"1.0-2"),P),e(2),r("ngIf",s.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&s.data.DataCostVisible),e(),r("ngIf",s.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&s.data.Data.PriceVisible)}}function bd(n,c){if(n&1&&(i(0,"div",43),g(1,"div",44),o()),n&2){let t=l(2);e(),r("innerHTML",t.data.Template.DeliveryNote,P)}}function hd(n,c){if(n&1&&(g(0,"span",45),p(1,"date")),n&2){let t=l(2);r("innerHTML",O(1,1,t.data.Data.Invoice.Data.Date,"dd MMM yyyy"),P)}}function yd(n,c){if(n&1&&(i(0,"div",5)(1,"div",6)(2,"div",7),d(3,Cd,11,7,"div",8)(4,Md,15,5,"div",9),o(),i(5,"div",10)(6,"h1")(7,"strong"),a(8,"Purchase Order"),o(),i(9,"div")(10,"span"),a(11),o()()()()(),i(12,"section",11)(13,"div",12)(14,"table",13)(15,"thead")(16,"tr")(17,"th",14),a(18,"No."),o(),i(19,"th"),a(20,"Name"),o(),i(21,"th",14),a(22,"Qty"),o(),d(23,sd,2,0,"th",15)(24,Od,4,1,"th",15),o()(),i(25,"tbody"),d(26,ud,11,10,"tr",16),o(),i(27,"tfoot")(28,"tr")(29,"td"),a(30,"Total"),o(),i(31,"td",17),a(32),p(33,"sum"),o()(),i(34,"tr")(35,"td",18),a(36,"Note : "),g(37,"span",19),o()()()()()(),i(38,"div",20),d(39,bd,2,1,"div",21),o(),i(40,"div",22),d(41,hd,2,4,"span",23),o()()),n&2){let t=l();e(3),r("ngIf",t.data.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),r("ngIf",t.data.Data.Contact.Name&&!t.data.Data.IsTransfer),e(7),m(t.data.Data.Invoice.Number),e(12),r("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.DataCostVisible),e(),r("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.Data.PriceVisible),e(2),r("ngForOf",t.data==null?null:t.data.Data.Items),e(6),m(O(33,10,t.data==null?null:t.data.Data.Items,"Quantity")),e(5),r("innerHTML",t.data.Data.Note,P),e(2),r("ngIf",!t.data.Data.IsTransfer),e(2),r("ngIf",t.data.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}var qt=class n{constructor(c,t){this.activatedRoute=c;this.httpService=t}data;paperPrintMode;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activatedRoute.queryParams.subscribe(c=>{this.httpService.post("/API/Print/SupplierInvoice",c).subscribe(t=>{this.data=t,this.initPrintOption(c)})})}initPrintOption(c){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:c},{label:"8cm",link:"/print/SupplierInvoiceMini",param:c}]}static \u0275fac=function(t){return new(t||n)(x(u),x(b))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-invoice-mini"]],decls:5,vars:2,consts:[["rel","stylesheet","href",f`/Styles/Master/app_custom.css`,"type","text/css"],["rel","stylesheet","href",f`/Styles/Print/PaperSize8cm_custom.css`,"type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],["class","supplierinvoice_print_container",4,"ngIf"],[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,"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"],[4,"ngIf"],[2,"max-width","205px"],[2,"width","40px"],[1,"number",3,"innerHTML"],[3,"serials"],["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,_){t&1&&(g(0,"link",0)(1,"link",1),i(2,"div",2),g(3,"POS-print-mode",3),d(4,yd,42,13,"div",4),o()),t&2&&(e(3),r("paperPrints",_.paperPrintMode),e(),r("ngIf",_.data))},dependencies:[w,h,q,$,T,E,J,D,X],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}']})};var Id=[{path:"InvoiceMini",component:yt},{path:"Invoice",component:It},{path:"Estimate",component:Lt},{path:"SalesOrder",component:St},{path:"CustomerPO",component:wt},{path:"OutDelivery",component:Et},{path:"PackingSlip",component:Dt},{path:"WorkOrder",component:At},{path:"InvoiceNOutD",component:zt},{path:"Transfer",component:Ht},{path:"TransferMini",component:Ut},{path:"InDelivery",component:Nt},{path:"SupplierInvoice",component:Bt},{path:"SupplierInvoiceMini",component:qt},{path:"SupplierPO",component:jt},{path:"Treatment",component:Rt},{path:"RegisterClosure",component:Ft},{path:"JobOrder",component:Vt},{path:"JobOrderMini",component:Jt},{path:"BulkSupplierInvoice",component:$t},{path:"BulkInvoice",component:Wt},{path:"Adjustment",component:Qt},{path:"Manual-journal-invoice",component:Gt},{path:"Payment",component:Xt}],Zt=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=rt({type:n});static \u0275inj=ct({imports:[tn.forChild(Id),tn]})};var Tn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=rt({type:n});static \u0275inj=ct({imports:[xt,Zt,bn,In,yn,Tt,bt,ht,$]})};export{Rt as a,Tn as b};