dealpos 26.32.2 → 26.33.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 (160) hide show
  1. package/browser/chunk-23LMHDRY.js +1 -0
  2. package/browser/{chunk-UAKCFNDX.js → chunk-2WIPL2TW.js} +1 -1
  3. package/browser/{chunk-IFQLGAFM.js → chunk-2XD6XFT2.js} +1 -1
  4. package/browser/{chunk-IJ5W44WQ.js → chunk-32L56URS.js} +1 -1
  5. package/browser/chunk-3ND2TXQG.js +2 -0
  6. package/browser/{chunk-2GPUTIMR.js → chunk-3OH6JKBA.js} +3 -3
  7. package/browser/chunk-453HTYO4.js +1 -0
  8. package/browser/{chunk-HXR2KWU2.js → chunk-4AGWGSF7.js} +1 -1
  9. package/browser/{chunk-QRYT6OX5.js → chunk-4ELPQ33E.js} +1 -1
  10. package/browser/{chunk-L3OSGNHE.js → chunk-4HSOPC7K.js} +1 -1
  11. package/browser/{chunk-MRYVJODD.js → chunk-4XJI55QR.js} +1 -1
  12. package/browser/{chunk-N7ER4GTT.js → chunk-56BY7POZ.js} +1 -1
  13. package/browser/{chunk-DCLD2V2C.js → chunk-5CGL2672.js} +1 -1
  14. package/browser/chunk-5DBV6I4Z.js +1 -0
  15. package/browser/{chunk-X2WNBUDY.js → chunk-5KUEQ46O.js} +1 -1
  16. package/browser/{chunk-436QBHDI.js → chunk-5SLTQFJU.js} +1 -1
  17. package/browser/chunk-6LDUT5EO.js +1 -0
  18. package/browser/{chunk-CE7SFFXX.js → chunk-6ZLEK3MN.js} +1 -1
  19. package/browser/{chunk-YTLHLGEG.js → chunk-72YDJCKA.js} +1 -1
  20. package/browser/{chunk-IJUAPF2P.js → chunk-74F3D7WB.js} +1 -1
  21. package/browser/{chunk-6E65LQIF.js → chunk-7BXQAQAM.js} +1 -1
  22. package/browser/chunk-7EQ5IYVG.js +1 -0
  23. package/browser/chunk-7GAXUSUJ.js +218 -0
  24. package/browser/{chunk-QZ4R4IAI.js → chunk-7X7QTLW3.js} +1 -1
  25. package/browser/{chunk-MVJGF7WP.js → chunk-7YEXLK4L.js} +1 -1
  26. package/browser/chunk-AUUB4MND.js +3 -0
  27. package/browser/{chunk-Y7PG3BXF.js → chunk-AYOZPBRS.js} +1 -1
  28. package/browser/{chunk-GK3ISJX4.js → chunk-B3D4BXVE.js} +1 -1
  29. package/browser/chunk-B4IAIDZX.js +1 -0
  30. package/browser/{chunk-W4DXHXQA.js → chunk-BIHRD7UP.js} +1 -1
  31. package/browser/chunk-BN7VHFSY.js +1 -0
  32. package/browser/{chunk-EO6CYPIK.js → chunk-BUHKBQ4N.js} +1 -1
  33. package/browser/{chunk-DUAKLYOO.js → chunk-C7OXYN2X.js} +1 -1
  34. package/browser/{chunk-2I4ET2T7.js → chunk-CQZ34SXB.js} +1 -1
  35. package/browser/{chunk-SBP6AGKJ.js → chunk-CRG6JYHI.js} +1 -1
  36. package/browser/chunk-D7RKWM2O.js +24 -0
  37. package/browser/{chunk-YCODEF2R.js → chunk-DEBN6VVA.js} +1 -1
  38. package/browser/chunk-DGD2CJGG.js +19 -0
  39. package/browser/{chunk-LPDX6NSN.js → chunk-DUX2VYSD.js} +1 -1
  40. package/browser/{chunk-GZN4MQRS.js → chunk-E5DKICJL.js} +1 -1
  41. package/browser/{chunk-HBLEM7PC.js → chunk-E7M24GQS.js} +1 -1
  42. package/browser/{chunk-PWIMOOYH.js → chunk-EGP2J5QX.js} +1 -1
  43. package/browser/{chunk-IIFHX5QB.js → chunk-EU6XMAXY.js} +1 -1
  44. package/browser/{chunk-52XKUJCC.js → chunk-EYUUNJ4I.js} +1 -1
  45. package/browser/{chunk-EQHJUU5C.js → chunk-F7LOT2DJ.js} +1 -1
  46. package/browser/{chunk-SOWALOYP.js → chunk-FHNE2JSK.js} +1 -1
  47. package/browser/{chunk-GWME6KNP.js → chunk-FHYFRPCZ.js} +1 -1
  48. package/browser/{chunk-PUSZEZ55.js → chunk-FTDCRYW6.js} +1 -1
  49. package/browser/{chunk-NP4SHMZD.js → chunk-G4M5JVZ7.js} +1 -1
  50. package/browser/{chunk-AYXCHJUQ.js → chunk-HZNPDLFZ.js} +1 -1
  51. package/browser/{chunk-N6VVUZ3U.js → chunk-IMSVWTKQ.js} +1 -1
  52. package/browser/{chunk-XGFPQ7DM.js → chunk-ITNYE36Q.js} +1 -1
  53. package/browser/{chunk-62ID7525.js → chunk-IUEDUHVV.js} +1 -1
  54. package/browser/{chunk-GR54FOKA.js → chunk-JC3DTFKV.js} +1 -1
  55. package/browser/{chunk-HU3JH4IV.js → chunk-JEE6QO2S.js} +1 -1
  56. package/browser/{chunk-LCZSBBLT.js → chunk-JHEVXD4A.js} +1 -1
  57. package/browser/{chunk-XW7JSER6.js → chunk-K5GBM4XF.js} +1 -1
  58. package/browser/{chunk-JDVSUO5O.js → chunk-KBNP4VJE.js} +5 -5
  59. package/browser/{chunk-HFEKZBFF.js → chunk-KCMX547S.js} +1 -1
  60. package/browser/{chunk-O3MFEKOF.js → chunk-KGNR3I5L.js} +1 -1
  61. package/browser/{chunk-WSQXCB4H.js → chunk-KJ55YJDL.js} +1 -1
  62. package/browser/{chunk-6CZ5QXY4.js → chunk-L3A2QWNI.js} +1 -1
  63. package/browser/{chunk-BOJC2RT6.js → chunk-LCBGYYLC.js} +1 -1
  64. package/browser/chunk-LPCPIFAN.js +1 -0
  65. package/browser/chunk-M76JQ46I.js +1 -0
  66. package/browser/{chunk-VRIG2JWM.js → chunk-M7JOXD2Y.js} +1 -1
  67. package/browser/{chunk-KRZEOB7Z.js → chunk-MCJMNY23.js} +1 -1
  68. package/browser/{chunk-5JF5ZZIZ.js → chunk-MI6ZHKYG.js} +1 -1
  69. package/browser/{chunk-LVFOZHTD.js → chunk-MITV2WBT.js} +1 -1
  70. package/browser/chunk-MQDJHEOD.js +1 -0
  71. package/browser/{chunk-ZLBZIPZ7.js → chunk-MQJ4WWAM.js} +1 -1
  72. package/browser/{chunk-JZQ6DGKR.js → chunk-NRU7WRYD.js} +1 -1
  73. package/browser/{chunk-RLQLVMBI.js → chunk-O4W44UCH.js} +1 -1
  74. package/browser/{chunk-X7ZXYDJK.js → chunk-OFLJTLXA.js} +1 -1
  75. package/browser/chunk-OSGFA3PV.js +1 -0
  76. package/browser/{chunk-FKFJC4HR.js → chunk-P5QCVREX.js} +1 -1
  77. package/browser/{chunk-BSITDAOV.js → chunk-PASTDCZA.js} +1 -1
  78. package/browser/chunk-PCJZUDCM.js +4 -0
  79. package/browser/{chunk-TAR63TTC.js → chunk-PMSMGI6H.js} +1 -1
  80. package/browser/{chunk-54HCUO4P.js → chunk-PN3IAUOF.js} +1 -1
  81. package/browser/{chunk-XBTLK646.js → chunk-Q2EBMKRN.js} +1 -1
  82. package/browser/{chunk-75NPVX4H.js → chunk-QBCE4LVS.js} +1 -1
  83. package/browser/{chunk-AP4S4OV5.js → chunk-QDGJGSLG.js} +1 -1
  84. package/browser/{chunk-H3HSBSA5.js → chunk-QK25S4NM.js} +1 -1
  85. package/browser/chunk-QSRP77VF.js +1 -0
  86. package/browser/{chunk-MOQAZGVB.js → chunk-QV73UQPK.js} +1 -1
  87. package/browser/{chunk-5R6RTNL3.js → chunk-QW3LT2A6.js} +1 -1
  88. package/browser/{chunk-YGG5IUPL.js → chunk-QWJ5VPKB.js} +1 -1
  89. package/browser/{chunk-H25OJ4EL.js → chunk-R72MUYVW.js} +1 -1
  90. package/browser/{chunk-GKK3AQ64.js → chunk-R7HKHBDS.js} +13 -13
  91. package/browser/{chunk-C5FYF2I3.js → chunk-RFTT3WT6.js} +1 -1
  92. package/browser/chunk-RPBFSDTV.js +1 -0
  93. package/browser/{chunk-AIBC3GLW.js → chunk-RYRIEGW5.js} +1 -1
  94. package/browser/{chunk-Z7WH34QL.js → chunk-S6LS6KMM.js} +1 -1
  95. package/browser/chunk-SBEAOCOK.js +11 -0
  96. package/browser/{chunk-XK5HIA4Z.js → chunk-SCW6CMAM.js} +1 -1
  97. package/browser/{chunk-JTQXCL7A.js → chunk-SD5NCDCT.js} +1 -1
  98. package/browser/chunk-SHH6E3DA.js +1 -0
  99. package/browser/{chunk-TM4T5CEI.js → chunk-SLIG6HKC.js} +1 -1
  100. package/browser/chunk-SWQDMO6X.js +11 -0
  101. package/browser/{chunk-SLBYDQ64.js → chunk-SXSM7OTS.js} +1 -1
  102. package/browser/{chunk-UTAYUN42.js → chunk-T6IMOSZU.js} +1 -1
  103. package/browser/{chunk-ILBCVXB5.js → chunk-TAONNGO2.js} +1 -1
  104. package/browser/{chunk-D4H77IGG.js → chunk-TCHETW2X.js} +1 -1
  105. package/browser/chunk-TIIU4AEO.js +18 -0
  106. package/browser/{chunk-SJEGWAIY.js → chunk-TTHORTDQ.js} +1 -1
  107. package/browser/{chunk-XPUR44NH.js → chunk-TWDHJUVH.js} +1 -1
  108. package/browser/{chunk-P3JKPEVV.js → chunk-U27HHDJE.js} +1 -1
  109. package/browser/{chunk-KYS3BFCS.js → chunk-U2BIZXMH.js} +1 -1
  110. package/browser/{chunk-2YNG6VRE.js → chunk-U6ASY6RN.js} +1 -1
  111. package/browser/{chunk-S7N4KEIB.js → chunk-UPQVTI35.js} +1 -1
  112. package/browser/{chunk-FED2YMP5.js → chunk-USG4Q2DB.js} +1 -1
  113. package/browser/chunk-UTARIOGY.js +4 -0
  114. package/browser/{chunk-HW6TZ2VH.js → chunk-UZLWL5TS.js} +1 -1
  115. package/browser/{chunk-723XE6Q7.js → chunk-V7LBWZKN.js} +2 -2
  116. package/browser/{chunk-QPPK3J6U.js → chunk-WE6DQVOC.js} +1 -1
  117. package/browser/{chunk-QREJ342Y.js → chunk-WTJO7RPP.js} +1 -1
  118. package/browser/{chunk-GJNBFSNQ.js → chunk-X66G2S5W.js} +1 -1
  119. package/browser/{chunk-Y5TY5HHJ.js → chunk-XCIF7O4X.js} +1 -1
  120. package/browser/{chunk-EYS7UNNM.js → chunk-XGSCPHLW.js} +1 -1
  121. package/browser/chunk-XIIXDPW2.js +1 -0
  122. package/browser/{chunk-RDMRKBA5.js → chunk-XTP3ZASQ.js} +1 -1
  123. package/browser/chunk-XZR4BW7K.js +1 -0
  124. package/browser/chunk-YGK4JNCT.js +1 -0
  125. package/browser/chunk-YRAAJN5Y.js +1 -0
  126. package/browser/{chunk-WJJKSVBU.js → chunk-Z2NNRB2L.js} +1 -1
  127. package/browser/{chunk-HY2LCWEQ.js → chunk-ZKHH4RD7.js} +1 -1
  128. package/browser/{chunk-5GXQZYM2.js → chunk-ZZESRLS4.js} +1 -1
  129. package/browser/index.html +2 -2
  130. package/browser/{main-M5IIKGYJ.js → main-VJVC6LWQ.js} +1 -1
  131. package/package.json +1 -1
  132. package/browser/chunk-3B5LBUZJ.js +0 -11
  133. package/browser/chunk-53N4VUGX.js +0 -1
  134. package/browser/chunk-63HRNRBM.js +0 -19
  135. package/browser/chunk-6UB4OZS7.js +0 -1
  136. package/browser/chunk-ACHNVRZM.js +0 -1
  137. package/browser/chunk-AU2FU7GQ.js +0 -1
  138. package/browser/chunk-BUP3F3S5.js +0 -1
  139. package/browser/chunk-C24FXL57.js +0 -1
  140. package/browser/chunk-C3IXXDMT.js +0 -11
  141. package/browser/chunk-D2FPJJV3.js +0 -1
  142. package/browser/chunk-DG2R7GZF.js +0 -1
  143. package/browser/chunk-EBFY2M6D.js +0 -1
  144. package/browser/chunk-ET4GSDIH.js +0 -1
  145. package/browser/chunk-G6QSG6EV.js +0 -1
  146. package/browser/chunk-GRBR3KBO.js +0 -1
  147. package/browser/chunk-I473SQR2.js +0 -1
  148. package/browser/chunk-IDOQKYO4.js +0 -4
  149. package/browser/chunk-JRB7SGCM.js +0 -18
  150. package/browser/chunk-KTKNVTXS.js +0 -24
  151. package/browser/chunk-LWRZTLPQ.js +0 -2
  152. package/browser/chunk-N764VCKC.js +0 -1
  153. package/browser/chunk-ORFRX3CJ.js +0 -1
  154. package/browser/chunk-PRJMGELN.js +0 -4
  155. package/browser/chunk-QKDU3KLV.js +0 -219
  156. package/browser/chunk-TEXPKXZ5.js +0 -1
  157. package/browser/chunk-VOCVBQYC.js +0 -1
  158. package/browser/chunk-YNHIZH6Y.js +0 -3
  159. package/browser/chunk-Z3E24JZW.js +0 -1
  160. package/browser/chunk-ZZ2RLD3G.js +0 -1
