dealpos 25.50.0 → 25.51.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 (273) hide show
  1. package/browser/{chunk-HGSF7LOB.js → chunk-27OXTS7Y.js} +1 -1
  2. package/browser/{chunk-4YZVDERU.js → chunk-2EHLYOAD.js} +1 -1
  3. package/browser/{chunk-BFNGPKGX.js → chunk-2GIDUMXS.js} +1 -1
  4. package/browser/{chunk-BRNU2JXC.js → chunk-2MAOKHWO.js} +1 -1
  5. package/browser/{chunk-KVMBRL53.js → chunk-2WSP3Y6V.js} +1 -1
  6. package/browser/{chunk-HWPSC7RE.js → chunk-3DL5OLEL.js} +1 -1
  7. package/browser/{chunk-CFWHBIM3.js → chunk-3DUSH3ND.js} +1 -1
  8. package/browser/{chunk-NOYC5PIT.js → chunk-3FS7DBBR.js} +1 -1
  9. package/browser/{chunk-FMKY4THI.js → chunk-3HDEMBWS.js} +1 -1
  10. package/browser/chunk-3M5FKEPW.js +1 -0
  11. package/browser/{chunk-O2VVATBW.js → chunk-3MAZIRSX.js} +1 -1
  12. package/browser/{chunk-OZ3MKU4C.js → chunk-3PKJLXTC.js} +1 -1
  13. package/browser/{chunk-PHH2AA3W.js → chunk-3Q5WV3VF.js} +1 -1
  14. package/browser/{chunk-3AZAILT2.js → chunk-3XDE3GJ3.js} +1 -1
  15. package/browser/{chunk-ZMJLTU5O.js → chunk-3XH2STFE.js} +1 -1
  16. package/browser/{chunk-26YFRPR2.js → chunk-3ZH3XK5V.js} +1 -1
  17. package/browser/{chunk-X2GHGFH2.js → chunk-43G72GH2.js} +1 -1
  18. package/browser/{chunk-MLBTUOHX.js → chunk-4467AQLM.js} +1 -1
  19. package/browser/chunk-4CYACZL5.js +149 -0
  20. package/browser/{chunk-2MPRVJXH.js → chunk-4HJHXVYF.js} +1 -1
  21. package/browser/{chunk-S7FOJJP2.js → chunk-4HLKKTIV.js} +1 -1
  22. package/browser/{chunk-MNJSQKLX.js → chunk-4L4MSVOU.js} +1 -1
  23. package/browser/{chunk-ISN5K6K2.js → chunk-4MWVPOV6.js} +1 -1
  24. package/browser/{chunk-5SIEW7SH.js → chunk-4OTZNFYS.js} +1 -1
  25. package/browser/{chunk-GDQGP7DV.js → chunk-57WKDIDF.js} +1 -1
  26. package/browser/{chunk-SOW7VMSU.js → chunk-5HIJCKLY.js} +1 -1
  27. package/browser/{chunk-TXJJUZ26.js → chunk-5PDQ5UNO.js} +1 -1
  28. package/browser/{chunk-FW4OCSXV.js → chunk-5RFSSCAR.js} +1 -1
  29. package/browser/{chunk-36GWLMZX.js → chunk-5RYL4EJ2.js} +1 -1
  30. package/browser/{chunk-B36P4U32.js → chunk-5VYU6SHE.js} +1 -1
  31. package/browser/chunk-5YBSS4EL.js +21 -0
  32. package/browser/{chunk-3ZWJMFYL.js → chunk-5ZPO7V26.js} +1 -1
  33. package/browser/{chunk-FV4MYFQI.js → chunk-67UFIJ2O.js} +1 -1
  34. package/browser/{chunk-MZSJCSUV.js → chunk-6AHKVKAZ.js} +2 -2
  35. package/browser/chunk-6F45DEGR.js +136 -0
  36. package/browser/{chunk-DC3TCY6D.js → chunk-6G7LPAEQ.js} +1 -1
  37. package/browser/chunk-6GCAXVFO.js +1 -0
  38. package/browser/{chunk-7F4QLFQQ.js → chunk-6I2YT4SH.js} +1 -1
  39. package/browser/{chunk-PLR55YR2.js → chunk-6LZENMYE.js} +1 -1
  40. package/browser/{chunk-PXIMA665.js → chunk-6O6OE4KQ.js} +14 -14
  41. package/browser/{chunk-B7BVEOOI.js → chunk-6UY42XOC.js} +1 -1
  42. package/browser/{chunk-OXWQ7ZZS.js → chunk-6WMEGLEF.js} +1 -1
  43. package/browser/{chunk-D7DUI5NF.js → chunk-6XNP4ZXB.js} +1 -1
  44. package/browser/chunk-735YXRQB.js +1 -0
  45. package/browser/{chunk-OYGBAHVX.js → chunk-73ADHCC2.js} +1 -1
  46. package/browser/{chunk-QZZ2NRA3.js → chunk-75FYOZH7.js} +1 -1
  47. package/browser/{chunk-CCD6EYWH.js → chunk-76CUXDTU.js} +1 -1
  48. package/browser/{chunk-BLEJLNEO.js → chunk-7JBFR3T4.js} +1 -1
  49. package/browser/{chunk-DWZ5JTI2.js → chunk-7MRUPBXU.js} +1 -1
  50. package/browser/{chunk-KZFNI67M.js → chunk-7YYWBCWJ.js} +1 -1
  51. package/browser/{chunk-T7PBUS2H.js → chunk-A2EDYIYP.js} +1 -1
  52. package/browser/{chunk-HFZ437GH.js → chunk-A5LIALQE.js} +1 -1
  53. package/browser/{chunk-QI7I46MV.js → chunk-A7C35XPM.js} +1 -1
  54. package/browser/{chunk-AQW4VS3Y.js → chunk-ACXQ2FOW.js} +1 -1
  55. package/browser/{chunk-WMZLH4YK.js → chunk-AHTR7XKG.js} +1 -1
  56. package/browser/{chunk-XTCEZONP.js → chunk-AJAUI7BA.js} +1 -1
  57. package/browser/{chunk-6C2HPRJZ.js → chunk-AQKJ3LSN.js} +1 -1
  58. package/browser/{chunk-RESN2GAB.js → chunk-ARAUAPQU.js} +1 -1
  59. package/browser/{chunk-3HZIDGPN.js → chunk-AXCTEREY.js} +1 -1
  60. package/browser/{chunk-SIQZO2WM.js → chunk-B4TZQBTN.js} +1 -1
  61. package/browser/{chunk-2ENLMKGR.js → chunk-B6TCVVAN.js} +1 -1
  62. package/browser/{chunk-BT7NN7PT.js → chunk-BAXZ74LK.js} +1 -1
  63. package/browser/{chunk-KB4247J2.js → chunk-BHQZXJKQ.js} +1 -1
  64. package/browser/{chunk-GRLVYPPM.js → chunk-BVOUQJCA.js} +1 -1
  65. package/browser/{chunk-RSNEHVIM.js → chunk-C22G4JGX.js} +1 -1
  66. package/browser/{chunk-4BXCIT62.js → chunk-CCIHCGP5.js} +1 -1
  67. package/browser/{chunk-FQZELIHB.js → chunk-CERE2LBX.js} +1 -1
  68. package/browser/{chunk-SK6Y77W4.js → chunk-CRKJEU3Z.js} +1 -1
  69. package/browser/{chunk-FAED643P.js → chunk-CVN6ZXXJ.js} +1 -1
  70. package/browser/{chunk-BYTV42NJ.js → chunk-D6HBPIFD.js} +1 -1
  71. package/browser/{chunk-YUILNWDI.js → chunk-D7YMUC3H.js} +1 -1
  72. package/browser/{chunk-Y5DX5U5Q.js → chunk-DCONKX6G.js} +1 -1
  73. package/browser/{chunk-TYE7PH3R.js → chunk-DIWYKKLA.js} +1 -1
  74. package/browser/{chunk-SBTTKQ4L.js → chunk-DJUOMCAV.js} +1 -1
  75. package/browser/{chunk-GWKBJZYT.js → chunk-DODZXMH2.js} +1 -1
  76. package/browser/{chunk-GTPQNPNO.js → chunk-DSXOFWO7.js} +1 -1
  77. package/browser/{chunk-YBUERVXV.js → chunk-DX56EYRS.js} +1 -1
  78. package/browser/{chunk-VVYRPW2Y.js → chunk-E4AXPU4U.js} +1 -1
  79. package/browser/{chunk-R2GUMKAU.js → chunk-E634BI4W.js} +1 -1
  80. package/browser/chunk-ECW7GAZQ.js +1 -0
  81. package/browser/{chunk-C2NCV7VC.js → chunk-EMH25BNO.js} +1 -1
  82. package/browser/{chunk-TCUCRGQD.js → chunk-EXFA6B6P.js} +1 -1
  83. package/browser/{chunk-B5IABJO5.js → chunk-EZNBK62W.js} +3 -3
  84. package/browser/chunk-F3HDP5CA.js +1 -0
  85. package/browser/{chunk-IFIH2CE2.js → chunk-F6LSMAF4.js} +1 -1
  86. package/browser/{chunk-ESDXMFGP.js → chunk-FINTUPRM.js} +1 -1
  87. package/browser/{chunk-D4FCXEV4.js → chunk-FM7BHGBW.js} +1 -1
  88. package/browser/{chunk-VZUPDSBH.js → chunk-FMEMQRBJ.js} +1 -1
  89. package/browser/{chunk-A565EUMD.js → chunk-FVNQ7SQY.js} +1 -1
  90. package/browser/{chunk-X44CHNHS.js → chunk-FZQE7J2C.js} +1 -1
  91. package/browser/{chunk-HSIXOQO7.js → chunk-G7L6AVIG.js} +1 -1
  92. package/browser/{chunk-DTVCBHPA.js → chunk-GFSJZHCB.js} +1 -1
  93. package/browser/{chunk-QPAUI5EG.js → chunk-GXAF3JUO.js} +1 -1
  94. package/browser/{chunk-S4D5UGSM.js → chunk-H2RXYP7A.js} +1 -1
  95. package/browser/{chunk-4XJWQAS6.js → chunk-HAXEFEKW.js} +1 -1
  96. package/browser/{chunk-DYBRYTEM.js → chunk-HHCNN3XR.js} +2 -2
  97. package/browser/{chunk-WXYXGYFH.js → chunk-HHM4L75O.js} +1 -1
  98. package/browser/{chunk-Y7KCHRMM.js → chunk-HIA4J5DB.js} +1 -1
  99. package/browser/{chunk-T3ZHKT2K.js → chunk-HQGZC4Y3.js} +1 -1
  100. package/browser/{chunk-TTCSYFRX.js → chunk-HSLDD424.js} +1 -1
  101. package/browser/{chunk-YLEKN2EU.js → chunk-HVFYCXLX.js} +1 -1
  102. package/browser/{chunk-FPRM3L6U.js → chunk-HYCKETL4.js} +1 -1
  103. package/browser/{chunk-CB6QEEJX.js → chunk-HZP6OUOI.js} +1 -1
  104. package/browser/{chunk-2ITJBRJU.js → chunk-I7AQHKKG.js} +7 -7
  105. package/browser/{chunk-4OEDK7YE.js → chunk-IDJEXQ5I.js} +1 -1
  106. package/browser/{chunk-XMZLK7EB.js → chunk-IDOUPEKS.js} +1 -1
  107. package/browser/{chunk-H74MLHRV.js → chunk-IET73YWA.js} +1 -1
  108. package/browser/{chunk-VKWSK452.js → chunk-IEX7S7T7.js} +1 -1
  109. package/browser/chunk-IHIJW73V.js +1 -0
  110. package/browser/chunk-IKSROKD5.css +1 -0
  111. package/browser/{chunk-ISQHQTAS.js → chunk-IM3B5EF2.js} +1 -1
  112. package/browser/{chunk-WM2DGNWH.js → chunk-ITTFNOLB.js} +1 -1
  113. package/browser/{chunk-JXXYVM7W.js → chunk-IZF7S2RF.js} +1 -1
  114. package/browser/{chunk-C3STDN73.js → chunk-JEZMYDZR.js} +1 -1
  115. package/browser/{chunk-T4MU3R7Y.js → chunk-JIRDK6TJ.js} +1 -1
  116. package/browser/chunk-JOLAOKHD.js +21 -0
  117. package/browser/{chunk-6WATOQG3.js → chunk-JQDS4BXR.js} +1 -1
  118. package/browser/{chunk-J6M7UWVR.js → chunk-JT4M6AIA.js} +1 -1
  119. package/browser/{chunk-USD2ALDX.js → chunk-K355XAWO.js} +1 -1
  120. package/browser/{chunk-WFQIMZGL.js → chunk-KBLVOO4J.js} +1 -1
  121. package/browser/{chunk-7L5VMLEF.js → chunk-KEILLJ6G.js} +1 -1
  122. package/browser/{chunk-FHB5KLDR.js → chunk-KFOEUAQT.js} +1 -1
  123. package/browser/chunk-KOZYTEZI.js +1 -0
  124. package/browser/{chunk-KUG5VVV4.js → chunk-KRBFME4B.js} +1 -1
  125. package/browser/chunk-L3U6V3BF.js +5 -0
  126. package/browser/{chunk-45E6XCHN.js → chunk-LB5UXGDG.js} +1 -1
  127. package/browser/{chunk-NM3IQUNN.js → chunk-LGD5WUG2.js} +1 -1
  128. package/browser/{chunk-M4EQZHIE.js → chunk-LKVUZZ5J.js} +1 -1
  129. package/browser/{chunk-4ZITX27A.js → chunk-LMUFX64W.js} +1 -1
  130. package/browser/{chunk-53VS5DA7.js → chunk-MM4IJDHI.js} +1 -1
  131. package/browser/chunk-MTUBVUM5.js +1 -0
  132. package/browser/{chunk-QZRMHLML.js → chunk-MUWJSYXR.js} +1 -1
  133. package/browser/{chunk-LNDHYAFW.js → chunk-MWGICBEB.js} +1 -1
  134. package/browser/{chunk-ZTD4APMR.js → chunk-N5RDRDT7.js} +1 -1
  135. package/browser/{chunk-BZ3GMUQ7.js → chunk-N6EBK52R.js} +3 -3
  136. package/browser/{chunk-7P3L3ODB.js → chunk-N7OS7SFI.js} +1 -1
  137. package/browser/{chunk-RACYAEOL.js → chunk-NFWYR26Q.js} +1 -1
  138. package/browser/{chunk-S27D5MBU.js → chunk-NJ4KEQKH.js} +1 -1
  139. package/browser/chunk-NQQB5U5S.js +4 -0
  140. package/browser/{chunk-PVBS6SYW.js → chunk-NRTKHF45.js} +1 -1
  141. package/browser/{chunk-72RZBOHX.js → chunk-NS6IC2PT.js} +1 -1
  142. package/browser/{chunk-BNNKSBQ6.js → chunk-O22HDFH6.js} +1 -1
  143. package/browser/{chunk-IPPIH4F4.js → chunk-OAVGNXY4.js} +1 -1
  144. package/browser/{chunk-7YUPYNWQ.js → chunk-OB6KFXD6.js} +2 -2
  145. package/browser/{chunk-5ZD6KTDH.js → chunk-ODYEJFNJ.js} +1 -1
  146. package/browser/{chunk-EHXF34TI.js → chunk-OEOAWKXA.js} +1 -1
  147. package/browser/{chunk-LIX7XJ55.js → chunk-OR4H5IKL.js} +1 -1
  148. package/browser/chunk-OTLU2WY3.js +3 -0
  149. package/browser/{chunk-TSH564VU.js → chunk-OUJXEQKL.js} +1 -1
  150. package/browser/{chunk-UZN4OKOJ.js → chunk-OURNAI65.js} +2 -2
  151. package/browser/chunk-OZ2R2K2V.js +1 -0
  152. package/browser/{chunk-PRVQ3NAP.js → chunk-P3TFDLWR.js} +2 -2
  153. package/browser/{chunk-PV4YHZX5.js → chunk-P5XKSQ34.js} +1 -1
  154. package/browser/{chunk-COA4UL2V.js → chunk-P7KMHPVN.js} +1 -1
  155. package/browser/{chunk-7JULWG2B.js → chunk-PCRUTQ3T.js} +1 -1
  156. package/browser/{chunk-T7XU5W5A.js → chunk-PNFJVQUF.js} +1 -1
  157. package/browser/{chunk-A6Z5ZHVO.js → chunk-PQSGJR4P.js} +1 -1
  158. package/browser/{chunk-WKM2QOAU.js → chunk-PSFQWURP.js} +1 -1
  159. package/browser/{chunk-3CUT73ZP.js → chunk-PV27CMZ2.js} +1 -1
  160. package/browser/{chunk-7MJWZXSK.js → chunk-QERITLZK.js} +2 -2
  161. package/browser/{chunk-2CL5FM3P.js → chunk-QJ3CWKQT.js} +1 -1
  162. package/browser/{chunk-PS7477UG.js → chunk-QLSGGWTW.js} +1 -1
  163. package/browser/{chunk-A5CTHLE4.js → chunk-QS2AUXB7.js} +1 -1
  164. package/browser/{chunk-TEGIL5RZ.js → chunk-QWLNF7VL.js} +1 -1
  165. package/browser/chunk-R3HIQ5AX.js +1 -0
  166. package/browser/{chunk-HFDJ5XSI.js → chunk-RF5FWMSR.js} +1 -1
  167. package/browser/{chunk-RE6SQEP6.js → chunk-RHDU4PR2.js} +1 -1
  168. package/browser/{chunk-FU2ZGMX4.js → chunk-RIZ4YVMH.js} +1 -1
  169. package/browser/chunk-RJYFOAYX.js +1 -0
  170. package/browser/{chunk-2KI73XNT.js → chunk-RU3GD3GY.js} +1 -1
  171. package/browser/{chunk-IZLEZJ6U.js → chunk-SCAKRK4B.js} +1 -1
  172. package/browser/{chunk-THT6CY5E.js → chunk-SCGKVOSE.js} +1 -1
  173. package/browser/{chunk-S65MPEJS.js → chunk-SCHTN7VQ.js} +1 -1
  174. package/browser/chunk-SMEVWRVE.js +1 -0
  175. package/browser/{chunk-CZHWPDAM.js → chunk-SUCJCOST.js} +1 -1
  176. package/browser/{chunk-BQ7QT5RB.js → chunk-SVUFU2AS.js} +1 -1
  177. package/browser/{chunk-IKKPP4JS.js → chunk-SWF6XISV.js} +1 -1
  178. package/browser/{chunk-VVWAYTKN.js → chunk-SWVQK6HM.js} +1 -1
  179. package/browser/{chunk-7DAPNQYU.js → chunk-SXRKKO75.js} +1 -1
  180. package/browser/{chunk-KZBVWICA.js → chunk-T5IJP474.js} +1 -1
  181. package/browser/{chunk-G5JGQBAG.js → chunk-T6GXIGYG.js} +1 -1
  182. package/browser/{chunk-LGOSIAUC.js → chunk-TANYEHMZ.js} +1 -1
  183. package/browser/chunk-TCW7SVU5.js +22 -0
  184. package/browser/{chunk-PQ6W7KXC.js → chunk-TDHDQRJN.js} +1 -1
  185. package/browser/{chunk-CXWICNFP.js → chunk-TOJPS7BJ.js} +1 -1
  186. package/browser/{chunk-6P2ASCNY.js → chunk-TP6ZUC53.js} +1 -1
  187. package/browser/{chunk-ZKOARDC2.js → chunk-TPJWIEYA.js} +1 -1
  188. package/browser/{chunk-L6PKNRWO.js → chunk-TRK4LJDS.js} +1 -1
  189. package/browser/{chunk-32QBWLTN.js → chunk-U4MC22BG.js} +1 -1
  190. package/browser/{chunk-QJUU75N6.js → chunk-U56LRRCE.js} +1 -1
  191. package/browser/{chunk-B7AC4RMR.js → chunk-UIVJ2JQT.js} +1 -1
  192. package/browser/chunk-UMFN4AJF.js +1 -0
  193. package/browser/{chunk-ZTU3TIGR.js → chunk-UPZZHMG6.js} +1 -1
  194. package/browser/{chunk-MZITJQAC.js → chunk-UX4QS4XQ.js} +1 -1
  195. package/browser/{chunk-CCJ6SHBL.js → chunk-V36Z6WRV.js} +1 -1
  196. package/browser/{chunk-PPVORSJQ.js → chunk-V4LDEQZZ.js} +1 -1
  197. package/browser/chunk-V4V55JMO.js +1 -0
  198. package/browser/{chunk-JBS5UYZC.js → chunk-V6D6TV7B.js} +1 -1
  199. package/browser/{chunk-M2HEFQUY.js → chunk-V6NXOOJA.js} +1 -1
  200. package/browser/{chunk-4MQZXTMM.js → chunk-VA6MHJ5E.js} +1 -1
  201. package/browser/{chunk-KYXB2UQI.js → chunk-VEQJR5VL.js} +1 -1
  202. package/browser/{chunk-5USF4MRW.js → chunk-VGHEGWAM.js} +1 -1
  203. package/browser/{chunk-7BQKGIZM.js → chunk-VL7THV5U.js} +1 -1
  204. package/browser/{chunk-GESNWWTD.js → chunk-VOY3BJZP.js} +9 -9
  205. package/browser/{chunk-HFOJZ3B5.js → chunk-VQKO557Q.js} +1 -1
  206. package/browser/chunk-VRKJC53Z.js +10 -0
  207. package/browser/{chunk-FSOHJLXB.js → chunk-WFTIOB7Q.js} +1 -1
  208. package/browser/{chunk-4CPRMZL6.js → chunk-WFVMID6Q.js} +1 -1
  209. package/browser/{chunk-Z6X5UYRZ.js → chunk-WFWUOLEG.js} +1 -1
  210. package/browser/{chunk-ARYZHNFV.js → chunk-WGOUSPMF.js} +1 -1
  211. package/browser/{chunk-3CSCTT6I.js → chunk-WOAKN4QZ.js} +1 -1
  212. package/browser/chunk-WQMYMJLR.js +4 -0
  213. package/browser/chunk-WR54IKY6.js +1 -0
  214. package/browser/{chunk-GDNVMJOU.js → chunk-WSFSSHIX.js} +1 -1
  215. package/browser/{chunk-ZZBF7AOW.js → chunk-WSWTWRKJ.js} +1 -1
  216. package/browser/{chunk-COGKLKKE.js → chunk-XEPEGKS2.js} +1 -1
  217. package/browser/{chunk-O3ENARQZ.js → chunk-XPN6EISF.js} +1 -1
  218. package/browser/{chunk-XFAV2VZL.js → chunk-XVTXHAKW.js} +1 -1
  219. package/browser/{chunk-LIXEWT4U.js → chunk-XWV7AI2C.js} +16 -16
  220. package/browser/{chunk-4W3WYXI2.js → chunk-XWYCNPUZ.js} +1 -1
  221. package/browser/{chunk-PJ3DTEH2.js → chunk-Y4MERAVA.js} +1 -1
  222. package/browser/{chunk-363IDTE3.js → chunk-Y7ZKGM5U.js} +1 -1
  223. package/browser/{chunk-KUF3JPB2.js → chunk-YC2LQSY3.js} +1 -1
  224. package/browser/{chunk-SIDUUVNA.js → chunk-YDL2MTWE.js} +1 -1
  225. package/browser/{chunk-JTZHHVPI.js → chunk-YMKZUNJH.js} +1 -1
  226. package/browser/{chunk-VXPORXGI.js → chunk-YQ5PAXUW.js} +1 -1
  227. package/browser/{chunk-PIAQ4TBN.js → chunk-YXRJV3RQ.js} +1 -1
  228. package/browser/{chunk-C5N3GKEC.js → chunk-Z4WEJMVU.js} +1 -1
  229. package/browser/{chunk-IISHJIET.js → chunk-Z5BFBI3D.js} +1 -1
  230. package/browser/{chunk-SLX34TWD.js → chunk-Z76C52NM.js} +1 -1
  231. package/browser/{chunk-A2EVMYAR.js → chunk-ZBHPM2JC.js} +1 -1
  232. package/browser/{chunk-Q3DS2RLM.js → chunk-ZNJ4JTTS.js} +1 -1
  233. package/browser/chunk-ZNPC63ZV.js +380 -0
  234. package/browser/{chunk-G3DZI5XK.js → chunk-ZO3XZXWW.js} +2 -2
  235. package/browser/{chunk-LGINK7BD.js → chunk-ZOYWCF3Q.js} +1 -1
  236. package/browser/{chunk-VZBXT2TV.js → chunk-ZRC22L45.js} +1 -1
  237. package/browser/{chunk-BQUL7SGN.js → chunk-ZV4K4PP6.js} +3 -3
  238. package/browser/chunk-ZVWC6CBP.js +1 -0
  239. package/browser/index.html +2 -2
  240. package/browser/main-4BFS7RVV.css +1 -0
  241. package/browser/main-PHIUFC5R.js +3 -0
  242. package/browser/{styles-URIEURGQ.css → styles-LFDMQGKE.css} +1 -1
  243. package/package.json +1 -1
  244. package/browser/chunk-2FJNMKCN.js +0 -1
  245. package/browser/chunk-2SZZVWQD.js +0 -137
  246. package/browser/chunk-2VE2WNSA.js +0 -21
  247. package/browser/chunk-4HEJOI53.js +0 -1
  248. package/browser/chunk-4KYROBKJ.js +0 -4
  249. package/browser/chunk-4SRWAPD4.js +0 -1
  250. package/browser/chunk-COL56R4A.js +0 -22
  251. package/browser/chunk-CQLZHUT4.js +0 -9
  252. package/browser/chunk-DOCQN2VL.js +0 -1
  253. package/browser/chunk-DTX2BFBV.js +0 -1
  254. package/browser/chunk-EAEOJMTA.js +0 -4
  255. package/browser/chunk-F765TCAS.js +0 -149
  256. package/browser/chunk-GBSRXCWH.js +0 -380
  257. package/browser/chunk-IEVGW2RT.js +0 -5
  258. package/browser/chunk-JB7Y2263.js +0 -1
  259. package/browser/chunk-JCLYKROE.js +0 -1
  260. package/browser/chunk-M3DKYPGC.js +0 -1
  261. package/browser/chunk-MFJH22SW.js +0 -1
  262. package/browser/chunk-NBMH5YL2.css +0 -1
  263. package/browser/chunk-PHYDJ3P5.js +0 -1
  264. package/browser/chunk-PMDFKXZY.js +0 -1
  265. package/browser/chunk-Q7YUJXQP.js +0 -1
  266. package/browser/chunk-QWB3USYP.js +0 -3
  267. package/browser/chunk-V432I4ZE.js +0 -21
  268. package/browser/chunk-VM4K4MNV.js +0 -1
  269. package/browser/chunk-XSZJISVJ.js +0 -1
  270. package/browser/chunk-XY3FCZN2.js +0 -1
  271. package/browser/chunk-ZCQDZKFQ.js +0 -1
  272. package/browser/main-4PHVOJ3C.js +0 -3
  273. package/browser/main-WPNH2WGQ.css +0 -1