@@ -0,0 +1 @@
1
+ import{a as ut}from"./chunk-V25EKNCV.js";import{a as ct}from"./chunk-ZIGS7CYH.js";import{a as mt}from"./chunk-7CU37SU2.js";import{a as pt}from"./chunk-4FG4FGE2.js";import"./chunk-G67MYLNV.js";import{a as rt}from"./chunk-SU6YLO4U.js";import"./chunk-YKOGSGA3.js";import{a as dt}from"./chunk-UXF6X367.js";import{p as lt}from"./chunk-5DDN7F2G.js";import"./chunk-5VZWXSVF.js";import"./chunk-CBVW2WXV.js";import"./chunk-AGI6OY3T.js";import"./chunk-CPOQEU6C.js";import"./chunk-6XNSSWFM.js";import"./chunk-G3RF7GBQ.js";import"./chunk-63VYORHV.js";import{a as Y}from"./chunk-I7CB3WMS.js";import{d as ot}from"./chunk-FRF3FEGI.js";import"./chunk-TDI2ZUL6.js";import{a as K}from"./chunk-XZR4BW7K.js";import{b as at}from"./chunk-LCBGYYLC.js";import"./chunk-TWC7U66D.js";import"./chunk-RAAIED6S.js";import"./chunk-AOXQWAVH.js";import"./chunk-CKHJNQTW.js";import"./chunk-LOWKO53N.js";import"./chunk-YDMRYQP3.js";import"./chunk-6QDAWGFY.js";import"./chunk-CCLE2IVS.js";import"./chunk-MI6ZHKYG.js";import{b as X}from"./chunk-VBJRQLYD.js";import"./chunk-ORJAUIF4.js";import"./chunk-XTP3ZASQ.js";import"./chunk-EYUUNJ4I.js";import"./chunk-KTMZNXL5.js";import"./chunk-LZBHDTSD.js";import{a as $}from"./chunk-B5AGSH45.js";import{g as it,h as nt}from"./chunk-UZLWL5TS.js";import"./chunk-W6QJ4QXK.js";import"./chunk-MOXC7FRX.js";import"./chunk-MF3BDWCO.js";import"./chunk-BF42EMHQ.js";import"./chunk-QOZCJI3Q.js";import"./chunk-WURU2W3C.js";import"./chunk-UEFG7JV5.js";import"./chunk-ZSK2V6PP.js";import"./chunk-2KEPYDRB.js";import"./chunk-EUIKMR24.js";import"./chunk-7VXCKSAE.js";import"./chunk-3GAEZ6NJ.js";import"./chunk-MOV2FQBP.js";import"./chunk-W4DKC5G3.js";import"./chunk-SLMXA7HD.js";import"./chunk-E5DKICJL.js";import{a as Z}from"./chunk-BUHKBQ4N.js";import"./chunk-JI7J6USO.js";import"./chunk-N7HFG3PM.js";import"./chunk-PASTDCZA.js";import"./chunk-DXN47M53.js";import"./chunk-HPCTP4FD.js";import"./chunk-KFWGALIF.js";import{a as Q,b as J}from"./chunk-Z7UCI72M.js";import"./chunk-PPMQE2JW.js";import{N as et,g as tt}from"./chunk-7OCVKGLK.js";import"./chunk-NF7H3LPQ.js";import"./chunk-K5GBM4XF.js";import"./chunk-OKQYRKDJ.js";import"./chunk-SCW6CMAM.js";import"./chunk-QHP5XZP6.js";import"./chunk-DU6XSMWH.js";import"./chunk-XGSCPHLW.js";import{c as U}from"./chunk-LCBHD53Y.js";import"./chunk-IKV23X6H.js";import"./chunk-C6TJ57ES.js";import"./chunk-RJDDPGUV.js";import"./chunk-VUC4E73K.js";import"./chunk-OTSIIVCA.js";import"./chunk-C7OXYN2X.js";import"./chunk-TJT2EEUH.js";import"./chunk-IX2NXO5F.js";import"./chunk-ZRB4EZI3.js";import"./chunk-KXQJYBG5.js";import"./chunk-3MLD6BQG.js";import"./chunk-LUUIBDJG.js";import"./chunk-R7VXUOCU.js";import"./chunk-NYN3E7NN.js";import{F as H}from"./chunk-4XQKDYF2.js";import"./chunk-ITNYE36Q.js";import"./chunk-74F3D7WB.js";import"./chunk-AGPZGAMV.js";import{b as z}from"./chunk-K74WZXBF.js";import"./chunk-PPTZHIIZ.js";import"./chunk-QDGJGSLG.js";import{q as R}from"./chunk-ETYXTCKV.js";import{$a as T,Bb as N,Cb as q,Db as _,Eb as a,Fb as o,Fc as m,Gb as F,Gc as C,Hc as y,Jd as A,Lc as k,Pb as P,Qd as G,Sb as b,Ua as i,Ub as p,db as B,hc as r,ib as L,ic as W,jb as O,jc as f,mc as g,nc as I,oc as S,ra as x,sa as v,sb as V,vd as j,wb as c,xc as D,yb as d,yc as E,zb as M}from"./chunk-DUSKF5IQ.js";import"./chunk-NF7PG5F2.js";var ft=()=>["/menu/Outlets/Master/Outlets/Info"],_t=t=>({ID:t}),Ct=()=>["/menu/Products/Catalog/Products/Info"];function yt(t,l){if(t&1){let e=P();a(0,"button",11),b("click",function(){x(e);let n=p();return v(n.openExportModal())}),F(1,"i",12),r(2," Export "),o()}}function xt(t,l){if(t&1){let e=P();a(0,"div",13)(1,"div",14)(2,"h6"),r(3,"Outlet Group"),o(),a(4,"POS-outlet-group-tree-select",15),S("selectedOutletGroupIDChange",function(n){x(e);let s=p();return I(s.pageData().Filter.OutletGroupID,n)||(s.pageData().Filter.OutletGroupID=n),v(n)}),o()(),a(5,"div",14)(6,"h6"),r(7,"Category"),o(),a(8,"POS-product-category-select",16),S("selectedCategoryIDChange",function(n){x(e);let s=p();return I(s.pageData().Filter.CategoryID,n)||(s.pageData().Filter.CategoryID=n),v(n)}),o()(),a(9,"div",17)(10,"h6"),r(11,"From Date"),o(),a(12,"div")(13,"datepicker",18),S("dateChange",function(n){x(e);let s=p();return I(s.pageData().Filter.From,n)||(s.pageData().Filter.From=n),v(n)}),o()()(),a(14,"div",17)(15,"h6"),r(16,"To Date"),o(),a(17,"div")(18,"datepicker",19),S("dateChange",function(n){x(e);let s=p();return I(s.pageData().Filter.To,n)||(s.pageData().Filter.To=n),v(n)}),o()()(),a(19,"div",14)(20,"autocompleteV3",20),S("modelNameChange",function(n){x(e);let s=p();return I(s.pageData().Filter.ListProductID,n)||(s.pageData().Filter.ListProductID=n),v(n)}),o()(),a(21,"div",21)(22,"h6",22),r(23,"Inventory Type"),o(),a(24,"radio-options",23),S("modelChange",function(n){x(e);let s=p();return I(s.pageData().Filter.InventoryType,n)||(s.pageData().Filter.InventoryType=n),v(n)}),o()()()}if(t&2){let e=p();i(4),_("showClear",!0),g("selectedOutletGroupID",e.pageData().Filter.OutletGroupID),i(4),g("selectedCategoryID",e.pageData().Filter.CategoryID),_("showClear",!0),i(5),_("isFloatingLabel",!1),g("date",e.pageData().Filter.From),_("hidelClearBtn",!0),i(5),_("isFloatingLabel",!1),g("date",e.pageData().Filter.To),_("hidelClearBtn",!0),i(2),g("modelName",e.pageData().Filter.ListProductID),_("placeholder","Search Product")("isShowEmptyMessage",!0)("emptyMessage","No Product found")("tooltipMessage","Search by product name")("label","Product to Analyze")("listDataEndpoint","/api/ac/GetProductSuggestionByCodeNName")("valueField","Name"),i(4),g("model",e.pageData().Filter.InventoryType),_("options",e.pageData().Options.InventoryTypes)}}function vt(t,l){t&1&&(a(0,"th",8),r(1,"Code"),o())}function Tt(t,l){t&1&&(a(0,"th",9)(1,"span",24),r(2," Start "),o()())}function gt(t,l){t&1&&(a(0,"th",9)(1,"span",25),r(2," Bought "),o()())}function It(t,l){t&1&&(a(0,"th",9)(1,"span",26),r(2," Sold "),o()())}function St(t,l){t&1&&(a(0,"th",9)(1,"span",27),r(2," T.In "),o()())}function Pt(t,l){t&1&&(a(0,"th",9)(1,"span",28),r(2," T.Out "),o()())}function ht(t,l){t&1&&(a(0,"th",9)(1,"span",29),r(2," Adj "),o()())}function bt(t,l){t&1&&(a(0,"th",9)(1,"span",30),r(2," End "),o()())}function Ft(t,l){t&1&&(a(0,"th",9)(1,"span",31),r(2," Now "),o()())}function Dt(t,l){t&1&&(a(0,"th",9)(1,"span",32),r(2," % "),o()())}function Et(t,l){if(t&1&&(a(0,"td",34),r(1),o()),t&2){let e=p().$implicit;i(),f(" ",e.ProductCode," ")}}function wt(t,l){if(t&1&&(a(0,"td",35),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;_("colsFontColor",e.Start),i(),f(" ",C(2,2,e.Start)," ")}}function Bt(t,l){if(t&1&&(a(0,"td",36),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;i(),f(" ",C(2,1,e.Bought)," ")}}function Lt(t,l){if(t&1&&(a(0,"td",37),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;i(),f(" ",C(2,1,e.Sold)," ")}}function Ot(t,l){if(t&1&&(a(0,"td",36),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;i(),f(" ",C(2,1,e.TransferredIn)," ")}}function Vt(t,l){if(t&1&&(a(0,"td",37),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;i(),f(" ",C(2,1,e.TransferredOut)," ")}}function Mt(t,l){if(t&1&&(a(0,"td",35),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;_("colsFontColor",e.Adjustment),i(),f(" ",e.Adjustment<0?e.Adjustment*-1:C(2,2,e.Adjustment)," ")}}function Nt(t,l){if(t&1&&(a(0,"td",35),r(1),o()),t&2){let e=p().$implicit;_("colsFontColor",e.End),i(),f(" ",e.End," ")}}function qt(t,l){if(t&1&&(a(0,"td",35),r(1),o()),t&2){let e=p().$implicit;_("colsFontColor",e.Now),i(),f(" ",e.Now," ")}}function Wt(t,l){if(t&1&&(a(0,"td",34),r(1),m(2,"quantityFraction"),o()),t&2){let e=p().$implicit;i(),f(" ",C(2,1,e.SellTransferInRate)," ")}}function kt(t,l){if(t&1&&(a(0,"tr")(1,"td")(2,"a",33),r(3),o()(),a(4,"td")(5,"a",33),r(6),o()(),c(7,Et,2,1,"td",34),c(8,wt,3,4,"td",35),c(9,Bt,3,3,"td",36),c(10,Lt,3,3,"td",37),c(11,Ot,3,3,"td",36),c(12,Vt,3,3,"td",37),c(13,Mt,3,4,"td",35),c(14,Nt,2,2,"td",35),c(15,qt,2,2,"td",35),c(16,Wt,3,3,"td",34),o()),t&2){let e=l.$implicit,u=p(2);i(2),_("routerLink",D(16,ft))("queryParams",E(17,_t,e.OutletID)),i(),f(" ",e.OutletName," "),i(2),_("routerLink",D(19,Ct))("queryParams",E(20,_t,e.ProductID)),i(),W(e.ProductName),i(),d(u.column.code.selected?7:-1),i(),d(u.column.start.selected?8:-1),i(),d(u.column.bought.selected?9:-1),i(),d(u.column.sold.selected?10:-1),i(),d(u.column.transferredIn.selected?11:-1),i(),d(u.column.transferredOut.selected?12:-1),i(),d(u.column.adjust.selected?13:-1),i(),d(u.column.end.selected?14:-1),i(),d(u.column.now.selected?15:-1),i(),d(u.column.percent.selected?16:-1)}}function jt(t,l){if(t&1&&N(0,kt,17,22,"tr",null,M),t&2){let e=p();q(e.infiniteList)}}function At(t,l){t&1&&(a(0,"tr")(1,"td",38),F(2,"app-empty-state"),o()())}function Gt(t,l){if(t&1&&(a(0,"td",35),m(1,"sum"),m(2,"quantityFraction"),r(3),m(4,"sum"),m(5,"quantityFraction"),o()),t&2){let e=p(2);_("colsFontColor",C(2,5,y(1,2,e.infiniteList,"Start"))),i(3),f(" ",C(5,10,y(4,7,e.infiniteList,"Start"))," ")}}function Rt(t,l){if(t&1&&(a(0,"td",36),r(1),m(2,"sum"),m(3,"quantityFraction"),o()),t&2){let e=p(2);i(),f(" ",C(3,4,y(2,1,e.infiniteList,"Bought"))," ")}}function Ht(t,l){if(t&1&&(a(0,"td",37),r(1),m(2,"sum"),m(3,"quantityFraction"),o()),t&2){let e=p(2);i(),f(" ",C(3,4,y(2,1,e.infiniteList,"Sold"))," ")}}function zt(t,l){if(t&1&&(a(0,"td",36),r(1),m(2,"sum"),m(3,"quantityFraction"),o()),t&2){let e=p(2);i(),f(" ",C(3,4,y(2,1,e.infiniteList,"TransferredIn"))," ")}}function Qt(t,l){if(t&1&&(a(0,"td",37),r(1),m(2,"sum"),m(3,"quantityFraction"),o()),t&2){let e=p(2);i(),f(" ",C(3,4,y(2,1,e.infiniteList,"TransferredOut"))," ")}}function Jt(t,l){if(t&1&&(a(0,"td",41),m(1,"sum"),m(2,"quantityFraction"),r(3),m(4,"sum"),m(5,"quantityFraction"),o()),t&2){let e=p(2);_("colsFontColor",C(2,5,y(1,2,e.infiniteList,"Adjustment"))),i(3),f(" ",C(5,10,y(4,7,e.infiniteList,"Adjustment"))," ")}}function Kt(t,l){if(t&1&&(a(0,"td",35),m(1,"sum"),m(2,"quantityFraction"),r(3),m(4,"sum"),m(5,"quantityFraction"),o()),t&2){let e=p(2);_("colsFontColor",C(2,5,y(1,2,e.infiniteList,"End"))),i(3),f(" ",C(5,10,y(4,7,e.infiniteList,"End"))," ")}}function Ut(t,l){if(t&1&&(a(0,"td",35),m(1,"sum"),m(2,"quantityFraction"),r(3),m(4,"sum"),m(5,"quantityFraction"),o()),t&2){let e=p(2);_("colsFontColor",C(2,5,y(1,2,e.infiniteList,"Now"))),i(3),f(" ",C(5,10,y(4,7,e.infiniteList,"Now"))," ")}}function Xt(t,l){if(t&1&&(a(0,"tfoot")(1,"tr",39)(2,"th",40),r(3," Total: "),o(),c(4,Gt,6,12,"td",35),c(5,Rt,4,6,"td",36),c(6,Ht,4,6,"td",37),c(7,zt,4,6,"td",36),c(8,Qt,4,6,"td",37),c(9,Jt,6,12,"td",41),c(10,Kt,6,12,"td",35),c(11,Ut,6,12,"td",35),o()()),t&2){let e=p();i(2),V("colspan",e.column.code.selected?3:2),i(2),d(e.column.start.selected?4:-1),i(),d(e.column.bought.selected?5:-1),i(),d(e.column.sold.selected?6:-1),i(),d(e.column.transferredIn.selected?7:-1),i(),d(e.column.transferredOut.selected?8:-1),i(),d(e.column.adjust.selected?9:-1),i(),d(e.column.end.selected?10:-1),i(),d(e.column.now.selected?11:-1)}}function Yt(t,l){if(t&1){let e=P();a(0,"infinite-pagination",42),b("nextPage",function(){x(e);let n=p();return v(n.NextPage(!0))})("fetchTotalData",function(){x(e);let n=p();return v(n.StoreRowsCountAPIResult("Inventory/GetCountProductInventoryTraffic"))}),o()}if(t&2){let e,u,n=p();_("totalData",n.listTotal())("totalCurrentRow",n.infiniteList==null?null:n.infiniteList.length)("pageNumber",(e=n.pageData())==null||e.Filter==null?null:e.Filter.PageNumber)("nextPageDisabled",n.nextPageDisabled())("isFetchTotalData",(u=n.pageData())==null?null:u.HideStoreApiCount)("hasShowAllButton",!1)("goToLast",n.goToLast())}}var st=class t extends K{constructor(e,u,n,s,w,h,Zt){super(e,u,"inventory/GetProductInventoryTraffic","inventoryloader/GetProductInventoryTraffic",void 0,void 0,!0);this.httpService=u;this.csvConverter=n;this.pageTitle=s;this.converter=w;this.roleService=h;this.matDialog=Zt;this.pageTitle.setTitle(this.menuData().T)}httpService;csvConverter;pageTitle;converter;roleService;matDialog;column={code:{selected:!0,name:"Code"},start:{selected:!0,name:"Start"},bought:{selected:!1,name:"Bought"},sold:{selected:!0,name:"Sold"},transferredIn:{selected:!0,name:"T.In"},transferredOut:{selected:!0,name:"T.Out"},adjust:{selected:!1,name:"Adjust"},end:{selected:!0,name:"End"},now:{selected:!0,name:"Now"},percent:{selected:!1,name:"Percentage"}};selectedProduct=[];postBindData(){this.menuData().H=this.data().PageTitle}openExportModal(){this.matDialog.open(X,{data:{title:"Product Inventory Traffic",exportTypes:[{ID:"inventoryexport/GetExportProductInventoryTraffic",Value:"Default",FileName:"Product Inventory Traffic"}],filterExport:this.pageData().Filter,getAllDataLengthAPI:"",pagination:!0}})}static \u0275fac=function(u){return new(u||t)(T(Z),T(R),T($),T(A),T(ct),T(z),T(U))};static \u0275cmp=B({type:t,selectors:[["POS-product-inventory-traffic"]],features:[L],decls:31,vars:19,consts:[["pageFilterTemplate",""],["filterDialogWidth","600px",3,"onSubmit","filterChange","pageData","hideSearchBox","isFilterOnDropdown","filter","column"],[1,"btn","btn-outline-secondary","me-3"],[1,"container-fluid","mt-3"],[1,"table-responsive"],["id","tableGrid",1,"table","border-bottom"],[1,"thead-light","sticky-top-thead"],[2,"width","150px"],[1,"text-end",2,"width","100px"],[1,"text-end",2,"width","80px"],[3,"totalData","totalCurrentRow","pageNumber","nextPageDisabled","isFetchTotalData","hasShowAllButton","goToLast"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter","grid-filter"],[1,"filter-item"],[1,"tree-select-as-filter",3,"selectedOutletGroupIDChange","showClear","selectedOutletGroupID"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear"],[1,"filter-item","mt-4"],["placeholder","From","appearance","outline","name","From",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],["placeholder","To","appearance","outline","name","To",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],[3,"modelNameChange","modelName","placeholder","isShowEmptyMessage","emptyMessage","tooltipMessage","label","listDataEndpoint","valueField"],[1,"filter-item","mt-8"],[1,"mb-5"],["name","ProductTypeId",3,"modelChange","model","options"],["matTooltip","Stock based on start date (from date filter)","matTooltipPosition","above"],["matTooltip","Movement Stock from Inbound Logistics (Supplier Bill)","matTooltipPosition","above"],["matTooltip","Movement Stock from Outbound Logistics (Customer Invoice)","matTooltipPosition","above"],["matTooltip","Stock received from other outlets","matTooltipPosition","above"],["matTooltip","Stock sent to other outlets","matTooltipPosition","above"],["matTooltip","Total stock adjustments made","matTooltipPosition","above"],["matTooltip","Stock based on end date (to date filter)","matTooltipPosition","above"],["matTooltip","Current on-hand inventory","matTooltipPosition","above"],["matTooltip","Percentage of sold items compared to the total items received from other outlets.","matTooltipPosition","above",1,"text-end"],[3,"routerLink","queryParams"],[1,"text-end"],[1,"text-end",3,"colsFontColor"],[1,"text-end","text-success"],[1,"text-end","text-danger"],["colspan","12"],[1,"table-footer"],[1,"empty-column","text-end"],[1,"text-end","text-success",3,"colsFontColor"],[3,"nextPage","fetchTotalData","totalData","totalCurrentRow","pageNumber","nextPageDisabled","isFetchTotalData","hasShowAllButton","goToLast"]],template:function(u,n){if(u&1){let s=P();a(0,"mainpanel-cmp",1),b("onSubmit",function(){return n.searchFromPageOne()}),S("filterChange",function(h){return x(s),I(n.pageData().Filter,h)||(n.pageData().Filter=h),v(h)}),a(1,"actions"),c(2,yt,3,0,"button",2),o(),a(3,"filters"),O(4,xt,25,20,"ng-template",null,0,k),o(),a(6,"content")(7,"div",3)(8,"div",4)(9,"table",5)(10,"thead",6)(11,"tr")(12,"th",7),r(13,"Outlet"),o(),a(14,"th"),r(15,"Product"),o(),c(16,vt,2,0,"th",8),c(17,Tt,3,0,"th",9),c(18,gt,3,0,"th",9),c(19,It,3,0,"th",9),c(20,St,3,0,"th",9),c(21,Pt,3,0,"th",9),c(22,ht,3,0,"th",9),c(23,bt,3,0,"th",9),c(24,Ft,3,0,"th",9),c(25,Dt,3,0,"th",9),o()(),a(26,"tbody"),c(27,jt,2,0)(28,At,3,0,"tr"),o(),c(29,Xt,12,9,"tfoot"),o()(),c(30,Yt,1,7,"infinite-pagination",10),o()()()}u&2&&(_("pageData",n.menuData())("hideSearchBox",!0)("isFilterOnDropdown",!1),g("filter",n.pageData().Filter),_("column",n.column),i(2),d(n.roleService.global.Export?2:-1),i(14),d(n.column.code.selected?16:-1),i(),d(n.column.start.selected?17:-1),i(),d(n.column.bought.selected?18:-1),i(),d(n.column.sold.selected?19:-1),i(),d(n.column.transferredIn.selected?20:-1),i(),d(n.column.transferredOut.selected?21:-1),i(),d(n.column.adjust.selected?22:-1),i(),d(n.column.end.selected?23:-1),i(),d(n.column.now.selected?24:-1),i(),d(n.column.percent.selected?25:-1),i(2),d(n.infiniteList&&n.infiniteList.length>0?27:28),i(2),d(n.infiniteList&&n.infiniteList.length>0?29:-1),i(),d(n.infiniteList.length>0?30:-1))},dependencies:[nt,it,j,H,pt,at,mt,et,G,lt,ot,dt,ut,J,Q,rt,tt,Y],encapsulation:2,changeDetection:0})};export{st as Product_Inventory_TrafficComponent};
@@ -1 +1 @@
1
- import{g as z,h as M}from"./chunk-HW6TZ2VH.js";import"./chunk-GZN4MQRS.js";import"./chunk-JI7J6USO.js";import"./chunk-N7HFG3PM.js";import"./chunk-BSITDAOV.js";import"./chunk-DXN47M53.js";import"./chunk-HPCTP4FD.js";import"./chunk-KFWGALIF.js";import"./chunk-Z7UCI72M.js";import"./chunk-PPMQE2JW.js";import"./chunk-7OCVKGLK.js";import"./chunk-EYS7UNNM.js";import"./chunk-LCBHD53Y.js";import"./chunk-IKV23X6H.js";import"./chunk-C6TJ57ES.js";import"./chunk-RJDDPGUV.js";import"./chunk-VUC4E73K.js";import"./chunk-OTSIIVCA.js";import"./chunk-DUAKLYOO.js";import"./chunk-KXQJYBG5.js";import"./chunk-3MLD6BQG.js";import"./chunk-LUUIBDJG.js";import"./chunk-R7VXUOCU.js";import"./chunk-NYN3E7NN.js";import"./chunk-4XQKDYF2.js";import"./chunk-XGFPQ7DM.js";import"./chunk-IJUAPF2P.js";import"./chunk-AGPZGAMV.js";import"./chunk-K74WZXBF.js";import"./chunk-PPTZHIIZ.js";import"./chunk-AP4S4OV5.js";import"./chunk-ETYXTCKV.js";import{$a as l,Db as h,Eb as i,Fb as n,Gb as g,Pd as y,Sd as p,Ua as d,db as f,eb as m,hc as r,ic as x,ka as s,vd as v}from"./chunk-DUSKF5IQ.js";import"./chunk-NF7PG5F2.js";var u=class t{constructor(a){this.router=a;let e=this.router.currentNavigation();e?.extras?.state&&(this.role=e.extras.state.role);let o=this.router.lastSuccessfulNavigation();o&&(this.previousPage=o.extractedUrl.toString())}router;previousPage="";role="";menuData={H:"Unauthorized"};static \u0275fac=function(e){return new(e||t)(l(y))};static \u0275cmp=f({type:t,selectors:[["POS-unauthorized"]],standalone:!1,decls:13,vars:4,consts:[[3,"pageData","hideSearchDropdown","hideSearchBox"],[1,"d-flex","align-items-center","justify-content-center","mt-8",2,"height","350px"],[1,"text-center"],["src","https://cdn.dealpos.xyz/web-image/locked.svg",2,"width","200px"],[1,"mt-2","mb-6"],[1,"fw-bold"]],template:function(e,o){e&1&&(i(0,"mainpanel-cmp",0)(1,"content")(2,"div",1)(3,"div",2)(4,"div"),g(5,"img",3),n(),i(6,"h1",4),r(7,"You are not authorized"),n(),i(8,"p"),r(9," This page require "),i(10,"span",5),r(11),n(),r(12," role. Please contact your Administrator to gain access! "),n()()()()()),e&2&&(h("pageData",o.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),d(11),x(o.role))},dependencies:[z],encapsulation:2})};var U=[{path:"Main/Unauthorized",component:u},{path:"",redirectTo:"Main/Unauthorized",pathMatch:"full"}],c=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=m({type:t});static \u0275inj=s({imports:[p.forChild(U),p]})};var S=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=m({type:t});static \u0275inj=s({imports:[v,c,M]})};export{S as UnauthorizedModule};
1
+ import{g as z,h as M}from"./chunk-UZLWL5TS.js";import"./chunk-E5DKICJL.js";import"./chunk-JI7J6USO.js";import"./chunk-N7HFG3PM.js";import"./chunk-PASTDCZA.js";import"./chunk-DXN47M53.js";import"./chunk-HPCTP4FD.js";import"./chunk-KFWGALIF.js";import"./chunk-Z7UCI72M.js";import"./chunk-PPMQE2JW.js";import"./chunk-7OCVKGLK.js";import"./chunk-XGSCPHLW.js";import"./chunk-LCBHD53Y.js";import"./chunk-IKV23X6H.js";import"./chunk-C6TJ57ES.js";import"./chunk-RJDDPGUV.js";import"./chunk-VUC4E73K.js";import"./chunk-OTSIIVCA.js";import"./chunk-C7OXYN2X.js";import"./chunk-KXQJYBG5.js";import"./chunk-3MLD6BQG.js";import"./chunk-LUUIBDJG.js";import"./chunk-R7VXUOCU.js";import"./chunk-NYN3E7NN.js";import"./chunk-4XQKDYF2.js";import"./chunk-ITNYE36Q.js";import"./chunk-74F3D7WB.js";import"./chunk-AGPZGAMV.js";import"./chunk-K74WZXBF.js";import"./chunk-PPTZHIIZ.js";import"./chunk-QDGJGSLG.js";import"./chunk-ETYXTCKV.js";import{$a as l,Db as h,Eb as i,Fb as n,Gb as g,Pd as y,Sd as p,Ua as d,db as f,eb as m,hc as r,ic as x,ka as s,vd as v}from"./chunk-DUSKF5IQ.js";import"./chunk-NF7PG5F2.js";var u=class t{constructor(a){this.router=a;let e=this.router.currentNavigation();e?.extras?.state&&(this.role=e.extras.state.role);let o=this.router.lastSuccessfulNavigation();o&&(this.previousPage=o.extractedUrl.toString())}router;previousPage="";role="";menuData={H:"Unauthorized"};static \u0275fac=function(e){return new(e||t)(l(y))};static \u0275cmp=f({type:t,selectors:[["POS-unauthorized"]],standalone:!1,decls:13,vars:4,consts:[[3,"pageData","hideSearchDropdown","hideSearchBox"],[1,"d-flex","align-items-center","justify-content-center","mt-8",2,"height","350px"],[1,"text-center"],["src","https://cdn.dealpos.xyz/web-image/locked.svg",2,"width","200px"],[1,"mt-2","mb-6"],[1,"fw-bold"]],template:function(e,o){e&1&&(i(0,"mainpanel-cmp",0)(1,"content")(2,"div",1)(3,"div",2)(4,"div"),g(5,"img",3),n(),i(6,"h1",4),r(7,"You are not authorized"),n(),i(8,"p"),r(9," This page require "),i(10,"span",5),r(11),n(),r(12," role. Please contact your Administrator to gain access! "),n()()()()()),e&2&&(h("pageData",o.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),d(11),x(o.role))},dependencies:[z],encapsulation:2})};var U=[{path:"Main/Unauthorized",component:u},{path:"",redirectTo:"Main/Unauthorized",pathMatch:"full"}],c=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=m({type:t});static \u0275inj=s({imports:[p.forChild(U),p]})};var S=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=m({type:t});static \u0275inj=s({imports:[v,c,M]})};export{S as UnauthorizedModule};
@@ -1 +1 @@
1
- import{a as U}from"./chunk-ES6YUR3X.js";import{a as X}from"./chunk-H3HSBSA5.js";import{a as j}from"./chunk-U2JF2UMO.js";import{N as G,g as H}from"./chunk-7OCVKGLK.js";import{Bb as E,Cb as D,Db as m,Eb as a,Fb as c,Fc as P,Gb as s,Gc as u,Hc as v,Na as x,Oc as p,Qa as w,Ra as O,Tc as M,Ua as o,Ub as g,Yb as z,Zb as A,_b as L,db as N,hc as d,ic as C,id as B,jc as f,qd as R,sb as T,sd as Q,vd as F,wb as l,yb as r,yc as h,zb as I}from"./chunk-DUSKF5IQ.js";import{a as V,b as S}from"./chunk-NF7PG5F2.js";var q=["barcode"],J=n=>({"col-12 border-0":n}),K=n=>({"col-12":n});function W(n,i){n&1&&s(0,"link",15)}function Y(n,i){n&1&&s(0,"link",16)}function Z(n,i){n&1&&s(0,"link",17)}function nn(n,i){if(n&1&&(a(0,"div",7)(1,"span"),d(2),P(3,"date"),c()()),n&2){let t,e=g();o(2),C(v(3,1,(t=e.receipt())==null||t.Invoice==null?null:t.Invoice.Date,"dd MMM yy"))}}function tn(n,i){if(n&1&&(a(0,"div",8)(1,"span",18),d(2,"Invoice Number:"),c(),a(3,"span"),d(4),c()()),n&2){let t,e=g();o(4),C((t=e.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function en(n,i){n&1&&s(0,"img",19,0)}function on(n,i){if(n&1&&s(0,"qr-code",20),n&2){let t=g(2);m("value",t.invoiceNumber())("size",t.packingSlipConfig().General.QrCodeHeight)("margin",3)}}function cn(n,i){if(n&1&&(a(0,"div",9),l(1,en,2,0,"img",19)(2,on,1,3,"qr-code",20),c()),n&2){let t,e=g();o(),r((t=(t=e.packingSlipConfig())==null||t.General==null?null:t.General.BarcodeVisibleV2)===e.PackingSlipCodeType.Barcode?1:t===e.PackingSlipCodeType.QR?2:-1)}}function an(n,i){if(n&1&&(a(0,"h6"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function ln(n,i){if(n&1&&(a(0,"span"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function rn(n,i){if(n&1&&(a(0,"div",23),d(1),c()),n&2){let t,e=g(2);o(),f(" ",(t=e.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function gn(n,i){if(n&1&&(a(0,"div",11)(1,"div",21)(2,"h6",22),d(3,"Receiver:"),c(),a(4,"div"),l(5,an,2,1,"h6"),l(6,ln,2,1,"span"),c()(),l(7,rn,2,1,"div",23),c()),n&2){let t=g();o(5),r(t.customerNameVisible()?5:-1),o(),r(t.CustomerMobileVisible()?6:-1),o(),r(t.customerAddressVisible()?7:-1)}}function dn(n,i){if(n&1&&(a(0,"h6"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.template())==null?null:t.DisplayName)}}function pn(n,i){if(n&1&&(a(0,"span"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.template())==null?null:t.ContactInfo)}}function _n(n,i){if(n&1&&(a(0,"div",24),d(1),c()),n&2){let t,e=g(2);o(),f(" ",(t=e.template())==null?null:t.Address," ")}}function Cn(n,i){if(n&1&&(a(0,"div",11)(1,"div",21)(2,"h6",22),d(3,"Sender:"),c(),a(4,"div"),l(5,dn,2,1,"h6"),l(6,pn,2,1,"span"),c()(),l(7,_n,2,1,"div",24),c()),n&2){let t=g();o(5),r(t.storeNameVisible()?5:-1),o(),r(t.storePhoneVisible()?6:-1),o(),r(t.storeAddressVisible()?7:-1)}}function sn(n,i){if(n&1&&(a(0,"div",25)(1,"h5"),d(2),c()()),n&2){let t,e,_=g(2);m("ngClass",h(2,J,!_.invoiceNoteVisible()||!(!((t=_.receipt())==null||t.Invoice==null)&&t.Invoice.Note))),o(2),C((e=_.receipt())==null?null:e.Tag)}}function mn(n,i){if(n&1&&(a(0,"div",26),s(1,"p",27),c()),n&2){let t,e,_=g(2);m("ngClass",h(2,K,!_.orderTagVisible()||!((t=_.receipt())!=null&&t.Tag))),o(),m("innerHTML",(e=_.receipt())==null||e.Invoice==null?null:e.Invoice.Note,x)}}function Pn(n,i){if(n&1&&(a(0,"div",12),l(1,sn,3,4,"div",25),l(2,mn,2,4,"div",26),c()),n&2){let t,e=g();o(),r(e.orderTagVisible()?1:-1),o(),r(e.invoiceNoteVisible()&&(!((t=e.receipt())==null||t.Invoice==null)&&t.Invoice.Note)?2:-1)}}function Mn(n,i){n&1&&(a(0,"th",29),d(1,"Name"),c())}function bn(n,i){n&1&&(a(0,"th",30),d(1,"Code"),c())}function On(n,i){n&1&&(a(0,"th",30),d(1,"QTy"),c())}function un(n,i){if(n&1&&s(0,"span",33),n&2){let t=g(2).$implicit;m("innerHTML",t==null?null:t.Note,x)}}function xn(n,i){if(n&1&&(a(0,"td",32)(1,"div"),d(2),c(),l(3,un,1,1,"span",33),c()),n&2){let t=g().$implicit,e=g(2);o(2),C(t==null?null:t.Name),o(),r(e.itemNotesVisible()?3:-1)}}function fn(n,i){if(n&1&&(a(0,"td",30),d(1),c()),n&2){let t=g().$implicit;o(),C(t==null?null:t.Code)}}function hn(n,i){if(n&1&&(a(0,"td",30),d(1),P(2,"number"),c()),n&2){let t=g().$implicit;o(),C(u(2,1,t==null?null:t.Quantity))}}function vn(n,i){if(n&1&&(a(0,"tr")(1,"td",30),d(2),c(),l(3,xn,4,2,"td",32),l(4,fn,2,1,"td",30),l(5,hn,3,3,"td",30),c()),n&2){let t=i.$index,e=g(2);o(2),C(t+1),o(),r(e.productNameVisible()?3:-1),o(),r(e.productCodeVisible()?4:-1),o(),r(e.producctQtyVisible()?5:-1)}}function yn(n,i){if(n&1&&s(0,"td",34),n&2){let t=g(3);m("colSpan",t.getVisibleColumnCount())}}function kn(n,i){if(n&1&&(a(0,"tfoot",31)(1,"tr",31),l(2,yn,1,1,"td",34),a(3,"td",35)(4,"span",36),d(5,"Total"),c()(),a(6,"td",35)(7,"span",36),d(8),P(9,"sum"),P(10,"number"),c()()()()),n&2){let t,e=g(2);o(2),r(e.productCodeVisible()||e.productNameVisible()?2:-1),o(6),C(u(10,5,v(9,2,(t=e.receipt())==null?null:t.List,"Quantity")))}}function Vn(n,i){if(n&1&&(a(0,"table",14)(1,"thead")(2,"tr")(3,"th",28),d(4,"No"),c(),l(5,Mn,2,0,"th",29),l(6,bn,2,0,"th",30),l(7,On,2,0,"th",30),c()(),a(8,"tbody"),E(9,vn,6,4,"tr",null,I),c(),l(11,kn,11,7,"tfoot",31),c()),n&2){let t,e=g();o(5),r(e.productNameVisible()?5:-1),o(),r(e.productCodeVisible()?6:-1),o(),r(e.producctQtyVisible()?7:-1),o(2),D((t=e.receipt())==null?null:t.List),o(2),r(e.producctQtyVisible()?11:-1)}}var $=class n{receipt=M();config=M();template=M();css=M();_barcodeElement;invoiceNumber=p(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=p(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=p(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);invoiceDateVisible=p(()=>this.packingSlipConfig()?.General?.InvoiceDateVisible);barcodeVisible=p(()=>this.packingSlipConfig()?.General?.BarcodeVisibleV2!==1);storeNameVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=p(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=p(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductNoteVisible);getVisibleColumnCount=p(()=>{let i=0;return this.productNameVisible()&&i++,this.productCodeVisible()&&i++,i});PackingSlipCodeType=U;barcodeOptions={width:1,height:46,displayValue:!1,backgroundColor:"",lineColor:"#000",margin:0,format:"CODE128",flat:!0};set content(i){i&&(this._barcodeElement=i,this.renderBarcode())}renderBarcode(){let i=this.packingSlipConfig()?.General.BarcodeHeight||46,t=this.packingSlipConfig()?.BarcodeWidthPercent||1,e=this.invoiceNumber(),_=S(V({},this.barcodeOptions),{height:i,width:t});JsBarcode(this._barcodeElement.nativeElement,e,_)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=N({type:n,selectors:[["app-packing-slip-v2"]],viewQuery:function(t,e){if(t&1&&z(q,5),t&2){let _;A(_=L())&&(e.content=_.first)}},inputs:{receipt:[1,"receipt"],config:[1,"config"],template:[1,"template"],css:[1,"css"]},decls:18,vars:13,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","position-relative","justify-content-center","border-bottom","border-dark","py-6"],[1,"position-absolute","end-0","me-4","fw-bold"],[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",O`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",O`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",O`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"me-2"],["id","barcode",1,"barcode-image"],[3,"value","size","margin"],[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","note-text",3,"innerHTML"],[1,"border-0",3,"colSpan"],[1,"text-center","border-0"],[1,"fw-bold"]],template:function(t,e){if(t&1&&(l(0,W,1,0,"link",1),l(1,Y,1,0,"link",2),l(2,Z,1,0,"link",3),s(3,"link",4),P(4,"StylesheetSafeUrl"),a(5,"div",5)(6,"div",6)(7,"h3"),d(8,"PACKING SLIP"),c(),l(9,nn,4,4,"div",7),c(),l(10,tn,5,1,"div",8),l(11,cn,3,1,"div",9),a(12,"div",10),l(13,gn,8,3,"div",11),l(14,Cn,8,3,"div",11),c(),l(15,Pn,3,2,"div",12),a(16,"div",13),l(17,Vn,12,4,"table",14),c()()),t&2){let _,y,k,b;r((_=e.template())!=null&&_.PrintLX300?0:-1),o(),r((y=e.template())!=null&&y.PrintLX300?1:-1),o(),r((k=e.template())!=null&&k.PrintLX300?2:-1),o(),T("href",(b=e.css())!=null&&b.Size8cm?u(4,11,(b=e.css())==null?null:b.Size8cm):null,w),o(6),r(e.invoiceDateVisible()?9:-1),o(),r(e.invoiceNumberVisible()?10:-1),o(),r(e.barcodeVisible()?11:-1),o(2),r(e.customerNameVisible()||e.CustomerMobileVisible()||e.customerAddressVisible()?13:-1),o(),r(e.storeNameVisible()||e.storePhoneVisible()||e.storeAddressVisible()?14:-1),o(),r(e.orderTagVisible()||e.invoiceNoteVisible()?15:-1),o(2),r(e.productNameVisible()||e.productCodeVisible()?17:-1)}},dependencies:[F,B,G,j,Q,R,H,X],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%;display:block;margin:0 auto}.barcode-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:100%;height:auto}.note-text[_ngcontent-%COMP%]{font-size:.656rem;white-space:normal;word-break:break-word;overflow-wrap:break-word}"]})};export{$ as a};
1
+ import{a as U}from"./chunk-ES6YUR3X.js";import{a as X}from"./chunk-QK25S4NM.js";import{a as j}from"./chunk-U2JF2UMO.js";import{N as G,g as H}from"./chunk-7OCVKGLK.js";import{Bb as E,Cb as D,Db as m,Eb as a,Fb as c,Fc as P,Gb as s,Gc as u,Hc as v,Na as x,Oc as p,Qa as w,Ra as O,Tc as M,Ua as o,Ub as g,Yb as z,Zb as A,_b as L,db as N,hc as d,ic as C,id as B,jc as f,qd as R,sb as T,sd as Q,vd as F,wb as l,yb as r,yc as h,zb as I}from"./chunk-DUSKF5IQ.js";import{a as V,b as S}from"./chunk-NF7PG5F2.js";var q=["barcode"],J=n=>({"col-12 border-0":n}),K=n=>({"col-12":n});function W(n,i){n&1&&s(0,"link",15)}function Y(n,i){n&1&&s(0,"link",16)}function Z(n,i){n&1&&s(0,"link",17)}function nn(n,i){if(n&1&&(a(0,"div",7)(1,"span"),d(2),P(3,"date"),c()()),n&2){let t,e=g();o(2),C(v(3,1,(t=e.receipt())==null||t.Invoice==null?null:t.Invoice.Date,"dd MMM yy"))}}function tn(n,i){if(n&1&&(a(0,"div",8)(1,"span",18),d(2,"Invoice Number:"),c(),a(3,"span"),d(4),c()()),n&2){let t,e=g();o(4),C((t=e.receipt())==null||t.Invoice==null?null:t.Invoice.Number)}}function en(n,i){n&1&&s(0,"img",19,0)}function on(n,i){if(n&1&&s(0,"qr-code",20),n&2){let t=g(2);m("value",t.invoiceNumber())("size",t.packingSlipConfig().General.QrCodeHeight)("margin",3)}}function cn(n,i){if(n&1&&(a(0,"div",9),l(1,en,2,0,"img",19)(2,on,1,3,"qr-code",20),c()),n&2){let t,e=g();o(),r((t=(t=e.packingSlipConfig())==null||t.General==null?null:t.General.BarcodeVisibleV2)===e.PackingSlipCodeType.Barcode?1:t===e.PackingSlipCodeType.QR?2:-1)}}function an(n,i){if(n&1&&(a(0,"h6"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.receipt())==null||t.Customer==null?null:t.Customer.ContactDisplay)}}function ln(n,i){if(n&1&&(a(0,"span"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.receipt())==null||t.Customer==null?null:t.Customer.Mobile)}}function rn(n,i){if(n&1&&(a(0,"div",23),d(1),c()),n&2){let t,e=g(2);o(),f(" ",(t=e.receipt())==null||t.Customer==null?null:t.Customer.Address," ")}}function gn(n,i){if(n&1&&(a(0,"div",11)(1,"div",21)(2,"h6",22),d(3,"Receiver:"),c(),a(4,"div"),l(5,an,2,1,"h6"),l(6,ln,2,1,"span"),c()(),l(7,rn,2,1,"div",23),c()),n&2){let t=g();o(5),r(t.customerNameVisible()?5:-1),o(),r(t.CustomerMobileVisible()?6:-1),o(),r(t.customerAddressVisible()?7:-1)}}function dn(n,i){if(n&1&&(a(0,"h6"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.template())==null?null:t.DisplayName)}}function pn(n,i){if(n&1&&(a(0,"span"),d(1),c()),n&2){let t,e=g(2);o(),C((t=e.template())==null?null:t.ContactInfo)}}function _n(n,i){if(n&1&&(a(0,"div",24),d(1),c()),n&2){let t,e=g(2);o(),f(" ",(t=e.template())==null?null:t.Address," ")}}function Cn(n,i){if(n&1&&(a(0,"div",11)(1,"div",21)(2,"h6",22),d(3,"Sender:"),c(),a(4,"div"),l(5,dn,2,1,"h6"),l(6,pn,2,1,"span"),c()(),l(7,_n,2,1,"div",24),c()),n&2){let t=g();o(5),r(t.storeNameVisible()?5:-1),o(),r(t.storePhoneVisible()?6:-1),o(),r(t.storeAddressVisible()?7:-1)}}function sn(n,i){if(n&1&&(a(0,"div",25)(1,"h5"),d(2),c()()),n&2){let t,e,_=g(2);m("ngClass",h(2,J,!_.invoiceNoteVisible()||!(!((t=_.receipt())==null||t.Invoice==null)&&t.Invoice.Note))),o(2),C((e=_.receipt())==null?null:e.Tag)}}function mn(n,i){if(n&1&&(a(0,"div",26),s(1,"p",27),c()),n&2){let t,e,_=g(2);m("ngClass",h(2,K,!_.orderTagVisible()||!((t=_.receipt())!=null&&t.Tag))),o(),m("innerHTML",(e=_.receipt())==null||e.Invoice==null?null:e.Invoice.Note,x)}}function Pn(n,i){if(n&1&&(a(0,"div",12),l(1,sn,3,4,"div",25),l(2,mn,2,4,"div",26),c()),n&2){let t,e=g();o(),r(e.orderTagVisible()?1:-1),o(),r(e.invoiceNoteVisible()&&(!((t=e.receipt())==null||t.Invoice==null)&&t.Invoice.Note)?2:-1)}}function Mn(n,i){n&1&&(a(0,"th",29),d(1,"Name"),c())}function bn(n,i){n&1&&(a(0,"th",30),d(1,"Code"),c())}function On(n,i){n&1&&(a(0,"th",30),d(1,"QTy"),c())}function un(n,i){if(n&1&&s(0,"span",33),n&2){let t=g(2).$implicit;m("innerHTML",t==null?null:t.Note,x)}}function xn(n,i){if(n&1&&(a(0,"td",32)(1,"div"),d(2),c(),l(3,un,1,1,"span",33),c()),n&2){let t=g().$implicit,e=g(2);o(2),C(t==null?null:t.Name),o(),r(e.itemNotesVisible()?3:-1)}}function fn(n,i){if(n&1&&(a(0,"td",30),d(1),c()),n&2){let t=g().$implicit;o(),C(t==null?null:t.Code)}}function hn(n,i){if(n&1&&(a(0,"td",30),d(1),P(2,"number"),c()),n&2){let t=g().$implicit;o(),C(u(2,1,t==null?null:t.Quantity))}}function vn(n,i){if(n&1&&(a(0,"tr")(1,"td",30),d(2),c(),l(3,xn,4,2,"td",32),l(4,fn,2,1,"td",30),l(5,hn,3,3,"td",30),c()),n&2){let t=i.$index,e=g(2);o(2),C(t+1),o(),r(e.productNameVisible()?3:-1),o(),r(e.productCodeVisible()?4:-1),o(),r(e.producctQtyVisible()?5:-1)}}function yn(n,i){if(n&1&&s(0,"td",34),n&2){let t=g(3);m("colSpan",t.getVisibleColumnCount())}}function kn(n,i){if(n&1&&(a(0,"tfoot",31)(1,"tr",31),l(2,yn,1,1,"td",34),a(3,"td",35)(4,"span",36),d(5,"Total"),c()(),a(6,"td",35)(7,"span",36),d(8),P(9,"sum"),P(10,"number"),c()()()()),n&2){let t,e=g(2);o(2),r(e.productCodeVisible()||e.productNameVisible()?2:-1),o(6),C(u(10,5,v(9,2,(t=e.receipt())==null?null:t.List,"Quantity")))}}function Vn(n,i){if(n&1&&(a(0,"table",14)(1,"thead")(2,"tr")(3,"th",28),d(4,"No"),c(),l(5,Mn,2,0,"th",29),l(6,bn,2,0,"th",30),l(7,On,2,0,"th",30),c()(),a(8,"tbody"),E(9,vn,6,4,"tr",null,I),c(),l(11,kn,11,7,"tfoot",31),c()),n&2){let t,e=g();o(5),r(e.productNameVisible()?5:-1),o(),r(e.productCodeVisible()?6:-1),o(),r(e.producctQtyVisible()?7:-1),o(2),D((t=e.receipt())==null?null:t.List),o(2),r(e.producctQtyVisible()?11:-1)}}var $=class n{receipt=M();config=M();template=M();css=M();_barcodeElement;invoiceNumber=p(()=>this.receipt()?.Invoice?.Number);packingSlipConfig=p(()=>this.config().PrintConfigPackingSlip);invoiceNumberVisible=p(()=>this.packingSlipConfig()?.General?.InvoiceNumberVisible);invoiceDateVisible=p(()=>this.packingSlipConfig()?.General?.InvoiceDateVisible);barcodeVisible=p(()=>this.packingSlipConfig()?.General?.BarcodeVisibleV2!==1);storeNameVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreNameVisible);storeAddressVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StoreAddressVisible);storePhoneVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.StorePhoneVisible);customerNameVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerNameVisible);customerAddressVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerAddressVisible);CustomerMobileVisible=p(()=>this.packingSlipConfig()?.LogisticsInformation?.CustomerMobileVisible);producctQtyVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductQuantityVisible);productNameVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductNameVisible);productCodeVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductCodeVisible);invoiceNoteVisible=p(()=>this.packingSlipConfig()?.Footer?.InvoiceNoteVisible);orderTagVisible=p(()=>this.packingSlipConfig()?.Footer?.SalesOrderTagVisible);itemNotesVisible=p(()=>this.packingSlipConfig()?.ProductInformation?.ProductNoteVisible);getVisibleColumnCount=p(()=>{let i=0;return this.productNameVisible()&&i++,this.productCodeVisible()&&i++,i});PackingSlipCodeType=U;barcodeOptions={width:1,height:46,displayValue:!1,backgroundColor:"",lineColor:"#000",margin:0,format:"CODE128",flat:!0};set content(i){i&&(this._barcodeElement=i,this.renderBarcode())}renderBarcode(){let i=this.packingSlipConfig()?.General.BarcodeHeight||46,t=this.packingSlipConfig()?.BarcodeWidthPercent||1,e=this.invoiceNumber(),_=S(V({},this.barcodeOptions),{height:i,width:t});JsBarcode(this._barcodeElement.nativeElement,e,_)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=N({type:n,selectors:[["app-packing-slip-v2"]],viewQuery:function(t,e){if(t&1&&z(q,5),t&2){let _;A(_=L())&&(e.content=_.first)}},inputs:{receipt:[1,"receipt"],config:[1,"config"],template:[1,"template"],css:[1,"css"]},decls:18,vars:13,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","position-relative","justify-content-center","border-bottom","border-dark","py-6"],[1,"position-absolute","end-0","me-4","fw-bold"],[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",O`/Styles/Print/Master.css`,"rel","stylesheet","type","text/css"],["href",O`/Styles/Print/LX300_Core.css`,"rel","stylesheet","type","text/css"],["href",O`/Styles/Print/LX300.css`,"rel","stylesheet","type","text/css"],[1,"me-2"],["id","barcode",1,"barcode-image"],[3,"value","size","margin"],[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","note-text",3,"innerHTML"],[1,"border-0",3,"colSpan"],[1,"text-center","border-0"],[1,"fw-bold"]],template:function(t,e){if(t&1&&(l(0,W,1,0,"link",1),l(1,Y,1,0,"link",2),l(2,Z,1,0,"link",3),s(3,"link",4),P(4,"StylesheetSafeUrl"),a(5,"div",5)(6,"div",6)(7,"h3"),d(8,"PACKING SLIP"),c(),l(9,nn,4,4,"div",7),c(),l(10,tn,5,1,"div",8),l(11,cn,3,1,"div",9),a(12,"div",10),l(13,gn,8,3,"div",11),l(14,Cn,8,3,"div",11),c(),l(15,Pn,3,2,"div",12),a(16,"div",13),l(17,Vn,12,4,"table",14),c()()),t&2){let _,y,k,b;r((_=e.template())!=null&&_.PrintLX300?0:-1),o(),r((y=e.template())!=null&&y.PrintLX300?1:-1),o(),r((k=e.template())!=null&&k.PrintLX300?2:-1),o(),T("href",(b=e.css())!=null&&b.Size8cm?u(4,11,(b=e.css())==null?null:b.Size8cm):null,w),o(6),r(e.invoiceDateVisible()?9:-1),o(),r(e.invoiceNumberVisible()?10:-1),o(),r(e.barcodeVisible()?11:-1),o(2),r(e.customerNameVisible()||e.CustomerMobileVisible()||e.customerAddressVisible()?13:-1),o(),r(e.storeNameVisible()||e.storePhoneVisible()||e.storeAddressVisible()?14:-1),o(),r(e.orderTagVisible()||e.invoiceNoteVisible()?15:-1),o(2),r(e.productNameVisible()||e.productCodeVisible()?17:-1)}},dependencies:[F,B,G,j,Q,R,H,X],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%;display:block;margin:0 auto}.barcode-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{max-width:100%;height:auto}.note-text[_ngcontent-%COMP%]{font-size:.656rem;white-space:normal;word-break:break-word;overflow-wrap:break-word}"]})};export{$ as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-Z7UCI72M.js";import{a as f}from"./chunk-AP4S4OV5.js";import{$a as m,Fd as d,Ga as l,Gd as v,H as n,_a as p,da as a,fb as c,i as o,na as i,wc as h}from"./chunk-DUSKF5IQ.js";var E=class s{constructor(e){this.el=e;this.el.nativeElement.onerror=()=>{}}el;renderer=i(p);tooltip=i(r);httpClient=i(v);ngAfterViewInit(){let e=this.el.nativeElement;!e||!e.src||(e.onerror=()=>{this.setFallbackImage()},e.src.includes("cloudinary")?this.httpClient.get(e.src,{responseType:"blob"}).pipe(a(t=>{t.type.startsWith("image/")?this.addTooltip("Click to view image"):this.setFallbackImage()}),n(t=>(t instanceof d&&this.setFallbackImage(),o))).subscribe():this.addTooltip(""))}setFallbackImage(){this.renderer.setAttribute(this.el.nativeElement,"src",f.FALLBACK_PRODUCT_IMAGE_URL),this.renderer.setStyle(this.el.nativeElement,"border","1px solid #dee2e6"),this.renderer.setStyle(this.el.nativeElement,"border-radius","4px")}addTooltip(e){this.renderer.listen(this.el.nativeElement,"mouseenter",()=>{this.tooltip.message=e,this.tooltip.position="above",this.tooltip.show()}),this.renderer.listen(this.el.nativeElement,"mouseleave",()=>{this.tooltip.message="",this.tooltip.hide()})}static \u0275fac=function(t){return new(t||s)(m(l))};static \u0275dir=c({type:s,selectors:[["","appFallbackImage",""]],features:[h([r])]})};export{E as a};
1
+ import{a as r}from"./chunk-Z7UCI72M.js";import{a as f}from"./chunk-QDGJGSLG.js";import{$a as m,Fd as d,Ga as l,Gd as v,H as n,_a as p,da as a,fb as c,i as o,na as i,wc as h}from"./chunk-DUSKF5IQ.js";var E=class s{constructor(e){this.el=e;this.el.nativeElement.onerror=()=>{}}el;renderer=i(p);tooltip=i(r);httpClient=i(v);ngAfterViewInit(){let e=this.el.nativeElement;!e||!e.src||(e.onerror=()=>{this.setFallbackImage()},e.src.includes("cloudinary")?this.httpClient.get(e.src,{responseType:"blob"}).pipe(a(t=>{t.type.startsWith("image/")?this.addTooltip("Click to view image"):this.setFallbackImage()}),n(t=>(t instanceof d&&this.setFallbackImage(),o))).subscribe():this.addTooltip(""))}setFallbackImage(){this.renderer.setAttribute(this.el.nativeElement,"src",f.FALLBACK_PRODUCT_IMAGE_URL),this.renderer.setStyle(this.el.nativeElement,"border","1px solid #dee2e6"),this.renderer.setStyle(this.el.nativeElement,"border-radius","4px")}addTooltip(e){this.renderer.listen(this.el.nativeElement,"mouseenter",()=>{this.tooltip.message=e,this.tooltip.position="above",this.tooltip.show()}),this.renderer.listen(this.el.nativeElement,"mouseleave",()=>{this.tooltip.message="",this.tooltip.hide()})}static \u0275fac=function(t){return new(t||s)(m(l))};static \u0275dir=c({type:s,selectors:[["","appFallbackImage",""]],features:[h([r])]})};export{E as a};