@@ -0,0 +1 @@
1
+ import{a as At,b as Xn}from"./chunk-5VYU6SHE.js";import{a as Wn,b as Gn}from"./chunk-6XNP4ZXB.js";import{b as $n,c as Un,d as Qn}from"./chunk-5PDQ5UNO.js";import{a as z,b as gt,c as $t}from"./chunk-O22HDFH6.js";import{a as pt}from"./chunk-WFVMID6Q.js";import{a as Jt}from"./chunk-Y7ZKGM5U.js";import{a as kt}from"./chunk-75FYOZH7.js";import{D as Fn,G as jt,H as jn,N as Et,O as y,d as Ot,g as q,n as Vt,o as $,q as Mt,u as Ft,y as ft}from"./chunk-QWLNF7VL.js";import{b as ut}from"./chunk-KBLVOO4J.js";import{a as I}from"./chunk-WUV22SZ4.js";import{s as h}from"./chunk-TANYEHMZ.js";import{$b as An,Ab as p,Ac as tt,Bc as nt,Ca as rt,Cb as g,Db as zt,E as k,Eb as w,Fb as D,Gb as T,Ha as wn,Hb as d,Hc as C,Ib as o,Ic as P,Jb as i,Jc as f,K as Dn,Kb as _,Kc as st,Ld as N,Nc as Tt,Ob as Ct,Pb as _t,Pd as b,Qa as O,Qb as vt,Qc as K,Sa as V,Ta as R,Ua as lt,Ub as kn,Ud as vn,Vc as Rt,Wb as c,Xa as e,Y as J,_b as En,aa as E,ac as Nn,d as Sn,da as Tn,eb as M,ec as Pt,fa as A,fc as xn,hc as at,ib as v,ic as mt,id as Z,jb as St,jc as a,kc as s,kd as Lt,lc as m,ld as wt,ma as yt,mc as dt,nc as It,o as In,ob as x,pa as Bt,pd as Jn,qd as S,rc as Rn,rd as Vn,sc as Hn,sd as F,t as j,tc as Bn,uc as zn,ud as B,vc as Dt,wb as H,wc as Ln,xd as bt}from"./chunk-L3U6V3BF.js";import{a as yn}from"./chunk-SNAKHGZS.js";function Yn(n,l){if(n&1&&_(0,"pos-receipt",0),n&2){let t=c();d("receiptParam",t.receiptParam)("data",t.model.Data)("emailVisibleRestriction",!t.roleService.sell.Email)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("priceVisibleRestriction",!t.roleService.sell.PriceVisible)("stylesheet",t.model.StylesSheet)("saveLastPrintDate",!0)}}var Ut=class n{constructor(l,t,r,u){this.httpService=l;this.activeRoute=t;this.titleService=r;this.roleService=u;this.destroy$=new Sn}model;receiptParam;destroy$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),r=this.activeRoute.snapshot.queryParamMap.get("Price"),u=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:l,Template:t,Price:r,Print:u},this.httpService.post(y.InvoiceMini,this.receiptParam).pipe(Tn(this.destroy$)).subscribe(L=>{this.model=L,this.model.Data.InvoiceID=l,this.setBrowserTitle(L);let Y=this.activeRoute.snapshot.queryParamMap.get("Print"),it=this.activeRoute.snapshot.queryParamMap.get("Printer");it&&(this.model.Template.PrintLX300=it=="EpsonLX300"),parseInt(Y)==1&&window.setTimeout(function(){window.print()},500)})}setBrowserTitle(l){let r=`Invoice Mini | ${l.Data.Number}`;this.titleService.setTitle(r)}preventOpenContextMenu(l){return alert("This function is disabled."),l.preventDefault(),!1}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N),M(ut))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-mini"]],hostBindings:function(t,r){t&1&&kn("contextmenu",function(L){return r.preventOpenContextMenu(L)})},standalone:!1,decls:1,vars:1,consts:[[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction","stylesheet","saveLastPrintDate"]],template:function(t,r){t&1&&p(0,Yn,1,8,"pos-receipt",0),t&2&&g(r.model?0:-1)},dependencies:[Un],encapsulation:2})};function te(n,l){if(n&1&&_(0,"pos-receipt-a4",0),n&2){let t=l,r=c();d("receiptParam",r.receiptParam)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",r.BarCodeOptions)("workOrderMode",!1)("fullMode",!0)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0)}}var Qt=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.titleService=r}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};receiptParam;data$;ngOnInit(){let l=this.activeRoute.snapshot.queryParamMap.get("ID"),t=this.activeRoute.snapshot.queryParamMap.get("Template"),r=this.activeRoute.snapshot.queryParamMap.get("Price"),u=this.activeRoute.snapshot.queryParamMap.get("Print"),L=this.activeRoute.snapshot.queryParamMap.get("Printer");this.receiptParam={ID:l,Template:t,Price:r,Print:u},this.data$=this.httpService.post(y.InvoiceA4,this.receiptParam).pipe(j(Y=>(L&&(Y.Template.PrintLX300=L=="EpsonLX300"),Y)),A(Y=>{this.setBrowserTitle(Y),parseInt(u)==1&&window.setTimeout(function(){window.print()},500)}),J(1))}setBrowserTitle(l){let r=`Invoice A4 | ${l.Data.Invoice.Number}`;this.titleService.setTitle(r)}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice"]],standalone:!1,decls:2,vars:3,consts:[[3,"receiptParam","data","printTemplate","config","barcodeOptions","workOrderMode","fullMode","stylesheet","saveLastPrintDate"]],template:function(t,r){if(t&1&&(p(0,te,1,9,"pos-receipt-a4",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[At,S],encapsulation:2})};function ne(n,l){if(n&1&&_(0,"park-order",0),n&2){let t=l;d("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var Wt=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.SalesOrderReceiptMini,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-sales-order"]],standalone:!1,decls:2,vars:3,consts:[[3,"data","printTemplate","config","stylesheet"]],template:function(t,r){if(t&1&&(p(0,ne,1,4,"park-order",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Wn,S],encapsulation:2})};var ee=(n,l)=>({lx300:n,"print-normal":l}),ie=n=>({width:n});function oe(n,l){n&1&&_(0,"link",40)}function le(n,l){n&1&&_(0,"link",41)}function ae(n,l){if(n&1&&_(0,"img",43),n&2){let t=c(3);at(tt(3,ie,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),d("src",t.Template.Logo,V)}}function ce(n,l){if(n&1&&p(0,ae,1,5,"img",42),n&2){let t=c(2);g(t.Template.Logo?0:-1)}}function re(n,l){if(n&1&&_(0,"img",43),n&2){let t=c(3);d("src",t.Template.Logo,V)}}function de(n,l){if(n&1&&p(0,re,1,1,"img",43),n&2){let t=c(2);g(t.Template.Logo?0:-1)}}function pe(n,l){if(n&1&&(o(0,"div",8),p(1,ce,1,1)(2,de,1,1),i()),n&2){let t=c();e(),g((t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0?1:2)}}function ge(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2);e(),m("(",t.Data.Contact.MemberIdentification,")")}}function Ce(n,l){if(n&1&&(o(0,"div",14)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",44)(5,"strong"),a(6),i(),p(7,ge,2,1,"span"),o(8,"div",45)(9,"div")(10,"span"),a(11),i()(),o(12,"div")(13,"span"),a(14),i()(),o(15,"div"),_(16,"span",12),i(),o(17,"div")(18,"span"),a(19),i()()()()()),n&2){let t=c();e(3),s(t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer),e(3),s(t.Data.ContactDisplay),e(),g(t.Data.Contact.MemberIdentification?7:-1),e(4),s(t.Data.Contact.Email),e(3),s(t.Data.Contact.Phone?t.Data.Contact.Phone:t.Data.Contact.Mobile),e(2),d("innerHTML",t.Data.Contact.Address,O),e(3),s(t.Data.City)}}function _e(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function me(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function Pe(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function se(n,l){n&1&&(o(0,"th"),a(1," PO# "),i())}function ue(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"date"),i()),n&2){let t=c();e(),m(" ",f(2,1,t.Data.Invoice.Due,"dd MMM yyyy")," ")}}function Oe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c();e(),s(t.Data.ToP)}}function Me(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c();e(),m(" ",t.Data.SalesName," ")}}function fe(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c();e(),m(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber," ")}}function xe(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2);e(),m(", ",t.Data.ShippingAddress.Phone)}}function ve(n,l){if(n&1&&(o(0,"div",16)(1,"h3"),a(2),i(),o(3,"div",44)(4,"div"),a(5),p(6,xe,2,1,"span"),i(),_(7,"div",12),o(8,"div"),a(9),i()()()),n&2){let t=c();e(2),m(" ",t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress," "),e(3),m(" ",t.Data.ShippingAddress.Recipient),e(),g(t.Data.ShippingAddress.Phone?6:-1),e(),d("innerHTML",t.Data.ShippingAddress.Street,O),e(2),m(" ",t.Data.ShippingAddress.City," ")}}function be(n,l){n&1&&(o(0,"th",26),a(1," Disc "),i())}function he(n,l){if(n&1&&(_(0,"i",46),C(1,"newlines")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.Note),O)}}function ye(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),m("-",t.Discount,"%")}}function Se(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),m(" -",t.DiscountAmount," ")}}function Ie(n,l){if(n&1&&(o(0,"td",47),p(1,ye,2,1,"div"),p(2,Se,2,1,"div"),i()),n&2){let t=c().$implicit;e(),g(t.Discount!=0?1:-1),e(),g(t.DiscountAmount!=0?2:-1)}}function De(n,l){if(n&1&&(o(0,"tr")(1,"td",13),a(2),i(),o(3,"td"),a(4),o(5,"div"),p(6,he,2,3,"i",46),i()(),o(7,"td"),a(8),i(),o(9,"td",13),a(10),C(11,"number"),i(),o(12,"td"),a(13),i(),o(14,"td",13),a(15),C(16,"number"),i(),p(17,Ie,3,2,"td",47),o(18,"td",13),a(19),C(20,"TrailingZero"),i()()),n&2){let t=l.$implicit,r=l.$index,u=c(),L=c();e(2),m("",r+1,"."),e(2),m(" ",t.Name," "),e(2),g(t.Note!=null?6:-1),e(2),s(t.Code),e(2),s(P(11,9,t.Quantity)),e(3),s(t.UOMName),e(2),s(P(16,11,t.UnitPrice)),e(2),g(L.isDiscount?17:-1),e(2),m(" ",f(20,13,t.Total,u.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Te(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c(3);e(),m("Qty : ",P(2,1,t.totalQty),";")}}function we(n,l){if(n&1&&(o(0,"tr")(1,"th"),p(2,Te,3,3,"span"),a(3),i(),o(4,"td"),a(5,":"),i(),o(6,"td",48),a(7),i(),o(8,"td",24),a(9),C(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,r=c(),u=c();e(2),g(u.count>1?2:-1),e(),m("",t.Label," "),e(4),s(t.CurrencySymbol),e(2),m(" ",f(10,4,t.Amount,r.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ke(n,l){if(n&1&&(o(0,"td",49),a(1),i()),n&2){let t=c(2);e(),m(" ",t.Data.TotalInWords," ")}}function Ee(n,l){if(n&1&&(o(0,"tr"),_(1,"th",12),o(2,"td"),a(3,":"),i(),p(4,ke,2,1,"td",49),i()),n&2){let t=c();e(),d("innerHTML",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",O),e(3),g(t.Data.TotalInWords?4:-1)}}function Ae(n,l){if(n&1&&(o(0,"span")(1,"span",50),a(2),C(3,"date"),i(),a(4),C(5,"number"),_(6,"br"),i()),n&2){let t=l.$implicit,r=c(2);e(),d("hidden",r.Data.Payments),e(),s(f(3,5,t.Date,"dd MMM yy")),e(2),It(" ",t.MethodName," ",t.Note?t.Note:""," ",P(5,8,t.Amount)," ")}}function Ne(n,l){if(n&1&&(o(0,"tr"),_(1,"th",12),o(2,"td"),a(3,":"),i(),o(4,"td"),D(5,Ae,7,10,"span",null,w),i()()),n&2){let t=c();e(),d("innerHTML",t.Data.Invoice.PaymentStateID==2?"Down Payment":"Payment",O),e(4),T(t.Data.Payments)}}function Re(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Delivery"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",51)(7,"li"),a(8),i()()()()),n&2){let t=c();e(8),m(" ",t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function He(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",51),_(7,"li",12),C(8,"newlines"),i()()()),n&2){let t=c();e(7),d("innerHTML",P(8,1,t.Data.Invoice==null?null:t.Data.Invoice.Note),O)}}function Be(n,l){if(n&1&&(o(0,"div",34)(1,"h5"),a(2),i(),o(3,"div",33),a(4,"\xA0"),i()()),n&2){let t=c();e(2),m(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function ze(n,l){if(n&1&&(o(0,"div",35)(1,"h5"),a(2),i(),o(3,"div",33),a(4,"\xA0"),i()()),n&2){let t=c();e(2),m(" ",t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Le(n,l){if(n&1&&_(0,"div",39),n&2){let t=c();d("innerHTML",t.Template.FooterRight,O)}}function Je(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),p(2,oe,1,0,"link",1),p(3,le,1,0,"link",2),o(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7),p(9,pe,3,1,"div",8),o(10,"div",9)(11,"h2"),a(12),i(),o(13,"small"),a(14),i(),o(15,"div",10)(16,"div",11),_(17,"span",12),C(18,"newlines"),i(),o(19,"div",13),_(20,"span",12),C(21,"newlines"),i()()()(),p(22,Ce,20,7,"div",14),i(),o(23,"div",15)(24,"h1")(25,"strong"),a(26),i(),o(27,"span"),a(28),i()(),o(29,"div")(30,"table")(31,"thead")(32,"tr")(33,"th"),a(34,"Date"),i(),p(35,_e,2,0,"th"),p(36,me,2,0,"th"),p(37,Pe,2,0,"th"),p(38,se,2,0,"th"),i()(),o(39,"tbody")(40,"tr")(41,"td"),a(42),C(43,"date"),i(),p(44,ue,3,4,"td"),p(45,Oe,2,1,"td"),p(46,Me,2,1,"td"),p(47,fe,2,1,"td"),i()()()(),p(48,ve,10,5,"div",16),i()()(),o(49,"section",17)(50,"div",18)(51,"table",19)(52,"thead",20)(53,"tr")(54,"th",21),a(55,"No"),i(),o(56,"th"),a(57,"Name"),i(),o(58,"th",22),a(59,"Code"),i(),o(60,"th",23),a(61,"Qty"),i(),o(62,"th",24),a(63,"UOM"),i(),o(64,"th",25),a(65),i(),p(66,be,2,0,"th",26),o(67,"th",25),a(68),i()()(),o(69,"tbody"),D(70,De,21,16,"tr",null,w),i(),o(72,"tr",27)(73,"td",28)(74,"table",29)(75,"tbody"),D(76,we,11,7,"tr",null,w),i()()()()()()(),o(78,"table",30),p(79,Ee,5,2,"tr"),p(80,Ne,7,1,"tr"),p(81,Re,9,1,"tr"),p(82,He,9,3,"tr"),i(),o(83,"div")(84,"div")(85,"div",31)(86,"div",32)(87,"h5"),a(88),i(),o(89,"div",33),a(90,"\xA0"),i()(),p(91,Be,5,1,"div",34),p(92,ze,5,1,"div",35),o(93,"div",36)(94,"h5"),a(95),i(),o(96,"div",33),a(97),i()()()()(),o(98,"div",37),_(99,"div",38),p(100,Le,1,1,"div",39),i()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,37,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(2),g(t.Template.PrintLX300?2:-1),e(),g(t.Template.PrintLX300?3:-1),e(),d("ngClass",nt(46,ee,t.Template.PrintLX300,!t.Template.PrintLX300)),e(5),g(t.Template.Logo?9:-1),e(3),s(t.Template.Title),e(2),s(t.Template.Field),e(3),d("innerHTML",P(18,39,t.Template.Address),O),e(3),d("innerHTML",P(21,41,t.Template.ContactInfo),O),e(2),g(t.Data.ContactDisplay?22:-1),e(4),s(t.Data.Prefixed),e(2),m(" ",t.Data.Invoice==null?null:t.Data.Invoice.Number," "),e(7),g(t.Data.ToP?35:-1),e(),g(t.Data.ToP?36:-1),e(),g(t.Data.SaleVisible?37:-1),e(),g((t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.ReferenceNumber)!=null?38:-1),e(4),s(f(43,43,t.Data.Invoice==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(2),g(t.Data.ToP?44:-1),e(),g(t.Data.ToP?45:-1),e(),g(t.Data.SaleVisible?46:-1),e(),g(t.Data.CustomerTransaction!=null&&t.Data.CustomerTransaction.SO.ReferenceNumber?47:-1),e(),g(t.Data.ShippingAddress?48:-1),e(17),m(" Price(",t.Data.CurrencySymbol,") "),e(),g(r.isDiscount?66:-1),e(2),m(" Total(",t.Data.CurrencySymbol,") "),e(2),T(t.Data.Items),e(6),T(t.Data.Aggregate),e(3),g(t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||t.Data.TotalInWords?79:-1),e(),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible&&t.Data.Payments.length>0?80:-1),e(),g((t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO)!=null&&(t.Data.CustomerTransaction==null?null:t.Data.CustomerTransaction.SO.DeliveryStateID)!=3&&(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.DeliveryInfoVisible)?81:-1),e(),g(t.Data.Invoice!=null&&t.Data.Invoice.Note?82:-1),e(6),m(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy," "),e(3),g((t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==1||(t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2?91:-1),e(),g((t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2?92:-1),e(3),m(" ",t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy," "),e(2),m(" ",t.Data.ItemTransfer==null?null:t.Data.ItemTransfer.Courier," "),e(2),d("ngClass",!t.Template.FooterRight&&"single")("innerHTML",t.Template.FooterLeft,O),e(),g(t.Template.FooterRight?100:-1)}}var Gt=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;isDiscount=!1;count;totalQty;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t.Print,this.httpService.post(y.CustomerPoInvoice,t).pipe(j(r=>(t.Printer&&(r.Template.PrintLX300=t.Printer=="EpsonLX300"),r))))),A(t=>{this.calculateQty(t),this.isHasDiscount(t),l==1&&window.setTimeout(function(){window.print()},500)}))}calculateQty(l){this.count=0,this.totalQty=0;for(let t of l?.Data?.Items)this.totalQty+=t.Quantity,this.count++}isHasDiscount(l){let t=l?.Data?.Items;t&&(this.isDiscount=t.some(r=>r.Discount>0||r.DiscountAmount>0))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-customer-po"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css"],[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"],[1,"contact",2,"min-width","400px"],[1,"col","p-0","m-0","header_right"],[1,"contact","shippingAddress"],[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"],[1,"number","text-end",2,"width","20px"],[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"],[1,"left","leftSmall"],[1,"left","rightSmall"],[1,"right"],[1,"note"],[1,"left",3,"ngClass","innerHTML"],[1,"right",3,"innerHTML"],["href",lt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"col-md-12","px-0",3,"style","src"],[1,"col-md-12","px-0",3,"src"],[1,"box"],[1,"customer_info"],[1,"special-TinyMCE",2,"word-break","break-all",3,"innerHTML"],[1,"number","red","text-end"],[1,"currency"],[1,"val"],[3,"hidden"],[1,"float"]],template:function(t,r){if(t&1&&(p(0,Je,101,49),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,F,$,Mt,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var ht=(u=>(u[u.TRANSFER_ORDER=0]="TRANSFER_ORDER",u[u.OUTBOUND=1]="OUTBOUND",u[u.INBOUND=2]="INBOUND",u[u.INVOICE_DELIVERY=3]="INVOICE_DELIVERY",u))(ht||{});var Ve=(n,l)=>({lx300:n,"print-normal":l}),Fe=n=>({width:n}),je=(n,l)=>({"justify-content-between":n,"justify-content-end":l});function $e(n,l){n&1&&_(0,"link",9)}function Ue(n,l){n&1&&_(0,"link",10)}function Qe(n,l){if(n&1&&(Ct(0),_(1,"POS-print-mode",52),_t()),n&2){let t=c(2);e(),d("paperPrints",t.paperPrintMode)}}function We(n,l){if(n&1&&(Ct(0),_(1,"img",54),_t()),n&2){let t=c(3);e(),at(tt(3,Fe,t.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth+"px")),d("src",t.printTemplate.Logo,V)}}function Ge(n,l){if(n&1&&_(0,"img",54),n&2){let t=c(3);d("src",t.printTemplate.Logo,V)}}function Xe(n,l){if(n&1&&(o(0,"div",15),x(1,We,2,5,"ng-container",53)(2,Ge,1,1,"ng-template",null,2,Tt),i()),n&2){let t=Pt(3),r=c(2);e(),d("ngIf",(r.config==null||r.config.PrintConfigInvoice==null||r.config.PrintConfigInvoice.LogoConfig==null?null:r.config.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0)("ngIfElse",t)}}function Ze(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function qe(n,l){n&1&&(o(0,"th"),a(1," ToP "),i())}function Ke(n,l){n&1&&(o(0,"th"),a(1," Sales "),i())}function Ye(n,l){n&1&&(Ct(0),o(1,"th"),a(2,"PO#"),i(),_t())}function ti(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"date"),i()),n&2){let t=c(2);e(),m(" ",f(2,1,t.data.DueDate,"dd MMM yyyy")," ")}}function ni(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),m(" ",t.data.ToP," ")}}function ei(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),m(" ",t.data.SalesName," ")}}function ii(n,l){if(n&1&&(Ct(0),o(1,"td"),a(2),i(),_t()),n&2){let t=c(2);e(2),s(t.data.PO==null?null:t.data.PO.ReferenceNumber)}}function oi(n,l){if(n&1&&(o(0,"div",55),_(1,"h3",56),o(2,"div"),a(3),_(4,"div",56)(5,"div",56),i()()),n&2){let t=c(2);xn("margin-right","15px"),e(),d("innerHtml",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,O),e(2),dt(" ",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(),d("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Address,O),e(),d("innerHtml",t.data==null||t.data.Shipping==null?null:t.data.Shipping.City,O)}}function li(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),s(t.data.Contact.Email)}}function ai(n,l){if(n&1&&(o(0,"div"),_(1,"span",17),i()),n&2){let t=c(3);e(),d("innerHTML",t.data.Contact.Address,O)}}function ci(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),s(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function ri(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(3);e(2),s(t.data.City)}}function di(n,l){if(n&1&&(o(0,"div",57),_(1,"span",17),o(2,"strong",58),a(3),i(),o(4,"div",59),x(5,li,3,1,"div",12)(6,ai,2,1,"div",12)(7,ci,3,1,"div",12)(8,ri,3,1,"div",12),i()()),n&2){let t=c(2);e(),d("innerHTML",t.data.IsInDelivery?t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle:t.config.PrintConfigInvoice.DocumentLabel.Customer,O),e(2),dt("",t.data.Contact.Title," ",t.data.Contact.Name),e(2),d("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),d("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),d("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility!==1),e(),d("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function pi(n,l){n&1&&(o(0,"th",60),a(1," Code "),i())}function gi(n,l){if(n&1&&(o(0,"th",34),a(1),i()),n&2){let t=c(2);e(),m(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel," ")}}function Ci(n,l){n&1&&vt(0)}function _i(n,l){if(n&1&&x(0,Ci,1,0,"ng-container",61),n&2){c();let t=Pt(66);d("ngTemplateOutlet",t)}}function mi(n,l){n&1&&vt(0)}function Pi(n,l){if(n&1&&x(0,mi,1,0,"ng-container",61),n&2){c();let t=Pt(66);d("ngTemplateOutlet",t)}}function si(n,l){if(n&1&&(o(0,"th",62),a(1),i(),o(2,"th",63),a(3),i()),n&2){let t=c(2);e(),m("Cost (",t.data.currencySymbol,")"),e(2),m(" Total Cost (",t.data.currencySymbol,") ")}}function ui(n,l){n&1&&vt(0)}function Oi(n,l){if(n&1&&x(0,ui,1,0,"ng-container",61),n&2){c();let t=Pt(70);d("ngTemplateOutlet",t)}}function Mi(n,l){n&1&&vt(0)}function fi(n,l){if(n&1&&x(0,Mi,1,0,"ng-container",61),n&2){c();let t=Pt(70);d("ngTemplateOutlet",t)}}function xi(n,l){n&1&&(o(0,"th",65),a(1,"%"),i())}function vi(n,l){if(n&1&&(o(0,"th",64),a(1),i(),p(2,xi,2,0,"th",65),o(3,"th",66),a(4),i()),n&2){let t=c(2);e(),m("Price (",t.data.currencySymbol,")"),e(),g(t.isItemHasDiscount()?2:-1),e(2),m(" Total Price (",t.data.currencySymbol,") ")}}function bi(n,l){n&1&&(o(0,"th"),a(1,"Note"),i())}function hi(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),m(" Price (",t.data.currencySymbol,") ")}}function yi(n,l){if(n&1&&(o(0,"th",66),a(1),i()),n&2){let t=c(2);e(),m(" Total Price (",t.data.currencySymbol,") ")}}function Si(n,l){if(n&1&&(o(0,"th",64),a(1),i()),n&2){let t=c(2);e(),m(" Cost (",t.data.currencySymbol,") ")}}function Ii(n,l){if(n&1&&(o(0,"th",63),a(1),i()),n&2){let t=c(2);e(),m(" Total Cost (",t.data.currencySymbol,") ")}}function Di(n,l){if(n&1&&(o(0,"div")(1,"small",70),a(2),i()()),n&2){let t=c().$implicit;e(2),s(t.StorageLocation)}}function Ti(n,l){if(n&1&&_(0,"i",72),n&2){let t=c(2).$implicit;d("innerHTML",t.Note,O)}}function wi(n,l){if(n&1&&(o(0,"div"),x(1,Ti,1,1,"i",71),i()),n&2){let t=c().$implicit;e(),d("ngIf",t.Note!=null)}}function ki(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),m(" ",t.Code," ")}}function Ei(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" x ",P(2,1,t.Unit))}}function Ai(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" x ",P(2,1,t.UnitQuantity))}}function Ni(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c(2).$implicit;e(),m(" ",P(2,1,t.Quantity*t.Unit)," ")}}function Ri(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c(2).$implicit;e(),m(" ",P(2,1,t.Quantity*t.UnitQuantity)," ")}}function Hi(n,l){if(n&1&&(o(0,"td"),x(1,Ni,3,3,"span",12)(2,Ri,3,3,"span",12),i()),n&2){let t=c().$implicit;e(),d("ngIf",t.Unit),e(),d("ngIf",t.UnitQuantity)}}function Bi(n,l){n&1&&vt(0)}function zi(n,l){if(n&1&&x(0,Bi,1,0,"ng-container",61),n&2){c();let t=Pt(23);d("ngTemplateOutlet",t)}}function Li(n,l){n&1&&vt(0)}function Ji(n,l){if(n&1&&x(0,Li,1,0,"ng-container",61),n&2){c();let t=Pt(23);d("ngTemplateOutlet",t)}}function Vi(n,l){n&1&&vt(0)}function Fi(n,l){if(n&1&&x(0,Vi,1,0,"ng-container",61),n&2){c();let t=Pt(25);d("ngTemplateOutlet",t)}}function ji(n,l){n&1&&vt(0)}function $i(n,l){if(n&1&&x(0,ji,1,0,"ng-container",61),n&2){c();let t=Pt(25);d("ngTemplateOutlet",t)}}function Ui(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c(2).$implicit;d("innerHTML",P(1,1,t.UnitCost),O)}}function Qi(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c(2).$implicit;d("innerHTML",P(1,1,t.TotalCost),O)}}function Wi(n,l){if(n&1&&x(0,Ui,2,3,"td",69)(1,Qi,2,3,"td",69),n&2){let t=c(3);d("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)),e(),d("ngIf",t.roleService.product.Cost&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible))}}function Gi(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c(2).$implicit;d("innerHTML",P(1,1,t.UnitPrice),O)}}function Xi(n,l){if(n&1&&_(0,"td",73),n&2){let t=c(2).$implicit;d("innerHTML",t.Discount,O)}}function Zi(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c(2).$implicit;d("innerHTML",P(1,1,t.TotalPrice),O)}}function qi(n,l){if(n&1&&x(0,Gi,2,3,"td",69)(1,Xi,1,1,"td",69)(2,Zi,2,3,"td",69),n&2){let t=c(3);d("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)),e(),d("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.isItemHasDiscount()),e(),d("ngIf",t.roleService.product.Price&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible))}}function Ki(n,l){if(n&1&&(o(0,"td"),_(1,"span",74),i()),n&2){let t=c().$implicit;e(),d("innerHTML",t.Note?t.Note:t.PONote,O)}}function Yi(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.UnitPrice),O)}}function to(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.TotalPrice),O)}}function no(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.UnitCost),O)}}function eo(n,l){if(n&1&&(_(0,"td",73),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.TotalCost),O)}}function io(n,l){if(n&1&&(o(0,"tr")(1,"td",67),a(2),i(),o(3,"td")(4,"div"),a(5),x(6,Di,3,1,"div",12),i(),_(7,"app-serial-note",68),x(8,wi,2,1,"div",12),i(),x(9,ki,2,1,"td",12),o(10,"td",45),a(11),C(12,"number"),x(13,Ei,3,3,"span",12)(14,Ai,3,3,"span",12),i(),x(15,Hi,3,2,"td",12),o(16,"td"),a(17),i(),p(18,zi,1,1,"ng-container"),p(19,Ji,1,1,"ng-container"),p(20,Fi,1,1,"ng-container"),p(21,$i,1,1,"ng-container"),x(22,Wi,2,2,"ng-template",null,3,Tt)(24,qi,3,3,"ng-template",null,4,Tt)(26,Ki,2,1,"td",12)(27,Yi,2,3,"td",69)(28,to,2,3,"td",69)(29,no,2,3,"td",69)(30,eo,2,3,"td",69),i()),n&2){let t=l.$implicit,r=l.index,u=c(2);e(2),m("",r+1,"."),e(3),m(" ",t.Name," "),e(),d("ngIf",u.config==null||u.config.PrintConfigDelivery==null?null:u.config.PrintConfigDelivery.Visibility.StorageLocationVisible),e(),d("serials",t.Serial),e(),d("ngIf",u.data.IsTransfer),e(),d("ngIf",u.config==null||u.config.PrintConfigDelivery==null?null:u.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(2),m(" ",P(12,20,t.Quantity)," "),e(2),d("ngIf",t.Unit!=1&&t.Unit!=null&&(u.config.PrintConfigInvoice==null||u.config.PrintConfigInvoice.ItemsTable==null||u.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:u.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),d("ngIf",t.UnitQuantity!=1&&t.UnitQuantity!=null&&(u.config.PrintConfigInvoice==null||u.config.PrintConfigInvoice.ItemsTable==null||u.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:u.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Visible)),e(),d("ngIf",u.config.ModuleSell.ProductDialog.UnitQtyLabel&&(u.config.PrintConfigInvoice.ItemsTable==null||u.config.PrintConfigInvoice.ItemsTable.UnitQuantity==null?null:u.config.PrintConfigInvoice.ItemsTable.UnitQuantity.Multiply)),e(2),s(t.UOMName),e(),g(u.type==u.printingType.INBOUND&&u.roleService.product.Cost?18:-1),e(),g(u.type==u.printingType.TRANSFER_ORDER&&(!(u.config==null||u.config.PrintConfigDelivery==null)&&u.config.PrintConfigDelivery.Visibility.CostVisible)&&u.roleService.product.Cost?19:-1),e(),g(u.type==u.printingType.TRANSFER_ORDER&&(!(u.config==null||u.config.PrintConfigDelivery==null)&&u.config.PrintConfigDelivery.Visibility.PriceVisible)&&u.roleService.product.Price?20:-1),e(),g(u.type==u.printingType.OUTBOUND&&u.roleService.product.Price?21:-1),e(5),d("ngIf",!u.data.IsTransfer),e(),d("ngIf",u.data.isPrice&&u.data.unitPrice!=null),e(),d("ngIf",u.data.isPrice&&u.data.unitPrice!=null),e(),d("ngIf",u.data.isCost&&u.data.unitCost!=null),e(),d("ngIf",u.data.isCost&&u.data.unitCost!=null)}}function oo(n,l){if(n&1&&(o(0,"td",42)(1,"div",75)(2,"span",76),a(3,"Weight: "),i(),o(4,"span",76),a(5),C(6,"number"),i()()()),n&2){let t=c(2);e(5),m("",P(6,1,t.totalWeight())," gr")}}function lo(n,l){if(n&1&&_(0,"td",43),n&2){let t=c(2);d("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?2:1)}}function ao(n,l){n&1&&_(0,"td")}function co(n,l){n&1&&_(0,"td")}function ro(n,l){if(n&1&&(o(0,"td",44)(1,"b"),a(2),C(3,"number"),i()()),n&2){let t=c(2);d("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),e(2),s(P(3,2,t.TotalCost))}}function po(n,l){n&1&&_(0,"td")}function go(n,l){n&1&&_(0,"td")}function Co(n,l){if(n&1&&(o(0,"td",77)(1,"b"),a(2),C(3,"number"),i()()),n&2){let t=c(2);e(2),s(P(3,1,t.TotalPrice))}}function _o(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c(4);e(),s(t.data.Items.length>1?"Qty: "+P(2,1,t.TotalQty):"")}}function mo(n,l){if(n&1&&(o(0,"tr")(1,"th",79),x(2,_o,3,3,"span",12),a(3),i(),o(4,"th"),a(5,":"),i(),o(6,"th",80),a(7),i(),o(8,"th",34),a(9),C(10,"TrailingZero"),i()()),n&2){let t=l.$implicit,r=c(3);e(2),d("ngIf",r.config.PrintConfigInvoice.ItemsFooter.TotalQuantityVisible),e(),m(" ",t.Label," "),e(4),s(t.CurrencySymbol),e(2),m(" ",f(10,4,t.Amount,r.data.TrailingZero)," ")}}function Po(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",80),a(6),i(),o(7,"td",34),a(8),C(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,r=c(3);e(2),s(t.Label),e(4),s(t.CurrencySymbol),e(2),m(" ",f(9,3,t.Amount,r.data.TrailingZero)," ")}}function so(n,l){if(n&1&&(o(0,"div",49)(1,"table",78)(2,"tbody"),x(3,mo,11,7,"tr",40)(4,Po,10,6,"tr",40),i()()()),n&2){let t=c(2);e(3),d("ngForOf",t.data.AmountSummary),e(),d("ngForOf",t.data.PaidAmountSummary)}}function uo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),d("innerHTML",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note),O)}}function Oo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82),_(7,"li",17),i()()()),n&2){let t=c(3);e(7),d("innerHTML",t.data==null?null:t.data.Status,O)}}function Mo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),C(9,"date"),i()()()()),n&2){let t=c(3);e(2),m(" ",t.config.ModuleSell.Shipping.DateLabel," ");let r=t.data.Invoice?t.data.Invoice==null?null:t.data.Invoice.CustomDate:t.data.Date;e(6),m(" ",f(9,2,r,"dd MMM yyyy (HH:mm)")," ")}}function fo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Approved by"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),s(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Approval)}}function xo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Remaining"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),C(9,"sum"),C(10,"number"),i()()()()),n&2){let t=c(3);e(8),m(" ",P(10,4,(t.data==null?null:t.data.FinalAmount)-f(9,1,t.data==null?null:t.data.Payments,"Amount"))," ")}}function vo(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Courier"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",82)(7,"li"),a(8),i()()()()),n&2){let t=c(3);e(8),m(" ",t.data.ItemTransfer.Courier," ")}}function bo(n,l){if(n&1&&(o(0,"table",81),x(1,uo,8,1,"tr",12),p(2,Oo,8,1,"tr"),x(3,Mo,10,5,"tr",12)(4,fo,9,1,"tr",12)(5,xo,11,6,"tr",12),C(6,"sum"),x(7,vo,9,1,"tr",12),i()),n&2){let t=c(2);e(),d("ngIf",(t.data.PO==null?null:t.data.PO.Note)||(t.data.ItemTransfer==null?null:t.data.ItemTransfer.Note)),e(),g(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Visibility==null)&&t.config.PrintConfigDelivery.Visibility.StatusVisible?2:-1),e(),d("ngIf",t.data.CustomDate&&t.config.ModuleSell.Shipping.DateLabel),e(),d("ngIf",t.config.PrintConfigDelivery.Visibility.ApprovalVisible),e(),d("ngIf",t.config.PrintConfigDelivery.Footer.RemainingAmountVisible&&(t.data==null?null:t.data.FinalAmount)-f(6,6,t.data==null?null:t.data.Payments,"Amount")>0),e(2),d("ngIf",t.data.ItemTransfer.Courier)}}function ho(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,O)}}function yo(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,O)}}function So(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,O)}}function Io(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,O)}}function Do(n,l){if(n&1&&(o(0,"div",89)(1,"h5",90),a(2," \xA0 "),i(),o(3,"div",91),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker,O)}}function To(n,l){if(n&1&&(o(0,"div",92),_(1,"div",93),i()),n&2){let t=c(3);e(),d("innerHTML",t.printTemplate.DeliveryNote,O)}}function wo(n,l){if(n&1&&_(0,"small",94),n&2){let t=c(3);d("innerHTML",t.data.Creator,O)}}function ko(n,l){if(n&1&&(o(0,"div",83)(1,"div",84),x(2,ho,5,1,"div",85)(3,yo,5,1,"div",85)(4,So,5,1,"div",85)(5,Io,5,1,"div",85)(6,Do,5,1,"div",85),i(),x(7,To,2,1,"div",86),o(8,"div",87),x(9,wo,1,1,"small",88),i()()),n&2){let t=c(2);e(),d("ngClass",nt(8,je,t.signatureCount()>1,t.signatureCount()==1)),e(),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier),e(),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient),e(),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse),e(),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy),e(),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.FooterLabel.Checker),e(),d("ngIf",!t.data.IsTransfer),e(2),d("ngIf",t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition!=1)}}function Eo(n,l){if(n&1&&(o(0,"div",11),x(1,Qe,2,1,"ng-container",12),o(2,"div")(3,"div",13)(4,"div",14),p(5,Xe,4,2,"div",15),o(6,"div",16),_(7,"h2",17)(8,"small",17),o(9,"div")(10,"div"),_(11,"div",17),C(12,"newlines"),i(),o(13,"div"),_(14,"div",17),C(15,"newlines"),_(16,"br"),i()()()()(),o(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21)(21,"strong"),a(22),C(23,"uppercase"),i(),_(24,"span",17),i()(),o(25,"div",22)(26,"table",23)(27,"thead")(28,"tr")(29,"th"),a(30,"Date"),i(),x(31,Ze,2,0,"th",12)(32,qe,2,0,"th",12)(33,Ke,2,0,"th",12)(34,Ye,3,0,"ng-container",12),i()(),o(35,"tbody")(36,"tr")(37,"td"),a(38),C(39,"date"),i(),x(40,ti,3,4,"td",12)(41,ni,2,1,"td",12)(42,ei,2,1,"td",12)(43,ii,3,1,"ng-container",12),i()()()()(),o(44,"div",24),x(45,oi,6,7,"div",25),i()()(),o(46,"div",26),x(47,di,9,7,"div",27),i(),o(48,"div",28)(49,"div",29)(50,"table",30)(51,"thead")(52,"tr",31)(53,"th",32),a(54,"No"),i(),o(55,"th"),a(56,"Name"),i(),x(57,pi,2,0,"th",33),o(58,"th",34),a(59,"Qty"),i(),x(60,gi,2,1,"th",35),o(61,"th",36),a(62,"UOM"),i(),p(63,_i,1,1,"ng-container"),p(64,Pi,1,1,"ng-container"),x(65,si,4,2,"ng-template",null,0,Tt),p(67,Oi,1,1,"ng-container"),p(68,fi,1,1,"ng-container"),x(69,vi,5,3,"ng-template",null,1,Tt)(71,bi,2,0,"th",12)(72,hi,2,1,"th",37)(73,yi,2,1,"th",38)(74,Si,2,1,"th",37)(75,Ii,2,1,"th",39),i()(),o(76,"tbody"),x(77,io,31,22,"tr",40),i(),o(78,"tfoot")(79,"tr",41),p(80,oo,7,3,"td",42)(81,lo,1,1,"td",43),o(82,"td",44)(83,"b"),a(84,"Total"),i()(),o(85,"td",45)(86,"b"),a(87),C(88,"number"),i()(),x(89,ao,1,0,"td",12)(90,co,1,0,"td",12)(91,ro,4,4,"td",46)(92,po,1,0,"td",12)(93,go,1,0,"td",12)(94,Co,4,3,"td",47),i()()()(),x(95,so,5,2,"div",48),o(96,"div",49),x(97,bo,8,9,"table",50),i(),x(98,ko,10,11,"div",51),i()()),n&2){let t=c();d("ngClass",nt(60,Ve,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),e(),d("ngIf",t.hasInvoiceOption),e(),mt(Dt("",t.printTemplate.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden")),e(3),g(t.printTemplate.Logo?5:-1),e(2),d("innerHTML",t.printTemplate.Title,O),e(),d("innerHTML",t.printTemplate.Field,O),e(3),d("innerHTML",P(12,49,t.printTemplate.Address),O),e(3),d("innerHTML",P(15,51,t.printTemplate.ContactInfo),O),e(8),m(" ",P(23,53,t.data.Prefixed)," "),e(2),d("innerHTML",t.data.ItemTransfer.Number,O),e(7),d("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),d("ngIf",t.data.ToP&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),d("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),d("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),s(f(39,55,t.data.ItemTransfer.Date,"dd MMM yyyy")),e(2),d("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),d("ngIf",t.data.ToP!=null&&(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),e(),d("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),e(),d("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(),xn("margin-top","40px"),e(),d("ngIf",t.data==null||t.data.Shipping==null?null:t.data.Shipping.Name),e(2),d("ngIf",t.data.Contact.Name),e(10),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(3),d("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),g(t.type==t.printingType.INBOUND&&t.roleService.product.Cost&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)?63:-1),e(),g(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost?64:-1),e(3),g(t.type==t.printingType.TRANSFER_ORDER&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.roleService.product.Price?67:-1),e(),g(t.type==t.printingType.OUTBOUND&&t.roleService.product.Price&&(!(t.config==null||t.config.PrintConfigDelivery==null)&&t.config.PrintConfigDelivery.Visibility.PriceVisible)?68:-1),e(3),d("ngIf",!t.data.IsTransfer),e(),d("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),d("ngIf",t.data.isPrice&&t.data.unitPrice!=null),e(),d("ngIf",t.data.isCost&&t.data.unitCost!=null),e(),d("ngIf",t.data.isCost&&t.data.unitCost!=null),e(2),d("ngForOf",t.data.Items),e(3),g(t.totalWeight()>0&&(!(t.config==null||t.config.PrintConfigDelivery==null||t.config.PrintConfigDelivery.Footer==null)&&t.config.PrintConfigDelivery.Footer.TotalWeightVisible)?80:81),e(2),d("colSpan",1),e(5),s(P(88,58,t.TotalQty)),e(2),d("ngIf",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),e(),d("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),d("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),e(),d("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),d("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),d("ngIf",(t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),e(),d("ngIf",t.data.AmountSummary),e(2),d("ngIf",t.config==null||t.config.PrintConfigDelivery==null?null:t.config.PrintConfigDelivery.Footer.DeliveryNoteVisible),e(),d("ngIf",t.config.PrintConfigGeneral.Visibility.Visible)}}var xt=class n{constructor(l,t,r){this.activeRoute=l;this.decimalPipe=t;this.roleService=r}data;printTemplate;config;hasInvoiceOption=!1;paperPrintMode=[];type=0;stylesheet;printingType=ht;TotalPack;TotalCost;TotalPrice;TotalQty;GuidEmpty=I.GuidEmpty;totalWeight=rt(0);signatureCount=rt(0);isItemHasDiscount=rt(!1);ngOnChanges(l){this.TotalPack=0,this.TotalCost=0,this.TotalPrice=0,this.TotalQty=0;let t=0;if(l.data.currentValue){for(let r of this.data.Items)this.TotalPack+=r.Pack,this.TotalCost+=r.TotalCost,this.TotalPrice+=r.TotalPrice,this.TotalQty+=r.Quantity,t+=r.TotalWeight;this.totalWeight.set(t),this.checkSignatureCount(),this.initIsItemHasDiscount()}}initIsItemHasDiscount(){let l=this.data?.Items?.some(t=>t.Discount>0);this.isItemHasDiscount.set(l)}checkSignatureCount(){let l=[this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Courier,this.config?.PrintConfigDelivery?.HeaderAdditionalPrefix.Recipient,this.config?.PrintConfigDelivery?.FooterLabel.Warehouse,this.config?.PrintConfigDelivery?.FooterLabel.DeliveredBy,this.config?.PrintConfigDelivery?.FooterLabel.Checker].filter(t=>I.IsNotEmpty(t));this.signatureCount.set(l.length)}static \u0275fac=function(t){return new(t||n)(M(b),M(B),M(ut))};static \u0275cmp=v({type:n,selectors:[["pos-customer-delivery"]],inputs:{data:"data",printTemplate:"printTemplate",config:"config",hasInvoiceOption:"hasInvoiceOption",paperPrintMode:"paperPrintMode",type:"type",stylesheet:"stylesheet"},standalone:!1,features:[wn],decls:5,vars:6,consts:[["CostHeader",""],["PriceHeader",""],["DEFAULTWIDTH",""],["CostBody",""],["PriceBody",""],["rel","stylesheet"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["class","print_container outdelivery_print_container",3,"ngClass",4,"ngIf"],["href",lt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"print_container","outdelivery_print_container",3,"ngClass"],[4,"ngIf"],[1,"col-7","p-0","ms-2","header-left","header-left-delivery"],[1,"row","g-0"],[1,"col-auto","shop-logo"],[1,"col-8","g-0","p-0","m-0","ms-3","shop-description"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"row","g-0","me-0","justify-content-end","invoice_number"],[1,"col-12","d-flex","justify-content-end"],[1,"h2","text-end"],[1,"p-0","col-auto","d-flex","justify-content-end","table-delivery"],[1,"table","table-sm","table-bordered"],[1,"row","d-flex","justify-content-end"],["class","col-9 border contact shippingAddress",3,"margin-right",4,"ngIf"],[1,"row","px-3","mx-0","mt-0","justify-content-between"],["class","col-auto border",4,"ngIf"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"table","table-striped","table-sm","table-bordered",2,"width","100%"],[2,"background-color","#fdf3c6"],[2,"width","20px"],["style","width: 75px",4,"ngIf"],[2,"width","50px"],["style","width: 50px",4,"ngIf"],[2,"width","40px"],["style","width: 80px",4,"ngIf"],["style","width: 130px",4,"ngIf"],["style","width: 125px",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-none"],["colspan","2"],[3,"colSpan"],[1,"text-end",3,"colSpan"],[1,"text-center"],["class","text-end",3,"colSpan",4,"ngIf"],["class","text-end",4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"col-md-12"],["class","info m-0",4,"ngIf"],["class","col-12 signature-b",4,"ngIf"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[4,"ngIf","ngIfElse"],[1,"col-md-12","logo",3,"src"],[1,"col-9","border","contact","shippingAddress"],[3,"innerHtml"],[1,"col-auto","border"],[1,"ms-2"],[1,"customer_info"],[2,"width","75px"],[4,"ngTemplateOutlet"],[2,"width","85px"],[2,"width","125px"],[2,"width","80px"],[2,"width","10px","text-align","right"],[2,"width","130px"],[1,"py-5"],[3,"serials"],["class","text-end",3,"innerHTML",4,"ngIf"],[1,"fst-italic","fs-6","text-body-secondary"],["style","word-break: break-all",3,"innerHTML",4,"ngIf"],[2,"word-break","break-all",3,"innerHTML"],[1,"text-end",3,"innerHTML"],[1,"note-span",2,"word-break","break-all",3,"innerHTML"],[1,"item-delivery-weight"],[1,"fw-bold"],[1,"text-end"],[1,"table","table-sm","table-borderless","d-flex","justify-content-end"],["colspan","3"],[1,"currency"],[1,"info","m-0"],[1,"float"],[1,"col-12","signature-b"],[1,"d-flex","justify-content-between","align-items-center",3,"ngClass"],["style","height: 120px; width: 150px",4,"ngIf"],["class","note",4,"ngIf"],[1,"col-12","d-flex","justify-content-center"],["class","d-block text-center fst-italic py-2","style","font-size: 12px",3,"innerHTML",4,"ngIf"],[2,"height","120px","width","150px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],[1,"left",3,"innerHTML"],[1,"d-block","text-center","fst-italic","py-2",2,"font-size","12px",3,"innerHTML"]],template:function(t,r){t&1&&(_(0,"link",5),C(1,"StylesheetSafeUrl"),x(2,$e,1,0,"link",6)(3,Ue,1,0,"link",7)(4,Eo,99,63,"div",8)),t&2&&(H("href",r.stylesheet!=null&&r.stylesheet.SizeA4?P(1,4,r.stylesheet==null?null:r.stylesheet.SizeA4):null,R),e(2),d("ngIf",r.data&&(r.printTemplate==null?null:r.printTemplate.PrintLX300)),e(),d("ngIf",r.data&&(r.printTemplate==null?null:r.printTemplate.PrintLX300)),e(),d("ngIf",r.data))},dependencies:()=>[Z,Lt,wt,Jn,gt,pt,Vn,B,F,q,$,Mt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9e9e9e;padding:5px}div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.contact[_ngcontent-%COMP%]{float:left}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.note-span[_ngcontent-%COMP%] p{margin:0}.grid_footer[_ngcontent-%COMP%], .grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0!important}']})},Xt=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=St({type:n});static \u0275inj=yt({imports:[bt,Et,$n,$t,pt]})};var qt=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}printType=ht;data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.OutDeliveryInvoice,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t=this.manipulateConfigBasedOnRoute(t,l),t)),A(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),J(1))}manipulateConfigBasedOnRoute(l,t){return I.IsNotEmpty(t.Price)?l.AppConfigJSON.PrintConfigDelivery.Visibility.PriceVisible=!0:l.AppConfigJSON.PrintConfigDelivery.Visibility.PriceVisible=!1,l}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-out-delivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,r){if(t&1&&(_(0,"pos-customer-delivery",0),C(1,"async"),C(2,"async"),C(3,"async"),C(4,"async")),t&2){let u,L,Y,it;d("data",(u=P(1,5,r.data$))==null?null:u.Data)("printTemplate",(L=P(2,7,r.data$))==null?null:L.Template)("config",(Y=P(3,9,r.data$))==null?null:Y.AppConfigJSON)("type",r.printType.OUTBOUND)("stylesheet",(it=P(4,11,r.data$))==null?null:it.StylesSheet)}},dependencies:[xt,S],encapsulation:2})};var Ao=(n,l)=>({lx300:n,"print-normal":l});function No(n,l){n&1&&_(0,"link",16)}function Ro(n,l){n&1&&_(0,"link",17)}function Ho(n,l){n&1&&_(0,"link",18)}function Bo(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2);e(),s(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.ContactDisplay)}}function zo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Email)}}function Lo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Mobile)}}function Jo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Phone)}}function Vo(n,l){if(n&1&&(o(0,"div"),_(1,"span",15),i()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.Address,O)}}function Fo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Customer==null?null:t.Data.Customer.CityName)}}function jo(n,l){if(n&1&&(o(0,"div",9)(1,"div",19)(2,"h4"),_(3,"span",15),i(),p(4,Bo,2,1,"strong"),p(5,zo,3,1,"div"),p(6,Lo,3,1,"div"),p(7,Jo,3,1,"div"),p(8,Vo,2,1,"div"),p(9,Fo,3,1,"div"),i()()),n&2){let t=c();e(3),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,O),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible?4:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible?5:-1),e(),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?6:-1),e(),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?7:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible?8:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible?9:-1)}}function $o(n,l){if(n&1&&(o(0,"strong"),a(1),i()),n&2){let t=c(2);e(),s(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Recipient)}}function Uo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Street)}}function Qo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Phone)}}function Wo(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.City)}}function Go(n,l){if(n&1&&(o(0,"div"),_(1,"span",15),i()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.Data==null||t.Data.Shipping==null?null:t.Data.Shipping.Description,O)}}function Xo(n,l){if(n&1&&(o(0,"div",6)(1,"div",20)(2,"div",8),_(3,"span",15),i(),p(4,$o,2,1,"strong"),p(5,Uo,3,1,"div"),p(6,Qo,3,1,"div"),p(7,Wo,3,1,"div"),p(8,Go,2,1,"div"),i()()),n&2){let t=c();e(3),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress,O),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible?4:-1),e(),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Street?5:-1),e(),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Mobile?6:-1),e(),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.City?7:-1),e(),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Description?8:-1)}}function Zo(n,l){if(n&1&&(o(0,"div",10)(1,"div",21)(2,"div",22)(3,"span",8),a(4),i()()()()),n&2){let t=c();e(4),s(t==null||t.Data==null?null:t.Data.TypeName)}}function qo(n,l){n&1&&(o(0,"th"),a(1," Code "),i())}function Ko(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),m(" ",t.Code," ")}}function Yo(n,l){if(n&1&&(o(0,"tr"),_(1,"td",28),i()),n&2){let t=c().$implicit,r=c(2);e(),d("colSpan",!(r==null||r.AppConfigJSON==null)&&r.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible?4:3)("innerHTML",t.Note,O)}}function tl(n,l){if(n&1&&(o(0,"tbody")(1,"tr")(2,"td",27),a(3),i(),o(4,"td"),a(5),i(),p(6,Ko,2,1,"td"),o(7,"td",27),a(8),C(9,"number"),i()(),p(10,Yo,2,2,"tr"),i()),n&2){let t=l.$implicit,r=l.$index,u=c(2);e(3),s(r+1),e(2),m(" ",t.Name," "),e(),g(!(u==null||u.AppConfigJSON==null||u.AppConfigJSON.PrintConfigPackingSlip==null)&&u.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible?6:-1),e(2),s(P(9,5,t.Quantity)),e(2),g(!(u==null||u.AppConfigJSON==null||u.AppConfigJSON.PrintConfigInvoice==null)&&u.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible&&t.Note?10:-1)}}function nl(n,l){if(n&1&&(o(0,"div",11)(1,"div",7)(2,"table",23)(3,"thead",24)(4,"tr")(5,"th",25),a(6,"No"),i(),o(7,"th",26),a(8,"Name"),i(),p(9,qo,2,0,"th"),o(10,"th",25),a(11,"Qty"),i()()(),D(12,tl,11,7,"tbody",null,w),i()()()),n&2){let t=c();e(9),g(!(t==null||t.AppConfigJSON==null)&&t.AppConfigJSON.PrintConfigPackingSlip.ProductCodeVisible?9:-1),e(3),T(t==null||t.Data==null?null:t.Data.List)}}function el(n,l){if(n&1&&(o(0,"div",11)(1,"div",7),_(2,"div",29),i()()),n&2){let t=c();e(2),d("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,O)}}function il(n,l){if(n&1&&(p(0,No,1,0,"link",0),p(1,Ro,1,0,"link",1),p(2,Ho,1,0,"link",2),_(3,"link",3),C(4,"StylesheetSafeUrl"),o(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8)(10,"span"),a(11),i()()()(),p(12,jo,10,7,"div",9),p(13,Xo,9,6,"div",6),p(14,Zo,5,1,"div",10),p(15,nl,14,1,"div",11),p(16,el,3,1,"div",11),o(17,"div",11)(18,"div",7)(19,"div",12)(20,"div",13)(21,"div",14),_(22,"span",15),i()()()()()()()),n&2){let t=l;g(!(t==null||t.Template==null)&&t.Template.PrintLX300?0:-1),e(),g(!(t==null||t.Template==null)&&t.Template.PrintLX300?1:-1),e(),g(!(t==null||t.Template==null)&&t.Template.PrintLX300?2:-1),e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(4,13,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(3),d("ngClass",nt(15,Ao,t==null||t.Template==null?null:t.Template.PrintLX300,!(!(t==null||t.Template==null)&&t.Template.PrintLX300))),e(5),dt("",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigOthers==null?null:t.AppConfigJSON.PrintConfigOthers.Header.PackingReceiptTitle," : ",t==null||t.Data==null?null:t.Data.Delivery.Number),e(),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Recipient?-1:12),e(),g(!(t==null||t.Data==null)&&t.Data.Shipping?13:-1),e(),g(!(t==null||t.Data==null)&&t.Data.TypeName?14:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null)&&t.AppConfigJSON.PrintConfigPackingSlip.ProductTableVisible?15:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPackingSlip==null)&&t.AppConfigJSON.PrintConfigPackingSlip.RenderInvoiceNote&&(t==null||t.Data==null?null:t.Data.Invoice.Note)!=null?16:-1),e(6),d("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,O)}}var Kt=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.PackingSlipInvoice,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-packing-slip"]],standalone:!1,decls:2,vars:3,consts:[["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery"],[3,"ngClass"],[1,"row","g-0","mb-2"],[1,"col"],[1,"fw-bold"],[1,"row","g-0","pt-3","mb-2"],[1,"row","mb-2"],[1,"row","g-0"],["id","signatureNote"],[1,"note"],[1,"d-flex","justify-content-md-start"],[3,"innerHTML"],["href",lt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"col","border","border-dark","py-2","px-2"],[1,"col","border","border-dark","py-2","px-2","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%"],[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,r){if(t&1&&(p(0,il,23,18),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}"]})};function ol(n,l){if(n&1&&_(0,"pos-receipt-a4",0),n&2){let t=l,r=c();d("data",t.Data)("workOrderMode",!0)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",r.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!0)("stylesheet",t.StylesSheet)}}var Yt=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.WorkOrderReceipt,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-work-order"]],standalone:!1,decls:2,vars:3,consts:[[3,"data","workOrderMode","printTemplate","config","barcodeOptions","invoiceOption","stylesheet"]],template:function(t,r){if(t&1&&(p(0,ol,1,8,"pos-receipt-a4",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[At,S],encapsulation:2})};function ll(n,l){if(n&1&&(_(0,"pos-receipt-a4",0),o(1,"div",1),_(2,"pos-customer-delivery",2),i()),n&2){let t=l,r=c();d("data",t==null?null:t.Invoice)("printTemplate",t.Template)("config",t.AppConfigJSON)("barcodeOptions",r.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!1)("stylesheet",t.StylesSheet)("saveLastPrintDate",!0),e(2),d("data",t==null?null:t.Delivery)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var tn=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}BarCodeOptions={width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"};data$;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.InvoiceAndDelivery,t))),j(t=>{if(t.Delivery){let r=t.Invoice?.Order;r.Note=t.Invoice?.Invoice?.Note,t.Delivery.PO=r}return t.Template.PrintLX300=l.Printer=="EpsonLX300",t}),A(t=>{this.title.setTitle(t.Title),l.Print==1&&window.setTimeout(function(){window.print()},500)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-delivery"]],standalone:!1,decls:2,vars:3,consts:[[3,"data","printTemplate","config","barcodeOptions","invoiceOption","workOrderMode","stylesheet","saveLastPrintDate"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config","stylesheet"]],template:function(t,r){if(t&1&&(p(0,ll,3,12),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[At,xt,S],encapsulation:2})};function al(n,l){if(n&1&&_(0,"pos-customer-delivery",0),n&2){let t=l,r=c();d("hasInvoiceOption",!0)("paperPrintMode",r.paperPrintMode)("data",t.Data)("printTemplate",t.Template)("config",t.AppConfigJSON)("stylesheet",t.StylesSheet)}}var nn=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.initPrintOption(t),this.httpService.post(y.TransferOrderReceipt,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{this.title.setTitle(t.Title),this.printInvoice(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}printInvoice(l){l.Print==1&&window.setTimeout(function(){window.print()},500)}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-transfer"]],standalone:!1,decls:2,vars:3,consts:[[3,"hasInvoiceOption","paperPrintMode","data","printTemplate","config","stylesheet"]],template:function(t,r){if(t&1&&(p(0,al,1,6,"pos-customer-delivery",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[xt,S],encapsulation:2})};var en=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}data$;printType=ht;ngOnInit(){let l=null;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t.Print,this.httpService.post(y.InDeliveryInvoice,t).pipe(j(r=>(t.Printer&&(r.Template.PrintLX300=t.Printer=="EpsonLX300"),r=this.manipulateConfigBasedOnRoute(r,t),r))))),A(t=>{this.title.setTitle(t.Title),l==1&&window.setTimeout(function(){window.print()},500)}),J(1))}manipulateConfigBasedOnRoute(l,t){return I.IsNotEmpty(t.Cost)?l.AppConfig.PrintConfigDelivery.Visibility.CostVisible=!0:l.AppConfig.PrintConfigDelivery.Visibility.CostVisible=!1,l}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-indelivery"]],standalone:!1,decls:5,vars:13,consts:[[3,"data","printTemplate","config","type","stylesheet"]],template:function(t,r){if(t&1&&(_(0,"pos-customer-delivery",0),C(1,"async"),C(2,"async"),C(3,"async"),C(4,"async")),t&2){let u,L,Y,it;d("data",(u=P(1,5,r.data$))==null?null:u.Data)("printTemplate",(L=P(2,7,r.data$))==null?null:L.Template)("config",(Y=P(3,9,r.data$))==null?null:Y.AppConfig)("type",r.printType.INBOUND)("stylesheet",(it=P(4,11,r.data$))==null?null:it.StylesSheet)}},dependencies:[xt,S],encapsulation:2})};var rl=["class","component"],dl=n=>({width:n});function pl(n,l){if(n&1&&_(0,"img",32),n&2){let t=c(5);at(tt(3,dl,(t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),d("src",t.Template==null?null:t.Template.Logo,V)}}function gl(n,l){if(n&1&&p(0,pl,1,5,"img",31),n&2){let t=c(4);g(t.Template!=null&&t.Template.Logo?0:-1)}}function Cl(n,l){if(n&1&&_(0,"img",32),n&2){let t=c(5);d("src",t.Template==null?null:t.Template.Logo,V)}}function _l(n,l){if(n&1&&p(0,Cl,1,1,"img",32),n&2){let t=c(4);g(t.Template!=null&&t.Template.Logo?0:-1)}}function ml(n,l){if(n&1&&(o(0,"div",25),p(1,gl,1,1)(2,_l,1,1),i()),n&2){let t=c(3);e(),g((t==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0?1:2)}}function Pl(n,l){if(n&1&&(o(0,"div",5),p(1,ml,3,1,"div",25),o(2,"div",26),_(3,"h2",27)(4,"small",27),o(5,"div",28),_(6,"div",29),C(7,"newlines"),_(8,"div",30),C(9,"newlines"),i()()()),n&2){let t=c(2);e(),g(t.Template!=null&&t.Template.Logo?1:-1),e(2),d("innerHTML",t.Template==null?null:t.Template.Title,O),e(),d("innerHTML",t.Template==null?null:t.Template.Field,O),e(2),d("innerHTML",P(7,5,t.Template==null?null:t.Template.Address),O),e(2),d("innerHTML",P(9,7,t.Template==null?null:t.Template.ContactInfo),O)}}function sl(n,l){if(n&1&&_(0,"strong",27),n&2){let t=c(3);d("innerHTML",t.Data==null?null:t.Data.ContactDisplay,O)}}function ul(n,l){if(n&1&&_(0,"div",27),n&2){let t=c(3);d("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email,O)}}function Ol(n,l){if(n&1&&_(0,"div",27),n&2){let t=c(3);d("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone,O)}}function Ml(n,l){if(n&1&&(_(0,"div",27),C(1,"newlines")),n&2){let t=c(3);d("innerHTML",P(1,1,t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),O)}}function fl(n,l){if(n&1&&_(0,"div",27),n&2){let t=c(3);d("innerHTML",t.Data==null||t.Data.Contact==null?null:t.Data.Contact.City,O)}}function xl(n,l){if(n&1&&(o(0,"div",6),_(1,"h3",27),o(2,"div",33),p(3,sl,1,1,"strong",27),o(4,"div",34),p(5,ul,1,1,"div",27),p(6,Ol,1,1,"div",27),p(7,Ml,2,3,"div",27),p(8,fl,1,1,"div",27),i()()()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,O),e(2),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible?3:-1),e(2),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible?5:-1),e(),g((t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?6:-1),e(),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible?7:-1),e(),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible?8:-1)}}function vl(n,l){n&1&&(o(0,"th"),a(1,"Due"),i())}function bl(n,l){n&1&&(o(0,"th"),a(1,"ToP"),i())}function hl(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"date"),i()),n&2){let t=c(2);e(),m(" ",f(2,1,t.Data==null?null:t.Data.Due,"dd MMM yyyy")," ")}}function yl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c(2);e(),m("",t.Data==null?null:t.Data.ToP," Days")}}function Sl(n,l){n&1&&(o(0,"th"),a(1,"Category"),i())}function Il(n,l){n&1&&(o(0,"th",13),a(1,"UOM"),i())}function Dl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3);e(),s(t.Data==null?null:t.Data.CurrencySymbol)}}function Tl(n,l){if(n&1&&(o(0,"th",14),a(1," Price ( "),p(2,Dl,2,1,"span"),a(3," ) "),i()),n&2){let t=c(2);e(2),g(t.Data!=null&&t.Data.CurrencySymbol?2:-1)}}function wl(n,l){n&1&&(o(0,"th",15),a(1,"Disc"),i())}function kl(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(3);e(),s(t.Data==null?null:t.Data.CurrencySymbol)}}function El(n,l){if(n&1&&(o(0,"th",16),a(1," Total ( "),p(2,kl,2,1,"span"),a(3," ) "),i()),n&2){let t=c(2);e(2),g(t.Data!=null&&t.Data.CurrencySymbol?2:-1)}}function Al(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),m(" ",t.Category," ")}}function Nl(n,l){if(n&1&&_(0,"i",38),n&2){let t=c().$implicit;d("innerHTML",t.Note,O)}}function Rl(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"quantityFraction"),i()),n&2){let t=c().$implicit;e(),m("x ",P(2,1,t.UnitQuantity))}}function Hl(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),s(t.UOMName?t.UOMName:"-")}}function Bl(n,l){if(n&1&&(_(0,"td",30),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.UnitPrice),O)}}function zl(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c(2).$implicit;e(),m("-",t.Discount,"%")}}function Ll(n,l){if(n&1&&(o(0,"div"),a(1),C(2,"number"),i()),n&2){let t=c(2).$implicit;e(),m("-",P(2,1,t.DiscountAmount))}}function Jl(n,l){if(n&1&&(o(0,"td",40),p(1,zl,2,1,"div"),p(2,Ll,3,3,"div"),i()),n&2){let t=c().$implicit;e(),g(t.Discount?1:-1),e(),g(t.DiscountAmount?2:-1)}}function Vl(n,l){if(n&1&&(o(0,"td",41),a(1),C(2,"amountFraction"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.Total)," ")}}function Fl(n,l){if(n&1&&(o(0,"tr"),_(1,"td",35),p(2,Al,2,1,"td"),o(3,"td")(4,"span",36),a(5),i(),_(6,"app-serial-note",37),p(7,Nl,1,1,"i",38),i(),_(8,"td",27),o(9,"td",39),a(10),C(11,"quantityFraction"),p(12,Rl,3,3,"span"),i(),p(13,Hl,2,1,"td"),p(14,Bl,2,3,"td",30),p(15,Jl,3,2,"td",40),p(16,Vl,3,3,"td",41),i()),n&2){let t=l.$implicit,r=l.$index,u=c(2),L=c();e(),d("innerHTML",r+1,O),e(),g(u.AppConfigJSON.PrintConfigGeneral!=null&&u.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible?2:-1),e(3),s(t.Name),e(),d("serials",t.Serial),e(),g(t.Note!=null?7:-1),e(),d("innerHTML",t.Code,O),e(2),m(" ",P(11,12,t.Quantity)," "),e(2),g(t.UnitQuantity!=1?12:-1),e(),g(L.isUomVisible()?13:-1),e(),g(!(u==null||u.Data==null)&&u.Data.IsInRoleCost?14:-1),e(),g(!(u==null||u.Data==null)&&u.Data.IsInRoleCost&&L.isDiscVisible()?15:-1),e(),g(!(u==null||u.Data==null)&&u.Data.IsInRoleCost?16:-1)}}function jl(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td",43),a(4,":"),i(),o(5,"td",44),a(6),i(),o(7,"td",13),a(8),C(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),s(t.Label),e(4),m(" ",t.CurrencySymbol," "),e(2),m(" ",P(9,3,t.Amount)," ")}}function $l(n,l){if(n&1&&(o(0,"td",21)(1,"table",42)(2,"tbody"),D(3,jl,10,5,"tr",null,w),i()()()),n&2){let t=c(2);e(3),T(t.Data==null?null:t.Data.Aggregate)}}function Ul(n,l){if(n&1&&(o(0,"td",46),a(1),C(2,"newlines"),i()),n&2){let t=c(3);e(),m(" ",P(2,1,t.Data==null?null:t.Data.TotalInWord)," ")}}function Ql(n,l){if(n&1&&(o(0,"tr")(1,"th",45),a(2),i(),o(3,"td",43),a(4,":"),i(),p(5,Ul,3,3,"td",46),i()),n&2){let t=c(2);e(2),m(" ",t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),g(t.Data!=null&&t.Data.TotalInWord?5:-1)}}function Wl(n,l){if(n&1&&(o(0,"tr")(1,"th",45)(2,"span"),a(3),i()(),o(4,"td",43),a(5,":"),i(),o(6,"td")(7,"ul",47),_(8,"li",27),C(9,"newlines"),i()()()),n&2){let t=c(2);e(3),s((t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)==2?"Down Payment":"Payment"),e(5),d("innerHTML",P(9,2,t.Data==null?null:t.Data.PaymentLabel),O)}}function Gl(n,l){if(n&1&&(o(0,"tr")(1,"th",45),a(2,"Remaining"),i(),o(3,"td",43),a(4,":"),i(),o(5,"td")(6,"ul",47)(7,"li"),a(8),C(9,"number"),i()()()()),n&2){let t=c(2);e(8),m(" ",P(9,1,t.Data==null?null:t.Data.Remaining)," ")}}function Xl(n,l){if(n&1&&(o(0,"tr")(1,"th",45),a(2,"Attention"),i(),o(3,"td",43),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c(2);e(6),s(t.Data==null?null:t.Data.Att)}}function Zl(n,l){if(n&1&&(o(0,"tr")(1,"th",45),a(2,"Note"),i(),o(3,"td",43),a(4,":"),i(),_(5,"td",27),C(6,"newlines"),i()),n&2){let t=c(2);e(5),d("innerHTML",P(6,1,t.Data==null?null:t.Data.Note),O)}}function ql(n,l){if(n&1&&(o(0,"tr")(1,"th",45),a(2,"Status"),i(),o(3,"td",43),a(4,":"),i(),_(5,"td",27),C(6,"newlines"),i()),n&2){c();let t=Bn(67);e(5),d("innerHTML",P(6,1,t),O)}}function Kl(n,l){if(n&1&&(o(0,"div",49)(1,"h5",50),a(2," \xA0 "),i(),o(3,"div",51),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column1,O)}}function Yl(n,l){if(n&1&&(o(0,"div",49)(1,"h5",50),a(2," \xA0 "),i(),o(3,"div",51),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column2,O)}}function ta(n,l){if(n&1&&(o(0,"div",49)(1,"h5",50),a(2," \xA0 "),i(),o(3,"div",51),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column3,O)}}function na(n,l){if(n&1&&(o(0,"div",49)(1,"h5",50),a(2," \xA0 "),i(),o(3,"div",51),a(4," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHTML",t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null?null:t.AppConfigJSON.PrintConfigPurchase.Signature.Column4,O)}}function ea(n,l){if(n&1&&(o(0,"div")(1,"div",48),p(2,Kl,5,1,"div",49),p(3,Yl,5,1,"div",49),p(4,ta,5,1,"div",49),p(5,na,5,1,"div",49),i()()),n&2){let t=c(2);e(2),g(!(t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null)&&t.AppConfigJSON.PrintConfigPurchase.Signature.Column1?2:-1),e(),g(!(t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null)&&t.AppConfigJSON.PrintConfigPurchase.Signature.Column2?3:-1),e(),g(!(t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null)&&t.AppConfigJSON.PrintConfigPurchase.Signature.Column3?4:-1),e(),g(!(t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Signature==null)&&t.AppConfigJSON.PrintConfigPurchase.Signature.Column4?5:-1)}}function ia(n,l){if(n&1&&(_(0,"div",23),C(1,"SafeHtml")),n&2){let t=c(2);d("innerHTML",t.Template!=null&&t.Template.FooterNote?P(1,1,t.Template==null?null:t.Template.FooterNote):"",O)}}function oa(n,l){if(n&1&&_(0,"small",24),n&2){let t=c(2);d("innerHTML",t.Data==null?null:t.Data.Creator,O)}}function la(n,l){if(n&1&&(o(0,"div",1),_(1,"POS-print-mode",2),o(2,"div",3)(3,"div")(4,"div",4),p(5,Pl,10,9,"div",5),p(6,xl,9,6,"div",6),i(),o(7,"div",7)(8,"h1")(9,"strong"),a(10),i(),o(11,"span"),a(12),i()(),o(13,"div")(14,"table")(15,"thead")(16,"tr")(17,"th"),a(18,"Date"),i(),p(19,vl,2,0,"th"),p(20,bl,2,0,"th"),i()(),o(21,"tbody")(22,"tr")(23,"td"),a(24),C(25,"date"),i(),p(26,hl,3,4,"td"),p(27,yl,2,1,"td"),i()()()()()(),o(28,"div",8)(29,"table",9)(30,"thead")(31,"tr")(32,"th",10),a(33,"No"),i(),p(34,Sl,2,0,"th"),o(35,"th"),a(36,"Name"),i(),o(37,"th",11),a(38,"Code"),i(),o(39,"th",12),a(40,"Qty"),i(),p(41,Il,2,0,"th",13),p(42,Tl,4,1,"th",14),p(43,wl,2,0,"th",15),p(44,El,4,1,"th",16),i()(),o(45,"tbody"),D(46,Fl,17,14,"tr",null,w),i(),o(48,"tfoot")(49,"tr",17),_(50,"td",18),o(51,"td",19)(52,"b"),a(53,"Total"),i()(),o(54,"td",20)(55,"b"),a(56),C(57,"sum"),C(58,"quantityFraction"),i()(),p(59,$l,5,0,"td",21),i()()()(),o(60,"div")(61,"table",22),p(62,Ql,6,2,"tr"),p(63,Wl,10,4,"tr"),p(64,Gl,10,3,"tr"),p(65,Xl,7,1,"tr"),p(66,Zl,7,3,"tr"),Rn(67),p(68,ql,7,3,"tr"),i(),o(69,"div"),p(70,ea,6,4,"div"),i()(),p(71,ia,2,3,"div",23),p(72,oa,1,1,"small",24),i()()),n&2){let t=c(),r=c();e(),d("paperPrints",r.paperPrintMode),e(2),mt(Dt("",t.Template==null?null:t.Template.CssClass," row g-0 py-3 d-flex justify-content-between header overflow-hidden")),e(2),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible?5:-1),e(),g(t.Data!=null&&t.Data.Contact||t.Data!=null&&t.Data.ContactDisplay?6:-1),e(4),s(t.AppConfigJSON.PrintConfigPurchase==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),m(" ",t.Data==null?null:t.Data.Invoice.Data.Number," "),e(7),g((t.Data==null?null:t.Data.ToP)!=null?19:-1),e(),g((t.Data==null?null:t.Data.ToP)!=null?20:-1),e(4),m(" ",f(25,29,t.Data==null?null:t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),g((t.Data==null?null:t.Data.ToP)!=null?26:-1),e(),g((t.Data==null?null:t.Data.ToP)!=null?27:-1),e(7),g(t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible?34:-1),e(7),g(r.isUomVisible()?41:-1),e(),g(!(t==null||t.Data==null)&&t.Data.IsInRoleCost?42:-1),e(),g(!(t==null||t.Data==null)&&t.Data.IsInRoleCost&&r.isDiscVisible()?43:-1),e(),g(!(t==null||t.Data==null)&&t.Data.IsInRoleCost?44:-1),e(2),T(t.Data==null?null:t.Data.Items),e(10),s(P(58,35,f(57,32,t.Data==null?null:t.Data.Items,"Quantity"))),e(3),g(!(t==null||t.Data==null)&&t.Data.IsInRoleCost?59:-1),e(3),g(t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible&&(!(t==null||t.Data==null)&&t.Data.IsInRoleCost)&&(t!=null&&t.ConfigCostVisible)?62:-1),e(),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible&&(t.Data!=null&&t.Data.PaymentLabel)?63:-1),e(),g((t.Data==null?null:t.Data.Invoice.Data.PaymentStateID)<=2&&(!(t==null||t.Data==null)&&t.Data.IsInRoleCost)&&(t!=null&&t.ConfigCostVisible)&&(t.AppConfigJSON.PrintConfigPurchase!=null&&t.AppConfigJSON.PrintConfigPurchase.Footer.RemainingVisible)?64:-1),e(),g(t.Data!=null&&t.Data.Att?65:-1),e(),g(t.Data!=null&&t.Data.Note&&(t.AppConfigJSON.PrintConfigPurchase!=null&&t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)?66:-1),e();let u=Hn(t.Data==null||t.Data.Invoice==null||t.Data.Invoice.Data==null?null:t.Data.Invoice.Data.StateLabel),L=t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null?null:t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible;e(),g(u&&L?68:-1),e(2),g(t.AppConfigJSON.PrintConfigGeneral!=null&&t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible?70:-1),e(),g(t.AppConfigJSON.PrintConfigInvoice!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible?71:-1),e(),g((t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?72:-1)}}function aa(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),p(2,la,73,38,"div",1)),n&2){let t=l;H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,2,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(2),g(t.Data?2:-1)}}var on=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}paperPrintMode;isDiscVisible=rt(!0);isUomVisible=rt(!0);data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.SupplierInvoiceReceipt,t))),j(t=>{l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300");let r=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=r?.Visibility?.CostVisible,t}),A(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),this.initUomVisible(t.Data),this.initPrintOption(l),l.Print==1&&window.setTimeout(function(){window.print()},500)}))}initDiscVisible(l){let r=(l.Items?l.Items:[]).some(u=>u.Discount>0||u.DiscountAmount>0);this.isDiscVisible.set(r)}initUomVisible(l){let r=(l.Items?l.Items:[]).some(u=>I.IsNotEmpty(u.UOMName));this.isUomVisible.set(r)}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-invoice",8,"component"]],standalone:!1,attrs:rl,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_print_container"],[1,"col-7","p-0","ms-2","header-left"],[1,"company","row"],[1,"contact",2,"overflow-x","hidden"],[1,"col","p-0","m-0","header_right"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"number","text-center",2,"width","20px"],[2,"width","100px"],[1,"text-end",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],[1,"number","text-end",2,"width","70px"],[1,"number",2,"width","90px"],[1,"grid_footer","border-0"],["colspan","2"],[1,"number","align-top",2,"vertical-align","top"],[1,"text-end","align-top"],["colspan","4",1,"number","noTopPad",2,"padding-top","0 !important"],[1,"info","table-secondary"],[1,"note","mt-4",3,"innerHTML"],[1,"timestamp",3,"innerHTML"],[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"],[1,"col-md-12","px-0",3,"style","src"],[1,"col-md-12","px-0",3,"src"],[1,"box"],[1,"customer_info"],[1,"number","text-center",3,"innerHTML"],[1,"d-block"],[1,"d-block",3,"serials"],[2,"word-break","break-word",3,"innerHTML"],[1,"text-end"],[1,"text-end","text-danger"],[1,"number"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"sep"],[1,"currency"],[1,"bg-light-gray"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"]],template:function(t,r){if(t&1&&(p(0,aa,3,4),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[gt,pt,S,B,F,q,$,ft,kt,Jt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group} .invoice_mini, .sales_order_mini[_ngcontent-%COMP%]{margin:0!important}']})};function ca(n,l){if(n&1&&(o(0,"small",3),a(1),i()),n&2){let t=c();e(),s(t==null||t.Template==null?null:t.Template.Field)}}function ra(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Balance"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),C(7,"number"),i()()),n&2){let t=c();e(6),s(P(7,1,t==null||t.Data==null?null:t.Data.Package.Point))}}function da(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2,"Point Expired"),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),a(6),C(7,"IsMinDate"),i()()),n&2){let t=c();e(6),s(P(7,1,t==null||t.Data==null?null:t.Data.Package.Expired))}}function pa(n,l){if(n&1&&_(0,"div",10),n&2){let t=c();d("innerHTML",t==null||t.Template==null?null:t.Template.FooterLeft,O)}}function ga(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div")(4,"h1",2),a(5),i(),p(6,ca,2,1,"small",3),o(7,"p",4),_(8,"span",5),C(9,"newlines"),_(10,"span",5),C(11,"newlines"),i(),o(12,"h2",6),a(13),i(),o(14,"div",7)(15,"span"),a(16),C(17,"date"),i(),o(18,"span",8),a(19),C(20,"date"),i()(),o(21,"h3"),a(22,"Customer"),i(),o(23,"table",9)(24,"tr")(25,"td"),a(26,"Name"),i(),o(27,"td"),a(28,":"),i(),o(29,"td"),a(30),i()(),o(31,"tr")(32,"td"),a(33,"Code"),i(),o(34,"td"),a(35,":"),i(),o(36,"td"),a(37),i()(),o(38,"tr")(39,"td"),a(40,"Charged Point"),i(),o(41,"td"),a(42,":"),i(),o(43,"td"),a(44),C(45,"number"),i()(),o(46,"tr")(47,"td"),a(48,"Treatment Type"),i(),o(49,"td"),a(50,":"),i(),o(51,"td"),a(52),i()(),p(53,ra,8,3,"tr"),p(54,da,8,3,"tr"),o(55,"tr")(56,"td"),a(57,"Doctor"),i(),o(58,"td"),a(59,":"),i(),o(60,"td"),a(61),i()(),o(62,"tr")(63,"td"),a(64,"Note"),i(),o(65,"td"),a(66,":"),i(),o(67,"td"),a(68),i()(),o(69,"tr")(70,"td"),a(71,"Note 2"),i(),o(72,"td"),a(73,":"),i(),o(74,"td"),a(75),i()(),o(76,"tr")(77,"td"),a(78,"Assistant"),i(),o(79,"td"),a(80,":"),i(),o(81,"td"),a(82),i()(),o(83,"tr")(84,"td"),a(85,"Duration"),i(),o(86,"td"),a(87,":"),i(),o(88,"td"),a(89),C(90,"DateDiffInMinute"),i()()(),p(91,pa,1,1,"div",10),i()()),n&2){let t=l;H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(1,21,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(5),s(t==null||t.Template==null?null:t.Template.Title),e(),g(!(t==null||t.Template==null)&&t.Template.Address?6:-1),e(2),d("innerHTML",P(9,23,t==null||t.Template==null?null:t.Template.Address),O),e(2),d("innerHTML",P(11,25,t==null||t.Template==null?null:t.Template.ContactInfo),O),e(3),m(" ",t==null||t.Data==null?null:t.Data.Title," "),e(3),m("Date : ",f(17,27,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"dd MMM yyyy")),e(3),m("Time : ",f(20,30,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.QueueTime,"HH:mm:ss")),e(11),s(t==null||t.Data==null?null:t.Data.ContactDisplay),e(7),s(t==null||t.Data==null?null:t.Data.ContactCode),e(7),dt(" ",f(45,33,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.PointBurned,"1.2-2")," ",t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.VariantName," "),e(8),s(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.TreatmentTypeName),e(),g(!(t==null||t.Data==null)&&t.Data.Package?53:-1),e(),g(!(t==null||t.Data==null)&&t.Data.Package?54:-1),e(7),s(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.DoctorName),e(7),s(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note),e(7),s(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.Note2),e(7),s(t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.AssistantName),e(7),m(" ",f(90,36,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.StartTime,t==null||t.Data==null||t.Data.Invoice==null?null:t.Data.Invoice.EndTime)," Minute(s) "),e(2),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Footer==null)&&t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible?91:-1)}}var ln=class n{constructor(l,t,r){this.httpService=l;this.route=t;this.titleService=r}id;data$;ngOnInit(){let t={ID:this.route.snapshot.queryParams.ID||this.id};this.data$=this.httpService.post(y.TreatmentInvoice,t).pipe(A(r=>{this.titleService.setTitle(r.Title)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-treatment"]],inputs:{id:"id"},standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoiceHeader"],[1,"tagline"],[1,"address"],[3,"innerHTML"],["id","lblInvoiceNumber"],[1,"datetime","clearfix"],[1,"pull-right"],[1,"customer"],[1,"note",3,"innerHTML"]],template:function(t,r){if(t&1&&(p(0,ga,92,39),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[S,B,F,$,jt,Fn,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}@media print{.print_container[_ngcontent-%COMP%]{display:block}}']})};var Ca=n=>({width:n});function _a(n,l){if(n&1&&_(0,"img",31),n&2){let t=c(3);at(tt(3,Ca,(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),d("src",t==null||t.Template==null?null:t.Template.Logo,V)}}function ma(n,l){if(n&1&&p(0,_a,1,5,"img",30),n&2){let t=c(2);g(!(t==null||t.Template==null)&&t.Template.Logo?0:-1)}}function Pa(n,l){if(n&1&&_(0,"img",31),n&2){let t=c(3);d("src",t==null||t.Template==null?null:t.Template.Logo,V)}}function sa(n,l){if(n&1&&p(0,Pa,1,1,"img",31),n&2){let t=c(2);g(!(t==null||t.Template==null)&&t.Template.Logo?0:-1)}}function ua(n,l){if(n&1&&(o(0,"div",6),p(1,ma,1,1)(2,sa,1,1),i()),n&2){let t=c();e(),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0?1:2)}}function Oa(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function Ma(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function fa(n,l){if(n&1&&(o(0,"div",12)(1,"h3")(2,"span"),a(3),i()(),o(4,"div",32)(5,"strong"),a(6),i(),o(7,"div",33),p(8,Oa,3,1,"div"),p(9,Ma,3,1,"div"),o(10,"div"),_(11,"span",10),C(12,"newlines"),i(),o(13,"div")(14,"span"),a(15),i()()()()()),n&2){let t=c();e(3),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer," "),e(3),s(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),g(!(t==null||t.Data==null)&&t.Data.IsTransfer?-1:8),e(),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?9:-1),e(2),d("innerHTML",P(12,6,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),O),e(4),s(t==null||t.Data==null?null:t.Data.City)}}function xa(n,l){n&1&&(o(0,"th"),a(1,"Sales"),i())}function va(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c();e(),s(t==null||t.Data==null?null:t.Data.SalesName)}}function ba(n,l){if(n&1&&(o(0,"th",21),a(1),i()),n&2){let t=c();e(),m(" Price(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function ha(n,l){if(n&1&&(o(0,"th",21),a(1),i()),n&2){let t=c();e(),m(" Total(",t==null||t.Data==null?null:t.Data.CurrencySymbol,") ")}}function ya(n,l){if(n&1&&_(0,"p",34),n&2){let t=c().$implicit;d("innerHTML",t.Note,O)}}function Sa(n,l){if(n&1&&(o(0,"td",11),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.UnitPrice)," ")}}function Ia(n,l){if(n&1&&(o(0,"td",11),a(1),C(2,"TrailingZero"),i()),n&2){let t=c().$implicit,r=c();e(),m(" ",f(2,1,t.Total,r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigGeneral==null?null:r.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function Da(n,l){if(n&1&&(o(0,"tr")(1,"td",11),a(2),i(),o(3,"td")(4,"span"),a(5),i(),p(6,ya,1,1,"p",34),i(),o(7,"td"),a(8),i(),o(9,"td",35),a(10),C(11,"number"),i(),o(12,"td"),a(13),i(),p(14,Sa,3,3,"td",11),o(15,"td",36),a(16),i(),p(17,Ia,3,4,"td",11),i()),n&2){let t=l.$implicit,r=l.$index,u=c(2);e(2),m(" ",r+1+"."," "),e(3),s(t.Name),e(),g(t.Note!=null?6:-1),e(2),s(t.Code),e(2),m(" ",P(11,9,t.Quantity)," "),e(3),s(t.UOMName),e(),g(u.priceVisible?14:-1),e(2),m(" ",t.Discount!=0?"-"+t.Discount+"%":""," "),e(),g(u.priceVisible?17:-1)}}function Ta(n,l){if(n&1&&(o(0,"td",24)(1,"div",37),a(2),C(3,"sum"),C(4,"number"),i()()),n&2){let t=c();e(2),m(" Qty: ",P(4,4,f(3,1,t==null||t.Data==null?null:t.Data.Items,"Quantity"))," ")}}function wa(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",38),a(6),i(),o(7,"td",20),a(8),C(9,"TrailingZero"),i()()),n&2){let t=l.$implicit,r=c();e(2),s(t.Label),e(4),s(t.CurrencySymbol),e(2),m(" ",f(9,3,t.Amount,r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigGeneral==null?null:r.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function ka(n,l){if(n&1&&(o(0,"td",39),a(1),i()),n&2){let t=c(2);e(),m(" ",t==null||t.Data==null?null:t.Data.TotalInWords," ")}}function Ea(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),p(5,ka,2,1,"td",39),i()),n&2){let t=c();e(2),m(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null)&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),e(3),g(!(t==null||t.Data==null)&&t.Data.TotalInWords?5:-1)}}function Aa(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"date"),i()),n&2){let t=c().$implicit;e(),m(" ",f(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function Na(n,l){if(n&1&&(o(0,"span"),p(1,Aa,3,4,"span"),C(2,"checkPropValueIsSame"),a(3),C(4,"number"),_(5,"br"),i()),n&2){let t=l.$implicit,r=c(2);e(),g(f(2,4,r==null||r.Data==null?null:r.Data.Payments,"Date")?1:-1),e(2),It(" ",t.MethodName," ",t.Note?t.Note:""," ",t.Amount<(r==null||r.Data==null?null:r.Data.FinalAmount)?" - "+P(4,7,t.Amount):""," ")}}function Ra(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td"),D(6,Na,6,9,"span",null,w),i()()),n&2){let t=c();e(2),m(" ",(t==null||t.Data==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment"," "),e(4),T(t==null||t.Data==null?null:t.Data.Payments)}}function Ha(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note :"),i(),o(3,"td"),a(4,":"),i(),o(5,"td")(6,"ul",40)(7,"li"),_(8,"div",10),i()()()()),n&2){let t=c();e(8),d("innerHTML",t==null||t.Data==null?null:t.Data.Invoice.Note,O)}}function Ba(n,l){if(n&1&&(o(0,"div",41)(1,"h5",42),a(2," \xA0 "),i(),o(3,"div",43),a(4," \xA0 "),i()()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column1,O)}}function za(n,l){if(n&1&&(o(0,"div",41)(1,"h5",42),a(2," \xA0 "),i(),o(3,"div",43),a(4," \xA0 "),i()()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column2,O)}}function La(n,l){if(n&1&&(o(0,"div",41)(1,"h5",42),a(2," \xA0 "),i(),o(3,"div",43),a(4," \xA0 "),i()()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column3,O)}}function Ja(n,l){if(n&1&&(o(0,"div",41)(1,"h5",42),a(2," \xA0 "),i(),o(3,"div",43),a(4," \xA0 "),i()()),n&2){let t=c(2);e(),d("innerHTML",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null?null:t.AppConfigJSON.PrintConfigInvoice.Signature.Column4,O)}}function Va(n,l){if(n&1&&(o(0,"div",28),p(1,Ba,5,1,"div",41),p(2,za,5,1,"div",41),p(3,La,5,1,"div",41),p(4,Ja,5,1,"div",41),i()),n&2){let t=c();e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null)&&t.AppConfigJSON.PrintConfigInvoice.Signature.Column1?1:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null)&&t.AppConfigJSON.PrintConfigInvoice.Signature.Column2?2:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null)&&t.AppConfigJSON.PrintConfigInvoice.Signature.Column3?3:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Signature==null)&&t.AppConfigJSON.PrintConfigInvoice.Signature.Column4?4:-1)}}function Fa(n,l){if(n&1&&(o(0,"div",44),_(1,"span",10),C(2,"SafeHtml"),i()),n&2){let t=c(2);e(),d("innerHTML",P(2,1,t==null||t.Template==null?null:t.Template.FooterLeft),O)}}function ja(n,l){if(n&1&&(o(0,"div",45),_(1,"span",10),C(2,"SafeHtml"),i()),n&2){let t=c(2);e(),d("innerHTML",P(2,1,t==null||t.Template==null?null:t.Template.FooterRight),O)}}function $a(n,l){if(n&1&&(o(0,"div",29),p(1,Fa,3,3,"div",44),p(2,ja,3,3,"div",45),i()),n&2){let t=c();e(),g(!(t==null||t.Template==null)&&t.Template.FooterLeft?1:-1),e(),g(!(t==null||t.Template==null)&&t.Template.FooterRight?2:-1)}}function Ua(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),p(7,ua,3,1,"div",6),o(8,"div",7)(9,"h2"),a(10),i(),o(11,"small"),a(12),i(),o(13,"div",8)(14,"div",9),_(15,"span",10),C(16,"newlines"),i(),o(17,"div",11),_(18,"span",10),C(19,"newlines"),i()()()(),p(20,fa,16,8,"div",12),i(),o(21,"div",13)(22,"h1")(23,"strong"),a(24),i(),o(25,"span"),a(26),i()(),o(27,"div")(28,"table")(29,"thead")(30,"tr")(31,"th"),a(32,"Date"),i(),p(33,xa,2,0,"th"),i()(),o(34,"tbody")(35,"tr")(36,"td"),a(37),C(38,"date"),i(),p(39,va,2,1,"td"),i()()()()()()(),o(40,"section",14)(41,"div",15)(42,"table",16)(43,"thead")(44,"tr")(45,"th",17),a(46,"No"),i(),o(47,"th"),a(48,"Name"),i(),o(49,"th",18),a(50,"Code"),i(),o(51,"th",19),a(52,"Qty"),i(),o(53,"th",20),a(54,"UOM"),i(),p(55,ba,2,1,"th",21),o(56,"th",22),a(57,"%"),i(),p(58,ha,2,1,"th",21),i()(),o(59,"tbody"),D(60,Da,18,11,"tr",null,w),i(),o(62,"tfoot")(63,"tr",23),p(64,Ta,5,6,"td",24),o(65,"td",25)(66,"table",26)(67,"tbody"),D(68,wa,10,6,"tr",null,w),i()()()()()()()(),o(70,"table",27),p(71,Ea,6,2,"tr"),p(72,Ra,8,1,"tr"),p(73,Ha,9,1,"tr"),i(),o(74,"div")(75,"div"),p(76,Va,5,4,"div",28),i()(),p(77,$a,3,2,"div",29),i()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,21,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(7),g(!(t==null||t.Template==null)&&t.Template.Logo?7:-1),e(3),s(t==null||t.Template==null?null:t.Template.Title),e(2),s(t==null||t.Template==null?null:t.Template.Field),e(3),d("innerHTML",P(16,23,t==null||t.Template==null?null:t.Template.Address),O),e(3),d("innerHTML",P(19,25,t==null||t.Template==null?null:t.Template.ContactInfo),O),e(2),g(!(t==null||t.Data==null)&&t.Data.ContactDisplay?20:-1),e(4),s(t==null||t.Data==null?null:t.Data.Prefixed),e(2),m(" ",t==null||t.Data==null?null:t.Data.Invoice.Number," "),e(7),g(!(t==null||t.Data==null)&&t.Data.SalesName?33:-1),e(4),m(" ",f(38,27,t==null||t.Data==null?null:t.Data.Invoice.Date,"dd MMM yyyy")," "),e(2),g(!(t==null||t.Data==null)&&t.Data.SalesName?39:-1),e(16),g(r.priceVisible?55:-1),e(3),g(r.priceVisible?58:-1),e(2),T(t==null||t.Data==null?null:t.Data.Items),e(4),g((t==null||t.Data==null?null:t.Data.Items.length)>1?64:-1),e(),d("colSpan",(t==null||t.Data==null?null:t.Data.Items.length)>1?4:8),e(3),T(t==null||t.Data==null?null:t.Data.Aggregate),e(3),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Wordify==null)&&t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||!(t==null||t.Data==null)&&t.Data.TotalInWords?71:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible&&(t==null||t.Data==null||t.Data.Payments==null?null:t.Data.Payments.length)>0?72:-1),e(),g(!(t==null||t.Data==null)&&t.Data.Invoice.Note?73:-1),e(3),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigGeneral==null||t.AppConfigJSON.PrintConfigGeneral.Visibility==null)&&t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible?76:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible?77:-1)}}var an=class n{constructor(l,t,r,u){this.httpService=l;this.activeRoute=t;this.roleService=r;this.title=u;this.priceVisible=r.sell.PriceVisible}priceVisible;data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>this.httpService.post(y.EstimateInvoice,l)),A(l=>{this.title.setTitle(l.Title)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(ut),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-estimate"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company","row"],[1,"col-auto"],[1,"g-0","p-0","m-0","shop-description"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],[1,"contact"],[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"],[1,"number",2,"width","100px"],[1,"number",2,"width","30px"],[1,"grid_footer"],["colspan","4"],[1,"number","noTopPad",3,"colSpan"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],[1,"signature","row","justify-content-between"],[1,"note"],[1,"col-md-auto","px-0",3,"style","src"],[1,"col-md-auto","px-0",3,"src"],[1,"box"],[1,"customer_info"],[1,"text-body-secondary",2,"word-break","break-all",3,"innerHTML"],[1,"number",2,"position","relative"],[1,"number","red"],[1,"fw-bold","text-end"],[1,"currency"],[1,"val"],[1,"float"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"left"],[1,"right"]],template:function(t,r){if(t&1&&(p(0,Ua,78,30),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[S,B,F,q,$,Mt,ft,jn,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};var Qa=(n,l)=>({"text-success":n,"text-danger":l});function Wa(n,l){if(n&1&&(o(0,"div"),a(1),i()),n&2){let t=c();e(),m(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Code," ")}}function Ga(n,l){if(n&1&&(o(0,"div",11)(1,"div",10),a(2,"NOTE"),i(),o(3,"div",10),a(4),i()()),n&2){let t=c();e(4),m(" ",t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Note," ")}}function Xa(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=c(),r=c();e(2),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxableSales," "),e(2),m(" ",f(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxableSale,r.decimal)," ")}}function Za(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=c();e(2),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.TaxExemptSales," "),e(2),m(" ",f(5,2,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxExemptSale,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function qa(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",t.Quantity," ")}}function Ka(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",31),a(3,"Variant Sales"),i(),D(4,qa,5,2,"div",19,w),o(6,"div",19)(7,"div",20),a(8,"Total"),i(),o(9,"div",21),a(10),C(11,"sum"),C(12,"number"),i()()()),n&2){let t=c();e(4),T(t==null||t.Data==null?null:t.Data.VariantSales),e(6),m(" ",P(12,4,f(11,1,t==null||t.Data==null?null:t.Data.VariantSales,"Quantity"))," ")}}function Ya(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2,"Visitors"),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=c();e(4),m(" ",P(5,1,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)," ")}}function tc(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",P(5,2,t.NetSales)," ")}}function nc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",31),a(3,"Category Sales"),i(),D(4,tc,6,4,"div",19,w),o(6,"div",19)(7,"div",20),a(8,"Total"),i(),o(9,"div",21),a(10),C(11,"sum"),C(12,"number"),i()()()),n&2){let t=c();e(4),T(t==null||t.Data==null?null:t.Data.CategorySales),e(6),m(" ",P(12,4,f(11,1,t==null||t.Data==null?null:t.Data.CategorySales,"NetSales"))," ")}}function ec(n,l){n&1&&(o(0,"div",32),a(1,"\xB1"),i())}function ic(n,l){if(n&1&&(o(0,"div",34),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;d("ngClass",nt(4,Qa,t.ShortOver>0,t.ShortOver<0)),e(),m(" ",P(2,2,t.ShortOver)," ")}}function oc(n,l){if(n&1&&(o(0,"div",33)(1,"div",32),a(2),i(),o(3,"div",32),a(4),C(5,"number"),i(),o(6,"div",32),a(7),C(8,"number"),i(),p(9,ec,2,0,"div",32),p(10,ic,3,7,"div",34),i()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",P(5,5,t.Start)," "),e(3),m(" ",P(8,7,t.Amount)," "),e(2),g(t.ShortOver?9:-1),e(),g(t.ShortOver?10:-1)}}function lc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",22),a(3,"Balance"),i(),o(4,"div",26)(5,"div",32),a(6,"Type"),i(),o(7,"div",32),a(8,"Start"),i(),o(9,"div",32),a(10,"End"),i()(),D(11,oc,11,9,"div",33,w),o(13,"div",26)(14,"div",32),a(15,"Total"),i(),o(16,"div",32),a(17),C(18,"sum"),C(19,"number"),i(),o(20,"div",32),a(21),C(22,"sum"),C(23,"number"),i()()()),n&2){let t=c();e(11),T(t==null||t.Data==null?null:t.Data.Payment),e(6),m(" ",P(19,5,f(18,2,t==null||t.Data==null?null:t.Data.Payment,"Start"))," "),e(4),m(" ",P(23,10,f(22,7,t==null||t.Data==null?null:t.Data.Payment,"Amount"))," ")}}function ac(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",P(5,2,t.Received)," ")}}function cc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",31),a(3,"Account Receivable"),i(),o(4,"div",19)(5,"div",20),a(6,"Amount"),i(),o(7,"div",21),a(8),C(9,"number"),i()(),o(10,"div",19)(11,"div",20),a(12,"Transaction"),i(),o(13,"div",21),a(14),C(15,"number"),i()()()),n&2){let t=c();e(8),m(" ",P(9,2,t==null||t.Data==null?null:t.Data.InvoiceAR.Amount)," "),e(6),m(" ",P(15,4,t==null||t.Data==null?null:t.Data.InvoiceAR.Count)," ")}}function rc(n,l){if(n&1&&(o(0,"div",33)(1,"div",32),a(2),i(),o(3,"div",32),a(4),C(5,"number"),i(),o(6,"div",32),a(7),C(8,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",P(5,3,t.Quantity)," "),e(3),m(" ",P(8,5,t.Total)," ")}}function dc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",35),a(3,"Products w. Commission"),i(),o(4,"div",33)(5,"div",32),a(6,"Name"),i(),o(7,"div",32),a(8,"Qty"),i(),o(9,"div",32),a(10,"Total"),i()(),D(11,rc,9,7,"div",33,w),o(13,"div",33)(14,"div",32),a(15,"Total"),i(),o(16,"div",32),a(17),C(18,"sum"),C(19,"number"),i(),o(20,"div",32),a(21),C(22,"sum"),C(23,"number"),i()()()),n&2){let t=c();e(11),T(t==null||t.Data==null?null:t.Data.VariantCommission),e(6),m(" ",P(19,5,f(18,2,t==null||t.Data==null?null:t.Data.VariantCommission,"Quantity"))," "),e(4),m(" ",P(23,10,f(22,7,t==null||t.Data==null?null:t.Data.VariantCommission,"Total"))," ")}}function pc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",18),a(3,"Return"),i(),o(4,"div",19)(5,"div",20),a(6,"Quantity"),i(),o(7,"div",21),a(8),C(9,"number"),i()(),o(10,"div",19)(11,"div",20),a(12,"Total Price"),i(),o(13,"div",21),a(14),C(15,"number"),i()()()),n&2){let t=c();e(8),m(" ",P(9,2,t==null||t.Data==null?null:t.Data.ReturnTotal)," "),e(6),m(" ",P(15,4,t==null||t.Data==null?null:t.Data.ReturnPrice)," ")}}function gc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",22),a(3,"Void Invoice"),i(),o(4,"div",19)(5,"div",20),a(6,"Transaction"),i(),o(7,"div",21),a(8),C(9,"number"),i()(),o(10,"div",19)(11,"div",20),a(12,"Invoice"),i(),o(13,"div",21),a(14),i()(),o(15,"div",19)(16,"div",20),a(17,"Total"),i(),o(18,"div",21),a(19),C(20,"number"),i()()()),n&2){let t=c();e(8),m(" ",P(9,3,t==null||t.Data==null?null:t.Data.TotalVoid)," "),e(6),m(" ",t==null||t.Data==null?null:t.Data.VoidInvoiceRange," "),e(5),m(" ",P(20,5,t==null||t.Data==null?null:t.Data.TotalVoidSales)," ")}}function Cc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",22),a(3,"History"),i(),o(4,"div",19)(5,"div",20),a(6,"Z-Count"),i(),o(7,"div",21),a(8),C(9,"number"),i()(),o(10,"div",19)(11,"div",20),a(12,"Current Gross"),i(),o(13,"div",20),a(14),C(15,"TrailingZero"),i()(),o(16,"div",19)(17,"div",20),a(18,"Previous"),i(),o(19,"div",21),a(20),C(21,"number"),i()(),o(22,"div",19)(23,"div",20),a(24,"Accumulated"),i(),o(25,"div",21),a(26),C(27,"TrailingZero"),i()()()),n&2){let t=c();e(8),m(" ",P(9,4,t==null||t.Data==null?null:t.Data.ZCount)," "),e(6),m(" ",f(15,6,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax,t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.TrailingZero)," "),e(6),m(" ",P(21,9,t==null||t.Data==null?null:t.Data.AccumulatedHistory)," "),e(6),m(" ",P(27,11,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithTax)+(t==null||t.Data==null?null:t.Data.AccumulatedHistory))," ")}}function _c(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",18),a(3,"Point"),i(),o(4,"div",19)(5,"div",20),a(6,"Point Used"),i(),o(7,"div",21),a(8),C(9,"number"),i()(),o(10,"div",19)(11,"div",20),a(12,"Point Discount"),i(),o(13,"div",21),a(14),C(15,"number"),i()()()),n&2){let t=c();e(8),m(" ",P(9,2,t==null||t.Data==null?null:t.Data.PointUsed)," "),e(6),m(" ",P(15,4,(t==null||t.Data==null?null:t.Data.PointUsed)*(t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.POS.LoyaltyPoint.EarnPointAmount))," ")}}function mc(n,l){if(n&1&&(o(0,"div",33)(1,"div",32),a(2),i(),o(3,"div",32),a(4),i(),o(5,"div",32),a(6),C(7,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.PriceDisplay," "),e(2),m(" ",t.Quantity," "),e(2),m(" ",P(7,3,t.Total)," ")}}function Pc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",36),a(3,"Denomination"),i(),o(4,"div",33)(5,"div",32),a(6,"Cash Denomination"),i(),o(7,"div",32),a(8,"Qty"),i(),o(9,"div",32),a(10,"Total"),i()(),D(11,mc,8,5,"div",33,w),o(13,"div",37)(14,"div",38),a(15,"Total"),i(),o(16,"div",39),a(17),C(18,"sum"),C(19,"number"),i()()()),n&2){let t=c();e(11),T(t==null||t.Data==null?null:t.Data.Denominations),e(6),m(" ",P(19,4,f(18,1,t==null||t.Data==null?null:t.Data.Denominations,"Total"))," ")}}function sc(n,l){if(n&1&&(o(0,"div",19)(1,"div",20),a(2),i(),o(3,"div",21),a(4),C(5,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",P(5,2,t.Amount)," ")}}function uc(n,l){if(n&1&&(o(0,"div",27),_(1,"div",4),o(2,"h2",40),a(3,"Expense"),i(),o(4,"div",19)(5,"div",20),a(6,"Label"),i(),o(7,"div",21),a(8,"Amount"),i()(),D(9,sc,6,4,"div",19,w),i()),n&2){let t=c();e(9),T(t==null||t.Data==null?null:t.Data.Expenses)}}function Oc(n,l){if(n&1&&(o(0,"div",33)(1,"div",41),a(2),i(),o(3,"div",42),a(4),i(),o(5,"div",43),a(6),C(7,"number"),i()()),n&2){let t=l.$implicit;e(2),m(" ",t.Name," "),e(2),m(" ",t.Count," "),e(2),m(" ",P(7,3,t.SalesNet)," ")}}function Mc(n,l){if(n&1&&(o(0,"div",17),_(1,"div",4),o(2,"h2",36),a(3,"Sales Type"),i(),o(4,"div",33)(5,"div",41),a(6,"Type"),i(),o(7,"div",42),a(8,"Qty"),i(),o(9,"div",43),a(10,"Amount"),i()(),D(11,Oc,8,5,"div",33,w),o(13,"div",19)(14,"div",20),a(15,"Total"),i(),o(16,"div",43),a(17),C(18,"sum"),C(19,"number"),i()()()),n&2){let t=c();e(11),T(t==null||t.Data==null?null:t.Data.ListSalesType),e(6),m(" ",P(19,4,f(18,1,t==null||t.Data==null?null:t.Data.ListSalesType,"SalesNet"))," ")}}function fc(n,l){if(n&1&&(o(0,"div",0),_(1,"link",1),C(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div",3)(5,"span"),a(6),i()(),_(7,"div",4),o(8,"div",5)(9,"h2",6),a(10),i(),o(11,"i",7),a(12),i(),_(13,"div",8),C(14,"newlines"),p(15,Wa,2,1,"div"),_(16,"div",8),C(17,"newlines"),i(),_(18,"div"),o(19,"div")(20,"div",9)(21,"div",10),a(22,"CASHIER"),i(),o(23,"div",10),a(24),i()(),o(25,"div",11)(26,"div",10),a(27,"REGISTER"),i(),o(28,"div",10),a(29),i()(),p(30,Ga,5,1,"div",11),i(),_(31,"div",12),o(32,"div")(33,"div",13)(34,"div",10),a(35,"START TIME"),i(),o(36,"div",10),a(37,"END TIME"),i()(),o(38,"div",14)(39,"div",10)(40,"span",15),a(41),C(42,"date"),i()(),o(43,"div",10)(44,"span",15),a(45),C(46,"date"),i()()(),o(47,"div",16)(48,"div",10),a(49),C(50,"date"),i(),o(51,"div",10),a(52),C(53,"date"),i()()(),o(54,"div",17),_(55,"div",4),o(56,"h2",18),a(57,"Sales"),i(),o(58,"div",19)(59,"div",20),a(60,"New Sales"),i(),o(61,"div",21),a(62),C(63,"number"),i()(),o(64,"div",19)(65,"div",20),a(66,"Discount"),i(),o(67,"div",21),a(68),C(69,"number"),i()(),o(70,"div",19)(71,"div",20),a(72),i(),o(73,"div",21),a(74),C(75,"number"),i()(),p(76,Xa,6,5,"div",19),p(77,Za,6,5,"div",19),o(78,"div",19)(79,"div",20),a(80),i(),o(81,"div",21),a(82),C(83,"number"),i()(),o(84,"div",19)(85,"div",20),a(86),i(),o(87,"div",21),a(88),C(89,"number"),i()()(),p(90,Ka,13,6,"div",17),o(91,"div",17),_(92,"div",4),o(93,"h2",22),a(94,"Summary"),i(),o(95,"div",19)(96,"div",20),a(97,"Transaction"),i(),o(98,"div",21),a(99),i()(),o(100,"div",19)(101,"div",23),a(102,"Invoice"),i(),o(103,"div",24),a(104),i()(),o(105,"div",19)(106,"div",20),a(107,"Item Sold"),i(),o(108,"div",21),a(109),C(110,"number"),i()(),p(111,Ya,6,3,"div",19),i(),p(112,nc,13,6,"div",17),p(113,lc,24,12,"div",17),o(114,"div",17),_(115,"div",4),o(116,"h2",25),a(117,"Payment Method"),i(),D(118,ac,6,4,"div",19,w),o(120,"div",26)(121,"div",20),a(122,"Total"),i(),o(123,"div",21),a(124),C(125,"sum"),C(126,"number"),i()()(),p(127,cc,16,6,"div",17),p(128,dc,24,12,"div",17),p(129,pc,16,6,"div",17),p(130,gc,21,7,"div",17),p(131,Cc,28,13,"div",17),p(132,_c,16,6,"div",17),p(133,Pc,20,6,"div",17),p(134,uc,11,0,"div",27),p(135,Mc,20,6,"div",17),o(136,"div",28),_(137,"span",29),C(138,"newlines"),i(),o(139,"span",30),a(140),i()()()),n&2){let t=l,r=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(2,43,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(5),s(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.header==null?null:t.AppConfigJSON.PrintConfigClosure.header.RegisterClosure),e(4),m(" ",t==null||t.Template==null?null:t.Template.Title," "),e(2),m(" ",t==null||t.Template==null?null:t.Template.Field," "),e(),d("innerHTML",P(14,45,t==null||t.Template==null?null:t.Template.Address),O),e(2),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode?15:-1),e(),d("innerHTML",P(17,47,t==null||t.Template==null?null:t.Template.ContactInfo),O),e(8),m(" ",t==null||t.Data==null?null:t.Data.Cashier," "),e(5),m(" ",t==null||t.Data==null||t.Data.Register==null?null:t.Data.Register.Name," "),e(),g((t==null||t.Data==null||t.Data.Session==null||t.Data.Session.Note==null?null:t.Data.Session.Note.length)>0?30:-1),e(11),s(f(42,49,t==null||t.Data==null?null:t.Data.StartTime,"HH:mm")),e(4),s(f(46,52,t==null||t.Data==null?null:t.Data.EndTime,"HH:mm")),e(4),m(" ",f(50,55,t==null||t.Data==null?null:t.Data.StartTime,"dd MMM")," "),e(3),m(" ",f(53,58,t==null||t.Data==null?null:t.Data.EndTime,"dd MMM")," "),e(10),m(" ",f(63,61,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.GrossSales,r.decimal)," "),e(6),m(" ",f(69,64,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Discount,r.decimal)," "),e(4),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),m(" ",f(75,67,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount,r.decimal)," "),e(2),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible?76:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.Footer.TaxDetailVisible?77:-1),e(3),m(" ",(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigCore==null?null:t.AppConfigJSON.PrintConfigCore.SurchargePcg)||"Surcharge"," "),e(2),m(" ",P(83,70,t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Surcharge)," "),e(4),m(" Sales + ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.Tax," "),e(2),m(" ",P(89,72,(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.SalesWithoutTax)+(t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.TaxAmount))," "),e(2),g((t==null||t.Data==null?null:t.Data.VariantSales.length)>0&&(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.ClosureVariant)?90:-1),e(9),m(" ",t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.Orders," "),e(5),m(" ",t==null||t.Data==null?null:t.Data.InvoiceRange," "),e(5),m(" ",P(110,74,t==null||t.Data==null||t.Data.InvoiceAggregate==null?null:t.Data.InvoiceAggregate.ItemsQuantity)," "),e(2),g((t==null||t.Data==null||t.Data.Session==null?null:t.Data.Session.Visitors)!=null?111:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.CategorySalesVisible?112:-1),e(),g(!(t==null||t.Data==null)&&t.Data.Balance?113:-1),e(5),T(t==null||t.Data==null?null:t.Data.Payment),e(6),m(" ",P(126,79,f(125,76,t==null||t.Data==null?null:t.Data.Payment,"Received"))," "),e(3),g((t==null||t.Data==null?null:t.Data.InvoiceAR.Count)>0?127:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.ProductsWithCommission?128:-1),e(),g((t==null||t.Data==null?null:t.Data.ReturnTotal)<0?129:-1),e(),g((t==null||t.Data==null?null:t.Data.TotalVoid)>0&&(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.VoidInvoice)?130:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.HistoryVisible?131:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigClosure==null||t.AppConfigJSON.PrintConfigClosure.Visibility==null)&&t.AppConfigJSON.PrintConfigClosure.Visibility.PointUsed?132:-1),e(),g((t==null||t.Data==null?null:t.Data.Denominations.length)>0?133:-1),e(),g((t==null||t.Data==null?null:t.Data.Expenses.length)>0?134:-1),e(),g((t==null||t.Data==null?null:t.Data.ListSalesType.length)>0?135:-1),e(2),d("innerHTML",P(138,81,t==null||t.Template==null?null:t.Template.EodFooter),O),e(3),s(t==null||t.Data==null?null:t.Data.PrintDate)}}var cn=class n{constructor(l,t,r){this.activatedRoute=l;this.httpService=t;this.title=r}decimal="";data$;ngOnInit(){this.data$=this.activatedRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>this.httpService.post(y.ClouserReceipt,l)),j(l=>(this.title.setTitle(l.Title),l.Data.Denominations=this.filterDenomination(l),this.initDecimal(l.AppConfigJSON),l)),J(1))}initDecimal(l){let t=l.PrintConfigGeneral.TrailingZero;t!=0?this.decimal="1."+t+"-"+t:this.decimal="0.0-0"}filterDenomination(l){let t=l.Data?.Denominations;return t&&(t=t.filter(r=>!(r.Quantity==0&&r.Total==0))),t}static \u0275fac=function(t){return new(t||n)(M(b),M(h),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-register-closure"]],standalone:!1,decls:2,vars:3,consts:[[1,"print_container"],["rel","stylesheet","type","text/css"],[1,"closure_print_container","container-fluid"],[1,"header"],[1,"dotted"],[1,"text-center","my-2"],[1,"m-0","fw-bold"],[1,"d-block"],[1,"mt-2",3,"innerHTML"],[1,"row","text-center","g-0","mt-2","mb-1"],[1,"col-6"],[1,"row","text-center","g-0","mb-1"],[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"],[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"],[1,"row","g-0","fw-bold","text-center"],[1,"pane","my-3"],[1,"footPrint"],["id","eodfooter",1,"ps-0",3,"innerHTML"],[1,"printDate","fw-bold"],[1,"mx-auto","text-center","col-7"],[1,"col-4"],[1,"row","g-0","text-center"],[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,"mx-auto","text-center",2,"width","80px"],[1,"col-4","text-start"],[1,"col-2"],[1,"col-4","text-end"]],template:function(t,r){if(t&1&&(p(0,fc,141,83,"div",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,F,q,$,Mt,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{margin:0;padding:0;text-align:center;font-family:Arial;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:238px;text-align:left}div.header[_ngcontent-%COMP%]{text-align:center;margin:10px 0 0}.preline.center[_ngcontent-%COMP%]{text-align:center;white-space:pre-line;word-break:break-word}.preline.left[_ngcontent-%COMP%]{text-align:left;white-space:pre-line;word-break:break-word}div.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:700;letter-spacing:10px}div.headerOutlet[_ngcontent-%COMP%]{text-align:center}h1[_ngcontent-%COMP%]{font-size:20px!important}div.headerOutlet[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{border:none!important;font-size:35px!important;font-weight:400;margin:0;padding:0}table.cashier[_ngcontent-%COMP%]{width:225px!important;margin-left:10px}table.cashier[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:25px}table.start[_ngcontent-%COMP%]{float:left;width:49%}table.end[_ngcontent-%COMP%]{float:right;width:49%}table.start[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:10px}table.start[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%]{height:45px}table.start[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.start[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center}table[_ngcontent-%COMP%] tr.footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:700}span.time[_ngcontent-%COMP%]{border:1px dotted Black;font-size:18px;font-weight:700;padding:3px 15px;background-color:#ffffbf}div.pane[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Roboto Slab,serif;font-size:12px;margin-top:-9px}.fontsize-12[_ngcontent-%COMP%]{font-size:12px}table.plain[_ngcontent-%COMP%]{width:100%}th.number[_ngcontent-%COMP%], td.number[_ngcontent-%COMP%]{text-align:right!important}span.printDate[_ngcontent-%COMP%]{text-align:center;display:block}div.dotted[_ngcontent-%COMP%]{border-bottom:1px dotted Black;margin:0}div.sep[_ngcontent-%COMP%]{border-bottom:1px solid Black;margin:0;padding:0}div.footPrint[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{padding-left:15px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:12px;padding:5px 8px}']})};var xc=(n,l)=>({"col-8":n,col:l}),vc=n=>({width:n});function bc(n,l){if(n&1&&_(0,"img",20),n&2){let t=c(2);at(tt(3,vc,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),d("src",t==null?null:t.Template.Logo,V)}}function hc(n,l){if(n&1&&p(0,bc,1,5,"img",19),n&2){let t=c();g(t!=null&&t.Template.Logo?0:-1)}}function yc(n,l){if(n&1&&_(0,"img",20),n&2){let t=c(2);d("src",t==null?null:t.Template.Logo,V)}}function Sc(n,l){if(n&1&&p(0,yc,1,1,"img",20),n&2){let t=c();g(t!=null&&t.Template.Logo?0:-1)}}function Ic(n,l){if(n&1&&(o(0,"tbody")(1,"tr",21)(2,"td",22),a(3),_(4,"br"),a(5),i()(),o(6,"tr",23)(7,"td"),a(8),i(),o(9,"td",24),a(10),i()()()),n&2){let t=l.$implicit;e(3),s(t.Name),e(2),s(t.Note),e(3),s(t.Code),e(2),s(t.Quantity)}}function Dc(n,l){if(n&1&&(o(0,"tbody")(1,"tr",21)(2,"td",22),a(3),_(4,"br"),a(5),i()(),o(6,"tr",23)(7,"td"),a(8),i(),o(9,"td",24),a(10),i()()()),n&2){let t=l.$implicit;e(3),s(t.Name),e(2),s(t.Note),e(3),s(t.Code),e(2),s(t.Quantity)}}function Tc(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1),_(3,"POS-print-mode",2),o(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"div",7),p(9,hc,1,1)(10,Sc,1,1),i(),o(11,"div",8)(12,"h2"),a(13),i(),o(14,"small"),a(15),i(),o(16,"div",9),a(17),i()()()(),o(18,"div",10)(19,"h1")(20,"strong"),a(21,"JOB ORDER #"),i(),o(22,"span",11),a(23),i()()()(),o(24,"h1",12),a(25),i(),o(26,"span",13),a(27,"Output Item(s)"),i(),o(28,"table",14)(29,"thead")(30,"tr",4)(31,"th"),a(32,"Name"),i(),o(33,"th",15),a(34,"Qty"),i()()(),D(35,Ic,11,4,"tbody",null,w),i(),o(37,"span",13),a(38,"Material Item(s)"),i(),o(39,"table",14)(40,"thead")(41,"tr",4)(42,"th"),a(43,"Name"),i(),o(44,"th",15),a(45,"Qty"),i()()(),D(46,Dc,11,4,"tbody",null,w),i(),o(48,"p",16),a(49),i(),o(50,"small",17),a(51),C(52,"date"),i(),o(53,"small",18),a(54),i()()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,12,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(3),d("paperPrints",r.paperPrintMode),e(6),g((t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)>0?9:10),e(2),d("ngClass",nt(17,xc,t==null?null:t.Template.Title,!(t!=null&&t.Template.Title))),e(2),s(t==null?null:t.Template.Title),e(2),s(t==null?null:t.Template.Field),e(2),m(" ",t==null?null:t.Template.Address," "),e(6),s(t==null?null:t.Title),e(2),s(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Name),e(10),T(t==null||t.Data==null?null:t.Data.Header),e(11),T(t==null||t.Data==null?null:t.Data.Material),e(3),s(t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Note),e(2),s(f(52,14,t==null||t.Data==null||t.Data.JobOrder==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),s(t==null||t.Data==null?null:t.Data.User.Name)}}var rn=class n{constructor(l,t,r){this.activeRoute=l;this.httpService=t;this.title=r}paperPrintMode=[];data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.JobOrderInvoice,t))),A(t=>{this.title.setTitle(`Job Order #${t.Title}`),this.initPaperModeConfig(l)}),J(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"8cm",link:"/print/JobOrderMini",param:l},{label:"A4",link:"/print/JobOrder",param:l}]}static \u0275fac=function(t){return new(t||n)(M(b),M(h),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-job-order"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"header"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row"],[1,"col-auto","shop-logo"],[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"],[1,"address","topHolder"],["id","lblCreated",1,"timestamp"],["id","lblCreator",1,"creator"],[1,"col-md-auto","px-0",3,"style","src"],[1,"col-md-auto","px-0",3,"src"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,r){if(t&1&&(p(0,Tc,55,20),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,gt,S,F,z],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function wc(n,l){if(n&1&&(o(0,"tbody")(1,"tr",15)(2,"td",16),a(3),_(4,"br"),a(5),i()(),o(6,"tr",17)(7,"td"),a(8),i(),o(9,"td",18),a(10),i()()()),n&2){let t=l.$implicit;e(3),s(t.Name),e(2),s(t.Note),e(3),s(t.Code),e(2),s(t.Quantity)}}function kc(n,l){if(n&1&&(o(0,"tbody")(1,"tr",15)(2,"td",16),a(3),_(4,"br"),a(5),i()(),o(6,"tr",17)(7,"td"),a(8),i(),o(9,"td",18),a(10),i()()()),n&2){let t=l.$implicit;e(3),s(t.Name),e(2),s(t.Note),e(3),s(t.Code),e(2),s(t.Quantity)}}function Ec(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1),_(3,"POS-print-mode",2),o(4,"div",3)(5,"h1",4),a(6),i(),o(7,"p",5),a(8),i(),o(9,"h2",6),a(10),i(),o(11,"span",7),a(12,"Output Item(s)"),i(),o(13,"table",8)(14,"thead")(15,"tr",9)(16,"th"),a(17,"Name"),i(),o(18,"th",10),a(19,"Qty"),i()()(),D(20,wc,11,4,"tbody",null,w),i(),o(22,"span",11),a(23,"Material Item(s)"),i(),o(24,"table",8)(25,"thead")(26,"tr",9)(27,"th"),a(28,"Name"),i(),o(29,"th",10),a(30,"Qty"),i()()(),D(31,kc,11,4,"tbody",null,w),i(),o(33,"p",12),a(34),i(),o(35,"small",13),a(36),C(37,"date"),i(),o(38,"small",14),a(39),i()()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(1,8,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(3),d("paperPrints",r.paperPrintMode),e(3),s(t==null||t.Template==null?null:t.Template.Title),e(2),s(t==null||t.Data==null?null:t.Data.JobOrder.Name),e(2),s(t==null?null:t.Title),e(10),T(t==null||t.Data==null?null:t.Data.Header),e(11),T(t==null||t.Data==null?null:t.Data.Material),e(3),s(t==null||t.Data==null?null:t.Data.JobOrder.Note),e(2),s(f(37,10,t==null||t.Data==null?null:t.Data.JobOrder.Created,"dd MMM yyyy HH:mm")),e(3),s(t==null||t.Data==null?null:t.Data.User.Name)}}var dn=class n{constructor(l,t,r){this.activeRoute=l;this.httpService=t;this.title=r}paperPrintMode=[];data$;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>(this.initPaperModeConfig(l),this.httpService.post(y.JobOrderMiniInvoice,l))),A(l=>{this.title.setTitle(l.Title)}),J(1))}initPaperModeConfig(l){this.paperPrintMode=[{label:"A4",link:"/print/JobOrder",param:l},{label:"8cm",link:"/print/JobOrderMini",param:l}]}static \u0275fac=function(t){return new(t||n)(M(b),M(h),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-job-order-mini"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"invoice_container"],[1,"invoiceHeader"],[1,"address"],["id","InvoiceNumber"],[1,"title"],[1,"plain","w-100"],[1,"header"],[1,"number",2,"width","20px"],[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,r){if(t&1&&(p(0,Ec,40,13),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[gt,S,F,z],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Ac(n,l){if(n&1&&(_(0,"img",32),C(1,"images")),n&2){let t=c(2).ngIf;d("src",P(1,1,t.Template==null?null:t.Template.Logo),V)}}function Nc(n,l){if(n&1&&(o(0,"div",25),x(1,Ac,2,3,"img",26),o(2,"div",27),_(3,"h2",28)(4,"small",28),o(5,"div",29),_(6,"div",30),C(7,"newlines"),_(8,"div",31),C(9,"newlines"),i()()()),n&2){let t=c().ngIf;e(),d("ngIf",t.Template==null?null:t.Template.Logo),e(2),d("innerHTML",t.Template==null?null:t.Template.Title,O),e(),d("innerHTML",t.Template==null?null:t.Template.Field,O),e(2),d("innerHTML",P(7,5,t.Template==null?null:t.Template.Address),O),e(2),d("innerHTML",P(9,7,t.Template==null?null:t.Template.ContactInfo),O)}}function Rc(n,l){if(n&1&&_(0,"strong",28),n&2){let t=c(2).ngIf;d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Name,O)}}function Hc(n,l){if(n&1&&_(0,"div",28),n&2){let t=c(2).ngIf;d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,O)}}function Bc(n,l){if(n&1&&_(0,"div",28),n&2){let t=c(2).ngIf;d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Phone,O)}}function zc(n,l){if(n&1&&(_(0,"div",28),C(1,"newlines")),n&2){let t=c(2).ngIf;d("innerHTML",P(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),O)}}function Lc(n,l){if(n&1&&_(0,"div",28),n&2){let t=c(2).ngIf;d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.CityName,O)}}function Jc(n,l){if(n&1&&(o(0,"div",33),_(1,"h3",28),o(2,"div",34),x(3,Rc,1,1,"strong",35),o(4,"div",36),x(5,Hc,1,1,"div",35)(6,Bc,1,1,"div",35)(7,zc,2,3,"div",35)(8,Lc,1,1,"div",35),i()()()),n&2){let t=c().ngIf;e(),d("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,O),e(2),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),e(2),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),e(),d("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1),e(),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),e(),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Vc(n,l){n&1&&(o(0,"th"),a(1," Due "),i())}function Fc(n,l){n&1&&(o(0,"th"),a(1," Top "),i())}function jc(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"date"),i()),n&2){let t=c().ngIf;e(),m(" ",f(2,1,t.Data.Invoice.Data.Due,"dd MMM yyyy")," ")}}function $c(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().ngIf;e(),m(" ",t.Data.Top," ")}}function Uc(n,l){if(n&1&&(o(0,"th",37),a(1),i()),n&2){let t=c().ngIf;e(),m(" Cost (",t.Data.CurrencySymbol,") ")}}function Qc(n,l){n&1&&(o(0,"th",16),a(1,"Disc"),i())}function Wc(n,l){if(n&1&&(o(0,"th",37),a(1),i()),n&2){let t=c().ngIf;e(),m(" Total (",t.Data.CurrencySymbol,") ")}}function Gc(n,l){if(n&1&&(o(0,"td",41),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.UnitPrice)," ")}}function Xc(n,l){if(n&1&&(o(0,"div",42),a(1),i()),n&2){let t=c(3).$implicit;e(),m("-",t.Discount,"%")}}function Zc(n,l){if(n&1&&(o(0,"div",42),a(1),C(2,"number"),i()),n&2){let t=c(3).$implicit;e(),m(" ",P(2,1,t.DiscountAmount)," ")}}function qc(n,l){if(n&1&&(o(0,"td"),p(1,Xc,2,1,"div",42),p(2,Zc,3,3,"div",42),i()),n&2){let t=c(2).$implicit;e(),g(t.Discount?1:-1),e(),g(t.DiscountAmount?2:-1)}}function Kc(n,l){if(n&1&&x(0,qc,3,2,"td",0),n&2){let t=c(3);d("ngIf",t.roleService.product.Cost)}}function Yc(n,l){if(n&1&&(_(0,"td",43),C(1,"amountFraction")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.Total),O)}}function tr(n,l){if(n&1&&(o(0,"tr"),_(1,"td",38)(2,"td",28)(3,"td",28)(4,"td",38),C(5,"quantityFraction"),_(6,"td",28),x(7,Gc,3,3,"td",39),p(8,Kc,1,1,"td"),x(9,Yc,2,3,"td",40),i()),n&2){let t=l.$implicit,r=l.index,u=c(2);e(),d("innerHTML",r+1,O),e(),d("innerHTML",t.Name,O),e(),d("innerHTML",t.Code,O),e(),d("innerHTML",P(5,8,t.Quantity),O),e(2),d("innerHTML",t.UOMName,O),e(),d("ngIf",u.roleService.product.Cost),e(),g(u.isDiscVisible()?8:-1),e(),d("ngIf",u.roleService.product.Cost)}}function nr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2),i(),o(3,"td"),a(4,":"),i(),o(5,"td",46),a(6),i(),o(7,"td",47),a(8),C(9,"amountFraction"),i()()),n&2){let t=l.$implicit;e(2),s(t.Label),e(4),s(t.CurrencySymbol),e(2),m(" ",P(9,3,t.Amount)," ")}}function er(n,l){if(n&1&&(o(0,"td",44)(1,"table",45)(2,"tbody"),x(3,nr,10,5,"tr",17),i()()()),n&2){let t=c().ngIf;e(3),d("ngForOf",t.Data.Aggregate)}}function ir(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Wordify"),i(),o(3,"td",48),a(4,":"),i(),_(5,"td",49),C(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),d("innerHTML",P(6,1,t.Data.totalInWords),O)}}function or(n,l){if(n&1&&(o(0,"tr"),_(1,"th",28),o(2,"td",48),a(3,":"),i(),_(4,"td",49),C(5,"date"),i()),n&2){let t=c().ngIf;e(),d("innerHTML",t.AppConfigJSON==null?null:t.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,O),e(3),d("innerHTML",f(5,2,t.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),O)}}function lr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",48),a(4,":"),i(),_(5,"td",50),C(6,"newlines"),i()),n&2){let t=c().ngIf;e(5),d("innerHTML",P(6,1,t.Data.Data.Note),O)}}function ar(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Status"),i(),o(3,"td",48),a(4,":"),i(),_(5,"td",49),i()),n&2){let t=c().ngIf;e(5),d("innerHTML",t==null||t.Data==null||t.Data.Data==null?null:t.Data.Data.StateLabel,O)}}function cr(n,l){if(n&1&&(o(0,"div",57),_(1,"h5",28),o(2,"div",53),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),d("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy,O)}}function rr(n,l){if(n&1&&(o(0,"div",58),_(1,"h5",28),o(2,"div",53),a(3,"\xA0"),i()()),n&2){let t=c(2).ngIf;e(),d("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy,O)}}function dr(n,l){if(n&1&&(o(0,"div",51)(1,"div",52),_(2,"h5",28),o(3,"div",53),a(4,"\xA0"),i()(),x(5,cr,4,1,"div",54)(6,rr,4,1,"div",55),o(7,"div",56),_(8,"h5",28)(9,"div",53),i()()),n&2){let t=c().ngIf;e(2),d("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy,O),e(3),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),e(),d("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null?null:t.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)==2),e(2),d("innerHTML",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy,O)}}function pr(n,l){if(n&1&&(o(0,"small",59),a(1," Print by: "),o(2,"small"),a(3),i(),a(4),C(5,"date"),i()),n&2){let t=c().ngIf;e(3),s(t.Template==null?null:t.Template.DisplayName),e(),m(" ",f(5,2,t.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function gr(n,l){if(n&1&&(Ct(0),_(1,"link",1),C(2,"StylesheetSafeUrl"),o(3,"div",2)(4,"div")(5,"div",3),x(6,Nc,10,9,"div",4)(7,Jc,9,6,"div",5),i(),o(8,"div",6)(9,"div",7)(10,"div",8)(11,"h1")(12,"strong"),a(13),i(),o(14,"span"),a(15),i()(),o(16,"table")(17,"thead")(18,"tr")(19,"th"),a(20,"Date"),i(),x(21,Vc,2,0,"th",0),C(22,"IsMinDate"),x(23,Fc,2,0,"th",0),C(24,"IsMinDate"),i()(),o(25,"tbody")(26,"tr")(27,"td"),a(28),C(29,"date"),i(),x(30,jc,3,4,"td",0),C(31,"IsMinDate"),x(32,$c,2,1,"td",0),C(33,"IsMinDate"),i()()()()()()(),o(34,"div",9)(35,"table",10)(36,"thead")(37,"tr")(38,"th",11),a(39,"No"),i(),o(40,"th"),a(41,"Name"),i(),o(42,"th",12),a(43,"Code"),i(),o(44,"th",13),a(45,"Qty"),i(),o(46,"th",14),a(47,"UOM"),i(),x(48,Uc,2,1,"th",15),p(49,Qc,2,0,"th",16),x(50,Wc,2,1,"th",15),i()(),o(51,"tbody"),x(52,tr,10,10,"tr",17),i(),o(53,"tfoot")(54,"tr",18)(55,"td",19)(56,"b"),a(57,"Total"),i()(),o(58,"td",20),a(59),C(60,"sum"),C(61,"quantityFraction"),i(),o(62,"td",20),a(63),i(),x(64,er,4,1,"td",21),i()()()(),o(65,"table",22),x(66,ir,7,3,"tr",0)(67,or,6,5,"tr",0),C(68,"IsMinDate"),p(69,lr,7,3,"tr"),p(70,ar,6,1,"tr"),i(),o(71,"div"),x(72,dr,10,4,"div",23),i(),x(73,pr,6,5,"small",24),i(),_t()),n&2){let t=l.ngIf,r=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(2,27,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(3),mt(Dt("",t.Template==null?null:t.Template.CssClass," header")),e(2),d("ngIf",t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),e(),d("ngIf",t.Data.Contact),e(6),s(t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),e(2),s(t.Data.Data.Number),e(6),d("ngIf",P(22,29,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),d("ngIf",P(24,31,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(5),m(" ",f(29,33,t.Data.Invoice.Data.Date,"dd MMM yyyy")," "),e(2),d("ngIf",P(31,36,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(2),d("ngIf",P(33,38,t.Data.Invoice.Data.Due)!="-"&&(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible)),e(16),d("ngIf",r.roleService.product.Cost),e(),g(r.isDiscVisible()?49:-1),e(),d("ngIf",r.roleService.product.Cost),e(2),d("ngForOf",t.Data.Item),e(3),d("colSpan",3),e(4),m(" ",P(61,43,f(60,40,t.Data.Item,"Quantity"))," "),e(4),m(" ",t.Data.Item.UOMName," "),e(),d("ngIf",r.roleService.product.Cost),e(2),d("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible),e(),d("ngIf",P(68,45,t.Data.Invoice.CustomDateField)!="-"),e(2),g(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.Note&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible)?69:-1),e(),g(!(t==null||t.Data==null||t.Data.Data==null)&&t.Data.Data.StateLabel&&(!(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.Footer==null)&&t.AppConfigJSON.PrintConfigPurchase.Footer.StatusVisible)?70:-1),e(2),d("ngIf",t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),e(),d("ngIf",(t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1)}}var pn=class n{constructor(l,t,r,u){this.httpService=l;this.route=t;this.title=r;this.roleService=u}isDiscVisible=rt(!0);data$;ngOnInit(){let l=this.route.snapshot.queryParams;this.data$=this.route.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>this.httpService.post(y.SupplierPoReceipt,t)),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{this.title.setTitle(t.Title),this.initDiscVisible(t.Data),l.Print==1&&setTimeout(()=>window.print(),500)}))}initDiscVisible(l){let r=(l.Item?l.Item:[]).some(u=>u.Discount>0||u.DiscountAmount>0);this.isDiscVisible.set(r)}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N),M(ut))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-po"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["rel","stylesheet","type","text/css"],[1,"print_container","supplierpo"],[1,"header_left"],["class","company",4,"ngIf"],["class","contact d-flex align-items-center","style","overflow-x: hidden",4,"ngIf"],[1,"header_right"],[1,"invoice_number"],[1,"mt-4"],[1,"cartItems"],[1,"plain","w-100"],[1,"text-center",2,"width","20px"],[2,"width","100px"],[1,"number","text-end",2,"width","30px"],[1,"UOMWidth",2,"width","40px"],["class","number text-end","style","width: 100px",4,"ngIf"],[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","class","number noTopPad text-end",4,"ngIf"],[1,"info",2,"max-width","50%"],["class","signature",4,"ngIf"],["class","printed",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"float",3,"src"],[1,"contact","d-flex","align-items-center",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"number","text-end",2,"width","100px"],[1,"text-center",3,"innerHTML"],["class","text-end",4,"ngIf"],["class","text-end",3,"innerHTML",4,"ngIf"],[1,"text-end"],[1,"text-end","text-danger"],[1,"text-end",3,"innerHTML"],["colspan","3",1,"number","noTopPad","text-end"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"currency"],[2,"width","50px"],[2,"width","5px"],[1,"val",3,"innerHTML"],[1,"val",2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"signature"],["Class","left"],[1,"name"],["Class","left leftSmall",4,"ngIf"],["Class","left rightSmall",4,"ngIf"],[1,"right"],["Class","left leftSmall"],["Class","left rightSmall"],[1,"printed"]],template:function(t,r){t&1&&(x(0,gr,74,47,"ng-container",0),C(1,"async")),t&2&&d("ngIf",P(1,1,r.data$))},dependencies:[Lt,wt,S,B,F,q,$,jt,Ot,kt,Jt,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Cr(n,l){if(n&1&&(_(0,"img",24),C(1,"images")),n&2){let t=c(2);d("src",zn(P(1,2,t==null||t.Template==null?null:t.Template.Logo)),V)}}function _r(n,l){if(n&1&&(o(0,"div",6),p(1,Cr,2,4,"img",24),o(2,"div",25),_(3,"h2",26)(4,"small",26),o(5,"div",27)(6,"div",28),_(7,"span",26),i(),o(8,"div",15),_(9,"span",26),C(10,"newlines"),i()()()()),n&2){let t=c();e(),g(!(t==null||t.Template==null)&&t.Template.Logo?1:-1),e(2),d("innerHTML",t==null||t.Template==null?null:t.Template.Title,O),e(),d("innerHTML",t==null||t.Template==null?null:t.Template.Field,O),e(3),d("innerHTML",t==null||t.Template==null?null:t.Template.Address,O),e(2),d("innerHTML",P(10,5,t==null||t.Template==null?null:t.Template.ContactInfo),O)}}function mr(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function Pr(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Phone)}}function sr(n,l){if(n&1&&(o(0,"div",7)(1,"h3"),_(2,"span",26),i(),o(3,"div",29)(4,"strong"),a(5),i(),o(6,"div",30),p(7,mr,3,1,"div"),p(8,Pr,3,1,"div"),o(9,"div",31),_(10,"span",26),i(),o(11,"div")(12,"span"),a(13),i()()()()()),n&2){let t=c();e(2),d("innerHTML",(t==null||t.Data==null?null:t.Data.Prefixed)==="Outlet Delivery"?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer:t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,O),e(3),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name),e(2),g(!(t==null||t.Data==null)&&t.Data.IsTransfer?-1:7),e(),g(!(t==null||t.Data==null)&&t.Data.IsTransfer?-1:8),e(2),d("innerHTML",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address,O),e(3),s(t==null?null:t.City)}}function ur(n,l){n&1&&(o(0,"th"),a(1,"Code"),i())}function Or(n,l){n&1&&(o(0,"th",16),a(1,"Cost"),i())}function Mr(n,l){if(n&1&&(o(0,"th",16),a(1," Price"),_(2,"br"),a(3),i()),n&2){let t=c();e(3),m("(",t==null||t.Data==null?null:t.Data.currencySymbol,") ")}}function fr(n,l){if(n&1&&(o(0,"div"),_(1,"small",26),i()),n&2){let t=c().$implicit;e(),d("innerHTML",t.Note,O)}}function xr(n,l){if(n&1&&(o(0,"td"),a(1),i()),n&2){let t=c().$implicit;e(),s(t.Code)}}function vr(n,l){if(n&1&&(o(0,"th",34),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.UnitCost)," ")}}function br(n,l){if(n&1&&(_(0,"th",35),C(1,"number")),n&2){let t=c().$implicit;d("innerHTML",P(1,1,t.UnitPrice),O)}}function hr(n,l){if(n&1&&(o(0,"tr")(1,"td")(2,"div"),a(3),i(),_(4,"app-serial-note",32),p(5,fr,2,1,"div"),i(),p(6,xr,2,1,"td"),_(7,"td",33),C(8,"number"),p(9,vr,3,3,"th",34),p(10,br,2,3,"th",35),i()),n&2){let t=l.$implicit,r=c();e(3),s(t.Name),e(),d("serials",t.Serial),e(),g(t.Note?5:-1),e(),g(!(r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigDelivery==null||r.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&r.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?6:-1),e(),d("innerHTML",f(8,7,t.Quantity,"1.0-2"),O),e(2),g(!(r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigDelivery==null)&&r.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&(r!=null&&r.DataCostVisible)?9:-1),e(),g(!(r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigDelivery==null)&&r.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&(!(r==null||r.Data==null)&&r.Data.PriceVisible)?10:-1)}}function yr(n,l){if(n&1&&(o(0,"div",21),_(1,"div",36),i()),n&2){let t=c();e(),d("innerHTML",t==null||t.Template==null?null:t.Template.DeliveryNote,O)}}function Sr(n,l){if(n&1&&(_(0,"span",23),C(1,"date")),n&2){let t=c();d("innerHTML",f(1,1,t==null||t.Data==null?null:t.Data.Date,"dd MMM yyyy"),O)}}function Ir(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1),_(3,"POS-print-mode",2),o(4,"div",3)(5,"div",4)(6,"div",5),p(7,_r,11,7,"div",6),p(8,sr,14,6,"div",7),i(),o(9,"div",8)(10,"h1")(11,"strong",9),a(12),i(),o(13,"span"),a(14),i()()()(),o(15,"section",10)(16,"div")(17,"span",11),a(18,"To"),i(),a(19),i(),o(20,"div"),a(21),i(),o(22,"div")(23,"span",11),a(24,"Courier"),i(),a(25),i()(),o(26,"section",12)(27,"div",13)(28,"table",14)(29,"thead")(30,"tr")(31,"th"),a(32,"Name"),i(),p(33,ur,2,0,"th"),o(34,"th",15),a(35,"Qty"),i(),p(36,Or,2,0,"th",16),p(37,Mr,4,1,"th",16),i()(),o(38,"tbody"),D(39,hr,11,10,"tr",null,w),i(),o(41,"tfoot")(42,"tr")(43,"td"),a(44,"Total"),i(),o(45,"td",17),a(46),C(47,"sum"),i()(),o(48,"tr")(49,"td",18),a(50," Note : "),_(51,"span",19),i()()()()()(),o(52,"div",20),p(53,yr,2,1,"div",21),i(),o(54,"div",22),p(55,Sr,2,4,"span",23),i()()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(1,16,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(3),d("paperPrints",r.paperPrintMode),e(4),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible?7:-1),e(),g(!(t==null||t.Data==null||t.Data.Contact==null)&&t.Data.Contact.Name&&!(!(t==null||t.Data==null)&&t.Data.IsTransfer)?8:-1),e(4),s(t==null||t.Data==null?null:t.Data.Prefixed),e(2),m(" ",t==null||t.Data==null?null:t.Data.ItemTransfer.Number," "),e(5),m(": ",t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Name," "),e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address),e(4),m(": ",t==null||t.Data==null?null:t.Data.ItemTransfer.Courier," "),e(8),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null||t.AppConfigJSON.PrintConfigDelivery.ItemsTable==null)&&t.AppConfigJSON.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?33:-1),e(3),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null)&&t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&(t!=null&&t.DataCostVisible)?36:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigDelivery==null)&&t.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&(!(t==null||t.Data==null)&&t.Data.PriceVisible)?37:-1),e(2),T(t==null||t.Data==null?null:t.Data.Items),e(7),m(" ",f(47,18,t==null||t.Data==null?null:t.Data.Items,"Quantity")," "),e(5),d("innerHTML",t==null||t.Data==null?null:t.Data.ItemTransfer.Note,O),e(2),g(!(t==null||t.Data==null)&&t.Data.IsTransfer?-1:53),e(2),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?55:-1)}}var gn=class n{constructor(l,t,r){this.activatedRoute=l;this.httpService=t;this.title=r}paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){let l;this.data$=this.activatedRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.TransferOrderReceipt,t))),A(t=>{this.title.setTitle(t.Title),this.initPrintOption(l)}))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:l},{label:"8cm",link:"/print/TransferMini",param:l}]}static \u0275fac=function(t){return new(t||n)(M(b),M(h),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-transfer-mini"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"supplierinvoice_print_container"],[1,"header","clearfix",2,"max-width","230px"],[1,"header_left",2,"max-width","230px"],[1,"company"],[1,"contact",2,"max-width","230px"],[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"],[2,"width","40px"],["colspan","3",1,"text-end"],["colspan","6"],[2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"sign","clearfix"],[1,"note"],[1,"divDate"],[1,"timestamp",3,"innerHTML"],[1,"float",3,"src"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address"],[1,"box",2,"max-width","210px"],[1,"customer_info"],[2,"max-width","205px"],[3,"serials"],[1,"number",3,"innerHTML"],[1,"text-end"],[1,"text-end",2,"width","40px",3,"innerHTML"],[1,"left",3,"innerHTML"]],template:function(t,r){if(t&1&&(p(0,Ir,56,21),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[gt,pt,S,B,F,q,$,Ot,z],styles:['div.contact[_ngcontent-%COMP%]{display:none}div.number[_ngcontent-%COMP%]{float:right;margin-left:0!important;margin-right:0!important;text-align:center!important;width:100%!important}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;width:60px;float:left}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:80px;margin-left:5px;text-align:left}div.header_right[_ngcontent-%COMP%]{text-align:center!important}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}']})};function Dr(n,l){if(n&1&&(_(0,"img",5),C(1,"images")),n&2){let t=c();d("src",P(1,1,t==null?null:t.Template.Logo),V)}}function Tr(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null?null:t.Data.Contact.Email)}}function wr(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null?null:t.Data.Contact.Phone)}}function kr(n,l){if(n&1&&(o(0,"div",11)(1,"div",24)(2,"strong"),a(3),i(),o(4,"div",25),p(5,Tr,3,1,"div"),p(6,wr,3,1,"div"),o(7,"div"),_(8,"span",7),C(9,"newlines"),i(),o(10,"div")(11,"span"),a(12),i()()()()()),n&2){let t=c(),r=c();e(3),s(t==null?null:t.Data.ContactDisplay),e(2),g(t!=null&&t.Data.IsTransfer?-1:5),e(),g((r.appConfig==null?null:r.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?6:-1),e(2),d("innerHTML",P(9,5,t==null?null:t.Data.Contact.Address),O),e(4),s(t==null?null:t.Data.City)}}function Er(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),C(3,"date"),i(),o(4,"td"),a(5),C(6,"date"),i(),o(7,"td"),a(8),i(),o(9,"td",19),a(10),C(11,"number"),i()()),n&2){let t=l.$implicit;e(2),s(f(3,4,t.Data.Date,"dd MMM yyyy")),e(3),s(f(6,7,t.Data.Due,"dd MMM")),e(3),s(t.Number),e(2),m(" ",P(11,10,t.RemainingPaymentBaseCurrency)," ")}}function Ar(n,l){if(n&1&&(o(0,"td",27),a(1),i()),n&2){let t=c(2);e(),m(" ",t==null?null:t.Data.TotalInWords," ")}}function Nr(n,l){if(n&1&&(o(0,"tr"),_(1,"th",7),o(2,"td",26),a(3,":"),i(),p(4,Ar,2,1,"td",27),i()),n&2){let t=c(),r=c();e(),d("innerHTML",r.appConfig!=null&&r.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",O),e(3),g(t!=null&&t.Data.TotalInWords?4:-1)}}function Rr(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",26),a(4,":"),i(),o(5,"td")(6,"ul",28)(7,"li"),_(8,"span",29),i()()()()),n&2){let t=c();e(8),d("innerHtml",t==null?null:t.Data.Invoice.Note,O)}}function Hr(n,l){if(n&1&&(o(0,"div",31),_(1,"h5",32),o(2,"div",33),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column1,O)}}function Br(n,l){if(n&1&&(o(0,"div",31),_(1,"h5",32),o(2,"div",33),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column2,O)}}function zr(n,l){if(n&1&&(o(0,"div",31),_(1,"h5",32),o(2,"div",33),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column3,O)}}function Lr(n,l){if(n&1&&(o(0,"div",31),_(1,"h5",32),o(2,"div",33),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null?null:t.appConfig.PrintConfigDebt.Signature.Column4,O)}}function Jr(n,l){if(n&1&&(o(0,"div",22)(1,"div",30),p(2,Hr,4,1,"div",31),p(3,Br,4,1,"div",31),p(4,zr,4,1,"div",31),p(5,Lr,4,1,"div",31),i()()),n&2){let t=c(2);e(2),g(!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null)&&t.appConfig.PrintConfigDebt.Signature.Column1?2:-1),e(),g(!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null)&&t.appConfig.PrintConfigDebt.Signature.Column2?3:-1),e(),g(!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null)&&t.appConfig.PrintConfigDebt.Signature.Column3?4:-1),e(),g(!(t.appConfig==null||t.appConfig.PrintConfigDebt==null||t.appConfig.PrintConfigDebt.Signature==null)&&t.appConfig.PrintConfigDebt.Signature.Column4?5:-1)}}function Vr(n,l){if(n&1&&(o(0,"div",34),_(1,"span",7),C(2,"SafeHtml"),i()),n&2){let t=c(2);e(),d("innerHTML",P(2,1,t!=null&&t.Template.FooterLeft?t==null?null:t.Template.FooterLeft:""),O)}}function Fr(n,l){if(n&1&&(o(0,"div",23),p(1,Vr,3,3,"div",34),o(2,"div",35),_(3,"span",7),C(4,"SafeHtml"),i()()),n&2){let t=c();e(),g(t!=null&&t.Template.FooterRight?1:-1),e(2),d("innerHTML",P(4,2,t!=null&&t.Template.FooterRight?t==null?null:t.Template.FooterRight:""),O)}}function jr(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),p(6,Dr,2,3,"img",5),o(7,"div",6),_(8,"h2",7)(9,"small",7),o(10,"div",8),_(11,"div",9),C(12,"newlines"),_(13,"div",10),C(14,"newlines"),i()()(),p(15,kr,13,7,"div",11),i(),o(16,"div",12)(17,"h1")(18,"strong"),a(19),i(),o(20,"span"),a(21),i()(),o(22,"div")(23,"table")(24,"thead")(25,"tr")(26,"th"),a(27,"Date"),i()()(),o(28,"tbody")(29,"tr")(30,"td"),a(31),C(32,"date"),i()()()()()()(),o(33,"section",13)(34,"div",14)(35,"table",15)(36,"thead")(37,"tr")(38,"th",16),a(39,"Date"),i(),o(40,"th",16),a(41,"Due"),i(),o(42,"th"),a(43,"Number"),i(),o(44,"th",17),a(45,"Total"),i()()(),o(46,"tbody"),D(47,Er,12,12,"tr",null,w),i(),o(49,"tfoot")(50,"tr")(51,"td",18),a(52),i(),o(53,"td",19),a(54),C(55,"sum"),C(56,"number"),i()()()()()(),o(57,"table",20),p(58,Nr,5,2,"tr"),p(59,Rr,9,1,"tr"),i(),o(60,"div")(61,"div",21),p(62,Jr,6,4,"div",22),i(),p(63,Fr,5,4,"div",23),i()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,17,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(2),d("ngClass",r.printMode()||""),e(4),g(t!=null&&t.Template.Logo?6:-1),e(2),d("innerHTML",t==null?null:t.Template.Title,O),e(),d("innerHTML",t==null?null:t.Template.Field,O),e(2),d("innerHTML",P(12,19,t.Template.Address),O),e(2),d("innerHTML",P(14,21,t.Template.ContactInfo),O),e(2),g(t.Data.ContactDisplay?15:-1),e(4),s(t==null?null:t.Data.Prefixed),e(2),m(" ",t==null?null:t.Data.Invoice.Number," "),e(10),s(f(32,23,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(16),T(t==null?null:t.Data.Items),e(5),m(" ",(t==null?null:t.Data.Items.length)>1?t==null?null:t.Data.Items.length:""," Invoice, Total: "),e(2),m(" ",P(56,29,f(55,26,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),g(r.appConfig!=null&&r.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||t!=null&&t.Data.TotalInWords?58:-1),e(),g(t!=null&&t.Data.Invoice.Note?59:-1),e(3),g(!(r.appConfig==null||r.appConfig.PrintConfigGeneral==null||r.appConfig.PrintConfigGeneral.Visibility==null)&&r.appConfig.PrintConfigGeneral.Visibility.Visible&&(!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.Signature==null)&&r.appConfig.PrintConfigDebt.Signature.Column1||!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.Signature==null)&&r.appConfig.PrintConfigDebt.Signature.Column2||!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.Signature==null)&&r.appConfig.PrintConfigDebt.Signature.Column3||!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.Signature==null)&&r.appConfig.PrintConfigDebt.Signature.Column4)?62:-1),e(),g(r.appConfig!=null&&r.appConfig.PrintConfigInvoice.Footer.NoteVisible?63:-1)}}var Cn=class n{constructor(l,t,r){this.httpService=l;this.activeRoute=t;this.title=r}data$;printMode=rt(null);appConfig;ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>(this.printMode.set(l.Mode),this.httpService.post(y.BulkSupplierInvoice,l))),A(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b),M(N))};static \u0275cmp=v({type:n,selectors:[["POS-bulk-supplier-invoice"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],[1,"float",3,"src"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"contact","border-0","px-0",2,"overflow","visible !important"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","50px"],[1,"number",2,"width","120px"],["colspan","3",1,"number"],[1,"number"],[1,"info"],[1,"row"],[1,"col-12","signature"],[1,"note"],[1,"box",2,"border","solid 1px #9e9e9e !important"],[1,"customer_info"],[1,"sep"],[1,"val"],[1,"float"],[3,"innerHtml"],[1,"row","justify-content-between"],[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,"left"],[1,"right"]],template:function(t,r){if(t&1&&(p(0,jr,64,31),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,F,q,$,ft,Ot,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function $r(n,l){if(n&1&&(_(0,"img",5),C(1,"images")),n&2){let t=c();d("src",P(1,1,t==null?null:t.Template.Logo),V)}}function Ur(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null?null:t.Data.Contact.Email)}}function Qr(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null?null:t.Data.Contact.Phone)}}function Wr(n,l){if(n&1&&(o(0,"div",11)(1,"h3"),_(2,"span",7),i(),o(3,"div",28)(4,"strong"),a(5),i(),o(6,"div",29),p(7,Ur,3,1,"div"),p(8,Qr,3,1,"div"),o(9,"div"),_(10,"span",7),C(11,"newlines"),i(),o(12,"div")(13,"span"),a(14),i()()()()()),n&2){let t=c(),r=c();e(2),d("innerHTML",r.appConfig==null?null:r.appConfig.PrintConfigInvoice.DocumentLabel.Customer,O),e(3),s(t==null?null:t.Data.ContactDisplay),e(2),g(t!=null&&t.Data.IsTransfer?-1:7),e(),g((r.appConfig==null?null:r.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1?8:-1),e(2),d("innerHTML",P(11,6,t==null?null:t.Data.Contact.Address),O),e(4),s(t==null?null:t.Data.City)}}function Gr(n,l){n&1&&(o(0,"th",16),a(1,"Due"),i())}function Xr(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"date"),i()),n&2){let t=c().$implicit;e(),s(f(2,1,t.Due,"dd MMM"))}}function Zr(n,l){if(n&1&&(o(0,"span",34),a(1,"x"),i(),o(2,"span"),a(3),C(4,"number"),i()),n&2){let t=c().$implicit;e(3),s(P(4,1,t.Quantity))}}function qr(n,l){if(n&1&&(o(0,"p",31)(1,"span"),a(2),i(),o(3,"span",32),a(4),i(),p(5,Zr,5,3),o(6,"span",33),a(7),i(),o(8,"span"),a(9),C(10,"number"),i()()),n&2){let t=l.$implicit,r=l.$index;e(2),m("",r+1,"."),e(2),s(t.Name),e(),g(t.Quantity>1?5:-1),e(2),s("@"),e(2),s(P(10,5,t.Total))}}function Kr(n,l){if(n&1&&D(0,qr,11,7,"p",31,zt),n&2){let t=c().$implicit;T(t.Items)}}function Yr(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),C(3,"date"),i(),p(4,Xr,3,4,"td"),o(5,"td",17)(6,"h5"),a(7),i(),p(8,Kr,2,0),i(),o(9,"td",30),a(10),C(11,"number"),i()()),n&2){let t=l.$implicit,r=c(2);e(2),s(f(3,5,t.Date,"dd MMM yyyy")),e(2),g(!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.ARColletion==null)&&r.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?4:-1),e(3),s(t.Number),e(),g(!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.ARColletion==null)&&r.appConfig.PrintConfigDebt.ARColletion.InvoiceDetailVisible?8:-1),e(2),m(" ",P(11,8,t.RemainingPaymentBaseCurrency)," ")}}function td(n,l){if(n&1&&(o(0,"td",36),a(1),i()),n&2){let t=c(2);e(),m(" ",t==null?null:t.Data.TotalInWords," ")}}function nd(n,l){if(n&1&&(o(0,"tr"),_(1,"th",7),o(2,"td",35),a(3,":"),i(),p(4,td,2,1,"td",36),i()),n&2){let t=c(),r=c();e(),d("innerHTML",r.appConfig!=null&&r.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",O),e(3),g(t!=null&&t.Data.TotalInWords?4:-1)}}function ed(n,l){if(n&1&&(o(0,"tr")(1,"th",37),a(2),i(),o(3,"td",37),a(4,":"),i(),o(5,"td",37),a(6),C(7,"number"),i()()),n&2){let t=c(),r=c();e(2),m(" ",r.appConfig.PrintConfigDebt.FooterLabel.RemainingLabel," "),e(4),s(P(7,2,t==null?null:t.Data.Remaining))}}function id(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"limitTo"),i()),n&2){let t=c().$implicit,r=c(3);e(),m(" ",(r.appConfig==null?null:r.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode)==3?"- ***"+st(2,1,t.Code,4,t.Code.length-4):"- "+t.Code," ")}}function od(n,l){if(n&1&&_(0,"span",39),n&2){let t=c().$implicit;d("innerHTML",t.Note?t.Note+" - ":"",O)}}function ld(n,l){if(n&1&&(o(0,"span")(1,"span",7),C(2,"date"),a(3),C(4,"date"),i(),o(5,"span"),a(6),i(),p(7,id,3,5,"span"),p(8,od,1,1,"span",39),o(9,"span"),a(10),C(11,"number"),i(),_(12,"br"),i()),n&2){let t=l.$implicit,r=c(3);e(),d("innerHTML",f(2,6,t.Date,"dd MMM yy")+" - ",O),e(2),m(" ",f(4,9,t.Date,"dd MMM yy")+" - "," "),e(3),s(t.MethodName),e(),g(t.Code&&r.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode!=1?7:-1),e(),g(r.appConfig!=null&&r.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentNoteVisible?8:-1),e(2),s(P(11,12,t.Amount))}}function ad(n,l){if(n&1&&(o(0,"tr"),_(1,"th",38),o(2,"td",37),a(3,":"),i(),o(4,"td",37),D(5,ld,13,14,"span",null,w),i()()),n&2){let t=c();e(),d("innerHTML",(t==null?null:t.Data.Invoice.PaymentStateID)==2?"Down Payment":"Payment",O),e(4),T(t==null?null:t.Data.Payments)}}function cd(n,l){if(n&1&&(o(0,"tr")(1,"th"),a(2,"Note"),i(),o(3,"td",35),a(4,":"),i(),o(5,"td")(6,"ul",40)(7,"li"),_(8,"div",41),i()()()()),n&2){let t=c();e(8),d("innerHtml",t==null?null:t.Data.Invoice.Note,O)}}function rd(n,l){if(n&1&&(o(0,"div",43),_(1,"h5",44),o(2,"div",45),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column1,O)}}function dd(n,l){if(n&1&&(o(0,"div",43),_(1,"h5",44),o(2,"div",45),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column2,O)}}function pd(n,l){if(n&1&&(o(0,"div",43),_(1,"h5",44),o(2,"div",45),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column3,O)}}function gd(n,l){if(n&1&&(o(0,"div",43),_(1,"h5",44),o(2,"div",45),a(3," \xA0 "),i()()),n&2){let t=c(3);e(),d("innerHtml",t.appConfig.PrintConfigDebt.Signature.Column4,O)}}function Cd(n,l){if(n&1&&(o(0,"div",26)(1,"div",42),p(2,rd,4,1,"div",43),p(3,dd,4,1,"div",43),p(4,pd,4,1,"div",43),p(5,gd,4,1,"div",43),i()()),n&2){let t=c(2);e(2),g(t.appConfig.PrintConfigDebt.Signature.Column1?2:-1),e(),g(t.appConfig.PrintConfigDebt.Signature.Column2?3:-1),e(),g(t.appConfig.PrintConfigDebt.Signature.Column3?4:-1),e(),g(t.appConfig.PrintConfigDebt.Signature.Column4?5:-1)}}function _d(n,l){if(n&1&&(o(0,"div",46),_(1,"span",7),C(2,"SafeHtml"),i()),n&2){let t=c(2);e(),d("innerHTML",P(2,1,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),O)}}function md(n,l){if(n&1&&(o(0,"div",27),p(1,_d,3,3,"div",46),o(2,"div",47),_(3,"span",7),C(4,"SafeHtml"),i()()),n&2){let t=c();e(),g(t!=null&&t.Template.FooterRight?1:-1),e(2),d("innerHTML",P(4,2,!(t==null||t.Template==null)&&t.Template.FooterRight?t==null||t.Template==null?null:t.Template.FooterRight:""),O)}}function Pd(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),p(6,$r,2,3,"img",5),o(7,"div",6),_(8,"h2",7)(9,"small",7),o(10,"div",8),_(11,"div",9),C(12,"newlines"),_(13,"div",10),C(14,"newlines"),i()()(),p(15,Wr,15,8,"div",11),i(),o(16,"div",12)(17,"h1")(18,"strong"),a(19),i(),o(20,"span"),a(21),i()(),o(22,"div")(23,"table")(24,"thead")(25,"tr")(26,"th"),a(27,"Date"),i()()(),o(28,"tbody")(29,"tr")(30,"td"),a(31),C(32,"date"),i()()()()()()(),o(33,"section",13)(34,"div",14)(35,"table",15)(36,"thead")(37,"tr")(38,"th",16),a(39,"Date"),i(),p(40,Gr,2,0,"th",16),o(41,"th",17),a(42,"Number"),i(),o(43,"th",18),a(44,"Total"),i()()(),o(45,"tbody"),D(46,Yr,12,10,"tr",null,w),i(),o(48,"tfoot")(49,"tr"),_(50,"td",19),o(51,"td",20),a(52),i(),o(53,"td",21),a(54),C(55,"sum"),C(56,"number"),i()()()()()(),o(57,"table",22),p(58,nd,5,2,"tr"),p(59,ed,8,4,"tr"),p(60,ad,7,1,"tr"),i(),o(61,"div",23)(62,"table",24),p(63,cd,9,1,"tr"),i()(),o(64,"div")(65,"div",25),p(66,Cd,6,4,"div",26),i(),p(67,md,5,4,"div",27),i()()),n&2){let t=l,r=c();H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,21,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(2),d("ngClass",r.printMode()||""),e(4),g(t!=null&&t.Template.Logo?6:-1),e(2),d("innerHTML",t==null?null:t.Template.Title,O),e(),d("innerHTML",t==null?null:t.Template.Field,O),e(2),d("innerHTML",P(12,23,t.Template.Address),O),e(2),d("innerHTML",P(14,25,t.Template.ContactInfo),O),e(2),g(t.Data.ContactDisplay?15:-1),e(4),s(t==null?null:t.Data.Prefixed),e(2),m(" ",t==null?null:t.Data.Invoice.Number," "),e(10),s(f(32,27,t==null?null:t.Data.Invoice.Date,"dd MMM yyyy")),e(9),g(!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.ARColletion==null)&&r.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?40:-1),e(6),T(t==null?null:t.Data.Items),e(4),d("colSpan",!(r.appConfig==null||r.appConfig.PrintConfigDebt==null||r.appConfig.PrintConfigDebt.ARColletion==null)&&r.appConfig.PrintConfigDebt.ARColletion.DueDateVisible?6:5),e(2),m(" ",t==null?null:t.Data.Items.length," Invoice, Total: "),e(2),m(" ",P(56,33,f(55,30,t==null?null:t.Data.Items,"RemainingPaymentBaseCurrency"))," "),e(4),g(r.appConfig!=null&&r.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||t!=null&&t.Data.TotalInWords?58:-1),e(),g(t!=null&&t.Data.Remaining?59:-1),e(),g(t!=null&&t.Data.Payments.length?60:-1),e(3),g(t!=null&&t.Data.Invoice.Note?63:-1),e(3),g(!(r.appConfig==null||r.appConfig.PrintConfigGeneral==null||r.appConfig.PrintConfigGeneral.Visibility==null)&&r.appConfig.PrintConfigGeneral.Visibility.Visible&&(r.appConfig.PrintConfigDebt.Signature.Column1||r.appConfig.PrintConfigDebt.Signature.Column2||r.appConfig.PrintConfigDebt.Signature.Column3||r.appConfig.PrintConfigDebt.Signature.Column4)?66:-1),e(),g(r.appConfig!=null&&r.appConfig.PrintConfigInvoice.Footer.NoteVisible?67:-1)}}var _n=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;appConfig;title=Bt(N);printMode=rt(null);ngOnInit(){this.data$=this.activeRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>(this.printMode.set(l.Mode),this.httpService.post(y.BulkInvoice,l))),A(l=>{this.title.setTitle(l.Title),this.appConfig=l.AppConfigJSON}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-bulk-invoice"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container","bulkinvoice_print_container","container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],[1,"float",3,"src"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"contact"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","100px"],["colspan","5"],[1,"number",2,"width","120px"],[3,"colSpan"],[1,"fw-bold"],[1,"number","fw-bold"],[1,"table-sm","table-bordered","table-secondary","info"],[1,"note-info"],[1,"info"],[1,"row"],[1,"col-12","signature"],[1,"note"],[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"],[1,"val"],[1,"bg-light-gray"],[1,"bg-light-gray",3,"innerHTML"],[2,"line-break","anywhere",3,"innerHTML"],[1,"float"],[3,"innerHtml"],[1,"row","justify-content-between"],[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,"left"],[1,"right"]],template:function(t,r){if(t&1&&(p(0,Pd,68,35),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,F,Vt,q,$,ft,Ot,z],styles:['table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};var sd=(n,l)=>({"col-8":n,col:l}),ud=n=>({width:n}),Od=(n,l)=>({"text-success":n,"text-danger":l});function Md(n,l){if(n&1&&_(0,"img",22),n&2){let t=c(3);at(tt(3,ud,(t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)+"px")),d("src",t==null||t.Template==null?null:t.Template.Logo,V)}}function fd(n,l){if(n&1&&p(0,Md,1,5,"img",21),n&2){let t=c(2);g(!(t==null||t.Template==null)&&t.Template.Logo?0:-1)}}function xd(n,l){if(n&1&&_(0,"img",22),n&2){let t=c(3);d("src",t==null||t.Template==null?null:t.Template.Logo,V)}}function vd(n,l){if(n&1&&p(0,xd,1,1,"img",22),n&2){let t=c(2);g(!(t==null||t.Template==null)&&t.Template.Logo?0:-1)}}function bd(n,l){if(n&1&&(o(0,"div",6),p(1,fd,1,1)(2,vd,1,1),i()),n&2){let t=c();e(),g((t==null||t.Config==null?null:t.Config.ReceiptLogoResizedWidth)>0?1:2)}}function hd(n,l){n&1&&(o(0,"th",16),a(1," Price "),i())}function yd(n,l){if(n&1&&(o(0,"td"),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.UnitPrice)," ")}}function Sd(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td")(4,"div"),a(5),i(),_(6,"app-serial-note",23)(7,"i",24),i(),o(8,"td"),a(9),i(),o(10,"td"),a(11),C(12,"number"),i(),p(13,yd,3,3,"td"),o(14,"td"),a(15),i()()),n&2){let t=l.$implicit,r=l.$index,u=c();e(2),s(r+1),e(3),s(t.Name),e(),d("serials",t.Serial),e(),d("innerHTML",t.Note,O),e(2),s(t.Code),e(),mt(nt(12,Od,t.Quantity>0,t.Quantity<0)),e(),m(" ",t.Quantity==null?t.Counted:P(12,10,t.Quantity)," "),e(2),g(!(u==null||u.Config==null||u.Config.AdjustmentConfig==null||u.Config.AdjustmentConfig.Items==null)&&u.Config.AdjustmentConfig.Items.UnitPriceVisible?13:-1),e(2),s(t.UOMName)}}function Id(n,l){if(n&1&&(o(0,"tr")(1,"th",25),a(2,"Note"),i(),o(3,"td",26),a(4,":"),i(),_(5,"td",27),C(6,"newlines"),i()),n&2){let t=c();e(5),d("innerHtml",P(6,1,t==null||t.Header==null?null:t.Header.Note),O)}}function Dd(n,l){if(n&1&&(o(0,"div",19)(1,"h5",28),a(2," \xA0 "),i(),o(3,"div",29),a(4," \xA0 "),i()()),n&2){let t=c();e(),d("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column1,O)}}function Td(n,l){if(n&1&&(o(0,"div",20)(1,"h5",28),a(2," \xA0 "),i(),o(3,"div",29),a(4," \xA0 "),i()()),n&2){let t=c();e(),d("innerHTML",t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null?null:t.Config.AdjustmentConfig.Signature.Column2,O)}}function wd(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),p(7,bd,3,1,"div",6),o(8,"div",7),_(9,"h2",8)(10,"small",8),o(11,"div"),_(12,"div",8),C(13,"newlines"),_(14,"div",8),C(15,"newlines"),i()()()(),o(16,"div",9)(17,"h1")(18,"strong",10),a(19),i(),o(20,"span",11),a(21),i()(),o(22,"div")(23,"table")(24,"thead")(25,"tr")(26,"th"),a(27,"Date"),i()()(),o(28,"tbody")(29,"tr")(30,"td"),a(31),i()()()()()()(),o(32,"div",12)(33,"table",13)(34,"thead",14)(35,"tr")(36,"th",15),a(37,"No"),i(),o(38,"th"),a(39,"Name"),i(),o(40,"th",16),a(41,"Code"),i(),o(42,"th",16),a(43,"Qty"),i(),p(44,hd,2,0,"th",16),o(45,"th",16),a(46,"UOM"),i()()(),o(47,"tbody"),D(48,Sd,16,15,"tr",null,w),i()()(),o(50,"table",17),p(51,Id,7,3,"tr"),i(),o(52,"div")(53,"div")(54,"div",18),p(55,Dd,5,1,"div",19),p(56,Td,5,1,"div",20),i()()()()()),n&2){let t=l;H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,14,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(7),g(!(t==null||t.Template==null)&&t.Template.Logo?7:-1),e(),d("ngClass",nt(20,sd,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),d("innerHTML",t==null||t.Template==null?null:t.Template.Title,O),e(),d("innerHTML",t==null||t.Template==null?null:t.Template.Field,O),e(2),d("innerHTML",P(13,16,t==null||t.Template==null?null:t.Template.Address),O),e(2),d("innerHTML",P(15,18,t==null||t.Template==null?null:t.Template.ContactInfo),O),e(5),s(t==null||t.Config==null||t.Config.AdjustmentConfig==null?null:t.Config.AdjustmentConfig.HeaderTitle),e(2),m(" ",t==null||t.Header==null?null:t.Header.Number," "),e(10),m(" ",t==null||t.Header==null?null:t.Header.Date," "),e(13),g(!(t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Items==null)&&t.Config.AdjustmentConfig.Items.UnitPriceVisible?44:-1),e(4),T(t==null?null:t.DifferenceArray),e(3),g(!(t==null||t.Header==null)&&t.Header.Note?51:-1),e(4),g(!(t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null)&&t.Config.AdjustmentConfig.Signature.Column1?55:-1),e(),g(!(t==null||t.Config==null||t.Config.AdjustmentConfig==null||t.Config.AdjustmentConfig.Signature==null)&&t.Config.AdjustmentConfig.Signature.Column2?56:-1)}}var mn=class n{constructor(l,t){this.httpService=l;this.activatedRoute=t}data$;ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>this.httpService.post(y.AdjustmentInvoice,l)),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-printing-adjustment"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"invoice_print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],[1,"shop-logo","col-auto"],[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"],[1,"table","table-sm","table-bordered","table-secondary","info","w-25"],[1,"signature","row","justify-content-between"],[1,"col-3","signature-col1"],[1,"col-3","signature-col2"],[1,"col-md-auto","px-0",3,"style","src"],[1,"col-md-auto","px-0",3,"src"],[3,"serials"],["id","show",2,"color","cadetblue",3,"innerHTML"],[1,"bg-light-gray",2,"width","50px"],[2,"width","10px"],[3,"innerHtml"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"]],template:function(t,r){if(t&1&&(p(0,wd,57,23),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,pt,S,B,$,z],styles:['div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}@media print{.shop-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}}']})};var kd=(n,l)=>({"col-8":n,col:l});function Ed(n,l){if(n&1&&(_(0,"img",29),C(1,"images")),n&2){let t=c(2);d("src",P(1,1,t==null||t.Template==null?null:t.Template.Logo),V)}}function Ad(n,l){if(n&1&&(o(0,"div",5),p(1,Ed,2,3,"img",29),i()),n&2){let t=c();e(),g(!(t==null||t.Template==null)&&t.Template.Logo?1:-1)}}function Nd(n,l){if(n&1&&(o(0,"div")(1,"span"),a(2),i()()),n&2){let t=c(2);e(2),s(t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Email)}}function Rd(n,l){if(n&1&&(o(0,"div",8)(1,"div",30)(2,"h3",31)(3,"span"),a(4),i()(),o(5,"div",32)(6,"strong"),a(7),i(),o(8,"div",33),p(9,Nd,3,1,"div"),o(10,"div")(11,"span"),a(12),C(13,"newlines"),i()(),o(14,"div")(15,"span"),a(16),i()()()()()()),n&2){let t=c();e(4),s(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigPurchase==null||t.AppConfigJSON.PrintConfigPurchase.DocumentLabel==null?null:t.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle),e(3),s(t==null||t.Data==null?null:t.Data.ContactDisplay),e(2),g(!(t==null||t.Data==null)&&t.Data.IsTransfer?-1:9),e(3),s(P(13,5,t==null||t.Data==null||t.Data.Contact==null?null:t.Data.Contact.Address)),e(4),s(t==null||t.Data==null?null:t.Data.City)}}function Hd(n,l){if(n&1&&(o(0,"small"),a(1),i()),n&2){let t=c().$implicit;e(),s(t.Note)}}function Bd(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),s(P(2,1,t.Amount))}}function zd(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),s(P(2,1,t.Amount))}}function Ld(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),_(5,"br"),p(6,Hd,2,1,"small"),i(),o(7,"td",23),p(8,Bd,3,3,"span"),i(),o(9,"td",23),p(10,zd,3,3,"span"),i()()),n&2){let t=l.$implicit,r=c();e(2),s(t.AccountCode),e(2),m(" ",t.AccountName),e(2),g(!(r==null||r.AppConfigJSON==null||r.AppConfigJSON.PrintConfigAccounting==null)&&r.AppConfigJSON.PrintConfigAccounting.Visibility.JournalNoteAccountVisible?6:-1),e(2),g(t.DCTypeID==1?8:-1),e(2),g(t.DCTypeID==-1?10:-1)}}function Jd(n,l){if(n&1&&(o(0,"tr",26)(1,"th",34),a(2,"Note"),i(),o(3,"td",35),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c();e(6),m(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Note," ")}}function Vd(n,l){if(n&1&&(o(0,"tr")(1,"th",15),a(2,"Reference"),i(),o(3,"td",36),a(4,":"),i(),o(5,"td"),a(6),i()()),n&2){let t=c();e(6),m(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.ReferenceTextDisplay," ")}}function Fd(n,l){if(n&1&&(o(0,"div",27)(1,"div",37)(2,"h5",38),a(3),i(),o(4,"div",39),a(5," \xA0 "),i()(),o(6,"div",37)(7,"h5",38),a(8),i(),o(9,"div",39),a(10," \xA0 "),i()(),o(11,"div",37)(12,"h5",38),a(13),i(),o(14,"div",39),a(15," \xA0 "),i()(),o(16,"div",37)(17,"h5",38),a(18),i(),o(19,"div",39),a(20," \xA0 "),i()()()),n&2){let t=c();e(3),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.CreatedBy," "),e(5),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ApprovedBy," "),e(5),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.SignedBy," "),e(5),m(" ",t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null?null:t.AppConfigJSON.PrintConfigAccounting.FooterLabel.ReceivedBy," ")}}function jd(n,l){if(n&1&&(o(0,"small",28),a(1),i()),n&2){let t=c();e(),m("",t==null||t.Data==null?null:t.Data.Creator," ")}}function $d(n,l){if(n&1&&(_(0,"link",0),C(1,"StylesheetSafeUrl"),o(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),p(6,Ad,2,1,"div",5),o(7,"div",6),_(8,"h2",7)(9,"small",7),o(10,"div"),_(11,"div",7),C(12,"newlines"),_(13,"div",7),C(14,"newlines"),i()()(),p(15,Rd,17,7,"div",8),i(),o(16,"div",9)(17,"div",10)(18,"div",11)(19,"h1")(20,"strong"),a(21,"Journal #"),i(),o(22,"span"),a(23),i()()(),o(24,"div",11)(25,"div",12)(26,"div",13)(27,"table",14)(28,"thead",15)(29,"tr")(30,"th"),a(31,"Date"),i(),o(32,"th"),a(33,"Outlet"),i()()(),o(34,"tbody")(35,"tr",16)(36,"td",17),a(37),C(38,"date"),i(),o(39,"td",17),a(40),i()()()()()()()()()(),o(41,"div",18)(42,"div",19)(43,"table",20)(44,"thead",21)(45,"tr",22)(46,"th"),a(47,"Code"),i(),o(48,"th"),a(49,"Account"),i(),o(50,"th",23),a(51,"Debit"),i(),o(52,"th",23),a(53,"Credit"),i()()(),o(54,"tbody"),D(55,Ld,11,5,"tr",null,w),i(),o(57,"tfoot")(58,"tr"),_(59,"td",24),o(60,"td",23),a(61),C(62,"Filter"),C(63,"sum"),C(64,"number"),i(),o(65,"td",23),a(66),C(67,"Filter"),C(68,"sum"),C(69,"number"),i()()()()()(),o(70,"table",25),p(71,Jd,7,1,"tr",26),p(72,Vd,7,1,"tr"),i(),p(73,Fd,21,4,"div",27),p(74,jd,2,1,"small",28),i()),n&2){let t=l;H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.SizeA4?P(1,17,t==null||t.StylesSheet==null?null:t.StylesSheet.SizeA4):null,R),e(6),g(!(t==null||t.Template==null)&&t.Template.Logo?6:-1),e(),d("ngClass",nt(44,kd,t==null||t.Template==null?null:t.Template.Title,!(!(t==null||t.Template==null)&&t.Template.Title))),e(),d("innerHtml",t==null||t.Template==null?null:t.Template.Title,O),e(),d("innerHtml",t==null||t.Template==null?null:t.Template.Field,O),e(2),d("innerHtml",P(12,19,t==null||t.Template==null?null:t.Template.Address),O),e(2),d("innerHtml",P(14,21,t==null||t.Template==null?null:t.Template.ContactInfo),O),e(2),g(!(t==null||t.Data==null||t.Data.Shipping==null)&&t.Data.Shipping.Sender||!(t==null||t.Data==null)&&t.Data.ContactDisplay?15:-1),e(8),s(t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Number),e(14),m(" ",f(38,23,t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.Date,"dd MMM yyyy")," "),e(3),m(" ",t==null||t.Data==null||t.Data.JournalHeader==null?null:t.Data.JournalHeader.EntityName," "),e(15),T(t==null||t.Data==null?null:t.Data.Items),e(6),m(" ",P(64,33,f(63,30,st(62,26,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),m(" ",P(69,42,f(68,39,st(67,35,t==null||t.Data==null?null:t.Data.Items,-1,"DCTypeID"),"Amount"))," "),e(5),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null||t.AppConfigJSON.PrintConfigAccounting.FooterLabel==null)&&t.AppConfigJSON.PrintConfigAccounting.FooterLabel.JournalNoteFooterVisible?71:-1),e(),g(!(t==null||t.Data==null||t.Data.JournalHeader==null)&&t.Data.JournalHeader.ReferenceTextDisplay?72:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigAccounting==null)&&t.AppConfigJSON.PrintConfigAccounting.Visibility.SignatureVisibility?73:-1),e(),g((t==null||t.AppConfigJSON==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?74:-1)}}var Pn=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.InvoiceJournal,t))),A(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}),J(1))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-invoice-journal"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet","type","text/css"],[1,"print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],[1,"shop-logo"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHtml"],[1,"row","ms-0","mt-3","header-customer"],[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"],["colspan","2",1,"bg-white","table-borderless"],[1,"table","table-sm","table-bordered","table-secondary","mt-8","info",2,"width","400px"],["id","trNote"],[1,"row","mx-0","my-5","mt-5","text-center"],[1,"d-block","text-center","font-italic","py-2",2,"font-size","12px"],[1,"float",3,"src"],[1,"col-6","border"],[1,"fw-bold"],[1,"box"],[1,"customer_info"],["width","75px;",1,"bg-light-gray"],["width","5px;",1,"text-center"],[1,"text-center"],[1,"col-3",2,"height","120px"],[2,"line-height","20px"],[1,"border-bottom","border-dark",2,"height","100px"]],template:function(t,r){if(t&1&&(p(0,$d,75,47),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,S,B,F,q,$,Ft,Ot,z],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}@-moz-document url-prefix(){}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})};function Ud(n,l){if(n&1&&(o(0,"div",17),a(1,"Payment Note"),i(),o(2,"div",18),a(3,":"),i(),_(4,"div",24),C(5,"newlines")),n&2){let t=c();e(4),d("innerHTML",P(5,1,t.Data.Note),O)}}function Qd(n,l){if(n&1&&(o(0,"tr")(1,"td"),a(2),i(),o(3,"td"),a(4),i(),o(5,"td"),a(6),i(),o(7,"td",29),a(8),i(),o(9,"td",29),a(10),C(11,"number"),i(),o(12,"td",29),a(13),C(14,"number"),i()()),n&2){let t=l.$implicit,r=l.$index;e(2),s(r+1),e(2),s(t.Name),e(2),s(t.Code),e(2),s(t.Quantity),e(2),s(P(11,6,t.UnitPrice)),e(3),s(P(14,8,t.Total))}}function Wd(n,l){if(n&1&&(o(0,"div",20)(1,"div",25)(2,"table",26)(3,"thead",27)(4,"tr")(5,"th",28),a(6," No "),i(),o(7,"th"),a(8," Name "),i(),o(9,"th"),a(10," Code "),i(),o(11,"th",29),a(12," Qty "),i(),o(13,"th",29),a(14," Price "),i(),o(15,"th",29),a(16," Total "),i()()(),o(17,"tbody"),D(18,Qd,15,10,"tr",null,w),i()()()()),n&2){let t=c();e(18),T(t==null||t.Data==null?null:t.Data.InvoiceItems)}}function Gd(n,l){if(n&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),a(4),i(),_(5,"small",3)(6,"h6",4),C(7,"newlines"),_(8,"h6",5),C(9,"newlines"),i(),o(10,"div",6)(11,"table",7)(12,"thead",8)(13,"tr")(14,"th",9),a(15,"Payment Date"),i()()(),o(16,"tbody")(17,"tr",10)(18,"td")(19,"div",11),a(20),C(21,"date"),i()()()()()()(),o(22,"div",12)(23,"div",13)(24,"h1"),a(25),i(),o(26,"h6",14),a(27),i()(),o(28,"div",15)(29,"div",16)(30,"div",17),a(31,"Received From"),i(),o(32,"div",18),a(33,":"),i(),o(34,"div",19),a(35),i(),o(36,"div",17),a(37,"Payment For"),i(),o(38,"div",18),a(39,":"),i(),o(40,"div",19),a(41),C(42,"date"),i(),p(43,Ud,6,3),i()(),p(44,Wd,20,0,"div",20),o(45,"div",21)(46,"span",22),a(47,"Amount"),i(),o(48,"span",23),a(49),C(50,"number"),i()()()()),n&2){let t=l;e(4),s(t.PrintTemplate.Title),e(),d("innerHtml",t.PrintTemplate.Field,O),e(),d("innerHTML",P(7,14,t.PrintTemplate.Address),O),e(2),d("innerHtml",P(9,16,t.PrintTemplate.ContactInfo),O),e(12),s(f(21,18,t.Data.Date,"dd MMM yyyy")),e(5),s(t.Config.Header),e(2),m("INVOICE: ",t.Data.InvoiceNumber),e(8),s(t.Data.Customer.Display),e(6),dt("",t.Data.InvoiceNumber," - ",f(42,21,t.Data.Date,"dd MMM yy")),e(2),g(t.Data.Note?43:-1),e(),g(t.Config.Products?44:-1),e(5),dt("",t.Data.CurrencySymbol," ",P(50,24,t.Data.Amount))}}var sn=class n{constructor(l,t){this.http=l;this.aRoute=t}_data$;ngOnInit(){let l=In(this.aRoute.snapshot.queryParams);this._data$=l.pipe(Dn(t=>this.http.post(y.PaymentReceipt,t)))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["POS-payment-print"]],standalone:!1,decls:2,vars:3,consts:[[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"],[1,"row","d-print-block","g-0","mt-6"],[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,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#FDF3C6"],[2,"width","20px"],[1,"text-end"]],template:function(t,r){if(t&1&&(p(0,Gd,51,26,"div",0),C(1,"async")),t&2){let u;g((u=P(1,1,r._data$))?0:-1,u)}},dependencies:[S,B,F,$],styles:["@media print{div.container-fluid[_ngcontent-%COMP%]{width:100vw!important}}"]})};var Xd=n=>({width:n});function Zd(n,l){if(n&1&&_(0,"img",31),n&2){let t=c(2);at(tt(3,Xd,(t==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)+"px")),d("src",t==null?null:t.Template.Logo,V)}}function qd(n,l){if(n&1&&p(0,Zd,1,5,"img",30),n&2){let t=c();g(t!=null&&t.Template.Logo?0:-1)}}function Kd(n,l){if(n&1&&_(0,"img",31),n&2){let t=c(2);d("src",t==null?null:t.Template.Logo,V)}}function Yd(n,l){if(n&1&&p(0,Kd,1,1,"img",31),n&2){let t=c();g(t!=null&&t.Template.Logo?0:-1)}}function tp(n,l){if(n&1&&_(0,"span",6),n&2){let t=c();d("innerHTML",t.Data.RegisterCode,O)}}function np(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2);e(),dt(", ",t.Data.Contact==null?null:t.Data.Contact.Title," - ",t.Data.Contact==null?null:t.Data.Contact.Code)}}function ep(n,l){if(n&1&&(o(0,"h6",7)(1,"span"),a(2),i(),p(3,np,2,2,"span"),i()),n&2){let t=c();e(2),s(t.Data.Contact.Name),e(),g(t.Data.Contact!=null&&t.Data.Contact.Code&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerCodeVisible)?3:-1)}}function ip(n,l){if(n&1&&_(0,"h6",8),n&2){let t=c();d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.NationalIDNumber,O)}}function op(n,l){if(n&1&&(_(0,"p",9),C(1,"newlines")),n&2){let t=c();d("innerHTML",P(1,1,t.Data.Contact==null?null:t.Data.Contact.Address),O)}}function lp(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"limitTo"),i()),n&2){let t=c();e(),m(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+st(2,1,t.Data.Contact==null?null:t.Data.Contact.Phone,4,(t.Data.Contact==null?null:t.Data.Contact.Phone.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Phone)," ")}}function ap(n,l){if(n&1&&(o(0,"span"),a(1),C(2,"limitTo"),i()),n&2){let t=c();e(),m(" ",(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)==3?"*****"+st(2,1,t.Data.Contact==null?null:t.Data.Contact.Mobile,4,(t.Data.Contact==null||t.Data.Contact.Mobile==null?null:t.Data.Contact.Mobile.length)-4):" "+(t.Data.Contact==null?null:t.Data.Contact.Mobile)," ")}}function cp(n,l){if(n&1&&_(0,"p",10),n&2){let t=c();d("innerHTML",t.Data.Contact==null?null:t.Data.Contact.Email,O)}}function rp(n,l){if(n&1&&(o(0,"h2",13),a(1),i()),n&2){let t=c();mt(t.Data.paymentState==2?"text-warning":"text-danger"),e(),m(" ",t.Data.paymentState==2?"PARTIAL":t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.BillLabel," ")}}function dp(n,l){if(n&1&&(o(0,"h2",12),a(1),i()),n&2){let t=c();e(),m(" ",!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText?t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null?null:t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabelText:"SALES RETURN"," ")}}function pp(n,l){if(n&1&&(o(0,"h3",13),a(1),i()),n&2){let t=c();e(),s(t.Data.ParkLabel)}}function gp(n,l){if(n&1&&(o(0,"div",14),a(1),i()),n&2){let t=c();e(),m(" Creator : ",t.Data.DocumentInfo.Created.User," ")}}function Cp(n,l){if(n&1&&_(0,"div",6),n&2){let t=c();d("innerHTML",t.Data.HeaderTitle,O)}}function _p(n,l){if(n&1&&_(0,"app-serial-note",33),n&2){let t=c().$implicit;d("serials",t.Serial)}}function mp(n,l){if(n&1&&(o(0,"div",34)(1,"i",45),a(2),i()()),n&2){let t=c().$implicit;e(2),m(" sold by ",t.SalesName," ")}}function Pp(n,l){if(n&1&&(_(0,"small",46),C(1,"newlines")),n&2){let t=c(2).$implicit;d("innerHTML",P(1,1,t.Note),O)}}function sp(n,l){if(n&1&&p(0,Pp,2,3,"small",46),n&2){let t=c().$implicit,r=c();g(t.Note&&(r!=null&&r.AppConfigJSON.PrintConfigInvoice.ItemsTable.NoteItemVisible)?0:-1)}}function up(n,l){if(n&1&&(o(0,"span",47),a(1),i()),n&2){let t=c(2).$implicit;e(),m(" ",t.Taxable?"V":"N"," ")}}function Op(n,l){if(n&1&&(o(0,"span",47),a(1),i()),n&2){let t=c(2).$implicit,r=c();e(),m(" ",t.Taxable?r==null?null:r.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel:"N"," ")}}function Mp(n,l){if(n&1&&(o(0,"div",35),p(1,up,2,1,"span",47),p(2,Op,2,1,"span",47),i()),n&2){let t=c(2);e(),g((t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)==""||(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)=="Taxable"?1:-1),e(),g((t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!=""&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableLabel)!="Taxable"?2:-1)}}function fp(n,l){if(n&1&&(o(0,"span",39),a(1),C(2,"number"),i()),n&2){let t=c().$implicit,r=c();e(),It(" ",f(2,3,t.Quantity,"1.0-4")," ",r!=null&&r.AppConfigJSON.PrintConfigInvoice.ItemsTable.UOMVisible?t.UOMName:""," ",t.UnitQuantity!=1?" x "+t.UnitQuantity:""," ")}}function xp(n,l){if(n&1&&(o(0,"span",48),a(1),C(2,"amountFraction"),i()),n&2){let t=c().$implicit;e(),m(" ",P(2,1,t.UnitPrice)," ")}}function vp(n,l){if(n&1&&(o(0,"i",42),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ","-"+P(2,1,t.Discount)+"%"," ")}}function bp(n,l){if(n&1&&(o(0,"i",43),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),m(" ","-"+P(2,1,t.DiscountAmount)," ")}}function hp(n,l){if(n&1&&(o(0,"div",49)(1,"span"),a(2),C(3,"amountFraction"),C(4,"TrailingZero"),i()()),n&2){let t=c().$implicit,r=c();e(2),m(" ",f(4,3,P(3,1,(1-t.Discount/100)*t.UnitPrice*t.Quantity*t.UnitQuantity-t.DiscountAmount*t.Quantity),r==null?null:r.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function yp(n,l){if(n&1&&(o(0,"div",18)(1,"div",14)(2,"div",32)(3,"div"),Ct(4),a(5),_t(),a(6),i(),p(7,_p,1,1,"app-serial-note",33),p(8,mp,3,1,"div",34),p(9,sp,1,1),i(),p(10,Mp,3,2,"div",35),i(),o(11,"div",36)(12,"div",37)(13,"div",38),p(14,fp,3,6,"span",39),Ct(15),o(16,"span",40),a(17,"x"),i(),x(18,xp,3,3,"span",41),_t(),p(19,vp,3,3,"i",42),p(20,bp,3,3,"i",43),i()(),x(21,hp,5,6,"div",44),i()()),n&2){let t=l.$implicit,r=l.$index,u=c(),L=c();e(5),m(" ",r+1,". "),e(),dt(" ",t.Name," ",t.Code&&(u!=null&&u.AppConfigJSON.PrintConfigInvoice.ItemsTable.CodeVisible)?" - "+t.Code:""," "),e(),g(t.Serial&&(t.Serial==null?null:t.Serial.length)>0?7:-1),e(),g(t.SalesName&&(u!=null&&u.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)?8:-1),e(),g(t.Note?9:-1),e(),g(u!=null&&u.AppConfigJSON.PrintConfigInvoice.ItemsTable.TaxableVisible?10:-1),e(4),g(u!=null&&u.AppConfigJSON.PrintConfigInvoice.ItemsTable.QuantityVisible?14:-1),e(4),d("ngIf",L.isCostVisible),e(),g(t.Discount!=0?19:-1),e(),g(t.DiscountAmount!=0?20:-1),e(),d("ngIf",L.isCostVisible)}}function Sp(n,l){if(n&1&&(o(0,"span")(1,"span"),a(2),i()()),n&2){let t=c().$implicit;e(2),m("",t.Label," :")}}function Ip(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t=c(2).$implicit;e(),m("",t.CurrencySymbol," ")}}function Dp(n,l){if(n&1&&(o(0,"div",51)(1,"div",52)(2,"div",53),p(3,Ip,2,1,"span"),i(),o(4,"div",54)(5,"span"),a(6),C(7,"number"),C(8,"TrailingZero"),i()()()()),n&2){let t=c().$implicit,r=c();e(3),g(r.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible?3:-1),e(3),s(f(8,4,P(7,2,t.Amount),r.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Tp(n,l){if(n&1&&(o(0,"div",20),C(1,"Filter"),o(2,"div",50),a(3),p(4,Sp,3,1,"span"),i(),p(5,Dp,9,7,"div",51),i()),n&2){let t=l.$implicit,r=l.$index,u=c(),L=c();d("ngClass",r==st(1,4,u.Data.Aggregate,1,"Type").length-1?"pb-2":""),e(3),m(" ",r==0&&t.Label=="Amount"?L.totalItemsLabel+(L.isCostVisible?" :":""):""," "),e(),g((r!=0||t.Label!="Amount")&&L.isCostVisible?4:-1),e(),g(L.isCostVisible?5:-1)}}function wp(n,l){if(n&1&&(o(0,"span",53),a(1),i()),n&2){let t=c(2);e(),s(t.Data.CurrencySymbol)}}function kp(n,l){if(n&1&&(o(0,"div",21)(1,"div",55),a(2),i(),o(3,"div",56),p(4,wp,2,1,"span",53),o(5,"span",54),a(6),C(7,"number"),C(8,"TrailingZero"),i()()()),n&2){let t=c();e(2),m(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible?t.Data.PaymentLabel:"Payment"," "),e(2),g(t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible?4:-1),e(2),m(" ",f(8,5,P(7,3,t.Data.Invoice.Final),t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Ep(n,l){if(n&1&&(o(0,"span",53),a(1),i()),n&2){let t=c(2);e(),s(t.Data.CurrencySymbol)}}function Ap(n,l){if(n&1&&(o(0,"div",21)(1,"div",50),a(2),i(),o(3,"div",56),p(4,Ep,2,1,"span",53),o(5,"span",54),a(6),C(7,"TrailingZero"),i()()()),n&2){let t=c();e(2),m(" ",t.AppConfigJSON.PrintConfigInvoice.Footer.LabelRemaining,": "),e(2),g(t.AppConfigJSON.PrintConfigInvoice.ItemsFooter.CurrencyVisible?4:-1),e(2),s(f(7,3,t.Data.Invoice.Data.Remaining,t.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Np(n,l){if(n&1&&(o(0,"h6",23),a(1),i()),n&2){let t=c();e(),m(" ",t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentLabel.SalesPerson," ")}}function Rp(n,l){if(n&1&&(o(0,"p"),a(1),i()),n&2){let t=c();e(),m(" ",t.Data.SalesName," ")}}function Hp(n,l){n&1&&(o(0,"h6",23),a(1," Note "),i())}function Bp(n,l){if(n&1&&(_(0,"p",6),C(1,"newlines")),n&2){let t=c();d("innerHTML",P(1,1,t.Data.ExtraNote),O)}}function zp(n,l){n&1&&(o(0,"h6",24),a(1," Note "),i())}function Lp(n,l){if(n&1&&(_(0,"p",25),C(1,"newlines")),n&2){let t=c();d("innerHTML",P(1,1,t.Data.InvoiceNote),O)}}function Jp(n,l){if(n&1&&(o(0,"p",27),a(1),i()),n&2){let t=c();e(),m(" Printed : ",t.Data.PrintDate," ")}}function Vp(n,l){if(n&1&&(o(0,"p",27),a(1),i()),n&2){let t=c();e(),m(" Created : ",t.Data.Created," ")}}function Fp(n,l){n&1&&(o(0,"div"),_(1,"div",57),i())}function jp(n,l){if(n&1&&(Ct(0),_(1,"link",0),C(2,"StylesheetSafeUrl"),_(3,"POS-print-mode",1),o(4,"div")(5,"div",2),p(6,qd,1,1)(7,Yd,1,1),i(),o(8,"div",2),_(9,"h2",3)(10,"i",4),o(11,"p",5),_(12,"span",6),C(13,"newlines"),_(14,"br"),p(15,tp,1,1,"span",6),_(16,"span",6),C(17,"newlines"),i(),p(18,ep,4,2,"h6",7),p(19,ip,1,1,"h6",8),p(20,op,2,3,"p",9),p(21,lp,3,5,"span"),p(22,ap,3,5,"span"),p(23,cp,1,1,"p",10),i(),p(24,rp,2,3,"h2",11),p(25,dp,2,1,"h2",12),p(26,pp,2,1,"h3",13),p(27,gp,2,1,"div",14),o(28,"div",15)(29,"div",16),p(30,Cp,1,1,"div",6),_(31,"div",6),i(),o(32,"div",17)(33,"div"),a(34),C(35,"date"),i()()(),D(36,yp,22,12,"div",18,w),o(38,"div",19),D(39,Tp,6,8,"div",20,w),C(41,"Filter"),i(),p(42,kp,9,8,"div",21),p(43,Ap,8,6,"div",21),o(44,"div",22),p(45,Np,2,1,"h6",23),p(46,Rp,2,1,"p"),p(47,Hp,2,0,"h6",23),p(48,Bp,2,3,"p",6),p(49,zp,2,0,"h6",24),p(50,Lp,2,3,"p",25),i(),_(51,"p",6),C(52,"SafeHtml"),_(53,"div",26),C(54,"SafeHtml"),o(55,"div",2),p(56,Jp,2,1,"p",27),i(),o(57,"div",28),p(58,Vp,2,1,"p",27),i(),p(59,Fp,2,0,"div"),i(),o(60,"div",29),a(61),i(),_t()),n&2){let t=l,r=c();e(),H("href",!(t==null||t.StylesSheet==null)&&t.StylesSheet.Size8cm?P(2,39,t==null||t.StylesSheet==null?null:t.StylesSheet.Size8cm):null,R),e(2),d("paperPrints",r.paperPrintMode),e(),mt(Ln("print_container invoice_mini ",!(t==null||t.Template==null)&&t.Template.PrintLX300?"lx300":""," ",t==null||t.Template==null?null:t.Template.CssClass," box mt-5")),e(2),g((t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.LogoConfig==null?null:t.AppConfigJSON.PrintConfigInvoice.LogoConfig.ReceiptLogoResizedWidth)>0?6:7),e(3),d("innerHTML",t==null||t.Template==null?null:t.Template.Title,O),e(),d("innerHTML",t==null||t.Template==null?null:t.Template.Field,O),e(2),d("innerHTML",P(13,41,t==null?null:t.Template.Address),O),e(3),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.RegisterCode?15:-1),e(),d("innerHTML",P(17,43,t==null?null:t.Template.ContactInfo),O),e(2),g(t.Data.Contact.Name?18:-1),e(),g(t.Data.Contact!=null&&t.Data.Contact.NationalIDNumber&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.IdentificationVisible)?19:-1),e(),g(t.Data.Contact!=null&&t.Data.Contact.Address&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)?20:-1),e(),g(t.Data.Contact!=null&&t.Data.Contact.Phone&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)!==null?21:-1),e(),g(t.Data.Contact!=null&&t.Data.Contact.Mobile&&(t==null?null:t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)!==1&&(t.Data.Contact==null?null:t.Data.Contact.Phone)==null&&(t.Data.Contact==null?null:t.Data.Contact.Mobile)!==null?22:-1),e(),g(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible?23:-1),e(),g(t.Data.paymentState<3?24:-1),e(),g(t.Data.Retur&&(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.Header==null)&&t.AppConfigJSON.PrintConfigInvoice.Header.SalesReturnLabel)?25:-1),e(),g(t.Data.paymentState==1?26:-1),e(),g((t==null?null:t.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)!=1?27:-1),e(3),g(t.Data.HeaderTitle?30:-1),e(),d("innerHTML",t.Data.Invoice.Number,O),e(3),s(f(35,45,t.Data.Invoice.Data.Date,"dd MMM yyyy")),e(2),T(t.Data.Items),e(3),T(st(41,48,t.Data.Aggregate,1,"Type")),e(3),g(r.isCostVisible?42:-1),e(),g(t.Data.Invoice.Data.Remaining?43:-1),e(2),g(t.Data.SalesName&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)?45:-1),e(),g(t.Data.SalesName&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible)?46:-1),e(),g(t.Data.ExtraNote&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)?47:-1),e(),g(t.Data.ExtraNote&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.ParkNoteVisible)?48:-1),e(),g(t.Data.InvoiceNote&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)?49:-1),e(),g(t.Data.InvoiceNote&&(t!=null&&t.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)?50:-1),e(),d("innerHTML",P(52,52,!(t==null||t.Template==null)&&t.Template.FooterLeft?t==null||t.Template==null?null:t.Template.FooterLeft:""),O),e(2),d("innerHTML",P(54,54,!(t==null||t.Template==null)&&t.Template.FooterNote?t==null||t.Template==null?null:t.Template.FooterNote:""),O),e(3),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEntryTimeVisible&&t.Data.PrintDate?56:-1),e(2),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null||t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoiceCreatedTimeVisible&&t.Data.Created?58:-1),e(),g(!(t==null||t.AppConfigJSON==null||t.AppConfigJSON.PrintConfigInvoice==null)&&t.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PrintPackingslipAftersell?59:-1),e(2),m(" ",t.Data.Creator," ")}}var un=class n{constructor(l,t,r,u){this.activatedRoute=l;this.httpService=t;this.title=r;this.decimalPipe=u}roleService=Bt(ut);isCostVisible=this.roleService.product.Cost;paperPrintMode;data$;ngOnInit(){this.getInvoiceData()}totalItemsLabel;getInvoiceData(){this.data$=this.activatedRoute.queryParams.pipe(k(l=>I.IsNotEmpty(l)),E(l=>(this.initPrintOption(l),this.httpService.post(y.SupplierInvoiceReceipt,l).pipe(j(t=>{let r=t?.AppConfigJSON?.PrintConfigDelivery;return t.ConfigCostVisible=r?.Visibility?.CostVisible,t})))),A(l=>{this.title.setTitle(l.Title),this.generateItemLabel(l.Data,l.AppConfigJSON)}),J(1))}initPrintOption(l){this.paperPrintMode=[{label:"A4",link:"/print/SupplierInvoice",param:l},{label:"8cm",link:"/print/SupplierInvoiceMini",param:l}]}generateItemLabel(l,t){let r=0,u=l.Items.length;for(let fn of l.Items)(t?.PrintConfigInvoice?.ItemsTable?.NonInventoryCount||fn.Variant.TypeID!=2)&&(r+=fn.Quantity);let L=r>1?"s":"",Y=this.decimalPipe.transform(r,"1.0-4").toString(),it=t.PrintConfigInvoice?.ItemsFooter?.TotalQuantityVisible;this.totalItemsLabel=`Total (Item${L}: ${u}${it?`, Qty: ${Y})`:")"}`}static \u0275fac=function(t){return new(t||n)(M(b),M(h),M(N),M(B))};static \u0275cmp=v({type:n,selectors:[["POS-supplier-invoice-mini"]],standalone:!1,decls:2,vars:3,consts:[["rel","stylesheet"],["paperType","mini",1,"d-print-none",3,"paperPrints"],[1,"text-center"],[1,"m-0","fw-bold",3,"innerHTML"],[1,"d-block",3,"innerHTML"],[1,"mt-1","mb-1"],[3,"innerHTML"],[1,"m-0","mt-7","fw-bold"],[1,"m-0","pt-2","fw-normal",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"fst-italic","mb-2",3,"innerHTML"],[1,"text-center","m-0","p-1",3,"class"],[1,"text-center","m-0","p-1","text-warning"],[1,"text-center","m-0","p-1"],[1,"row","g-0"],[1,"row","g-0","justify-content-between","py-2"],[1,"col","fw-bold"],[1,"col","text-end"],[1,"border-y","pt-1"],[1,"cartAmount","pt-2"],[1,"row","g-0","text-end",3,"ngClass"],[1,"row","g-0","text-end"],[1,"text-center","my-2"],[1,"m-0","fw-bold"],[1,"fw-bold"],[2,"word-break","break-all",3,"innerHTML"],[1,"row","g-0","text-center",3,"innerHTML"],[1,"m-0"],[1,"text-center","mt-3"],[1,"row","g-0","row","g-0","justify-content-center","mt-5"],[1,"img-fluid","border-0",3,"style","src"],[1,"img-fluid","border-0",3,"src"],[1,"col-11"],[3,"serials"],[1,"fst-italic","pt-0","mt-0"],[1,"col-1","ps-2","text-end"],[1,"d-flex","g-0","pb-1"],[1,"flex-grow-1","text-end"],[1,"d-flex","align-items-end","justify-content-end","me-5"],[1,"small"],[1,"small","mx-1"],["class","small d-inline-flex flex-column",4,"ngIf"],[1,"fw-bold","text-danger","me-2","ms-4","small"],[1,"fw-bold","text-danger","me-2","small"],["class","col-auto text-end",4,"ngIf"],[1,"inlineMarginLeft"],[1,"fst-italic","text-success",2,"overflow-wrap","break-word",3,"innerHTML"],[1,"small","fst-italic","text-danger"],[1,"small","d-inline-flex","flex-column"],[1,"col-auto","text-end"],[1,"col-7","fw-bold"],[1,"col-5","g-0"],[1,"row"],[1,"col-auto"],[1,"col"],[1,"col-7","fw-bold","pe-3"],[1,"col-5","row","g-0"],[2,"border-top-style","dotted"]],template:function(t,r){if(t&1&&(p(0,jp,62,56,"ng-container"),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[Z,wt,gt,pt,S,B,F,Vt,$,Mt,Ft,ft,kt,z],styles:[".invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}"]})};var $p=["barcode"],Up=n=>({"col-12 border-0":n}),Qp=n=>({"col-12":n});function Wp(n,l){n&1&&_(0,"link",14)}function Gp(n,l){n&1&&_(0,"link",15)}function Xp(n,l){n&1&&_(0,"link",16)}function Zp(n,l){if(n&1&&(o(0,"div",7)(1,"span",17),a(2,"Invoice Number:"),i(),o(3,"span"),a(4),i()()),n&2){let t,r=c();e(4),s((t=r.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function qp(n,l){n&1&&(o(0,"div",8),_(1,"img",18,0),i())}function Kp(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,r=c(2);e(),s((t=r.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function Yp(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,r=c(2);e(),s((t=r.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function tg(n,l){if(n&1&&(o(0,"div",21),a(1),i()),n&2){let t,r=c(2);e(),m(" ",(t=r.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function ng(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Receiver:"),i(),o(4,"div"),p(5,Kp,2,1,"h6"),p(6,Yp,2,1,"span"),i()(),p(7,tg,2,1,"div",21),i()),n&2){let t=c();e(5),g(t.customerNameVisible()?5:-1),e(),g(t.CustomerMobileVisible()?6:-1),e(),g(t.customerAddressVisible()?7:-1)}}function eg(n,l){if(n&1&&(o(0,"h6"),a(1),i()),n&2){let t,r=c(2);e(),s((t=r.template())==null?null:t.DisplayName)}}function ig(n,l){if(n&1&&(o(0,"span"),a(1),i()),n&2){let t,r=c(2);e(),s((t=r.template())==null?null:t.ContactInfo)}}function og(n,l){if(n&1&&(o(0,"div",22),a(1),i()),n&2){let t,r=c(2);e(),m(" ",(t=r.template())==null?null:t.Address," ")}}function lg(n,l){if(n&1&&(o(0,"div",10)(1,"div",19)(2,"h6",20),a(3,"Sender:"),i(),o(4,"div"),p(5,eg,2,1,"h6"),p(6,ig,2,1,"span"),i()(),p(7,og,2,1,"div",22),i()),n&2){let t=c();e(5),g(t.storeNameVisible()?5:-1),e(),g(t.storePhoneVisible()?6:-1),e(),g(t.storeAddressVisible()?7:-1)}}function ag(n,l){if(n&1&&(o(0,"div",23)(1,"h5"),a(2),i()()),n&2){let t,r=c(2);d("ngClass",tt(2,Up,!r.invoiceNoteVisible())),e(2),s((t=r.receipt())==null?null:t.Tag)}}function cg(n,l){if(n&1&&(o(0,"div",24),_(1,"p",25),i()),n&2){let t,r=c(2);d("ngClass",tt(2,Qp,!r.orderTagVisible())),e(),d("innerHTML",(t=r.receipt())==null||t.Invoice==null?null:t.Invoice.Note,O)}}function rg(n,l){if(n&1&&(o(0,"div",11),p(1,ag,3,4,"div",23),p(2,cg,2,4,"div",24),i()),n&2){let t=c();e(),g(t.orderTagVisible()?1:-1),e(),g(t.invoiceNoteVisible()?2:-1)}}function dg(n,l){n&1&&(o(0,"th",27),a(1,"Name"),i())}function pg(n,l){n&1&&(o(0,"th",28),a(1,"Code"),i())}function gg(n,l){n&1&&(o(0,"th",28),a(1,"QTy"),i())}function Cg(n,l){if(n&1&&_(0,"span",31),n&2){let t=c(2).$implicit;d("innerHTML",t==null?null:t.Note,O)}}function _g(n,l){if(n&1&&(o(0,"td",30)(1,"div"),a(2),i(),p(3,Cg,1,1,"span",31),i()),n&2){let t=c().$implicit,r=c(2);e(2),s(t==null?null:t.Name),e(),g(r.itemNotesVisible()?3:-1)}}function mg(n,l){if(n&1&&(o(0,"td",28),a(1),i()),n&2){let t=c().$implicit;e(),s(t==null?null:t.Code)}}function Pg(n,l){if(n&1&&(o(0,"td",28),a(1),C(2,"number"),i()),n&2){let t=c().$implicit;e(),s(P(2,1,t==null?null:t.Quantity))}}function sg(n,l){if(n&1&&(o(0,"tr")(1,"td",28),a(2),i(),p(3,_g,4,2,"td",30),p(4,mg,2,1,"td",28),p(5,Pg,3,3,"td",28),i()),n&2){let t=l.$index,r=c(2);e(2),s(t+1),e(),g(r.productNameVisible()?3:-1),e(),g(r.productCodeVisible()?4:-1),e(),g(r.producctQtyVisible()?5:-1)}}function ug(n,l){if(n&1&&_(0,"td",32),n&2){let t=c(3);d("colSpan",t.getVisibleColumnCount())}}function Og(n,l){if(n&1&&(o(0,"tfoot",29)(1,"tr",29),p(2,ug,1,1,"td",32),o(3,"td",33)(4,"span",34),a(5,"Total"),i()(),o(6,"td",33)(7,"span",34),a(8),C(9,"sum"),C(10,"number"),i()()()()),n&2){let t,r=c(2);e(2),g(r.productCodeVisible()||r.productNameVisible()?2:-1),e(6),s(P(10,5,f(9,2,(t=r.receipt())==null?null:t.List,"Quantity")))}}function Mg(n,l){if(n&1&&(o(0,"table",13)(1,"thead")(2,"tr")(3,"th",26),a(4,"No"),i(),p(5,dg,2,0,"th",27),p(6,pg,2,0,"th",28),p(7,gg,2,0,"th",28),i()(),o(8,"tbody"),D(9,sg,6,4,"tr",null,zt),i(),p(11,Og,11,7,"tfoot",29),i()),n&2){let t,r=c();e(5),g(r.productNameVisible()?5:-1),e(),g(r.productCodeVisible()?6:-1),e(),g(r.producctQtyVisible()?7:-1),e(2),T((t=r.receipt())==null?null:t.List),e(2),g(r.producctQtyVisible()?11:-1)}}var Nt=class n{receipt=Rt();config=Rt();template=Rt();css=Rt();invoiceNumber=K(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=K(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=K(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);barcodeVisible=K(()=>this.packingSlipConfig()?.General?.BarcodeVisible);storeNameVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=K(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=K(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=K(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=K(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=K(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=K(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=K(()=>this.packingSlipConfig()?.ProductInformation?.ProductNoteVisible);barcodeOptions={width:1.7,height:46,displayValue:!1,backgroundColor:"",lineColor:"#000",margin:0,format:"CODE128",flat:!0};set content(l){if(l&&this.barcodeVisible()){let t=this.invoiceNumber(),r=yn({},this.barcodeOptions),u=t?t.length:10;u>30?r.width=1:u>25&&(r.width=1.5),JsBarcode("#barcode",t,r)}}getVisibleColumnCount=K(()=>{let l=0;return this.productNameVisible()&&l++,this.productCodeVisible()&&l++,l});static \u0275fac=function(t){return new(t||n)};static \u0275cmp=v({type:n,selectors:[["app-packing-slip-v2"]],viewQuery:function(t,r){if(t&1&&En($p,5),t&2){let u;An(u=Nn())&&(r.content=u.first)}},inputs:{receipt:[1,"receipt"],config:[1,"config"],template:[1,"template"],css:[1,"css"]},decls:17,vars:12,consts:[["barcode",""],["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css"],["rel","stylesheet","type","text/css"],[1,"print_container_delivery","border","border-dark","px-4",2,"width","378px"],[1,"d-flex","align-items-center","justify-content-center","border-bottom","border-dark","py-6"],[1,"text-center","mt-4","fw-bold"],[1,"w-100","d-flex","justify-content-center","mt-4","barcode-container"],[1,"row","mt-6"],[1,"col"],[1,"row","mt-8","border","rounded-1","border-dark","g-0"],[1,"mt-8","mb-5"],[1,"w-100","table","table-sm","table-bordered"],["href",lt`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",lt`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"me-2"],["id","barcode",1,"barcode-image"],[1,"d-flex","justify-content-start"],[1,"me-3"],[1,"mt-3",2,"text-align","left"],[1,"mt-3",2,"text-align","right"],[1,"col-5","text-center","py-4","border-end","border-dark","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"col-7","text-center","py-4","d-flex","align-items-center","justify-content-center",3,"ngClass"],[1,"mt-0","fst-italic",3,"innerHTML"],[1,"text-center",2,"width","10px"],[1,"text-start"],[1,"text-center"],[1,"border-0"],[1,"text-start","lh-base"],[1,"text-muted","fst-italic",2,"font-size","0.656rem",3,"innerHTML"],[1,"border-0",3,"colSpan"],[1,"text-center","border-0"],[1,"fw-bold"]],template:function(t,r){if(t&1&&(p(0,Wp,1,0,"link",1),p(1,Gp,1,0,"link",2),p(2,Xp,1,0,"link",3),_(3,"link",4),C(4,"StylesheetSafeUrl"),o(5,"div",5)(6,"div",6)(7,"h3"),a(8,"PACKING SLIP"),i()(),p(9,Zp,5,1,"div",7),p(10,qp,3,0,"div",8),o(11,"div",9),p(12,ng,8,3,"div",10),p(13,lg,8,3,"div",10),i(),p(14,rg,3,2,"div",11),o(15,"div",12),p(16,Mg,12,4,"table",13),i()()),t&2){let u,L,Y,it;g((u=r.template())!=null&&u.PrintLX300?0:-1),e(),g((L=r.template())!=null&&L.PrintLX300?1:-1),e(),g((Y=r.template())!=null&&Y.PrintLX300?2:-1),e(),H("href",(it=r.css())!=null&&it.Size8cm?P(4,10,(it=r.css())==null?null:it.Size8cm):null,R),e(6),g(r.invoiceNumberVisible()?9:-1),e(),g(r.barcodeVisible()?10:-1),e(2),g(r.customerNameVisible()||r.CustomerMobileVisible()||r.customerAddressVisible()?12:-1),e(),g(r.storeNameVisible()||r.storePhoneVisible()||r.storeAddressVisible()?13:-1),e(),g(r.orderTagVisible()||r.invoiceNoteVisible()?14:-1),e(2),g(r.productNameVisible()||r.productCodeVisible()?16:-1)}},dependencies:[bt,Z,Et,B,q,z],styles:["div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Arial;font-size:12px}div.print_container_delivery[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{display:none}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center;display:none}div.sign[_ngcontent-%COMP%]{margin:0 auto!important;display:block!important}div.signature[_ngcontent-%COMP%]{clear:both;height:111px;margin:25px auto 0;padding:0}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;max-width:80px;float:left}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:10px!important}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;max-width:80px;margin-left:5px;text-align:left}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.divDate[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Garamond;font-weight:700!important;margin:0;padding:0;text-align:center}small[_ngcontent-%COMP%]{font-size:12px;text-align:center!important;font-style:italic;display:block;margin:0 0 10px}div.address[_ngcontent-%COMP%]{width:100%;padding:0 0 5px;margin-top:3px;text-align:center!important;line-height:18px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-size:11px;font-weight:700;padding:5px 0}h2[_ngcontent-%COMP%]{font-size:14px;margin:10px 0;padding:0;text-align:center}div.customer[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:11px;padding:5px 0}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px}div.customer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:16px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:16px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}table[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0;min-height:30px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:1px dotted black;margin:0;padding:10px 5px;background-color:#ffffbf;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-align:center}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px 0 0;padding:10px 5px;background-color:#ffffbf;display:block;text-align:center}p[_ngcontent-%COMP%]{margin:3px 0 0;padding:0}div.note[_ngcontent-%COMP%]{padding-top:13px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px;font-size:11px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-size:11px}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px}footer[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;margin:15px 0 0;font-weight:700}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%]{margin:0 5px 0 0;padding:0;float:left;display:block}table.plain[_ngcontent-%COMP%] a.thumb[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;display:block;background-color:#d8dfea;border:1px solid #bbb;-webkit-border-radius:3px;border-radius:3px}table.plain[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}table.plain[_ngcontent-%COMP%] div.text[_ngcontent-%COMP%]{padding:2px 0 0}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{display:block;color:#00f;text-decoration:none}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a[_ngcontent-%COMP%]:visited{font-weight:700}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0;padding:0;display:block}table.plain[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%]{background-color:#fdf3c6!important}table.plain[_ngcontent-%COMP%] tr.group[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}table.plain[_ngcontent-%COMP%] th.borderLRB0[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.borderLRB0[_ngcontent-%COMP%]{border-left-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;background-color:#fff!important}table.plain[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.plain[_ngcontent-%COMP%] th.numberCenter[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.plain[_ngcontent-%COMP%] td.top[_ngcontent-%COMP%]{vertical-align:top}table.plain[_ngcontent-%COMP%] td.noTopPad[_ngcontent-%COMP%]{padding-top:0}table.plain[_ngcontent-%COMP%] td.small[_ngcontent-%COMP%]{font-size:11px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-width:0px;background-color:#fff}table.plain[_ngcontent-%COMP%] span.serial[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.grid_footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 0 5px 5px;background-color:#fff}table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .inlineMarginLeft[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}table.rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%]{margin:0;padding:0;list-style-type:circle;list-style-position:inside}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 20px 0 0;padding:0;float:left;display:block}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}table[_ngcontent-%COMP%] ul.float[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.scroll[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0 0 2px}table.fixed[_ngcontent-%COMP%]{table-layout:fixed}table.footer_row[_ngcontent-%COMP%]{margin:5px 8px 0 auto}table.footer_row[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_row[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px;text-align:right;float:left}table.footer_adjust[_ngcontent-%COMP%]{margin:-10px 18px 0 auto}table.footer_adjust[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%], table.footer_adjust[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:5px 0 5px 5px;text-align:right}table.footer_adjust[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:5px 23px 5px 5px;text-align:right;float:left}table.total-all-grid[_ngcontent-%COMP%]{width:100%!important;border-collapse:collapse;margin-top:10px}table.manufacture[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table.manufacture[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#fceca3!important}table.manufacture[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px solid #BBBBBB!important}table.accounting[_ngcontent-%COMP%]{max-width:1000px;border-collapse:collapse}table.accounting[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:1px solid #999;border-bottom:1px solid #999;height:28px;line-height:16px;color:#444;background-color:#fceca3!important}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}table.accounting[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px;border-bottom:1px solid black}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#00f;text-decoration:none}table.accounting[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}table.accounting[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{border:solid 1px #C8D3DF;padding:3px;text-align:right}table.accounting[_ngcontent-%COMP%] th.number[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.number[_ngcontent-%COMP%]{text-align:right}table.accounting[_ngcontent-%COMP%] th.red[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.red[_ngcontent-%COMP%]{color:red;text-align:right}table.accounting[_ngcontent-%COMP%] th.bordertop[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] td.bordertop[_ngcontent-%COMP%]{border-top:1px #999 solid}table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.accounting[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:20px}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(2n){background-color:#fff}table.main[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.main[_ngcontent-%COMP%]:nth-child(4n-1){background-color:#f6f6f6}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.main[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid #9e9e9e;color:#000;text-shadow:none}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:calc(33% - 17px);float:left;list-style:none;padding:5px 7px;border:solid 1px #d8d8d8;display:table-cell}.cartItems[_ngcontent-%COMP%] .flow[_ngcontent-%COMP%] td[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:#2b4e75;font-style:italic;margin:0;padding:0}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(5){width:10%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(6){width:5%!important}.listReturn[_ngcontent-%COMP%] tr.item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(7){width:10%!important}.listReturn[_ngcontent-%COMP%] a.head[_ngcontent-%COMP%]{padding:10px 0 10px 10px;display:block;width:50%}.listReturn[_ngcontent-%COMP%] td.numberCenter[_ngcontent-%COMP%]{text-align:right!important}.listReturn[_ngcontent-%COMP%] table.summary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{padding-top:20px!important;display:block}table.paidAmount[_ngcontent-%COMP%]{float:right;margin-top:-10px;text-align:right;padding-right:7px}table.paidAmount[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}table.paidAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}table.paidAmount[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 5px}div.zebra[_ngcontent-%COMP%]{display:table;border-collapse:collapse}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > strong[_ngcontent-%COMP%]{display:block;border:1px solid #525252;background-color:#545454;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#888),color-stop(100%,#545454));background-image:-webkit-linear-gradient(#888,#545454);background-image:-moz-linear-gradient(#888,#545454);background-image:-o-linear-gradient(#888,#545454);background-image:linear-gradient(#888,#545454);-webkit-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);-moz-box-shadow:inset 0 2px 0 -1px rgba(255,255,255,.2);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}.barcode-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;padding:0 5px;box-sizing:border-box}.barcode-image[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important;width:auto!important;display:block!important;margin:0 auto!important}.barcode-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:100%!important;height:auto!important}"]})};function fg(n,l){if(n&1&&_(0,"app-packing-slip-v2",0),n&2){let t=l;d("receipt",t==null?null:t.Data)("template",t==null?null:t.Template)("config",t==null?null:t.AppConfigJSON)("css",t==null?null:t.StylesSheet)}}var On=class n{constructor(l,t){this.httpService=l;this.activeRoute=t}data$;ngOnInit(){let l;this.data$=this.activeRoute.queryParams.pipe(k(t=>I.IsNotEmpty(t)),E(t=>(l=t,this.httpService.post(y.PackingSlipInvoice,t))),j(t=>(l.Printer&&(t.Template.PrintLX300=l.Printer=="EpsonLX300"),t)),A(t=>{l.Print==1&&window.setTimeout(function(){window.print()},500)}))}static \u0275fac=function(t){return new(t||n)(M(h),M(b))};static \u0275cmp=v({type:n,selectors:[["app-print-packing-slip-v2"]],decls:2,vars:3,consts:[[3,"receipt","template","config","css"]],template:function(t,r){if(t&1&&(p(0,fg,1,4,"app-packing-slip-v2",0),C(1,"async")),t&2){let u;g((u=P(1,1,r.data$))?0:-1,u)}},dependencies:[bt,Nt,S],encapsulation:2})};var xg=[{path:"InvoiceMini",component:Ut},{path:"Invoice",component:Qt},{path:"Estimate",component:an},{path:"SalesOrder",component:Wt},{path:"CustomerPO",component:Gt},{path:"OutDelivery",component:qt},{path:"PackingSlip/V1",component:Kt},{path:"PackingSlip",component:On},{path:"WorkOrder",component:Yt},{path:"InvoiceNOutD",component:tn},{path:"Transfer",component:nn},{path:"TransferMini",component:gn},{path:"InDelivery",component:en},{path:"SupplierInvoice",component:on},{path:"SupplierInvoiceMini",component:un},{path:"SupplierPO",component:pn},{path:"Treatment",component:ln},{path:"RegisterClosure",component:cn},{path:"JobOrder",component:rn},{path:"JobOrderMini",component:dn},{path:"BulkSupplierInvoice",component:Cn},{path:"BulkInvoice",component:_n},{path:"Adjustment",component:mn},{path:"Manual-journal-invoice",component:Pn},{path:"Payment",component:sn}],Mn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=St({type:n});static \u0275inj=yt({imports:[vn.forChild(xg),vn]})};var Kn=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=St({type:n});static \u0275inj=yt({imports:[bt,Mn,Qn,Xn,Gn,Xt,Et,$t,pt,Nt]})};export{ln as a,Kn as b};