dealpos 12.2.2 → 12.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/POS/2004.f3082cf57d2bdd1c.js +1 -0
  2. package/POS/2527.ee572f77820fd7c7.js +1 -0
  3. package/POS/2750.53e735d02123ddda.js +1 -0
  4. package/POS/3337.7b3e691f22aa2e50.js +1 -0
  5. package/POS/4177.6c8fdeca3238ae91.js +1 -0
  6. package/POS/4941.11991efa0c9ca9f6.js +1 -0
  7. package/POS/4970.49b3d0e2b41a4736.js +1 -0
  8. package/POS/500.502b63b835c94db3.js +1 -0
  9. package/POS/5189.42546270f70cc578.js +1 -0
  10. package/POS/5453.b8eb5ec710c13e3f.js +1 -0
  11. package/POS/5510.84d47b3fed683d57.js +1 -0
  12. package/POS/5586.6557e4bd206a28bd.js +1 -0
  13. package/POS/6303.1882ce2541c62af6.js +1 -0
  14. package/POS/6664.1983a13a18aa2c16.js +1 -0
  15. package/POS/6756.262b1c28c019159f.js +1 -0
  16. package/POS/6840.d0036ec626577639.js +1 -0
  17. package/POS/7193.e0f947762f7150e2.js +1 -0
  18. package/POS/{7298.19d75745aecb3523.js → 7298.f11b8d33926c7f79.js} +1 -1
  19. package/POS/7516.1e8312abf0fdfbfe.js +1 -0
  20. package/POS/{8126.a38cad86f4c81065.js → 8126.2a3f67a7639fa6c8.js} +1 -1
  21. package/POS/8317.5eadaac9d81f9a5f.js +1 -0
  22. package/POS/8401.3424c8d9d82c1a46.js +1 -0
  23. package/POS/8425.8d3419e0fb226dda.js +1 -0
  24. package/POS/{8761.7c5539bff80a4998.js → 8761.1b45a09f1df46068.js} +1 -1
  25. package/POS/9042.6c4d3181c84b2cb8.js +1 -0
  26. package/POS/9612.6a332f69514c0983.js +1 -0
  27. package/POS/9757.4892e7e75edfcada.js +1 -0
  28. package/POS/{2527.7e671ae42215b675.js → 9841.5c1c03ebf5b7893e.js} +1 -1
  29. package/POS/common.530cd99e46c8d250.js +1 -0
  30. package/POS/index.html +2 -2
  31. package/POS/{main.5719023b63890082.js → main.965c0562a49fac7a.js} +1 -1
  32. package/POS/runtime.5b99dd33a914eec2.js +1 -0
  33. package/package.json +1 -1
  34. package/POS/2004.7dc740293b38e114.js +0 -1
  35. package/POS/2526.b4ad12c60a108246.js +0 -1
  36. package/POS/2750.4f3502081043c30b.js +0 -1
  37. package/POS/3337.3f4f382f45acff41.js +0 -1
  38. package/POS/4177.98ff79b4b72c8768.js +0 -1
  39. package/POS/4941.8c2fb6ad16dc21d1.js +0 -1
  40. package/POS/4970.4b720eacff390388.js +0 -1
  41. package/POS/500.0c17a4a814815447.js +0 -1
  42. package/POS/5189.6d0b24db775d8a7c.js +0 -1
  43. package/POS/5510.479c025aed7612fc.js +0 -1
  44. package/POS/6303.5724083b307f1ed5.js +0 -1
  45. package/POS/6551.7ed8f31c22230139.js +0 -1
  46. package/POS/6664.567ef29551e80239.js +0 -1
  47. package/POS/6756.ac761ce454dbfce0.js +0 -1
  48. package/POS/6840.123d77eead78424d.js +0 -1
  49. package/POS/6911.3b1b89c2d61a261c.js +0 -1
  50. package/POS/7193.6b127da2a149cb73.js +0 -1
  51. package/POS/7516.481c1df6180e492c.js +0 -1
  52. package/POS/8317.f9654b9e65973243.js +0 -1
  53. package/POS/8401.82c1cc0352887254.js +0 -1
  54. package/POS/9498.2b6e42b23bdba39a.js +0 -1
  55. package/POS/9612.0ffe44a08279c42b.js +0 -1
  56. package/POS/9757.7255467eb7a81e5f.js +0 -1
  57. package/POS/common.5c2bee0b1072850d.js +0 -1
  58. package/POS/runtime.f4e420d04496da7f.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkPOS=self.webpackChunkPOS||[]).push([[4941],{64941:(U,v,r)=>{r.r(v),r.d(v,{PrintModule:()=>ya});var a=r(81180),c=r(36895),_=r(9116),y=r(77579),Z=r(82722),n=r(94650),p=r(89156),f=r(11481),m=r(51161),T=r(98448);function A(e,o){if(1&e&&(n.ynx(0),n._UZ(1,"pos-receipt",1),n.BQk()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("receiptParam",t.receiptParam)("data",t.model.Data)("emailVisibleRestriction",!t.roleService.sell.Email)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("priceVisibleRestriction",!t.roleService.sell.PriceVisible)}}let I=(()=>{class e{constructor(t,i,g,u){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"titleService",void 0),(0,a.Z)(this,"roleService",void 0),(0,a.Z)(this,"model",void 0),(0,a.Z)(this,"receiptParam",void 0),(0,a.Z)(this,"destroy$",void 0),this.httpService=t,this.activeRoute=i,this.titleService=g,this.roleService=u,this.destroy$=new y.x}ngOnInit(){let t=this.activeRoute.snapshot.queryParamMap.get("ID"),i=this.activeRoute.snapshot.queryParamMap.get("Template"),g=this.activeRoute.snapshot.queryParamMap.get("Price"),u=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:t,Template:i,Price:g,Print:u},this.httpService.post("/Api/Print/InvoiceMini",JSON.stringify(this.receiptParam)).pipe((0,Z.R)(this.destroy$)).subscribe(h=>{this.model=h,this.setBrowserTitle(h);let q=this.activeRoute.snapshot.queryParamMap.get("Print"),b=this.activeRoute.snapshot.queryParamMap.get("Printer");b&&(this.model.Template.PrintLX300="EpsonLX300"==b),1==parseInt(q)&&window.setTimeout(function(){window.print()},500)})}setBrowserTitle(t){this.titleService.setTitle(`Invoice Mini | ${t.Data.Number}`)}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz),n.Y36(f.Dx),n.Y36(m.N))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-mini"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","emailVisibleRestriction","printTemplate","config","priceVisibleRestriction"]],template:function(t,i){1&t&&n.YNc(0,A,2,6,"ng-container",0),2&t&&n.Q6J("ngIf",i.model)},dependencies:[c.O5,T.t]})),e})();var s=r(117);function C(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"pos-receipt-a4",1),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("receiptParam",t.receiptParam)("data",t.model.Data)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("workOrderMode",!1)("fullMode",!0)}}let M=(()=>{class e{constructor(t,i,g){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"titleService",void 0),(0,a.Z)(this,"BarCodeOptions",{width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"}),(0,a.Z)(this,"model",void 0),(0,a.Z)(this,"receiptParam",void 0),(0,a.Z)(this,"destroy$",void 0),this.httpService=t,this.activeRoute=i,this.titleService=g,this.destroy$=new y.x}ngOnInit(){let t=this.activeRoute.snapshot.queryParamMap.get("ID"),i=this.activeRoute.snapshot.queryParamMap.get("Template"),g=this.activeRoute.snapshot.queryParamMap.get("Price"),u=this.activeRoute.snapshot.queryParamMap.get("Print");this.receiptParam={ID:t,Template:i,Price:g,Print:u},this.httpService.post("/Api/Print/Invoice",JSON.stringify(this.receiptParam)).pipe((0,Z.R)(this.destroy$)).subscribe(h=>{this.model=h,this.setBrowserTitle(h);let q=this.activeRoute.snapshot.queryParamMap.get("Print"),b=this.activeRoute.snapshot.queryParamMap.get("Printer");b&&(this.model.Template.PrintLX300="EpsonLX300"==b),1==parseInt(q)&&window.setTimeout(function(){window.print()},500)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}setBrowserTitle(t){this.titleService.setTitle(`Invoice A4 | ${t.Data.Invoice.Number}`)}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz),n.Y36(f.Dx))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"receiptParam","data","printTemplate","config","barcodeOptions","workOrderMode","fullMode"]],template:function(t,i){1&t&&n.YNc(0,C,2,7,"div",0),2&t&&n.Q6J("ngIf",i.model)},dependencies:[c.O5,s.Y]})),e})();var d=r(67327),P=r(39300),O=r(82621);function D(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"park-order",1),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("data",t.model.Data)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)}}let J=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"model",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/SalesOrderMini",JSON.stringify(t)).subscribe(i=>{this.model=i,t.Printer&&(this.model.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-sales-order"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","printTemplate","config"]],template:function(t,i){1&t&&n.YNc(0,D,2,3,"div",0),2&t&&n.Q6J("ngIf",i.model)},dependencies:[c.O5,O.g]})),e})();var l=r(93669);function N(e,o){1&e&&n._UZ(0,"link",43)}function S(e,o){1&e&&n._UZ(0,"link",44)}function L(e,o){if(1&e&&n._UZ(0,"img",45),2&e){const t=n.oxw(2);n.s9C("src",t.Model.Template.Logo,n.LSH)}}function Q(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij("(",t.Model.Data.Contact.MemberIdentification,")")}}function Y(e,o){if(1&e&&(n.TgZ(0,"div",46)(1,"h3")(2,"span"),n._uU(3),n.qZA()(),n.TgZ(4,"div",47)(5,"strong"),n._uU(6),n.qZA(),n.YNc(7,Q,2,1,"span",0),n.TgZ(8,"div",48)(9,"div")(10,"span"),n._uU(11),n.qZA()(),n.TgZ(12,"div")(13,"span"),n._uU(14),n.qZA()(),n.TgZ(15,"div"),n._UZ(16,"span",14),n.qZA(),n.TgZ(17,"div")(18,"span"),n._uU(19),n.qZA()()()()()),2&e){const t=n.oxw(2);n.xp6(3),n.Oqu(t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer),n.xp6(3),n.Oqu(t.Model.Data.ContactDisplay),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Contact.MemberIdentification),n.xp6(4),n.Oqu(t.Model.Data.Contact.Email),n.xp6(3),n.Oqu(t.Model.Data.Contact.Phone?t.Model.Data.Contact.Phone:t.Model.Data.Contact.Mobile),n.xp6(2),n.Q6J("innerHTML",t.Model.Data.Contact.Address,n.oJD),n.xp6(3),n.Oqu(t.Model.Data.City)}}function z(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"Due"),n.qZA())}function H(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"ToP"),n.qZA())}function B(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"Sales"),n.qZA())}function R(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"PO#"),n.qZA())}function j(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Oqu(n.xi3(2,1,t.Model.Data.Invoice.Due,"dd MMM yyyy"))}}function V(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Oqu(t.Model.Data.ToP)}}function F(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Oqu(t.Model.Data.SalesName)}}function E(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO.PurchaseOrderNumber,"")}}function $(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(", ",t.Model.Data.ShippingAddress.Phone,"")}}function W(e,o){if(1&e&&(n.TgZ(0,"div",49)(1,"h3"),n._uU(2),n.qZA(),n.TgZ(3,"div",47)(4,"div"),n._uU(5),n.YNc(6,$,2,1,"span",0),n.qZA(),n._UZ(7,"div",14),n.TgZ(8,"div"),n._uU(9),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.ShippingAddress," "),n.xp6(3),n.hij(" ",t.Model.Data.ShippingAddress.Recipient,""),n.xp6(1),n.Q6J("ngIf",t.Model.Data.ShippingAddress.Phone),n.xp6(1),n.Q6J("innerHTML",t.Model.Data.ShippingAddress.Street,n.oJD),n.xp6(2),n.hij(" ",t.Model.Data.ShippingAddress.City," ")}}function X(e,o){1&e&&(n.TgZ(0,"th",50),n._uU(1," Disc"),n.qZA())}function G(e,o){if(1&e&&(n._UZ(0,"i",53),n.ALo(1,"newlines")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.Note),n.oJD)}}function K(e,o){if(1&e&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).$implicit;n.xp6(1),n.hij("-",t.Discount,"%")}}function nn(e,o){if(1&e&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).$implicit;n.xp6(1),n.hij("-",t.DiscountAmount,"")}}function tn(e,o){if(1&e&&(n.TgZ(0,"td",54),n.YNc(1,K,2,1,"div",0),n.YNc(2,nn,2,1,"div",0),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngIf",0!=t.Discount),n.xp6(1),n.Q6J("ngIf",0!=t.DiscountAmount)}}function en(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td",15),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.TgZ(5,"div"),n.YNc(6,G,2,3,"i",51),n.qZA()(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",15),n._uU(10),n.ALo(11,"number"),n.qZA(),n.TgZ(12,"td"),n._uU(13),n.qZA(),n.TgZ(14,"td",15),n._uU(15),n.ALo(16,"number"),n.qZA(),n.YNc(17,tn,3,2,"td",52),n.TgZ(18,"td",15),n._uU(19),n.ALo(20,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=o.index,g=n.oxw(2);n.xp6(2),n.hij("",i+1,"."),n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.Q6J("ngIf",null!=t.Note),n.xp6(2),n.Oqu(t.Code),n.xp6(2),n.Oqu(n.lcZ(11,9,t.Quantity)),n.xp6(3),n.Oqu(t.UOMName),n.xp6(2),n.Oqu(n.lcZ(16,11,t.UnitPrice)),n.xp6(2),n.Q6J("ngIf",g.isDiscount),n.xp6(2),n.Oqu(n.xi3(20,13,t.Total,g.Model.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function on(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij("Qty : ",n.lcZ(2,1,t.totalQty),";")}}function cn(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n.YNc(2,on,3,3,"span",0),n._uU(3),n.qZA(),n.TgZ(4,"td"),n._uU(5,":"),n.qZA(),n.TgZ(6,"td",55),n._uU(7),n.qZA(),n.TgZ(8,"td",26),n._uU(9),n.ALo(10,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(2);n.xp6(2),n.Q6J("ngIf",i.count>1),n.xp6(1),n.Oqu(t.Label),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.hij("",n.xi3(10,4,t.Amount,i.Model.AppConfigJSON.PrintConfigGeneral.TrailingZero)," ")}}function an(e,o){if(1&e&&(n.TgZ(0,"td",57),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(t.Model.Data.TotalInWords)}}function gn(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",14),n.TgZ(2,"td"),n._uU(3," : "),n.qZA(),n.YNc(4,an,2,1,"td",56),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",null!=t.Model.AppConfigJSON.PrintConfigGeneral&&t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",n.oJD),n.xp6(3),n.Q6J("ngIf",t.Model.Data.TotalInWords)}}function dn(e,o){if(1&e&&(n.TgZ(0,"span")(1,"span",58),n._uU(2),n.ALo(3,"date"),n.qZA(),n._uU(4),n.ALo(5,"number"),n._UZ(6,"br"),n.qZA()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(1),n.Q6J("hidden",i.Model.Data.Payments),n.xp6(1),n.Oqu(n.xi3(3,5,t.Date,"dd MMM yy")),n.xp6(2),n.lnq(" ",t.MethodName," ",t.Note?t.Note:""," ",n.lcZ(5,8,t.Amount)," ")}}function ln(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",14),n.TgZ(2,"td"),n._uU(3," : "),n.qZA(),n.TgZ(4,"td"),n.YNc(5,dn,7,10,"span",29),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",2==t.Model.Data.Invoice.PaymentStateID?"Down Payment":"Payment",n.oJD),n.xp6(4),n.Q6J("ngForOf",t.Model.Data.Payments)}}function rn(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Delivery "),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",59)(7,"li"),n._uU(8),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO.DeliveryStateString," ")}}function _n(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Note "),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",59),n._UZ(7,"li",14),n.ALo(8,"newlines"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(7),n.Q6J("innerHTML",n.lcZ(8,1,null==t.Model.Data.Invoice?null:t.Model.Data.Invoice.Note),n.oJD)}}function pn(e,o){if(1&e&&(n.TgZ(0,"div",60)(1,"h5"),n._uU(2),n.qZA(),n.TgZ(3,"div",36),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy," ")}}function Cn(e,o){if(1&e&&(n.TgZ(0,"div",61)(1,"h5"),n._uU(2),n.qZA(),n.TgZ(3,"div",36),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",null==t.Model.AppConfigJSON.PrintConfigDelivery?null:t.Model.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy," ")}}function Pn(e,o){if(1&e&&n._UZ(0,"div",62),2&e){const t=n.oxw(2);n.Q6J("innerHTML",t.Model.Template.FooterRight,n.oJD)}}const Mn=function(e,o){return{lx300:e,"print-normal":o}};function On(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"link",1)(2,"link",2),n.YNc(3,N,1,0,"link",3),n.YNc(4,S,1,0,"link",4),n.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),n.YNc(10,L,1,1,"img",10),n.TgZ(11,"div",11)(12,"h2"),n._uU(13),n.qZA(),n.TgZ(14,"small"),n._uU(15),n.qZA(),n.TgZ(16,"div",12)(17,"div",13),n._UZ(18,"span",14),n.ALo(19,"newlines"),n.qZA(),n.TgZ(20,"div",15),n._UZ(21,"span",14),n.ALo(22,"newlines"),n.qZA()()()(),n.YNc(23,Y,20,7,"div",16),n.qZA(),n.TgZ(24,"div",17)(25,"h1")(26,"strong"),n._uU(27),n.qZA(),n.TgZ(28,"span"),n._uU(29),n.qZA()(),n.TgZ(30,"div")(31,"table")(32,"thead")(33,"tr")(34,"th"),n._uU(35,"Date"),n.qZA(),n.YNc(36,z,2,0,"th",0),n.YNc(37,H,2,0,"th",0),n.YNc(38,B,2,0,"th",0),n.YNc(39,R,2,0,"th",0),n.qZA()(),n.TgZ(40,"tbody")(41,"tr")(42,"td"),n._uU(43),n.ALo(44,"date"),n.qZA(),n.YNc(45,j,3,4,"td",0),n.YNc(46,V,2,1,"td",0),n.YNc(47,F,2,1,"td",0),n.YNc(48,E,2,1,"td",0),n.qZA()()()(),n.YNc(49,W,10,5,"div",18),n.qZA()()(),n.TgZ(50,"section",19)(51,"div",20)(52,"table",21)(53,"thead",22)(54,"tr")(55,"th",23),n._uU(56,"No"),n.qZA(),n.TgZ(57,"th"),n._uU(58,"Name"),n.qZA(),n.TgZ(59,"th",24),n._uU(60,"Code"),n.qZA(),n.TgZ(61,"th",25),n._uU(62,"Qty"),n.qZA(),n.TgZ(63,"th",26),n._uU(64,"UOM"),n.qZA(),n.TgZ(65,"th",27),n._uU(66),n.qZA(),n.YNc(67,X,2,0,"th",28),n.TgZ(68,"th",27),n._uU(69),n.qZA()()(),n.TgZ(70,"tbody"),n.YNc(71,en,21,16,"tr",29),n.qZA(),n.TgZ(72,"tr",30)(73,"td",31)(74,"table",32)(75,"tbody"),n.YNc(76,cn,11,7,"tr",29),n.qZA()()()()()()(),n.TgZ(77,"table",33),n.YNc(78,gn,5,2,"tr",0),n.YNc(79,ln,6,2,"tr",0),n.YNc(80,rn,9,1,"tr",0),n.YNc(81,_n,9,3,"tr",0),n.qZA(),n.TgZ(82,"div")(83,"div")(84,"div",34)(85,"div",35)(86,"h5"),n._uU(87),n.qZA(),n.TgZ(88,"div",36),n._uU(89," \xa0 "),n.qZA()(),n.YNc(90,pn,5,1,"div",37),n.YNc(91,Cn,5,1,"div",38),n.TgZ(92,"div",39)(93,"h5"),n._uU(94),n.qZA(),n.TgZ(95,"div",36),n._uU(96),n.qZA()()()()(),n.TgZ(97,"div",40),n._UZ(98,"div",41),n.YNc(99,Pn,1,1,"div",42),n.qZA()()()),2&e){const t=n.oxw();n.xp6(3),n.Q6J("ngIf",t.Model.Template.PrintLX300),n.xp6(1),n.Q6J("ngIf",t.Model.Template.PrintLX300),n.xp6(1),n.Q6J("ngClass",n.WLB(45,Mn,t.Model.Template.PrintLX300,!t.Model.Template.PrintLX300)),n.xp6(5),n.Q6J("ngIf",t.Model.Template.Logo),n.xp6(3),n.Oqu(t.Model.Template.Name),n.xp6(2),n.Oqu(t.Model.Template.Field),n.xp6(3),n.Q6J("innerHTML",n.lcZ(19,38,t.Model.Template.Address),n.oJD),n.xp6(3),n.Q6J("innerHTML",n.lcZ(22,40,t.Model.Template.ContactInfo),n.oJD),n.xp6(2),n.Q6J("ngIf",t.Model.Data.ContactDisplay),n.xp6(4),n.Oqu(t.Model.Data.Prefixed),n.xp6(2),n.hij(" ",null==t.Model.Data.Invoice?null:t.Model.Data.Invoice.Number," "),n.xp6(7),n.Q6J("ngIf",t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",t.Model.Data.SaleVisible),n.xp6(1),n.Q6J("ngIf",null!=(null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO.PurchaseOrderNumber)),n.xp6(4),n.Oqu(n.xi3(44,42,null==t.Model.Data.Invoice?null:t.Model.Data.Invoice.Date,"dd MMM yyyy")),n.xp6(2),n.Q6J("ngIf",t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",t.Model.Data.SaleVisible),n.xp6(1),n.Q6J("ngIf",null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO.PurchaseOrderNumber),n.xp6(1),n.Q6J("ngIf",t.Model.Data.ShippingAddress),n.xp6(17),n.hij("Price(",t.Model.Data.CurrencySymbol,")"),n.xp6(1),n.Q6J("ngIf",t.checkDiscount(t.Model.Data.Items)),n.xp6(2),n.hij("Total(",t.Model.Data.CurrencySymbol,")"),n.xp6(2),n.Q6J("ngForOf",t.Model.Data.Items),n.xp6(5),n.Q6J("ngForOf",t.Model.Data.Aggregate),n.xp6(2),n.Q6J("ngIf",(null==t.Model.AppConfigJSON.PrintConfigGeneral?null:t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||t.Model.Data.TotalInWords),n.xp6(1),n.Q6J("ngIf",(null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible)&&t.Model.Data.Payments.length>0),n.xp6(1),n.Q6J("ngIf",null!=(null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO)&&3!=(null==t.Model.Data.CustomerTransaction?null:t.Model.Data.CustomerTransaction.SO.DeliveryStateID)&&(null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.Footer.DeliveryInfoVisible)),n.xp6(1),n.Q6J("ngIf",null==t.Model.Data.Invoice?null:t.Model.Data.Invoice.Note),n.xp6(6),n.hij(" ",null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy," "),n.xp6(3),n.Q6J("ngIf",1==(null==t.Model.AppConfigJSON.PrintConfigDelivery?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)||2==(null==t.Model.AppConfigJSON.PrintConfigDelivery?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)),n.xp6(1),n.Q6J("ngIf",2==(null==t.Model.AppConfigJSON.PrintConfigDelivery?null:t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType)),n.xp6(3),n.hij(" ",null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy," "),n.xp6(2),n.hij(" ",null==t.Model.Data.ItemTransfer?null:t.Model.Data.ItemTransfer.Courier," "),n.xp6(2),n.Q6J("ngClass",!t.Model.Template.FooterRight&&"single")("innerHTML",t.Model.Template.FooterLeft,n.oJD),n.xp6(1),n.Q6J("ngIf",t.Model.Template.FooterRight)}}let sn=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"Model",{Data:"",Template:"",AppConfigJSON:""}),(0,a.Z)(this,"isDiscount",!1),(0,a.Z)(this,"BarCodeOptions",{width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"}),(0,a.Z)(this,"count",void 0),(0,a.Z)(this,"totalQty",void 0),(0,a.Z)(this,"TrailingZero",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/CustomerPOInvoice",JSON.stringify(t)).subscribe(i=>{this.Model.AppConfigJSON=i.AppConfigJSON,this.TrailingZero=i.AppConfigJSON.PrintConfigGeneral.TrailingZero?i.AppConfigJSON.PrintConfigGeneral.TrailingZero:0,this.Model.Data=i.Data,this.Model.Template=i.Template,this.count=0,this.totalQty=0;for(const g of this.Model.Data.Items)this.totalQty+=g.Quantity,this.count++;t.Printer&&(this.Model.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}checkDiscount(t){if(null!=t)for(let i=0;i<t.length;i++)if(0!=t[i].Discount||0!=t[i].DiscountAmount)return this.isDiscount=!0,!0;return this.isDiscount=!1,!1}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-customer-po"]],decls:1,vars:1,consts:[[4,"ngIf"],["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],[1,"print_container",3,"ngClass"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact","style","min-width: 400px",4,"ngIf"],[1,"header_right"],["class","contact shippingAddress",4,"ngIf"],[1,"cart-mini-items"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#FDF3C6"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","50px"],[2,"width","50px"],[1,"number",2,"width","100px"],["class","number text-end","style","width: 20px;",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer",2,"border","1px solid transparent"],["colspan","9",1,"number","noTopPad"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],[1,"signature"],[1,"left"],[1,"name"],["class","left leftSmall",4,"ngIf"],["class","left rightSmall",4,"ngIf"],[1,"right"],[1,"note"],[1,"left",3,"ngClass","innerHTML"],["class","right",3,"innerHTML",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css"],[1,"float",3,"src"],[1,"contact",2,"min-width","400px"],[1,"box"],[1,"customer_info"],[1,"contact","shippingAddress"],[1,"number","text-end",2,"width","20px"],["class","special-TinyMCE","style","word-break:break-all",3,"innerHTML",4,"ngIf"],["class","number red text-end",4,"ngIf"],[1,"special-TinyMCE",2,"word-break","break-all",3,"innerHTML"],[1,"number","red","text-end"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[3,"hidden"],[1,"float"],[1,"left","leftSmall"],[1,"left","rightSmall"],[1,"right",3,"innerHTML"]],template:function(t,i){1&t&&n.YNc(0,On,100,48,"div",0),2&t&&n.Q6J("ngIf",i.Model)},dependencies:[c.mk,c.sg,c.O5,c.JJ,c.uU,l.sH,l.Qc],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}']})),e})();var xn=r(3421),x=r(29847);function fn(e,o){1&e&&n._UZ(0,"link",5)}function mn(e,o){1&e&&n._UZ(0,"link",6)}function un(e,o){if(1&e&&(n.ynx(0),n._UZ(1,"POS-print-mode",48),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("paperPrints",t.paperPrintMode)}}const hn=function(e){return{width:e}};function bn(e,o){if(1&e&&(n.TgZ(0,"div",49),n._UZ(1,"img",50),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Akn(n.VKq(3,hn,t.config.PrintConfigInvoice.LogoConfig.UploadedImageResizedWidth+"px")),n.s9C("src",t.printTemplate.Logo,n.LSH)}}function vn(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," Due"),n.qZA())}function yn(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," ToP"),n.qZA())}function Zn(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," Sales"),n.qZA())}function Tn(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"PO#"),n.qZA())}function wn(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,t.data.Invoice.Data.Due,"dd MMM yyyy"),"")}}function An(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.data.ToP,"")}}function In(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.data.SalesName,"")}}function qn(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Oqu(t.data.PO.PurchaseOrderNumber)}}function kn(e,o){if(1&e&&(n.TgZ(0,"div",51),n._UZ(1,"h3",52),n.TgZ(2,"div"),n._uU(3),n._UZ(4,"div",52)(5,"div",52),n.qZA()()),2&e){const t=n.oxw(2);n.Udp("margin-right","15px"),n.xp6(1),n.Q6J("innerHtml",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,n.oJD),n.xp6(2),n.AsE(" ",null==t.data||null==t.data.Shipping?null:t.data.Shipping.Name," ",null!=t.data&&null!=t.data.Shipping&&t.data.Shipping.Phone?", "+(null==t.data||null==t.data.Shipping?null:t.data.Shipping.Phone):""," "),n.xp6(1),n.Q6J("innerHtml",null==t.data||null==t.data.Shipping?null:t.data.Shipping.Address,n.oJD),n.xp6(1),n.Q6J("innerHtml",null==t.data||null==t.data.Shipping?null:t.data.Shipping.City,n.oJD)}}function Un(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Contact.Email)}}function Dn(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"span",13),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.data.Contact.Address,n.oJD)}}function Jn(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Contact.Phone?t.data.Contact.Phone:t.data.Contact.Mobile)}}function Nn(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.City)}}function Sn(e,o){if(1&e&&(n.TgZ(0,"div",53),n._UZ(1,"span",13),n.TgZ(2,"strong",54),n._uU(3),n.qZA(),n.TgZ(4,"div",55),n.YNc(5,Un,3,1,"div",8),n.YNc(6,Dn,2,1,"div",8),n.YNc(7,Jn,3,1,"div",8),n.YNc(8,Nn,3,1,"div",8),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.data.IsInDelivery?t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle:t.config.PrintConfigInvoice.DocumentLabel.Customer,n.oJD),n.xp6(2),n.AsE("",t.data.Contact.Title," ",t.data.Contact.Name,""),n.xp6(2),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),n.xp6(1),n.Q6J("ngIf",1!==t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Ln(e,o){if(1&e&&(n.TgZ(0,"div",53)(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij("Courier: ",t.data.ItemTransfer.Courier,"")}}function Qn(e,o){1&e&&(n.TgZ(0,"th",56),n._uU(1,"Code"),n.qZA())}function Yn(e,o){if(1&e&&(n.TgZ(0,"th",30),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.config.ModuleSell.ProductDialog.UnitQtyLabel,"")}}function zn(e,o){if(1&e&&(n.TgZ(0,"th",57),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Cost (",t.data.currencySymbol,")")}}function Hn(e,o){if(1&e&&(n.TgZ(0,"th",58),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Total Cost (",t.data.currencySymbol,")")}}function Bn(e,o){if(1&e&&(n.TgZ(0,"th",59),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Price (",t.data.currencySymbol,")")}}function Rn(e,o){1&e&&(n.TgZ(0,"th",60),n._uU(1,"%"),n.qZA())}function jn(e,o){if(1&e&&(n.TgZ(0,"th",61),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Total Price (",t.data.currencySymbol,")")}}function Vn(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"Note"),n.qZA())}function Fn(e,o){if(1&e&&(n.TgZ(0,"th",59),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Price (",t.data.currencySymbol,")")}}function En(e,o){if(1&e&&(n.TgZ(0,"th",61),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Total Price (",t.data.currencySymbol,")")}}function $n(e,o){if(1&e&&(n.TgZ(0,"th",59),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Cost (",t.data.currencySymbol,")")}}function Wn(e,o){if(1&e&&(n.TgZ(0,"th",58),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("Total Cost (",t.data.currencySymbol,")")}}function Xn(e,o){if(1&e&&n._UZ(0,"i",65),2&e){const t=n.oxw(2).$implicit;n.Q6J("innerHTML",t.Note,n.oJD)}}function Gn(e,o){if(1&e&&(n.TgZ(0,"div"),n.YNc(1,Xn,1,1,"i",64),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngIf",null!=t.Note)}}function Kn(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(t.Code)}}function nt(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.hij(" x ",n.lcZ(2,1,t.Unit),"")}}function tt(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.hij(" x ",n.lcZ(2,1,t.UnitQuantity),"")}}function et(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw(2).$implicit;n.xp6(1),n.hij(" ",n.lcZ(2,1,t.Quantity*t.Unit)," ")}}function ot(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw(2).$implicit;n.xp6(1),n.hij(" ",n.lcZ(2,1,t.Quantity*t.UnitQuantity)," ")}}function it(e,o){if(1&e&&(n.TgZ(0,"td"),n.YNc(1,et,3,3,"span",8),n.YNc(2,ot,3,3,"span",8),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngIf",t.Unit),n.xp6(1),n.Q6J("ngIf",t.UnitQuantity)}}function ct(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitCost),n.oJD)}}function at(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.TotalCost),n.oJD)}}function gt(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitPrice),n.oJD)}}function dt(e,o){if(1&e&&n._UZ(0,"td",66),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",t.Discount,n.oJD)}}function lt(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.TotalPrice),n.oJD)}}function rt(e,o){if(1&e&&(n.TgZ(0,"td"),n._UZ(1,"span",67),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("innerHTML",t.Note?t.Note:t.PONote,n.oJD)}}function _t(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitPrice),n.oJD)}}function pt(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.TotalPrice),n.oJD)}}function Ct(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitCost),n.oJD)}}function Pt(e,o){if(1&e&&(n._UZ(0,"td",66),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.TotalCost),n.oJD)}}function Mt(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td",62),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n._UZ(5,"br"),n.YNc(6,Gn,2,1,"div",8),n.qZA(),n.YNc(7,Kn,2,1,"td",8),n.TgZ(8,"td",41),n._uU(9),n.ALo(10,"number"),n.YNc(11,nt,3,3,"span",8),n.YNc(12,tt,3,3,"span",8),n.qZA(),n.YNc(13,it,3,2,"td",8),n.TgZ(14,"td"),n._uU(15),n.qZA(),n.YNc(16,ct,2,3,"td",63),n.YNc(17,at,2,3,"td",63),n.YNc(18,gt,2,3,"td",63),n.YNc(19,dt,1,1,"td",63),n.YNc(20,lt,2,3,"td",63),n.YNc(21,rt,2,1,"td",8),n.YNc(22,_t,2,3,"td",63),n.YNc(23,pt,2,3,"td",63),n.YNc(24,Ct,2,3,"td",63),n.YNc(25,Pt,2,3,"td",63),n.qZA()),2&e){const t=o.$implicit,i=o.index,g=n.oxw(2);n.xp6(2),n.hij("",i+1,"."),n.xp6(2),n.hij(" ",t.Name,""),n.xp6(2),n.Q6J("ngIf",g.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),n.xp6(2),n.hij(" ",n.lcZ(10,19,t.Quantity)," "),n.xp6(2),n.Q6J("ngIf",1!=t.Unit&&null!=t.Unit&&g.config.PrintConfigInvoice.ItemsTable.UnitQuantityVisible),n.xp6(1),n.Q6J("ngIf",1!=t.UnitQuantity&&null!=t.UnitQuantity&&g.config.PrintConfigInvoice.ItemsTable.UnitQuantityVisible),n.xp6(1),n.Q6J("ngIf",g.config.ModuleSell.ProductDialog.UnitQtyLabel&&g.config.PrintConfigInvoice.ItemsTable.UnitQuantityMultiplicationVisible),n.xp6(2),n.Oqu(t.UOMName),n.xp6(1),n.Q6J("ngIf",(null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.Visibility.CostVisible)&&g.roleService.product.Cost),n.xp6(1),n.Q6J("ngIf",(null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.Visibility.CostVisible)&&g.roleService.product.Cost),n.xp6(1),n.Q6J("ngIf",null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",null==g.config||null==g.config.PrintConfigDelivery?null:g.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",!g.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",g.data.isPrice&&null!=g.data.unitPrice),n.xp6(1),n.Q6J("ngIf",g.data.isPrice&&null!=g.data.unitPrice),n.xp6(1),n.Q6J("ngIf",g.data.isCost&&null!=g.data.unitCost),n.xp6(1),n.Q6J("ngIf",g.data.isCost&&null!=g.data.unitCost)}}function Ot(e,o){1&e&&n._UZ(0,"td")}function st(e,o){1&e&&n._UZ(0,"td")}function xt(e,o){1&e&&n._UZ(0,"td")}function ft(e,o){if(1&e&&(n.TgZ(0,"td",40)(1,"b"),n._uU(2),n.ALo(3,"number"),n.qZA()()),2&e){const t=n.oxw(2);n.Q6J("colSpan",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible?1:2),n.xp6(2),n.Oqu(n.lcZ(3,2,t.TotalCost))}}function mt(e,o){1&e&&n._UZ(0,"td")}function ut(e,o){1&e&&n._UZ(0,"td")}function ht(e,o){if(1&e&&(n.TgZ(0,"td",68)(1,"b"),n._uU(2),n.ALo(3,"number"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Oqu(n.lcZ(3,1,t.TotalPrice))}}function bt(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw(4);n.xp6(1),n.Oqu(t.data.Items.length>1?"Qty: "+n.lcZ(2,1,t.TotalQty):"")}}function vt(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",70),n.YNc(2,bt,3,3,"span",8),n._uU(3),n.qZA(),n.TgZ(4,"th"),n._uU(5,":"),n.qZA(),n.TgZ(6,"th",71),n._uU(7),n.qZA(),n.TgZ(8,"th",30),n._uU(9),n.ALo(10,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(2),n.Q6J("ngIf",i.config.PrintConfigInvoice.ItemsFooter.TotalQuantityVisible),n.xp6(1),n.hij(" ",t.Label," "),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.Oqu(n.xi3(10,4,t.Amount,i.data.TrailingZero))}}function yt(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4,":"),n.qZA(),n.TgZ(5,"td",71),n._uU(6),n.qZA(),n.TgZ(7,"td",30),n._uU(8),n.ALo(9,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(2),n.Oqu(t.Label),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.Oqu(n.xi3(9,3,t.Amount,i.data.TrailingZero))}}function Zt(e,o){if(1&e&&(n.TgZ(0,"div",45)(1,"table",69)(2,"tbody"),n.YNc(3,vt,11,7,"tr",38),n.YNc(4,yt,10,6,"tr",38),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("ngForOf",t.data.AmountSummary),n.xp6(1),n.Q6J("ngForOf",t.data.PaidAmountSummary)}}function Tt(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Note "),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",73),n._UZ(7,"li",13),n.qZA()()()),2&e){const t=n.oxw(3);n.xp6(7),n.Q6J("innerHTML",(null==t.data.PO?null:t.data.PO.Note)||(null==t.data.ItemTransfer?null:t.data.ItemTransfer.Note),n.oJD)}}function wt(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",73)(7,"li"),n._uU(8),n.ALo(9,"date"),n.qZA()()()()),2&e){const t=n.oxw(3);n.xp6(2),n.hij(" ",t.config.ModuleSell.Shipping.DateLabel," "),n.xp6(6),n.hij(" ",n.xi3(9,2,t.data.Invoice.CustomDate,"dd MMM yyyy (HH:mm)")," ")}}function At(e,o){if(1&e&&(n.TgZ(0,"table",72),n.YNc(1,Tt,8,1,"tr",8),n.YNc(2,wt,10,5,"tr",8),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",(null==t.data.PO?null:t.data.PO.Note)||(null==t.data.ItemTransfer?null:t.data.ItemTransfer.Note)),n.xp6(1),n.Q6J("ngIf",t.data.CustomDate&&t.config.ModuleSell.Shipping.DateLabel)}}function It(e,o){if(1&e&&(n.TgZ(0,"div",80)(1,"h5",81),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",82),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier,n.oJD)}}function qt(e,o){if(1&e&&(n.TgZ(0,"div",80)(1,"h5",81),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",82),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient,n.oJD)}}function kt(e,o){if(1&e&&(n.TgZ(0,"div",80)(1,"h5",81),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",82),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse,n.oJD)}}function Ut(e,o){if(1&e&&(n.TgZ(0,"div",80)(1,"h5",81),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",82),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy,n.oJD)}}function Dt(e,o){if(1&e&&(n.TgZ(0,"div",83),n._UZ(1,"div",84),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.printTemplate.DeliveryNote,n.oJD)}}function Jt(e,o){if(1&e&&n._UZ(0,"small",85),2&e){const t=n.oxw(3);n.Q6J("innerHTML",t.data.Creator,n.oJD)}}function Nt(e,o){if(1&e&&(n.TgZ(0,"div",74)(1,"div",75),n.YNc(2,It,5,1,"div",76),n.YNc(3,qt,5,1,"div",76),n.YNc(4,kt,5,1,"div",76),n.YNc(5,Ut,5,1,"div",76),n.qZA(),n.YNc(6,Dt,2,1,"div",77),n.TgZ(7,"div",78),n.YNc(8,Jt,1,1,"small",79),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Courier),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.HeaderAdditionalPrefix.Recipient),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.FooterLabel.Warehouse),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.FooterLabel.DeliveredBy),n.xp6(1),n.Q6J("ngIf",!t.data.IsTransfer),n.xp6(2),n.Q6J("ngIf",1!=t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition)}}const St=function(e,o){return{lx300:e,"print-normal":o}};function Lt(e,o){if(1&e&&(n.TgZ(0,"div",7),n.YNc(1,un,2,1,"ng-container",8),n.TgZ(2,"div")(3,"div",9)(4,"div",10),n.YNc(5,bn,2,5,"div",11),n.TgZ(6,"div",12),n._UZ(7,"h2",13)(8,"small",13),n.TgZ(9,"div")(10,"div"),n._UZ(11,"div",13),n.ALo(12,"newlines"),n.qZA(),n.TgZ(13,"div"),n._UZ(14,"div",13),n.ALo(15,"newlines"),n._UZ(16,"br"),n.qZA()()()()(),n.TgZ(17,"div",14)(18,"div",15)(19,"div",16)(20,"div",17)(21,"strong"),n._uU(22),n.ALo(23,"uppercase"),n.qZA(),n._UZ(24,"span",13),n.qZA()(),n.TgZ(25,"div",18)(26,"table",19)(27,"thead")(28,"tr")(29,"th"),n._uU(30,"Date"),n.qZA(),n.YNc(31,vn,2,0,"th",8),n.YNc(32,yn,2,0,"th",8),n.YNc(33,Zn,2,0,"th",8),n.YNc(34,Tn,2,0,"th",8),n.qZA()(),n.TgZ(35,"tbody")(36,"tr")(37,"td"),n._uU(38),n.ALo(39,"date"),n.qZA(),n.YNc(40,wn,3,4,"td",8),n.YNc(41,An,2,1,"td",8),n.YNc(42,In,2,1,"td",8),n.YNc(43,qn,2,1,"td",8),n.qZA()()()()(),n.TgZ(44,"div",20),n.YNc(45,kn,6,7,"div",21),n.qZA()()(),n.TgZ(46,"div",22),n.YNc(47,Sn,9,7,"div",23),n.YNc(48,Ln,3,1,"div",23),n.qZA(),n.TgZ(49,"div",24)(50,"div",25)(51,"table",26)(52,"thead")(53,"tr",27)(54,"th",28),n._uU(55,"No"),n.qZA(),n.TgZ(56,"th"),n._uU(57,"Name"),n.qZA(),n.YNc(58,Qn,2,0,"th",29),n.TgZ(59,"th",30),n._uU(60,"Qty"),n.qZA(),n.YNc(61,Yn,2,1,"th",31),n.TgZ(62,"th",32),n._uU(63,"UOM"),n.qZA(),n.YNc(64,zn,2,1,"th",33),n.YNc(65,Hn,2,1,"th",34),n.YNc(66,Bn,2,1,"th",35),n.YNc(67,Rn,2,0,"th",36),n.YNc(68,jn,2,1,"th",37),n.YNc(69,Vn,2,0,"th",8),n.YNc(70,Fn,2,1,"th",35),n.YNc(71,En,2,1,"th",37),n.YNc(72,$n,2,1,"th",35),n.YNc(73,Wn,2,1,"th",34),n.qZA()(),n.TgZ(74,"tbody"),n.YNc(75,Mt,26,21,"tr",38),n.qZA(),n.TgZ(76,"tfoot")(77,"tr",39),n.YNc(78,Ot,1,0,"td",8),n.TgZ(79,"td",40)(80,"b"),n._uU(81,"Total"),n.qZA()(),n.TgZ(82,"td",41)(83,"b"),n._uU(84),n.ALo(85,"number"),n.qZA()(),n.YNc(86,st,1,0,"td",8),n.YNc(87,xt,1,0,"td",8),n.YNc(88,ft,4,4,"td",42),n.YNc(89,mt,1,0,"td",8),n.YNc(90,ut,1,0,"td",8),n.YNc(91,ht,4,3,"td",43),n.qZA()()()(),n.YNc(92,Zt,5,2,"div",44),n.TgZ(93,"div",45),n.YNc(94,At,3,2,"table",46),n.qZA(),n.YNc(95,Nt,9,6,"div",47),n.qZA()()),2&e){const t=n.oxw();n.Q6J("ngClass",n.WLB(62,St,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),n.xp6(1),n.Q6J("ngIf",t.hasInvoiceOption),n.xp6(1),n.Gre("",t.printTemplate.CssClass," d-flex m-3"),n.xp6(3),n.Q6J("ngIf",t.printTemplate.Logo),n.xp6(2),n.Q6J("innerHTML",t.printTemplate.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.printTemplate.Field,n.oJD),n.xp6(3),n.Q6J("innerHTML",n.lcZ(12,51,t.printTemplate.Address),n.oJD),n.xp6(3),n.Q6J("innerHTML",n.lcZ(15,53,t.printTemplate.ContactInfo),n.oJD),n.xp6(8),n.hij(" ",n.lcZ(23,55,t.data.Prefixed)," "),n.xp6(2),n.Q6J("innerHTML",t.data.ItemTransfer.Number,n.oJD),n.xp6(7),n.Q6J("ngIf",t.data.ToP&&(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),n.xp6(1),n.Q6J("ngIf",t.data.ToP&&(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),n.xp6(1),n.Q6J("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),n.xp6(1),n.Q6J("ngIf",null==t.data.PO?null:t.data.PO.PurchaseOrderNumber),n.xp6(4),n.Oqu(n.xi3(39,57,t.data.ItemTransfer.Date,"dd MMM yyyy")),n.xp6(2),n.Q6J("ngIf",null!=t.data.ToP&&(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),n.xp6(1),n.Q6J("ngIf",null!=t.data.ToP&&(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.DeliveryPaymentTermsVisible)),n.xp6(1),n.Q6J("ngIf",t.data.SalesName&&t.config.PrintConfigInvoice.DocumentVisibility.SalesPersonVisible),n.xp6(1),n.Q6J("ngIf",null==t.data.PO?null:t.data.PO.PurchaseOrderNumber),n.xp6(1),n.Udp("margin-top","40px"),n.xp6(1),n.Q6J("ngIf",null==t.data||null==t.data.Shipping?null:t.data.Shipping.Name),n.xp6(2),n.Q6J("ngIf",t.data.Contact.Name),n.xp6(1),n.Q6J("ngIf",t.data.ItemTransfer.Courier),n.xp6(10),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),n.xp6(3),n.Q6J("ngIf",t.config.ModuleSell.ProductDialog.UnitQtyLabel&&t.config.PrintConfigInvoice.ItemsTable.UnitQuantityMultiplicationVisible),n.xp6(3),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible),n.xp6(1),n.Q6J("ngIf",!t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",t.data.isPrice&&null!=t.data.unitPrice),n.xp6(1),n.Q6J("ngIf",t.data.isPrice&&null!=t.data.unitPrice),n.xp6(1),n.Q6J("ngIf",t.data.isCost&&null!=t.data.unitCost),n.xp6(1),n.Q6J("ngIf",t.data.isCost&&null!=t.data.unitCost),n.xp6(2),n.Q6J("ngForOf",t.data.Items),n.xp6(3),n.Q6J("ngIf",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),n.xp6(1),n.Q6J("colSpan",2),n.xp6(5),n.Oqu(n.lcZ(85,60,t.TotalQty)),n.xp6(2),n.Q6J("ngIf",t.config.PrintConfigDelivery.ItemsTable.DeliveryProductCodeVisible),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.CostVisible)&&t.roleService.product.Cost&&t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",(null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Visibility.PriceVisible)&&t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",t.data.AmountSummary),n.xp6(2),n.Q6J("ngIf",null==t.config||null==t.config.PrintConfigDelivery?null:t.config.PrintConfigDelivery.Footer.DeliveryNoteVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigGeneral.Visibility.Visible)}}let w=(()=>{class e{constructor(t,i,g){(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"decimalPipe",void 0),(0,a.Z)(this,"roleService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"hasInvoiceOption",!1),(0,a.Z)(this,"paperPrintMode",[]),(0,a.Z)(this,"TotalPack",void 0),(0,a.Z)(this,"TotalCost",void 0),(0,a.Z)(this,"TotalPrice",void 0),(0,a.Z)(this,"TotalQty",void 0),(0,a.Z)(this,"GuidEmpty",d.gT.GuidEmpty),this.activeRoute=t,this.decimalPipe=i,this.roleService=g}ngOnInit(){}ngOnChanges(t){if(this.TotalPack=0,this.TotalCost=0,this.TotalPrice=0,this.TotalQty=0,t.data.currentValue)for(const i of this.data.Items)this.TotalPack+=i.Pack,this.TotalCost+=i.TotalCost,this.TotalPrice+=i.TotalPrice,this.TotalQty+=i.Quantity}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(_.gz),n.Y36(c.JJ),n.Y36(m.N))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["pos-customer-delivery"]],inputs:{data:"data",printTemplate:"printTemplate",config:"config",hasInvoiceOption:"hasInvoiceOption",paperPrintMode:"paperPrintMode"},features:[n.TTD],decls:5,vars:3,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["class","print_container outdelivery_print_container",3,"ngClass",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css"],[1,"print_container","outdelivery_print_container",3,"ngClass"],[4,"ngIf"],[1,"col","p-0","m-0","header-left-delivery"],[1,"row","g-0"],["class","col-auto shop-logo",4,"ngIf"],[1,"col-auto","ms-3","shop-description"],[3,"innerHTML"],[1,"col","p-0","m-0","header_right"],[1,"row","g-0","me-0","justify-content-end","invoice_number"],[1,"col-12","d-flex","justify-content-end"],[1,"h2","text-end"],[1,"p-0","col-auto","d-flex","justify-content-end","table-delivery"],[1,"table","table-sm","table-bordered"],[1,"row","d-flex","justify-content-end"],["class","col-9 border contact shippingAddress",3,"margin-right",4,"ngIf"],[1,"row","px-3","mx-0","mt-0","justify-content-between"],["class","col-auto border",4,"ngIf"],[1,"row","mt-4","mx-0","d-print-block"],[1,"col-md-12","px-3","cartItems"],[1,"table","table-striped","table-sm","table-bordered",2,"width","100%"],[2,"background-color","#FDF3C6"],[2,"width","20px"],["style","width: 75px;",4,"ngIf"],[2,"width","50px"],["style","width: 50px;",4,"ngIf"],[2,"width","40px"],["style","width: 85px;",4,"ngIf"],["style","width: 125px;",4,"ngIf"],["style","width: 80px;",4,"ngIf"],["style","width: 10px;text-align:right",4,"ngIf"],["style","width: 130px;",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer","border-none"],[1,"text-end",3,"colSpan"],[1,"text-center"],["class","text-end",3,"colSpan",4,"ngIf"],["class","text-end",4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"col-md-12"],["class","info m-0",4,"ngIf"],["class","col-12 signature-b",4,"ngIf"],["paperType","A4",1,"d-print-none",3,"paperPrints"],[1,"col-auto","shop-logo"],[1,"col-md-12","logo",3,"src"],[1,"col-9","border","contact","shippingAddress"],[3,"innerHtml"],[1,"col-auto","border"],[1,"ms-2"],[1,"customer_info"],[2,"width","75px"],[2,"width","85px"],[2,"width","125px"],[2,"width","80px"],[2,"width","10px","text-align","right"],[2,"width","130px"],[1,"py-5"],["class","text-end",3,"innerHTML",4,"ngIf"],["style","word-break:break-all",3,"innerHTML",4,"ngIf"],[2,"word-break","break-all",3,"innerHTML"],[1,"text-end",3,"innerHTML"],[1,"note-span",2,"word-break","break-all",3,"innerHTML"],[1,"text-end"],[1,"table","table-sm","table-borderless","d-flex","justify-content-end"],["colspan","3"],[1,"currency"],[1,"info","m-0"],[1,"float"],[1,"col-12","signature-b"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px;",4,"ngIf"],["class","note",4,"ngIf"],[1,"col-12","d-flex","justify-content-center"],["class","d-block text-center fst-italic py-2","style","font-size: 12px;",3,"innerHTML",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],[1,"left",3,"innerHTML"],[1,"d-block","text-center","fst-italic","py-2",2,"font-size","12px",3,"innerHTML"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.YNc(2,fn,1,0,"link",2),n.YNc(3,mn,1,0,"link",3),n.YNc(4,Lt,96,65,"div",4)),2&t&&(n.xp6(2),n.Q6J("ngIf",i.data&&(null==i.printTemplate?null:i.printTemplate.PrintLX300)),n.xp6(1),n.Q6J("ngIf",i.data&&(null==i.printTemplate?null:i.printTemplate.PrintLX300)),n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.mk,c.sg,c.O5,x.g,c.gd,c.JJ,c.uU,l.sH,l.Qc],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9e9e9e;padding:5px}div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.contact[_ngcontent-%COMP%]{float:left}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.note-span[_ngcontent-%COMP%] p{margin:0}.grid_footer[_ngcontent-%COMP%], .grid_footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0!important}']})),e})(),Qt=(()=>{class e{}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,a.Z)(e,"\u0275mod",n.oAB({type:e})),(0,a.Z)(e,"\u0275inj",n.cJS({imports:[c.ez,l.dr,xn.m,x.y]})),e})(),Yt=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/OutDelivery",JSON.stringify(t)).subscribe(i=>{this.config=i.AppConfigJSON,this.data=i.Data,this.printTemplate=i.Template,t.Printer&&(this.printTemplate.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-out-delivery"]],decls:1,vars:3,consts:[[3,"data","printTemplate","config"]],template:function(t,i){1&t&&n._UZ(0,"pos-customer-delivery",0),2&t&&n.Q6J("data",i.data)("printTemplate",i.printTemplate)("config",i.config)},dependencies:[w]})),e})();function zt(e,o){1&e&&n._UZ(0,"link",6)}function Ht(e,o){1&e&&n._UZ(0,"link",7)}function Bt(e,o){1&e&&n._UZ(0,"link",8)}function Rt(e,o){if(1&e&&(n.TgZ(0,"strong"),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(t.data.Customer.ContactDisplay)}}function jt(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Customer.Email)}}function Vt(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Customer.Mobile)}}function Ft(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Customer.Phone)}}function Et(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"span",22),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.data.Customer.Address,n.oJD)}}function $t(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Customer.CityName)}}function Wt(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24)(2,"h4"),n._UZ(3,"span",22),n.qZA(),n.YNc(4,Rt,2,1,"strong",25),n.YNc(5,jt,3,1,"div",25),n.YNc(6,Vt,3,1,"div",25),n.YNc(7,Ft,3,1,"div",25),n.YNc(8,Et,2,1,"div",25),n.YNc(9,$t,3,1,"div",25),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("innerHTML",t.config.PrintConfigInvoice.DocumentLabel.Customer,n.oJD),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),n.xp6(1),n.Q6J("ngIf",1!==t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(1),n.Q6J("ngIf",1!==t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function Xt(e,o){if(1&e&&(n.TgZ(0,"strong"),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(t.data.Shipping.Recipient)}}function Gt(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Shipping.Street)}}function Kt(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Shipping.Phone)}}function ne(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Shipping.City)}}function te(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"span",22),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.data.Shipping.Description,n.oJD)}}function ee(e,o){if(1&e&&(n.TgZ(0,"div",11)(1,"div",26)(2,"div",13),n._UZ(3,"span",22),n.qZA(),n.YNc(4,Xt,2,1,"strong",25),n.YNc(5,Gt,3,1,"div",25),n.YNc(6,Kt,3,1,"div",25),n.YNc(7,ne,3,1,"div",25),n.YNc(8,te,2,1,"div",25),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("innerHTML",t.config.PrintConfigInvoice.DocumentLabel.ShippingAddress,n.oJD),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.CustomerVisible),n.xp6(1),n.Q6J("ngIf",t.data.Shipping.Street),n.xp6(1),n.Q6J("ngIf",t.data.Shipping.Mobile),n.xp6(1),n.Q6J("ngIf",t.data.Shipping.City),n.xp6(1),n.Q6J("ngIf",t.data.Shipping.Description)}}function oe(e,o){if(1&e&&(n.TgZ(0,"tbody")(1,"tr")(2,"td",32),n._uU(3),n.qZA(),n.TgZ(4,"td"),n._uU(5),n.qZA(),n.TgZ(6,"td",32),n._uU(7),n.ALo(8,"number"),n.qZA()()()),2&e){const t=o.$implicit,i=o.index;n.xp6(3),n.Oqu(i+1),n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.Oqu(n.lcZ(8,3,t.Quantity))}}function ie(e,o){if(1&e&&(n.TgZ(0,"div",11)(1,"div",12)(2,"table",27)(3,"thead",28)(4,"tr")(5,"th",29),n._uU(6,"No"),n.qZA(),n.TgZ(7,"th",30),n._uU(8,"Name"),n.qZA(),n.TgZ(9,"th",29),n._uU(10,"Qty"),n.qZA()()(),n.YNc(11,oe,9,5,"tbody",31),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(11),n.Q6J("ngForOf",t.data.List)}}function ce(e,o){if(1&e&&(n.TgZ(0,"div",11)(1,"div",12),n._UZ(2,"div",33),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("innerHTML",t.data.Invoice.Note,n.oJD)}}const ae=function(e,o){return{lx300:e,"print-normal":o}};function ge(e,o){if(1&e&&(n.TgZ(0,"div",9)(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"span"),n._uU(6),n.qZA()()()(),n.YNc(7,Wt,10,7,"div",14),n.YNc(8,ee,9,6,"div",15),n.TgZ(9,"div",16)(10,"div",17)(11,"div",18)(12,"span",13),n._uU(13),n.qZA()()()(),n.YNc(14,ie,12,1,"div",15),n.YNc(15,ce,3,1,"div",15),n.TgZ(16,"div",11)(17,"div",12)(18,"div",19)(19,"div",20)(20,"div",21),n._UZ(21,"span",22),n.qZA()()()()()()()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("ngClass",n.WLB(9,ae,t.printTemplate.PrintLX300,!t.printTemplate.PrintLX300)),n.xp6(5),n.AsE("",t.config.PrintConfigOthers.Header.PackingReceiptTitle," : ",t.data.Delivery.Number,""),n.xp6(1),n.Q6J("ngIf",!(null!=t.data.Shipping&&t.data.Shipping.Recipient)),n.xp6(1),n.Q6J("ngIf",t.data.Shipping),n.xp6(5),n.hij(" ",t.data.TypeName,""),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigPackingSlip.ProductTableVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigPackingSlip.RenderInvoiceNote&&null!=t.data.Invoice.Note),n.xp6(6),n.Q6J("innerHTML",t.printTemplate.DeliveryNote,n.oJD)}}let de=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/PrintPackingSlip",JSON.stringify(t)).subscribe(i=>{this.config=i.AppConfigJSON,this.data=i.Data,this.printTemplate=i.Template,t.Printer&&(this.printTemplate.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-packing-slip"]],decls:6,vars:4,consts:[["href","/Styles/Print/Master.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300_Core.css","rel","stylesheet","type","text/css",4,"ngIf"],["href","/Styles/Print/LX300.css","rel","stylesheet","type","text/css",4,"ngIf"],["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSize8cm_custom.css","type","text/css"],["class","print_container_delivery",4,"ngIf"],["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"],[1,"print_container_delivery"],[3,"ngClass"],[1,"row","g-0"],[1,"col"],[1,"fw-bold"],["class","row g-0 pt-3",4,"ngIf"],["class","row g-0",4,"ngIf"],[1,"row","my-2"],[1,"col","text-end","my-2"],[1,"border","border-dark","py-2","px-2","mb-2","text-center"],["id","signatureNote"],[1,"note"],[1,"d-flex","justify-content-md-start"],[3,"innerHTML"],[1,"row","g-0","pt-3"],[1,"col","border","border-dark","py-2","px-2"],[4,"ngIf"],[1,"col","border","border-dark","py-2","px-2","mb-2"],[1,"table","table-striped","table-sm","table-bordered","w-100"],[2,"background","#FDF3C6"],[1,"text-end",2,"width","10%"],[2,"width","80%"],[4,"ngFor","ngForOf"],[1,"text-align"],[1,"p-5","text-center",2,"border","1px dotted black","background-color","#FCECA3",3,"innerHTML"]],template:function(t,i){1&t&&(n.YNc(0,zt,1,0,"link",0),n.YNc(1,Ht,1,0,"link",1),n.YNc(2,Bt,1,0,"link",2),n._UZ(3,"link",3)(4,"link",4),n.YNc(5,ge,22,12,"div",5)),2&t&&(n.Q6J("ngIf",i.data&&(null==i.printTemplate?null:i.printTemplate.PrintLX300)),n.xp6(1),n.Q6J("ngIf",i.data&&(null==i.printTemplate?null:i.printTemplate.PrintLX300)),n.xp6(1),n.Q6J("ngIf",i.data&&(null==i.printTemplate?null:i.printTemplate.PrintLX300)),n.xp6(3),n.Q6J("ngIf",i.data))},dependencies:[c.mk,c.sg,c.O5,c.JJ],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(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}}"]})),e})();function le(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"pos-receipt-a4",1),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("data",t.model.Data)("workOrderMode",!0)("printTemplate",t.model.Template)("config",t.model.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!0)}}let re=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"BarCodeOptions",{width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"}),(0,a.Z)(this,"model",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/WorkOrder",JSON.stringify(t)).subscribe(i=>{this.model=i,t.Printer&&(this.model.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-work-order"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","workOrderMode","printTemplate","config","barcodeOptions","invoiceOption"]],template:function(t,i){1&t&&n.YNc(0,le,2,7,"div",0),2&t&&n.Q6J("ngIf",i.model)},dependencies:[c.O5,s.Y]})),e})();function _e(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"pos-receipt-a4",1),n.TgZ(2,"div",2),n._UZ(3,"pos-customer-delivery",3),n.qZA()()),2&e){const t=n.oxw();n.xp6(1),n.Q6J("data",t.data.Invoice)("printTemplate",t.data.Template)("config",t.data.AppConfigJSON)("barcodeOptions",t.BarCodeOptions)("invoiceOption",!1)("workOrderMode",!1),n.xp6(2),n.Q6J("data",t.data.Delivery)("printTemplate",t.data.Template)("config",t.data.AppConfigJSON)}}let pe=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"BarCodeOptions",{width:1,height:32,displayValue:!0,font:"monospace",textAlign:"center",fontSize:12,backgroundColor:"",lineColor:"#000"}),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/InvoiceAndDelivery",JSON.stringify(t)).subscribe(i=>{this.data=i,t.Printer&&(this.data.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-delivery"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data","printTemplate","config","barcodeOptions","invoiceOption","workOrderMode"],[1,"reportMargin","outdelivery_print_container","mt-8"],[3,"data","printTemplate","config"]],template:function(t,i){1&t&&n.YNc(0,_e,4,9,"div",0),2&t&&n.Q6J("ngIf",i.data)},dependencies:[c.O5,s.Y,w]})),e})(),Ce=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"paperPrintMode",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activeRoute.queryParams.subscribe(t=>{this.httpService.post("/API/Print/Transfer",JSON.stringify(t)).subscribe(i=>{this.config=i.AppConfigJSON,this.data=i.Data,this.printTemplate=i.Template,t.Printer&&(this.printTemplate.PrintLX300="EpsonLX300"==t.Printer),this.printInvoice(t),this.initPrintOption(t)})})}initPrintOption(t){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:t},{label:"8cm",link:"/print/TransferMini",param:t}]}printInvoice(t){1==t.Print&&window.setTimeout(function(){window.print()},500)}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-transfer"]],decls:1,vars:5,consts:[[3,"hasInvoiceOption","paperPrintMode","data","printTemplate","config"]],template:function(t,i){1&t&&n._UZ(0,"pos-customer-delivery",0),2&t&&n.Q6J("hasInvoiceOption",!0)("paperPrintMode",i.paperPrintMode)("data",i.data)("printTemplate",i.printTemplate)("config",i.config)},dependencies:[w]})),e})(),Pe=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/InDelivery",JSON.stringify(t)).subscribe(i=>{this.config=i.AppConfig,this.data=i.Data,this.printTemplate=i.Template,t.Printer&&(this.printTemplate.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-indelivery"]],decls:1,vars:3,consts:[[3,"data","printTemplate","config"]],template:function(t,i){1&t&&n._UZ(0,"pos-customer-delivery",0),2&t&&n.Q6J("data",i.data)("printTemplate",i.printTemplate)("config",i.config)},dependencies:[w]})),e})();var Me=r(89748);const Oe=["class","component"];function se(e,o){if(1&e&&(n._UZ(0,"img",34),n.ALo(1,"images")),2&e){const t=n.oxw(3);n.Q6J("src",n.lcZ(1,1,t.Model.Template.Logo),n.LSH)}}function xe(e,o){if(1&e&&(n.TgZ(0,"div",27),n.YNc(1,se,2,3,"img",28),n.TgZ(2,"div",29),n._UZ(3,"h2",30)(4,"small",30),n.TgZ(5,"div",31),n._UZ(6,"div",32),n.ALo(7,"newlines"),n._UZ(8,"div",33),n.ALo(9,"newlines"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.Model.Template.Logo),n.xp6(2),n.Q6J("innerHTML",t.Model.Template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.Model.Template.Field,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(7,5,t.Model.Template.Address),n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(9,7,t.Model.Template.ContactInfo),n.oJD)}}function fe(e,o){if(1&e&&n._UZ(0,"strong",30),2&e){const t=n.oxw(3);n.Q6J("innerHTML",t.Model.Data.ContactDisplay,n.oJD)}}function me(e,o){if(1&e&&n._UZ(0,"div",30),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.Email,n.oJD)}}function ue(e,o){if(1&e&&n._UZ(0,"div",30),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.Phone,n.oJD)}}function he(e,o){if(1&e&&(n._UZ(0,"div",30),n.ALo(1,"newlines")),2&e){const t=n.oxw(3);n.Q6J("innerHTML",n.lcZ(1,1,null==t.Model.Data.Contact?null:t.Model.Data.Contact.Address),n.oJD)}}function be(e,o){if(1&e&&n._UZ(0,"div",30),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.City,n.oJD)}}function ve(e,o){if(1&e&&(n.TgZ(0,"div",35),n._UZ(1,"h3",30),n.TgZ(2,"div",36),n.YNc(3,fe,1,1,"strong",37),n.TgZ(4,"div",38),n.YNc(5,me,1,1,"div",37),n.YNc(6,ue,1,1,"div",37),n.YNc(7,he,2,3,"div",37),n.YNc(8,be,1,1,"div",37),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",null==t.Model||null==t.Model.AppConfigJSON||null==t.Model.AppConfigJSON.PrintConfigPurchase||null==t.Model.AppConfigJSON.PrintConfigPurchase.DocumentLabel?null:t.Model.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,n.oJD),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),n.xp6(1),n.Q6J("ngIf",1!==t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function ye(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"Due"),n.qZA())}function Ze(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1,"ToP"),n.qZA())}function Te(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Oqu(n.xi3(2,1,t.Model.Data.Due,"dd MMM yyyy"))}}function we(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("",t.Model.Data.ToP," Days")}}function Ae(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," Category "),n.qZA())}function Ie(e,o){1&e&&(n.TgZ(0,"span"),n._uU(1,"Rp"),n.qZA())}function qe(e,o){if(1&e&&(n.TgZ(0,"th",39),n._uU(1,"Price ("),n.YNc(2,Ie,2,0,"span",9),n._uU(3,")"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",t.Model.Data.CurrencySymbol)}}function ke(e,o){1&e&&(n.TgZ(0,"th",12),n._uU(1,"%"),n.qZA())}function Ue(e,o){1&e&&(n.TgZ(0,"span"),n._uU(1,"Rp"),n.qZA())}function De(e,o){if(1&e&&(n.TgZ(0,"th",39),n._uU(1,"Total ("),n.YNc(2,Ue,2,0,"span",9),n._uU(3,")"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",t.Model.Data.CurrencySymbol)}}function Je(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.hij("",t.Category," ")}}function Ne(e,o){if(1&e&&n._UZ(0,"i",45),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",t.Note,n.oJD)}}function Se(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.hij("x ",n.lcZ(2,1,t.UnitQuantity),"")}}function Le(e,o){if(1&e&&(n._UZ(0,"td",33),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitPrice),n.oJD)}}function Qe(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).$implicit;n.xp6(1),n.hij("-",t.Discount,"")}}function Ye(e,o){if(1&e&&(n.TgZ(0,"td",46),n.YNc(1,Qe,2,1,"span",9),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngIf",0!=t.Discount)}}function ze(e,o){if(1&e&&(n.TgZ(0,"td",47),n._uU(1),n.ALo(2,"TrailingZero"),n.qZA()),2&e){const t=n.oxw().$implicit,i=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,t.Total,i.Model.AppConfigJSON.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function He(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"td",33),n.YNc(2,Je,2,1,"td",9),n.TgZ(3,"td"),n._uU(4),n._UZ(5,"br"),n.YNc(6,Ne,1,1,"i",40),n.qZA(),n._UZ(7,"td",30),n.TgZ(8,"td",41),n._uU(9),n.YNc(10,Se,3,3,"span",9),n.qZA(),n.TgZ(11,"td"),n._uU(12),n.qZA(),n.YNc(13,Le,2,3,"td",42),n.YNc(14,Ye,2,1,"td",43),n.ALo(15,"sum"),n.YNc(16,ze,3,4,"td",44),n.qZA()),2&e){const t=o.$implicit,i=o.index,g=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",i+1+".",n.oJD),n.xp6(1),n.Q6J("ngIf",g.Model.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),n.xp6(2),n.hij(" ",t.Name,""),n.xp6(2),n.Q6J("ngIf",null!=t.Note),n.xp6(1),n.Q6J("innerHTML",t.Code,n.oJD),n.xp6(2),n.hij(" ",t.Quantity," "),n.xp6(1),n.Q6J("ngIf",1!=t.UnitQuantity),n.xp6(2),n.Oqu(t.UOMName),n.xp6(1),n.Q6J("ngIf",g.Model.Data.PriceVisible),n.xp6(1),n.Q6J("ngIf",0!=n.xi3(15,11,g.Model.Data.Items,"Discount")&&g.Model.PriceVisible),n.xp6(2),n.Q6J("ngIf",g.Model.Data.PriceVisible)}}function Be(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td",50),n._uU(4,":"),n.qZA(),n.TgZ(5,"td",51),n._uU(6),n.qZA(),n.TgZ(7,"td",15),n._uU(8),n.ALo(9,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(2),n.Oqu(t.Label),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.Oqu(n.xi3(9,3,t.Amount,i.Model.AppConfigJSON.PrintConfigGeneral.ZeroPlaceholderDecimalDigit))}}function Re(e,o){if(1&e&&(n.TgZ(0,"td",48)(1,"table",49)(2,"tbody"),n.YNc(3,Be,10,6,"tr",18),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(3),n.Q6J("ngForOf",t.Model.Data.Aggregate)}}function je(e,o){if(1&e&&(n.TgZ(0,"td",54),n._uU(1),n.ALo(2,"newlines"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(" ",n.lcZ(2,1,t.Model.Data.TotalInWord)," ")}}function Ve(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",52),n._uU(2),n.qZA(),n.TgZ(3,"td",50),n._uU(4,":"),n.qZA(),n.YNc(5,je,3,3,"td",53),n.qZA()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),n.xp6(3),n.Q6J("ngIf",t.Model.Data.TotalInWord)}}function Fe(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",52)(2,"span"),n._uU(3),n.qZA()(),n.TgZ(4,"td",50),n._uU(5," : "),n.qZA(),n.TgZ(6,"td")(7,"ul",55),n._UZ(8,"li",30),n.ALo(9,"newlines"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(3),n.Oqu(2==t.Model.Data.Invoice.Data.PaymentStateID?"Down Payment":"Payment"),n.xp6(5),n.Q6J("innerHTML",n.lcZ(9,2,t.Model.Data.PaymentLabel),n.oJD)}}function Ee(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",52),n._uU(2," Remaining "),n.qZA(),n.TgZ(3,"td",50),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",55)(7,"li"),n._uU(8),n.ALo(9,"number"),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,1,t.Model.Data.Remaining)," ")}}function $e(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",52),n._uU(2,"Attention"),n.qZA(),n.TgZ(3,"td",50),n._uU(4,":"),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(6),n.Oqu(t.Model.Data.Att)}}function We(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",52),n._uU(2,"Note"),n.qZA(),n.TgZ(3,"td",50),n._uU(4,":"),n.qZA(),n._UZ(5,"td",30),n.ALo(6,"newlines"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(5),n.Q6J("innerHTML",n.lcZ(6,1,t.Model.Data.Note),n.oJD)}}function Xe(e,o){if(1&e&&(n.TgZ(0,"div",58)(1,"h5",59),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",60),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column1,n.oJD)}}function Ge(e,o){if(1&e&&(n.TgZ(0,"div",58)(1,"h5",59),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",60),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column2,n.oJD)}}function Ke(e,o){if(1&e&&(n.TgZ(0,"div",58)(1,"h5",59),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",60),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column3,n.oJD)}}function no(e,o){if(1&e&&(n.TgZ(0,"div",58)(1,"h5",59),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",60),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column4,n.oJD)}}function to(e,o){if(1&e&&(n.TgZ(0,"div")(1,"div",56),n.YNc(2,Xe,5,1,"div",57),n.YNc(3,Ge,5,1,"div",57),n.YNc(4,Ke,5,1,"div",57),n.YNc(5,no,5,1,"div",57),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column1),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column2),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column3),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigPurchase.Signature.Column4)}}function eo(e,o){if(1&e&&(n._UZ(0,"div",61),n.ALo(1,"SafeHtml")),2&e){const t=n.oxw(2);n.Q6J("innerHTML",t.Model.Template.FooterNote?n.lcZ(1,1,t.Model.Template.FooterNote):"",n.oJD)}}function oo(e,o){if(1&e&&n._UZ(0,"small",62),2&e){const t=n.oxw(2);n.Q6J("innerHTML",t.Model.Data.Creator,n.oJD)}}function io(e,o){if(1&e&&(n.TgZ(0,"div",3)(1,"div",4)(2,"div")(3,"div",5),n.YNc(4,xe,10,9,"div",6),n.YNc(5,ve,9,6,"div",7),n.qZA(),n.TgZ(6,"div",8)(7,"h1")(8,"strong"),n._uU(9),n.qZA(),n.TgZ(10,"span"),n._uU(11),n.qZA()(),n.TgZ(12,"div")(13,"table")(14,"thead")(15,"tr")(16,"th"),n._uU(17,"Date"),n.qZA(),n.YNc(18,ye,2,0,"th",9),n.YNc(19,Ze,2,0,"th",9),n.qZA()(),n.TgZ(20,"tbody")(21,"tr")(22,"td"),n._uU(23),n.ALo(24,"date"),n.qZA(),n.YNc(25,Te,3,4,"td",9),n.YNc(26,we,2,1,"td",9),n.qZA()()()()()(),n.TgZ(27,"div",10)(28,"table",11)(29,"thead")(30,"tr")(31,"th",12),n._uU(32,"No"),n.qZA(),n.YNc(33,Ae,2,0,"th",9),n.TgZ(34,"th"),n._uU(35,"Name"),n.qZA(),n.TgZ(36,"th",13),n._uU(37,"Code"),n.qZA(),n.TgZ(38,"th",14),n._uU(39,"Qty"),n.qZA(),n.TgZ(40,"th",15),n._uU(41,"UOM"),n.qZA(),n.YNc(42,qe,4,1,"th",16),n.YNc(43,ke,2,0,"th",17),n.ALo(44,"sum"),n.YNc(45,De,4,1,"th",16),n.qZA()(),n.TgZ(46,"tbody"),n.YNc(47,He,17,14,"tr",18),n.qZA(),n.TgZ(48,"tfoot")(49,"tr",19),n._UZ(50,"td",20),n.TgZ(51,"td",21)(52,"b"),n._uU(53,"Total"),n.qZA()(),n.TgZ(54,"td",22)(55,"b"),n._uU(56),n.ALo(57,"number"),n.ALo(58,"sum"),n.qZA()(),n.YNc(59,Re,4,1,"td",23),n.qZA()()()(),n.TgZ(60,"div")(61,"table",24),n.YNc(62,Ve,6,2,"tr",9),n.YNc(63,Fe,10,4,"tr",9),n.YNc(64,Ee,10,3,"tr",9),n.YNc(65,$e,7,1,"tr",9),n.YNc(66,We,7,3,"tr",9),n.qZA(),n.TgZ(67,"div"),n.YNc(68,to,6,4,"div",9),n.qZA()(),n.YNc(69,eo,2,3,"div",25),n.YNc(70,oo,1,1,"small",26),n.qZA()()),2&e){const t=n.oxw();n.xp6(2),n.Gre("",t.Model.Template.CssClass," header clearfix"),n.xp6(2),n.Q6J("ngIf",null==t.Model||null==t.Model.AppConfigJSON||null==t.Model.AppConfigJSON.PrintConfigInvoice?null:t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Contact||t.Model.Data.ContactDisplay),n.xp6(4),n.Oqu(t.Model.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),n.xp6(2),n.hij(" ",t.Model.Data.Invoice.Data.Number," "),n.xp6(7),n.Q6J("ngIf",null!=t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",null!=t.Model.Data.ToP),n.xp6(4),n.Oqu(n.xi3(24,27,t.Model.Data.Invoice.Data.Date,"dd MMM yyyy")),n.xp6(2),n.Q6J("ngIf",null!=t.Model.Data.ToP),n.xp6(1),n.Q6J("ngIf",null!=t.Model.Data.ToP),n.xp6(7),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.CategoryVisible),n.xp6(9),n.Q6J("ngIf",t.Model.Data.PriceVisible),n.xp6(1),n.Q6J("ngIf",0!=n.xi3(44,30,t.Model.Data.Items,"Discount")&&t.Model.PriceVisible),n.xp6(2),n.Q6J("ngIf",t.Model.Data.PriceVisible),n.xp6(2),n.Q6J("ngForOf",t.Model.Data.Items),n.xp6(9),n.Oqu(n.lcZ(57,33,n.xi3(58,35,t.Model.Data.Items,"Quantity"))),n.xp6(3),n.Q6J("ngIf",t.Model.Data.PriceVisible),n.xp6(3),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible&&t.Model.Data.PriceVisible),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.PaymentMethodVisible&&t.Model.Data.PaymentLabel&&t.Model.PriceVisible),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Invoice.Data.PaymentStateID<=2&&t.Model.PriceVisible&&t.Model.AppConfigJSON.PrintConfigPurchase.Footer.RemainingVisible),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Att),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Note&&t.Model.AppConfigJSON.PrintConfigPurchase.Footer.NoteVisible),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible),n.xp6(1),n.Q6J("ngIf",1!=t.Model.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)}}let co=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"Model",{AppConfigJSON:null,Data:null,PriceVisible:!1,Template:new Me.vb}),(0,a.Z)(this,"TotalQuantity",0),(0,a.Z)(this,"TotalDiscount",0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/SupplierInvoice",JSON.stringify(t)).subscribe(i=>{this.Model.AppConfigJSON=i.AppConfigJSON,this.Model.Data=i.Data,this.Model.PriceVisible=i.PriceVisible,this.Model.Template=i.Template;for(const g of this.Model.Data.Items)this.TotalQuantity+=g.Quantity,this.TotalDiscount+=g.Discount;t.Printer&&(this.Model.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-supplier-invoice",8,"component"]],attrs:Oe,decls:3,vars:1,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],["class","print_container",4,"ngIf"],[1,"print_container"],[1,"invoice_print_container"],[1,"header_left"],["class","company",4,"ngIf"],["class","contact","style","overflow-x: hidden;",4,"ngIf"],[1,"header_right"],[4,"ngIf"],[1,"cartItems"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"text-end",2,"width","60px"],[2,"width","50px"],["class","number","style","width: 90px;",4,"ngIf"],["style","width: 20px","class","number",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","2"],[1,"number","align-top",2,"vertical-align","top"],[1,"text-center","align-top"],["class","number noTopPad","colspan","4",4,"ngIf"],[1,"info","table-secondary"],["class","note mt-4",3,"innerHTML",4,"ngIf"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"float",3,"src"],[1,"contact",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"number",2,"width","90px"],["style","word-break: break-word;",3,"innerHTML",4,"ngIf"],[1,"text-center"],["class","number",3,"innerHTML",4,"ngIf"],["class","red",4,"ngIf"],["class","number",4,"ngIf"],[2,"word-break","break-word",3,"innerHTML"],[1,"red"],[1,"number"],["colspan","4",1,"number","noTopPad"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"sep"],[1,"currency"],[1,"bg-light-gray"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note","mt-4",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.YNc(2,io,71,38,"div",2)),2&t&&(n.xp6(2),n.Q6J("ngIf",i.Model.Data))},dependencies:[c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.Qc,l.zX,l.rU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})),e})();var ao=r(69249);function go(e,o){if(1&e&&n._UZ(0,"img",32),2&e){const t=n.oxw(2);n.Q6J("src",t.template.Logo,n.LSH)}}function lo(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Contact.Email)}}function ro(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Contact.Phone)}}function _o(e,o){if(1&e&&(n.TgZ(0,"div",33)(1,"h3")(2,"span"),n._uU(3),n.qZA()(),n.TgZ(4,"div",34)(5,"strong"),n._uU(6),n.qZA(),n.TgZ(7,"div",35),n.YNc(8,lo,3,1,"div",0),n.YNc(9,ro,3,1,"div",0),n.TgZ(10,"div"),n._UZ(11,"span",12),n.ALo(12,"newlines"),n.qZA(),n.TgZ(13,"div")(14,"span"),n._uU(15),n.qZA()()()()()),2&e){const t=n.oxw(2);n.xp6(3),n.hij(" ",t.config.PrintConfigInvoice.DocumentLabel.Customer," "),n.xp6(3),n.Oqu(t.data.ContactDisplay),n.xp6(2),n.Q6J("ngIf",!t.data.IsTransfer),n.xp6(1),n.Q6J("ngIf",1!==t.config.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(2),n.Q6J("innerHTML",n.lcZ(12,6,t.data.Contact.Address),n.oJD),n.xp6(4),n.Oqu(t.data.City)}}function po(e,o){if(1&e&&(n.TgZ(0,"th",36),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" Price(",t.data.CurrencySymbol,")")}}function Co(e,o){if(1&e&&(n.TgZ(0,"th",36),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" Total(",t.data.CurrencySymbol,")")}}function Po(e,o){if(1&e&&n._UZ(0,"p",42),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",t.Note,n.oJD)}}function Mo(e,o){if(1&e&&(n.TgZ(0,"div",43),n._uU(1),n.ALo(2,"number"),n.ALo(3,"sum"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij("Qty: ",n.lcZ(2,1,n.xi3(3,3,t.data.Items,"Quantity")),"")}}function Oo(e,o){if(1&e&&(n.TgZ(0,"td",13),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.UnitPrice))}}function so(e,o){if(1&e&&(n.TgZ(0,"td",13),n._uU(1),n.ALo(2,"TrailingZero"),n.qZA()),2&e){const t=n.oxw().$implicit,i=n.oxw(2);n.xp6(1),n.Oqu(n.xi3(2,1,t.Total,i.config.PrintConfigGeneral.TrailingZero))}}function xo(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td",13),n._uU(2),n.qZA(),n.TgZ(3,"td")(4,"span"),n._uU(5),n.qZA(),n.YNc(6,Po,1,1,"p",37),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",38),n._uU(10),n.ALo(11,"number"),n.YNc(12,Mo,4,6,"div",39),n.qZA(),n.TgZ(13,"td"),n._uU(14),n.qZA(),n.YNc(15,Oo,3,3,"td",40),n.TgZ(16,"td",41),n._uU(17),n.qZA(),n.YNc(18,so,3,4,"td",40),n.qZA()),2&e){const t=o.$implicit,i=o.index,g=n.oxw(2);n.xp6(2),n.hij(" ",i+1+"."," "),n.xp6(3),n.Oqu(t.Name),n.xp6(1),n.Q6J("ngIf",null!=t.Note),n.xp6(2),n.Oqu(t.Code),n.xp6(2),n.hij(" ",n.lcZ(11,10,t.Quantity)," "),n.xp6(2),n.Q6J("ngIf",i==g.data.Items.length-1),n.xp6(2),n.Oqu(t.UOMName),n.xp6(1),n.Q6J("ngIf",g.priceVisible),n.xp6(2),n.Oqu(0!=t.Discount?"-"+t.Discount+"%":""),n.xp6(1),n.Q6J("ngIf",g.priceVisible)}}function fo(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4,":"),n.qZA(),n.TgZ(5,"td",44),n._uU(6),n.qZA(),n.TgZ(7,"td",22),n._uU(8),n.ALo(9,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(2);n.xp6(2),n.Oqu(t.Label),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.Oqu(n.xi3(9,3,t.Amount,i.config.PrintConfigGeneral.TrailingZero))}}function mo(e,o){if(1&e&&(n.TgZ(0,"td",46),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(t.data.TotalInWords)}}function uo(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.YNc(5,mo,2,1,"td",45),n.qZA()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",t.config.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang"," "),n.xp6(3),n.Q6J("ngIf",t.data.TotalInWords)}}function ho(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.hij(" ",n.xi3(2,1,t.Date,"dd MMM yy")+" ~ "," ")}}function bo(e,o){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,ho,3,4,"span",0),n.ALo(2,"checkPropValueIsSame"),n._uU(3),n.ALo(4,"number"),n._UZ(5,"br"),n.qZA()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(1),n.Q6J("ngIf",n.xi3(2,4,i.data.Payments,"Date")),n.xp6(2),n.lnq(" ",t.MethodName," ",t.Note?t.Note:""," ",t.Amount<i.data.FinalAmount?" - "+n.lcZ(4,7,t.Amount):""," ")}}function vo(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td"),n.YNc(6,bo,6,9,"span",25),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",2==t.data.Invoice.PaymentStateID?"Down Payment":"Payment"," "),n.xp6(4),n.Q6J("ngForOf",t.data.Payments)}}function yo(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Note : "),n.qZA(),n.TgZ(3,"td"),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",47)(7,"li"),n._uU(8),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",t.data.Invoice.Note," ")}}function Zo(e,o){if(1&e&&(n.TgZ(0,"div",50)(1,"h5",51),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",52),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.config.PrintConfigInvoice.Signature.Column1,n.oJD)}}function To(e,o){if(1&e&&(n.TgZ(0,"div",50)(1,"h5",51),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",52),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.config.PrintConfigInvoice.Signature.Column2,n.oJD)}}function wo(e,o){if(1&e&&(n.TgZ(0,"div",50)(1,"h5",51),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",52),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.config.PrintConfigInvoice.Signature.Column3,n.oJD)}}function Ao(e,o){if(1&e&&(n.TgZ(0,"div",50)(1,"h5",51),n._uU(2,"\xa0"),n.qZA(),n.TgZ(3,"div",52),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.config.PrintConfigInvoice.Signature.Column4,n.oJD)}}function Io(e,o){if(1&e&&(n.TgZ(0,"div",48),n.YNc(1,Zo,5,1,"div",49),n.YNc(2,To,5,1,"div",49),n.YNc(3,wo,5,1,"div",49),n.YNc(4,Ao,5,1,"div",49),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Signature.Column1),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Signature.Column2),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Signature.Column3),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Signature.Column4)}}function qo(e,o){if(1&e&&(n.TgZ(0,"div",56),n._UZ(1,"span",12),n.ALo(2,"SafeHtml"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",n.lcZ(2,1,t.template.FooterLeft),n.oJD)}}function ko(e,o){if(1&e&&(n.TgZ(0,"div",57),n._UZ(1,"span",12),n.ALo(2,"SafeHtml"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",n.lcZ(2,1,t.template.FooterRight),n.oJD)}}function Uo(e,o){if(1&e&&(n.TgZ(0,"div",53),n.YNc(1,qo,3,3,"div",54),n.YNc(2,ko,3,3,"div",55),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.template.FooterRight),n.xp6(1),n.Q6J("ngIf",t.template.FooterRight)}}function Do(e,o){if(1&e&&(n.ynx(0),n._UZ(1,"link",1)(2,"link",2),n.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),n.YNc(8,go,1,1,"img",8),n.TgZ(9,"div",9)(10,"h2"),n._uU(11),n.qZA(),n.TgZ(12,"small"),n._uU(13),n.qZA(),n.TgZ(14,"div",10)(15,"div",11),n._UZ(16,"span",12),n.ALo(17,"newlines"),n.qZA(),n.TgZ(18,"div",13),n._UZ(19,"span",12),n.ALo(20,"newlines"),n.qZA()()()(),n.YNc(21,_o,16,8,"div",14),n.qZA(),n.TgZ(22,"div",15)(23,"h1")(24,"strong"),n._uU(25),n.qZA(),n.TgZ(26,"span"),n._uU(27),n.qZA()(),n.TgZ(28,"div")(29,"table")(30,"thead")(31,"tr")(32,"th"),n._uU(33,"Date"),n.qZA()()(),n.TgZ(34,"tbody")(35,"tr")(36,"td"),n._uU(37),n.ALo(38,"date"),n.qZA()()()()()()()(),n.TgZ(39,"section",16)(40,"div",17)(41,"table",18)(42,"thead")(43,"tr")(44,"th",19),n._uU(45,"No"),n.qZA(),n.TgZ(46,"th"),n._uU(47,"Name"),n.qZA(),n.TgZ(48,"th",20),n._uU(49,"Code"),n.qZA(),n.TgZ(50,"th",21),n._uU(51,"Qty"),n.qZA(),n.TgZ(52,"th",22),n._uU(53,"UOM"),n.qZA(),n.YNc(54,po,2,1,"th",23),n.TgZ(55,"th",24),n._uU(56,"%"),n.qZA(),n.YNc(57,Co,2,1,"th",23),n.qZA()(),n.TgZ(58,"tbody"),n.YNc(59,xo,19,12,"tr",25),n.qZA(),n.TgZ(60,"tfoot")(61,"tr",26)(62,"td",27)(63,"table",28)(64,"tbody"),n.YNc(65,fo,10,6,"tr",25),n.qZA()()()()()()()(),n.TgZ(66,"table",29),n.YNc(67,uo,6,2,"tr",0),n.YNc(68,vo,7,2,"tr",0),n.YNc(69,yo,9,1,"tr",0),n.qZA(),n.TgZ(70,"div")(71,"div"),n.YNc(72,Io,5,4,"div",30),n.qZA()(),n.YNc(73,Uo,3,2,"div",31),n.qZA(),n.BQk()),2&e){const t=n.oxw();n.xp6(8),n.Q6J("ngIf",t.template.Logo),n.xp6(3),n.Oqu(t.template.Name),n.xp6(2),n.Oqu(t.template.Field),n.xp6(3),n.Q6J("innerHTML",n.lcZ(17,18,t.template.Address),n.oJD),n.xp6(3),n.Q6J("innerHTML",n.lcZ(20,20,t.template.ContactInfo),n.oJD),n.xp6(2),n.Q6J("ngIf",t.data.ContactDisplay),n.xp6(4),n.Oqu(t.data.Prefixed),n.xp6(2),n.hij(" ",t.data.Invoice.Number," "),n.xp6(10),n.Oqu(n.xi3(38,22,t.data.Invoice.Date,"dd MMM yyyy")),n.xp6(17),n.Q6J("ngIf",t.priceVisible),n.xp6(3),n.Q6J("ngIf",t.priceVisible),n.xp6(2),n.Q6J("ngForOf",t.data.Items),n.xp6(6),n.Q6J("ngForOf",t.data.Aggregate),n.xp6(2),n.Q6J("ngIf",t.config.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible||t.data.TotalInWords),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Footer.PaymentMethodVisible),n.xp6(1),n.Q6J("ngIf",t.data.Invoice.Note),n.xp6(3),n.Q6J("ngIf",t.config.PrintConfigGeneral.Visibility.Visible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Footer.NoteVisible)}}let Jo=(()=>{class e{constructor(t,i,g){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"roleService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"template",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"roles",void 0),(0,a.Z)(this,"priceVisible",void 0),this.httpService=t,this.activeRoute=i,this.roleService=g,this.priceVisible=g.sell.PriceVisible}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/EstimateInvoice",JSON.stringify(t)).subscribe(i=>{this.data=i.Data,this.template=i.Template,this.config=i.AppConfigJSON,this.roles=i.Roles})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz),n.Y36(m.N))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-estimate"]],decls:1,vars:1,consts:[[4,"ngIf"],["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],[1,"print_container"],[1,"sales_order_A4"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[1,"contact_info","clearfix"],[1,"address"],[3,"innerHTML"],[1,"number"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[2,"width","100px"],[1,"number",2,"width","150px"],[2,"width","50px"],["class","number","style","width: 100px;",4,"ngIf"],[1,"number",2,"width","30px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","8",1,"number","noTopPad"],["cellspacing","0","cellpadding","0",1,"rightAuto"],[1,"info"],["class","signature row justify-content-between",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact"],[1,"box"],[1,"customer_info"],[1,"number",2,"width","100px"],["class","text-muted","style","word-break:break-all",3,"innerHTML",4,"ngIf"],[1,"number",2,"position","relative"],["style","position: absolute; padding: 10px 7px; right: 0","class","total-qty fw-bold",4,"ngIf"],["class","number",4,"ngIf"],[1,"number","red"],[1,"text-muted",2,"word-break","break-all",3,"innerHTML"],[1,"total-qty","fw-bold",2,"position","absolute","padding","10px 7px","right","0"],[1,"currency"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[1,"signature","row","justify-content-between"],["class","col-3",4,"ngIf"],[1,"col-3"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"note"],["class","left",4,"ngIf"],["class","right",4,"ngIf"],[1,"left"],[1,"right"]],template:function(t,i){1&t&&n.YNc(0,Do,74,25,"ng-container",0),2&t&&n.Q6J("ngIf",i.data)},dependencies:[c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.Qc,l.zX,l.LZ],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}']})),e})();function No(e,o){if(1&e&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",null==t.data?null:t.data.Register.Code," ")}}function So(e,o){if(1&e&&(n.TgZ(0,"div",14)(1,"div",13),n._uU(2," NOTE "),n.qZA(),n.TgZ(3,"div",13),n._uU(4),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(4),n.hij(" ",t.data.Session.Note," ")}}function Lo(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",t.config.PrintConfigInvoice.Footer.TaxableSales," "),n.xp6(2),n.hij(" ",n.xi3(5,2,t.data.InvoiceAggregate.TaxableSale,t.decimal)," ")}}function Qo(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.hij(" ",t.config.PrintConfigInvoice.Footer.TaxExemptSales," "),n.xp6(2),n.hij(" ",n.xi3(5,2,t.data.InvoiceAggregate.TaxExemptSale,t.config.PrintConfigGeneral.ZeroPlaceholderDecimalDigit)," ")}}function Yo(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",t.Quantity," ")}}function zo(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",38),n._uU(3,"Variant Sales"),n.qZA(),n.YNc(4,Yo,5,2,"div",32),n.TgZ(5,"div",23)(6,"div",24),n._uU(7," Total "),n.qZA(),n.TgZ(8,"div",25),n._uU(9),n.ALo(10,"number"),n.ALo(11,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(4),n.Q6J("ngForOf",t.data.VariantSales),n.xp6(5),n.hij(" ",n.lcZ(10,2,n.xi3(11,4,t.data.VariantSales,"Quantity"))," ")}}function Ho(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2," Visitors "),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(4),n.hij(" ",n.lcZ(5,1,t.data.Session.Visitors)," ")}}function Bo(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",n.lcZ(5,2,t.Total)," ")}}function Ro(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",38),n._uU(3,"Category Sales"),n.qZA(),n.YNc(4,Bo,6,4,"div",32),n.TgZ(5,"div",23)(6,"div",24),n._uU(7," Total "),n.qZA(),n.TgZ(8,"div",25),n._uU(9),n.ALo(10,"number"),n.ALo(11,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(4),n.Q6J("ngForOf",t.data.CategorySales),n.xp6(5),n.hij(" ",n.lcZ(10,2,n.xi3(11,4,t.data.CategorySales,"Total"))," ")}}function jo(e,o){1&e&&(n.TgZ(0,"div",39),n._uU(1," \xb1 "),n.qZA())}const Vo=function(e,o){return{"text-success":e,"text-danger":o}};function Fo(e,o){if(1&e&&(n.TgZ(0,"div",44),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.Q6J("ngClass",n.WLB(4,Vo,t.ShortOver>0,t.ShortOver<0)),n.xp6(1),n.hij(" ",n.lcZ(2,2,t.ShortOver)," ")}}function Eo(e,o){if(1&e&&(n.TgZ(0,"div",41)(1,"div",39),n._uU(2),n.qZA(),n.TgZ(3,"div",39),n._uU(4),n.ALo(5,"number"),n.qZA(),n.TgZ(6,"div",39),n._uU(7),n.ALo(8,"number"),n.qZA(),n.YNc(9,jo,2,0,"div",42),n.YNc(10,Fo,3,7,"div",43),n.qZA()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",n.lcZ(5,5,t.Start)," "),n.xp6(3),n.hij(" ",n.lcZ(8,7,t.Amount)," "),n.xp6(2),n.Q6J("ngIf",t.ShortOver),n.xp6(1),n.Q6J("ngIf",t.ShortOver)}}function $o(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",28),n._uU(3,"Balance"),n.qZA(),n.TgZ(4,"div",33)(5,"div",39),n._uU(6," Type "),n.qZA(),n.TgZ(7,"div",39),n._uU(8," Start "),n.qZA(),n.TgZ(9,"div",39),n._uU(10," End "),n.qZA()(),n.YNc(11,Eo,11,9,"div",40),n.TgZ(12,"div",33)(13,"div",39),n._uU(14," Total "),n.qZA(),n.TgZ(15,"div",39),n._uU(16),n.ALo(17,"number"),n.ALo(18,"sum"),n.qZA(),n.TgZ(19,"div",39),n._uU(20),n.ALo(21,"number"),n.ALo(22,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(11),n.Q6J("ngForOf",t.data.Payment),n.xp6(5),n.hij(" ",n.lcZ(17,3,n.xi3(18,5,t.data.Payment,"Start"))," "),n.xp6(4),n.hij(" ",n.lcZ(21,8,n.xi3(22,10,t.data.Payment,"Amount"))," ")}}function Wo(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",n.lcZ(5,2,t.Received)," ")}}function Xo(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",38),n._uU(3,"Account Receivable"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Amount "),n.qZA(),n.TgZ(7,"div",25),n._uU(8),n.ALo(9,"number"),n.qZA()(),n.TgZ(10,"div",23)(11,"div",24),n._uU(12," Transaction "),n.qZA(),n.TgZ(13,"div",25),n._uU(14),n.ALo(15,"number"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,2,t.data.InvoiceAR.Amount)," "),n.xp6(6),n.hij(" ",n.lcZ(15,4,t.data.InvoiceAR.Count)," ")}}function Go(e,o){if(1&e&&(n.TgZ(0,"div",41)(1,"div",39),n._uU(2),n.qZA(),n.TgZ(3,"div",39),n._uU(4),n.ALo(5,"number"),n.qZA(),n.TgZ(6,"div",39),n._uU(7),n.ALo(8,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",n.lcZ(5,3,t.Quantity)," "),n.xp6(3),n.hij(" ",n.lcZ(8,5,t.Total)," ")}}function Ko(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",45),n._uU(3,"Products w. Commission"),n.qZA(),n.TgZ(4,"div",41)(5,"div",39),n._uU(6," Name "),n.qZA(),n.TgZ(7,"div",39),n._uU(8," Qty "),n.qZA(),n.TgZ(9,"div",39),n._uU(10," Total "),n.qZA()(),n.YNc(11,Go,9,7,"div",40),n.TgZ(12,"div",41)(13,"div",39),n._uU(14," Total "),n.qZA(),n.TgZ(15,"div",39),n._uU(16),n.ALo(17,"number"),n.ALo(18,"sum"),n.qZA(),n.TgZ(19,"div",39),n._uU(20),n.ALo(21,"number"),n.ALo(22,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(11),n.Q6J("ngForOf",t.data.VariantCommission),n.xp6(5),n.hij(" ",n.lcZ(17,3,n.xi3(18,5,t.data.VariantCommission,"Quantity"))," "),n.xp6(4),n.hij(" ",n.lcZ(21,8,n.xi3(22,10,t.data.VariantCommission,"Total"))," ")}}function ni(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",22),n._uU(3,"Return"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Quantity "),n.qZA(),n.TgZ(7,"div",25),n._uU(8),n.ALo(9,"number"),n.qZA()(),n.TgZ(10,"div",23)(11,"div",24),n._uU(12," Total Price "),n.qZA(),n.TgZ(13,"div",25),n._uU(14),n.ALo(15,"number"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,2,t.data.ReturnTotal)," "),n.xp6(6),n.hij(" ",n.lcZ(15,4,t.data.ReturnPrice)," ")}}function ti(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",28),n._uU(3,"Void Invoice"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Transaction "),n.qZA(),n.TgZ(7,"div",25),n._uU(8),n.ALo(9,"number"),n.qZA()(),n.TgZ(10,"div",23)(11,"div",24),n._uU(12," Invoice "),n.qZA(),n.TgZ(13,"div",25),n._uU(14),n.qZA()(),n.TgZ(15,"div",23)(16,"div",24),n._uU(17," Total "),n.qZA(),n.TgZ(18,"div",25),n._uU(19),n.ALo(20,"number"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,3,t.data.TotalVoid)," "),n.xp6(6),n.hij(" ",t.data.VoidInvoiceRange," "),n.xp6(5),n.hij(" ",n.lcZ(20,5,t.data.TotalVoidSales)," ")}}function ei(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",28),n._uU(3,"History"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Z-Count "),n.qZA(),n.TgZ(7,"div",25),n._uU(8),n.ALo(9,"number"),n.qZA()(),n.TgZ(10,"div",23)(11,"div",24),n._uU(12," Current Gross "),n.qZA(),n.TgZ(13,"div",24),n._uU(14),n.ALo(15,"TrailingZero"),n.qZA()(),n.TgZ(16,"div",23)(17,"div",24),n._uU(18," Previous "),n.qZA(),n.TgZ(19,"div",25),n._uU(20),n.ALo(21,"number"),n.qZA()(),n.TgZ(22,"div",23)(23,"div",24),n._uU(24," Accumulated "),n.qZA(),n.TgZ(25,"div",25),n._uU(26),n.ALo(27,"TrailingZero"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,4,t.data.ZCount)," "),n.xp6(6),n.hij(" ",n.xi3(15,6,t.data.InvoiceAggregate.SalesWithTax,t.config.PrintConfigGeneral.TrailingZero)," "),n.xp6(6),n.hij(" ",n.lcZ(21,9,t.data.AccumulatedHistory)," "),n.xp6(6),n.hij(" ",n.lcZ(27,11,t.data.InvoiceAggregate.SalesWithTax+t.data.AccumulatedHistory)," ")}}function oi(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",22),n._uU(3,"Point"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Point Used "),n.qZA(),n.TgZ(7,"div",25),n._uU(8),n.ALo(9,"number"),n.qZA()(),n.TgZ(10,"div",23)(11,"div",24),n._uU(12," Point Discount "),n.qZA(),n.TgZ(13,"div",25),n._uU(14),n.ALo(15,"number"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(8),n.hij(" ",n.lcZ(9,2,t.data.PointUsed)," "),n.xp6(6),n.hij(" ",n.lcZ(15,4,t.data.PointUsed*t.config.POS.LoyaltyPoint.EarnPointAmount)," ")}}function ii(e,o){if(1&e&&(n.TgZ(0,"div",41)(1,"div",39),n._uU(2),n.qZA(),n.TgZ(3,"div",39),n._uU(4),n.qZA(),n.TgZ(5,"div",39),n._uU(6),n.ALo(7,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.PriceDisplay," "),n.xp6(2),n.hij(" ",t.Quantity," "),n.xp6(2),n.hij(" ",n.lcZ(7,3,t.Total)," ")}}function ci(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",46),n._uU(3,"Denomination"),n.qZA(),n.TgZ(4,"div",41)(5,"div",39),n._uU(6," Cash Denomination "),n.qZA(),n.TgZ(7,"div",39),n._uU(8," Qty "),n.qZA(),n.TgZ(9,"div",39),n._uU(10," Total "),n.qZA()(),n.YNc(11,ii,8,5,"div",40),n.TgZ(12,"div",47)(13,"div",48),n._uU(14," Total "),n.qZA(),n.TgZ(15,"div",49),n._uU(16),n.ALo(17,"number"),n.ALo(18,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(11),n.Q6J("ngForOf",t.data.Denominations),n.xp6(5),n.hij(" ",n.lcZ(17,2,n.xi3(18,4,t.data.Denominations,"Total"))," ")}}function ai(e,o){if(1&e&&(n.TgZ(0,"div",23)(1,"div",24),n._uU(2),n.qZA(),n.TgZ(3,"div",25),n._uU(4),n.ALo(5,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",n.lcZ(5,2,t.Amount)," ")}}function gi(e,o){if(1&e&&(n.TgZ(0,"div",50),n._UZ(1,"div",6),n.TgZ(2,"h2",51),n._uU(3,"Expense"),n.qZA(),n.TgZ(4,"div",23)(5,"div",24),n._uU(6," Label "),n.qZA(),n.TgZ(7,"div",25),n._uU(8," Amount "),n.qZA()(),n.YNc(9,ai,6,4,"div",32),n.qZA()),2&e){const t=n.oxw(2);n.xp6(9),n.Q6J("ngForOf",t.data.Expenses)}}function di(e,o){if(1&e&&(n.TgZ(0,"div",41)(1,"div",52),n._uU(2),n.qZA(),n.TgZ(3,"div",53),n._uU(4),n.qZA(),n.TgZ(5,"div",54),n._uU(6),n.ALo(7,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.hij(" ",t.Count," "),n.xp6(2),n.hij(" ",n.lcZ(7,3,t.SalesNet)," ")}}function li(e,o){if(1&e&&(n.TgZ(0,"div",21),n._UZ(1,"div",6),n.TgZ(2,"h2",46),n._uU(3,"Sales Type"),n.qZA(),n.TgZ(4,"div",41)(5,"div",52),n._uU(6," Type "),n.qZA(),n.TgZ(7,"div",53),n._uU(8," Qty "),n.qZA(),n.TgZ(9,"div",54),n._uU(10," Amount "),n.qZA()(),n.YNc(11,di,8,5,"div",40),n.TgZ(12,"div",23)(13,"div",24),n._uU(14," Total "),n.qZA(),n.TgZ(15,"div",54),n._uU(16),n.ALo(17,"number"),n.ALo(18,"sum"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(11),n.Q6J("ngForOf",t.data.ListSalesType),n.xp6(5),n.hij(" ",n.lcZ(17,2,n.xi3(18,4,t.data.ListSalesType,"SalesNet"))," ")}}function ri(e,o){if(1&e&&(n.TgZ(0,"div",1),n._UZ(1,"link",2)(2,"link",3),n.TgZ(3,"div",4)(4,"div",5)(5,"span"),n._uU(6),n.qZA()(),n._UZ(7,"div",6),n.TgZ(8,"div",7)(9,"h2",8),n._uU(10),n.qZA(),n.TgZ(11,"i",9),n._uU(12),n.qZA(),n._UZ(13,"div",10),n.ALo(14,"newlines"),n.YNc(15,No,2,1,"div",11),n._UZ(16,"div",10),n.ALo(17,"newlines"),n.qZA(),n._UZ(18,"div"),n.TgZ(19,"div")(20,"div",12)(21,"div",13),n._uU(22," CASHIER "),n.qZA(),n.TgZ(23,"div",13),n._uU(24),n.qZA()(),n.TgZ(25,"div",14)(26,"div",13),n._uU(27," REGISTER "),n.qZA(),n.TgZ(28,"div",13),n._uU(29),n.qZA()(),n.YNc(30,So,5,1,"div",15),n.qZA(),n._UZ(31,"div",16),n.TgZ(32,"div")(33,"div",17)(34,"div",13),n._uU(35," START TIME "),n.qZA(),n.TgZ(36,"div",13),n._uU(37," END TIME "),n.qZA()(),n.TgZ(38,"div",18)(39,"div",13)(40,"span",19),n._uU(41),n.ALo(42,"date"),n.qZA()(),n.TgZ(43,"div",13)(44,"span",19),n._uU(45),n.ALo(46,"date"),n.qZA()()(),n.TgZ(47,"div",20)(48,"div",13),n._uU(49),n.ALo(50,"date"),n.qZA(),n.TgZ(51,"div",13),n._uU(52),n.ALo(53,"date"),n.qZA()()(),n.TgZ(54,"div",21),n._UZ(55,"div",6),n.TgZ(56,"h2",22),n._uU(57,"Sales"),n.qZA(),n.TgZ(58,"div",23)(59,"div",24),n._uU(60," New Sales "),n.qZA(),n.TgZ(61,"div",25),n._uU(62),n.ALo(63,"number"),n.qZA()(),n.TgZ(64,"div",23)(65,"div",24),n._uU(66," Discount "),n.qZA(),n.TgZ(67,"div",25),n._uU(68),n.ALo(69,"number"),n.qZA()(),n.TgZ(70,"div",23)(71,"div",24),n._uU(72),n.qZA(),n.TgZ(73,"div",25),n._uU(74),n.ALo(75,"number"),n.qZA()(),n.YNc(76,Lo,6,5,"div",26),n.YNc(77,Qo,6,5,"div",26),n.TgZ(78,"div",23)(79,"div",24),n._uU(80),n.qZA(),n.TgZ(81,"div",25),n._uU(82),n.ALo(83,"number"),n.qZA()(),n.TgZ(84,"div",23)(85,"div",24),n._uU(86),n.qZA(),n.TgZ(87,"div",25),n._uU(88),n.ALo(89,"number"),n.qZA()()(),n.YNc(90,zo,12,7,"div",27),n.TgZ(91,"div",21),n._UZ(92,"div",6),n.TgZ(93,"h2",28),n._uU(94,"Summary"),n.qZA(),n.TgZ(95,"div",23)(96,"div",24),n._uU(97," Transaction "),n.qZA(),n.TgZ(98,"div",25),n._uU(99),n.qZA()(),n.TgZ(100,"div",23)(101,"div",29),n._uU(102," Invoice "),n.qZA(),n.TgZ(103,"div",30),n._uU(104),n.qZA()(),n.TgZ(105,"div",23)(106,"div",24),n._uU(107," Item Sold "),n.qZA(),n.TgZ(108,"div",25),n._uU(109),n.ALo(110,"number"),n.qZA()(),n.YNc(111,Ho,6,3,"div",26),n.qZA(),n.YNc(112,Ro,12,7,"div",27),n.YNc(113,$o,23,13,"div",27),n.TgZ(114,"div",21),n._UZ(115,"div",6),n.TgZ(116,"h2",31),n._uU(117,"Payment Method"),n.qZA(),n.YNc(118,Wo,6,4,"div",32),n.TgZ(119,"div",33)(120,"div",24),n._uU(121," Total "),n.qZA(),n.TgZ(122,"div",25),n._uU(123),n.ALo(124,"number"),n.ALo(125,"sum"),n.qZA()()(),n.YNc(126,Xo,16,6,"div",27),n.YNc(127,Ko,23,13,"div",27),n.YNc(128,ni,16,6,"div",27),n.YNc(129,ti,21,7,"div",27),n.YNc(130,ei,28,13,"div",27),n.YNc(131,oi,16,6,"div",27),n.YNc(132,ci,19,7,"div",27),n.YNc(133,gi,10,1,"div",34),n.YNc(134,li,19,7,"div",27),n.TgZ(135,"div",35),n._UZ(136,"span",36),n.ALo(137,"newlines"),n.qZA(),n.TgZ(138,"span",37),n._uU(139),n.qZA()()()),2&e){const t=n.oxw();n.xp6(6),n.Oqu(null==t.config.PrintConfigClosure||null==t.config.PrintConfigClosure.header?null:t.config.PrintConfigClosure.header.RegisterClosure),n.xp6(4),n.hij(" ",t.template.DisplayName," "),n.xp6(2),n.hij(" ",t.template.Field," "),n.xp6(1),n.Q6J("innerHTML",n.lcZ(14,43,t.template.Address),n.oJD),n.xp6(2),n.Q6J("ngIf",t.config.PrintConfigInvoice.DocumentVisibility.RegisterCode),n.xp6(1),n.Q6J("innerHTML",n.lcZ(17,45,t.template.ContactInfo),n.oJD),n.xp6(8),n.hij(" ",t.data.Cashier," "),n.xp6(5),n.hij(" ",t.data.Register.Name," "),n.xp6(1),n.Q6J("ngIf",(null==t.data||null==t.data.Session||null==t.data.Session.Note?null:t.data.Session.Note.length)>0),n.xp6(11),n.Oqu(n.xi3(42,47,t.data.StartTime,"HH:mm")),n.xp6(4),n.Oqu(n.xi3(46,50,t.data.EndTime,"HH:mm")),n.xp6(4),n.hij(" ",n.xi3(50,53,t.data.StartTime,"dd MMM")," "),n.xp6(3),n.hij(" ",n.xi3(53,56,t.data.EndTime,"dd MMM")," "),n.xp6(10),n.hij(" ",n.xi3(63,59,t.data.InvoiceAggregate.GrossSales,t.decimal)," "),n.xp6(6),n.hij(" ",n.xi3(69,62,t.data.InvoiceAggregate.Discount,t.decimal)," "),n.xp6(4),n.hij(" ",t.config.PrintConfigInvoice.Footer.Tax," "),n.xp6(2),n.hij(" ",n.xi3(75,65,t.data.InvoiceAggregate.TaxAmount,t.decimal)," "),n.xp6(2),n.Q6J("ngIf",t.config.PrintConfigInvoice.Footer.TaxDetailVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigInvoice.Footer.TaxDetailVisible),n.xp6(3),n.hij(" ",t.config.PrintConfigCore.SurchargePcg||"Surcharge"," "),n.xp6(2),n.hij(" ",n.lcZ(83,68,t.data.Session.Surcharge)," "),n.xp6(4),n.hij(" Sales + ",t.config.PrintConfigInvoice.Footer.Tax," "),n.xp6(2),n.hij(" ",n.lcZ(89,70,t.data.InvoiceAggregate.SalesWithoutTax+t.data.InvoiceAggregate.TaxAmount)," "),n.xp6(2),n.Q6J("ngIf",t.data.VariantSales.length>0&&t.config.PrintConfigClosure.Visibility.ClosureVariant),n.xp6(9),n.hij(" ",t.data.InvoiceAggregate.Orders," "),n.xp6(5),n.hij(" ",t.data.InvoiceRange," "),n.xp6(5),n.hij(" ",n.lcZ(110,72,t.data.InvoiceAggregate.ItemsQuantity)," "),n.xp6(2),n.Q6J("ngIf",null!=(null==t.data||null==t.data.Session?null:t.data.Session.Visitors)),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigClosure.Visibility.CategorySalesVisible),n.xp6(1),n.Q6J("ngIf",t.data.Balance),n.xp6(5),n.Q6J("ngForOf",t.data.Payment),n.xp6(5),n.hij(" ",n.lcZ(124,74,n.xi3(125,76,t.data.Payment,"Received"))," "),n.xp6(3),n.Q6J("ngIf",t.data.InvoiceAR.Count>0),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigClosure.Visibility.ProductsWithCommission),n.xp6(1),n.Q6J("ngIf",t.data.ReturnTotal<0),n.xp6(1),n.Q6J("ngIf",t.data.TotalVoid>0&&t.config.PrintConfigClosure.Visibility.VoidInvoice),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigClosure.Visibility.HistoryVisible),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigClosure.Visibility.PointUsed),n.xp6(1),n.Q6J("ngIf",t.data.Denominations.length>0),n.xp6(1),n.Q6J("ngIf",t.data.Expenses.length>0),n.xp6(1),n.Q6J("ngIf",t.data.ListSalesType.length>0),n.xp6(2),n.Q6J("innerHTML",n.lcZ(137,79,t.template.EodFooter),n.oJD),n.xp6(3),n.Oqu(t.data.PrintDate)}}let _i=(()=>{class e{constructor(t,i){(0,a.Z)(this,"activatedRoute",void 0),(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"config",void 0),(0,a.Z)(this,"template",void 0),(0,a.Z)(this,"decimal",""),this.activatedRoute=t,this.httpService=i}ngOnInit(){this.activatedRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/API/Print/RegisterClosure",JSON.stringify(t)).subscribe(i=>{this.data=i.Data,this.config=i.AppConfigJSON;const g=this.config.PrintConfigGeneral.TrailingZero;this.decimal=0!=g?"1."+g+"-"+g:"0.0-0",this.template=i.Template,this.filterDenomination()})})}filterDenomination(){const t=this.data.Denominations;t&&(this.data.Denominations=t.filter(i=>!(0==i.Quantity&&0==i.Total)))}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(_.gz),n.Y36(p.O))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-register-closure"]],decls:1,vars:1,consts:[["class","print_container",4,"ngIf"],[1,"print_container"],["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSize8cm_custom.css","type","text/css"],[1,"closure_print_container","container-fluid"],[1,"header"],[1,"dotted"],[1,"text-center","my-2"],[1,"m-0","fw-bold"],[1,"d-block"],[1,"mt-2",3,"innerHTML"],[4,"ngIf"],[1,"row","text-center","g-0","mt-2","mb-1"],[1,"col-6"],[1,"row","text-center","g-0","mb-1"],["class","row text-center g-0 mb-1",4,"ngIf"],[1,"sep","mt-2"],[1,"row","text-center","g-0","mt-2"],[1,"row","text-center","g-0","my-2"],[1,"time"],[1,"row","text-center","g-0"],[1,"pane","my-5"],[1,"mx-auto","text-center","col-4"],[1,"row","g-0"],[1,"col-6","text-start"],[1,"col-6","text-end"],["class","row g-0",4,"ngIf"],["class","pane my-5",4,"ngIf"],[1,"mx-auto","text-center","col-5"],[1,"col-5","text-start","d-flex","align-items-center"],[1,"col-7","text-end"],[1,"mx-auto","text-center","col-8"],["class","row g-0",4,"ngFor","ngForOf"],[1,"row","g-0","fw-bold","text-center"],["class","pane my-3",4,"ngIf"],[1,"footPrint"],["id","eodfooter",1,"ps-0",3,"innerHTML"],[1,"printDate","fw-bold"],[1,"mx-auto","text-center","col-7"],[1,"col-4"],["class","row g-0 text-center",4,"ngFor","ngForOf"],[1,"row","g-0","text-center"],["class","col-4",4,"ngIf"],["class","col-4 offset-4",3,"ngClass",4,"ngIf"],[1,"col-4","offset-4",3,"ngClass"],[1,"mx-auto","text-center","col-10"],[1,"mx-auto","text-center","col-6"],[1,"row","g-0","fw-bold"],[1,"col-8","text-start"],[1,"col-4","text-center"],[1,"pane","my-3"],[1,"mx-auto","text-center",2,"width","80px"],[1,"col-4","text-start"],[1,"col-2"],[1,"col-4","text-end"]],template:function(t,i){1&t&&n.YNc(0,ri,140,81,"div",0),2&t&&n.Q6J("ngIf",i.data)},dependencies:[c.mk,c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.Qc],styles:['body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{margin:0;padding:0;text-align:center;font-family:Arial;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:238px;text-align:left}div.header[_ngcontent-%COMP%]{text-align:center;margin:10px 0 0}.preline.center[_ngcontent-%COMP%]{text-align:center;white-space:pre-line;word-break:break-word}.preline.left[_ngcontent-%COMP%]{text-align:left;white-space:pre-line;word-break:break-word}div.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;font-weight:700;letter-spacing:10px}div.headerOutlet[_ngcontent-%COMP%]{text-align:center}h1[_ngcontent-%COMP%]{font-size:20px!important}div.headerOutlet[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{border:none!important;font-size:35px!important;font-weight:400;margin:0;padding:0}table.cashier[_ngcontent-%COMP%]{width:225px!important;margin-left:10px}table.cashier[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:25px}table.start[_ngcontent-%COMP%]{float:left;width:49%}table.end[_ngcontent-%COMP%]{float:right;width:49%}table.start[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:10px}table.start[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] tr.time[_ngcontent-%COMP%]{height:45px}table.start[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.start[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.end[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center}table[_ngcontent-%COMP%] tr.footer[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-weight:700}span.time[_ngcontent-%COMP%]{border:1px dotted Black;font-size:18px;font-weight:700;padding:3px 15px;background-color:#ffffbf}div.pane[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Roboto Slab,serif;font-size:12px;margin-top:-9px}.fontsize-12[_ngcontent-%COMP%]{font-size:12px}table.plain[_ngcontent-%COMP%]{width:100%}th.number[_ngcontent-%COMP%], td.number[_ngcontent-%COMP%]{text-align:right!important}span.printDate[_ngcontent-%COMP%]{text-align:center;display:block}div.dotted[_ngcontent-%COMP%]{border-bottom:1px dotted Black;margin:0}div.sep[_ngcontent-%COMP%]{border-bottom:1px solid Black;margin:0;padding:0}div.footPrint[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{padding-left:15px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:12px;padding:5px 8px}']})),e})();function pi(e,o){if(1&e&&(n.TgZ(0,"tbody")(1,"tr",22)(2,"td",23),n._uU(3),n._UZ(4,"br"),n._uU(5),n.qZA()(),n.TgZ(6,"tr",24)(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",25),n._uU(10),n.qZA()()()),2&e){const t=o.$implicit;n.xp6(3),n.hij(" ",t.Name,""),n.xp6(2),n.hij("",t.Note," "),n.xp6(3),n.Oqu(t.Code),n.xp6(2),n.Oqu(t.Quantity)}}function Ci(e,o){if(1&e&&(n.TgZ(0,"tbody")(1,"tr",22)(2,"td",23),n._uU(3),n._UZ(4,"br"),n._uU(5),n.qZA()(),n.TgZ(6,"tr",24)(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",25),n._uU(10),n.qZA()()()),2&e){const t=o.$implicit;n.xp6(3),n.hij(" ",t.Name,""),n.xp6(2),n.hij("",t.Note," "),n.xp6(3),n.Oqu(t.Code),n.xp6(2),n.Oqu(t.Quantity)}}function Pi(e,o){if(1&e&&(n.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8),n._UZ(4,"img",9),n.TgZ(5,"div",10)(6,"h2"),n._uU(7),n.qZA(),n.TgZ(8,"small"),n._uU(9),n.qZA(),n.TgZ(10,"div",11),n._uU(11),n.qZA()()()(),n.TgZ(12,"div",12)(13,"h1")(14,"strong"),n._uU(15,"JOB ORDER #"),n.qZA(),n.TgZ(16,"span",13),n._uU(17),n.qZA()()()(),n.TgZ(18,"h1",14),n._uU(19),n.qZA(),n.TgZ(20,"span",15),n._uU(21,"Output Item(s)"),n.qZA(),n.TgZ(22,"table",16)(23,"thead")(24,"tr",6)(25,"th"),n._uU(26," Name "),n.qZA(),n.TgZ(27,"th",17),n._uU(28," Qty"),n.qZA()()(),n.YNc(29,pi,11,4,"tbody",18),n.qZA(),n.TgZ(30,"span",15),n._uU(31,"Material Item(s)"),n.qZA(),n.TgZ(32,"table",16)(33,"thead")(34,"tr",6)(35,"th"),n._uU(36," Name "),n.qZA(),n.TgZ(37,"th",17),n._uU(38," Qty"),n.qZA()()(),n.YNc(39,Ci,11,4,"tbody",18),n.qZA(),n.TgZ(40,"p",19),n._uU(41),n.qZA(),n.TgZ(42,"small",20),n._uU(43),n.ALo(44,"date"),n.qZA(),n.TgZ(45,"small",21),n._uU(46),n.qZA()()),2&e){const t=n.oxw();n.xp6(4),n.Q6J("src",t.template.Logo,n.LSH),n.xp6(3),n.Oqu(t.template.Name),n.xp6(2),n.Oqu(t.template.Field),n.xp6(2),n.hij(" ",t.template.Address," "),n.xp6(6),n.Oqu(t.title),n.xp6(2),n.hij("",t.data.JobOrder.Name," "),n.xp6(10),n.Q6J("ngForOf",t.data.Header),n.xp6(10),n.Q6J("ngForOf",t.data.Material),n.xp6(2),n.Oqu(t.data.JobOrder.Note),n.xp6(2),n.Oqu(n.xi3(44,11,t.data.JobOrder.Created,"dd MMM yyyy HH:mm")),n.xp6(3),n.Oqu(t.data.User.Name)}}let Mi=(()=>{class e{constructor(t,i){(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"template",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"paperPrintMode",[]),this.activeRoute=t,this.httpService=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/API/Print/JobOrders",JSON.stringify(t)).subscribe(i=>{this.data=i.Data,this.template=i.Template,this.title=i.Title,this.initPaperModeConfig(t)})})}initPaperModeConfig(t){this.paperPrintMode=[{label:"8cm",link:"/print/JobOrderMini",param:t},{label:"A4",link:"/print/JobOrder",param:t}]}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(_.gz),n.Y36(p.O))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-job-order"]],decls:5,vars:2,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],[1,"print_container"],["paperType","A4",1,"d-print-none",3,"paperPrints"],["class","invoice_container",4,"ngIf"],[1,"invoice_container"],[1,"header"],[1,"header_left"],[1,"company"],[1,"d-block",3,"src"],[1,"companyBody"],[1,"contact_info","clearfix"],[1,"header_right"],["id","lblInvoiceNumber"],[1,"jobOrderHeader"],[1,"titleJB"],[1,"plain","w-100"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"address","topHolder"],["id","lblCreated",1,"timestamp"],["id","lblCreator",1,"creator"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.TgZ(2,"div",2),n._UZ(3,"POS-print-mode",3),n.YNc(4,Pi,47,14,"div",4),n.qZA()),2&t&&(n.xp6(3),n.Q6J("paperPrints",i.paperPrintMode),n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.sg,c.O5,x.g,c.uU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}']})),e})();function Oi(e,o){if(1&e&&(n.TgZ(0,"tbody")(1,"tr",18)(2,"td",19),n._uU(3),n._UZ(4,"br"),n._uU(5),n.qZA()(),n.TgZ(6,"tr",20)(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",21),n._uU(10),n.qZA()()()),2&e){const t=o.$implicit;n.xp6(3),n.hij(" ",t.Name,""),n.xp6(2),n.hij("",t.Note," "),n.xp6(3),n.Oqu(t.Code),n.xp6(2),n.Oqu(t.Quantity)}}function si(e,o){if(1&e&&(n.TgZ(0,"tbody")(1,"tr",18)(2,"td",19),n._uU(3),n._UZ(4,"br"),n._uU(5),n.qZA()(),n.TgZ(6,"tr",20)(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",21),n._uU(10),n.qZA()()()),2&e){const t=o.$implicit;n.xp6(3),n.hij(" ",t.Name,""),n.xp6(2),n.hij("",t.Note," "),n.xp6(3),n.Oqu(t.Code),n.xp6(2),n.Oqu(t.Quantity)}}function xi(e,o){if(1&e&&(n.TgZ(0,"div",5)(1,"h1",6),n._uU(2),n.qZA(),n.TgZ(3,"p",7),n._uU(4),n.qZA(),n.TgZ(5,"h2",8),n._uU(6),n.qZA(),n.TgZ(7,"span",9),n._uU(8,"Output Item(s)"),n.qZA(),n.TgZ(9,"table",10)(10,"thead")(11,"tr",11)(12,"th"),n._uU(13," Name "),n.qZA(),n.TgZ(14,"th",12),n._uU(15," Qty"),n.qZA()()(),n.YNc(16,Oi,11,4,"tbody",13),n.qZA(),n.TgZ(17,"span",14),n._uU(18,"Material Item(s)"),n.qZA(),n.TgZ(19,"table",10)(20,"thead")(21,"tr",11)(22,"th"),n._uU(23," Name "),n.qZA(),n.TgZ(24,"th",12),n._uU(25," Qty"),n.qZA()()(),n.YNc(26,si,11,4,"tbody",13),n.qZA(),n.TgZ(27,"p",15),n._uU(28),n.qZA(),n.TgZ(29,"small",16),n._uU(30),n.ALo(31,"date"),n.qZA(),n.TgZ(32,"small",17),n._uU(33),n.qZA()()),2&e){const t=n.oxw();n.xp6(2),n.Oqu(t.template.Name),n.xp6(2),n.Oqu(t.data.JobOrder.Name),n.xp6(2),n.Oqu(t.title),n.xp6(10),n.Q6J("ngForOf",t.data.Header),n.xp6(10),n.Q6J("ngForOf",t.data.Material),n.xp6(2),n.Oqu(t.data.JobOrder.Note),n.xp6(2),n.Oqu(n.xi3(31,8,t.data.JobOrder.Created,"dd MMM yyyy HH:mm")),n.xp6(3),n.Oqu(t.data.User.Name)}}let fi=(()=>{class e{constructor(t,i){(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"template",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"paperPrintMode",[]),this.activeRoute=t,this.httpService=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/API/Print/JobOrderMini",JSON.stringify(t)).subscribe(i=>{this.data=i.Data,this.template=i.Template,this.title=i.Title,this.initPaperModeConfig(t)})})}initPaperModeConfig(t){this.paperPrintMode=[{label:"A4",link:"/print/JobOrder",param:t},{label:"8cm",link:"/print/JobOrderMini",param:t}]}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(_.gz),n.Y36(p.O))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-job-order-mini"]],decls:5,vars:2,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSize8cm_custom.css","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],["class","invoice_container",4,"ngIf"],[1,"invoice_container"],[1,"invoiceHeader"],[1,"address"],["id","InvoiceNumber"],[1,"title"],[1,"plain","w-100"],[1,"header"],[1,"number",2,"width","20px"],[4,"ngFor","ngForOf"],[1,"title","topHolder"],[1,"address","topHolder"],[1,"timestamp",2,"font-size","9px"],[1,"creator",2,"font-size","9px"],[1,"name"],["colspan","4"],[1,"item"],[1,"number","text-end"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.TgZ(2,"div",2),n._UZ(3,"POS-print-mode",3),n.YNc(4,xi,34,11,"div",4),n.qZA()),2&t&&(n.xp6(3),n.Q6J("paperPrints",i.paperPrintMode),n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.sg,c.O5,x.g,c.uU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(even), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(even){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}']})),e})();var k=r(24351);function mi(e,o){if(1&e&&(n._UZ(0,"img",37),n.ALo(1,"images")),2&e){const t=n.oxw(3);n.Q6J("src",n.lcZ(1,1,t.Model.Template.Logo),n.LSH)}}function ui(e,o){if(1&e&&(n.TgZ(0,"div",30),n.YNc(1,mi,2,3,"img",31),n.TgZ(2,"div",32),n._UZ(3,"h2",33)(4,"small",33),n.TgZ(5,"div",34),n._UZ(6,"div",35),n.ALo(7,"newlines"),n._UZ(8,"div",36),n.ALo(9,"newlines"),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.Model.Template.Logo),n.xp6(2),n.Q6J("innerHTML",t.Model.Template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.Model.Template.Field,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(7,5,t.Model.Template.Address),n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(9,7,t.Model.Template.ContactInfo),n.oJD)}}function hi(e,o){if(1&e&&n._UZ(0,"strong",33),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.Name,n.oJD)}}function bi(e,o){if(1&e&&n._UZ(0,"div",33),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.Email,n.oJD)}}function vi(e,o){if(1&e&&n._UZ(0,"div",33),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.Phone,n.oJD)}}function yi(e,o){if(1&e&&(n._UZ(0,"div",33),n.ALo(1,"newlines")),2&e){const t=n.oxw(3);n.Q6J("innerHTML",n.lcZ(1,1,null==t.Model.Data.Contact?null:t.Model.Data.Contact.Address),n.oJD)}}function Zi(e,o){if(1&e&&n._UZ(0,"div",33),2&e){const t=n.oxw(3);n.Q6J("innerHTML",null==t.Model.Data.Contact?null:t.Model.Data.Contact.CityName,n.oJD)}}function Ti(e,o){if(1&e&&(n.TgZ(0,"div",38),n._UZ(1,"h3",33),n.TgZ(2,"div",39),n.YNc(3,hi,1,1,"strong",40),n.TgZ(4,"div",41),n.YNc(5,bi,1,1,"div",40),n.YNc(6,vi,1,1,"div",40),n.YNc(7,yi,2,3,"div",40),n.YNc(8,Zi,1,1,"div",40),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer,n.oJD),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerVisible),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerEmailVisible),n.xp6(1),n.Q6J("ngIf",1!==t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible),n.xp6(1),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CustomerAddressVisible)}}function wi(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," Due"),n.qZA())}function Ai(e,o){1&e&&(n.TgZ(0,"th"),n._uU(1," Top"),n.qZA())}function Ii(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,t.Model.Data.Invoice.Data.Due,"dd MMM yyyy"),"")}}function qi(e,o){if(1&e&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.Model.Data.Top,"")}}function ki(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"td",42)(2,"td",33)(3,"td",33)(4,"td",42)(5,"td",33),n.TgZ(6,"td",43),n._uU(7),n.ALo(8,"number"),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA(),n._UZ(11,"td",44),n.ALo(12,"number"),n.qZA()),2&e){const t=o.$implicit,i=o.index;n.xp6(1),n.Q6J("innerHTML",i+1,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.Code,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.Quantity,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.UOMName,n.oJD),n.xp6(2),n.Oqu(n.lcZ(8,8,t.UnitPrice)),n.xp6(3),n.Oqu(t.Discount>0?t.Discount:""),n.xp6(1),n.Q6J("innerHTML",n.lcZ(12,10,t.Total),n.oJD)}}function Ui(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4,":"),n.qZA(),n.TgZ(5,"td",45),n._uU(6),n.qZA(),n.TgZ(7,"td",46),n._uU(8),n.ALo(9,"TrailingZero"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(2);n.xp6(2),n.Oqu(t.Label),n.xp6(4),n.Oqu(t.CurrencySymbol),n.xp6(2),n.Oqu(n.xi3(9,3,t.Amount,i.Model.AppConfigJSON.PrintConfigGeneral.TrailingZero))}}function Di(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2,"Wordify"),n.qZA(),n.TgZ(3,"td"),n._uU(4,":"),n.qZA(),n._UZ(5,"td",47),n.ALo(6,"newlines"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(5),n.Q6J("innerHTML",n.lcZ(6,1,t.Model.Data.totalInWords),n.oJD)}}function Ji(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",33),n.TgZ(2,"td"),n._uU(3,":"),n.qZA(),n._UZ(4,"td",47),n.ALo(5,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.Labels.InvoiceCustomDateFieldStorage,n.oJD),n.xp6(3),n.Q6J("innerHTML",n.xi3(5,2,t.Model.Data.Invoice.CustomDateField,"dd MMM yyyy (HH:mm)"),n.oJD)}}function Ni(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2,"Note"),n.qZA(),n.TgZ(3,"td"),n._uU(4,":"),n.qZA(),n._UZ(5,"td",48),n.ALo(6,"newlines"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(5),n.Q6J("innerHTML",n.lcZ(6,1,t.Model.Data.Data.Note),n.oJD)}}function Si(e,o){if(1&e&&(n.TgZ(0,"div",55),n._UZ(1,"h5",33),n.TgZ(2,"div",51),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ApprovedBy,n.oJD)}}function Li(e,o){if(1&e&&(n.TgZ(0,"div",56),n._UZ(1,"h5",33),n.TgZ(2,"div",51),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigDelivery.FooterLabel.DeliveredBy,n.oJD)}}function Qi(e,o){if(1&e&&(n.TgZ(0,"div",49)(1,"div",50),n._UZ(2,"h5",33),n.TgZ(3,"div",51),n._uU(4," \xa0 "),n.qZA()(),n.YNc(5,Si,4,1,"div",52),n.YNc(6,Li,4,1,"div",53),n.TgZ(7,"div",54),n._UZ(8,"h5",33)(9,"div",51),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.ReceivedBy,n.oJD),n.xp6(3),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),n.xp6(1),n.Q6J("ngIf",2==t.Model.AppConfigJSON.PrintConfigDelivery.Footer.SignatureCountType),n.xp6(2),n.Q6J("innerHTML",t.Model.AppConfigJSON.PrintConfigInvoice.FooterLabel.SignedBy,n.oJD)}}function Yi(e,o){if(1&e&&(n.TgZ(0,"small",57),n._uU(1," Print by: "),n.TgZ(2,"small"),n._uU(3),n.qZA(),n._uU(4),n.ALo(5,"date"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(3),n.Oqu(t.Model.Template.DisplayName),n.xp6(1),n.hij(" ",n.xi3(5,2,t.Model.Data.PrintTime,"dd MMM yyyy hh::mm")," ")}}function zi(e,o){if(1&e&&(n.TgZ(0,"div",3)(1,"div")(2,"div",4),n.YNc(3,ui,10,9,"div",5),n.YNc(4,Ti,9,6,"div",6),n.qZA(),n.TgZ(5,"div",7)(6,"div",8)(7,"div",9)(8,"h1")(9,"strong"),n._uU(10),n.qZA(),n.TgZ(11,"span"),n._uU(12),n.qZA()(),n.TgZ(13,"table")(14,"thead")(15,"tr")(16,"th"),n._uU(17,"Date"),n.qZA(),n.YNc(18,wi,2,0,"th",10),n.ALo(19,"IsMinDate"),n.YNc(20,Ai,2,0,"th",10),n.ALo(21,"IsMinDate"),n.qZA()(),n.TgZ(22,"tbody")(23,"tr")(24,"td"),n._uU(25),n.ALo(26,"date"),n.qZA(),n.YNc(27,Ii,3,4,"td",10),n.ALo(28,"IsMinDate"),n.YNc(29,qi,2,1,"td",10),n.ALo(30,"IsMinDate"),n.qZA()()()()()()(),n.TgZ(31,"div",11)(32,"table",12)(33,"thead")(34,"tr")(35,"th",13),n._uU(36,"No"),n.qZA(),n.TgZ(37,"th"),n._uU(38,"Name"),n.qZA(),n.TgZ(39,"th",14),n._uU(40,"Code"),n.qZA(),n.TgZ(41,"th",15),n._uU(42,"Qty"),n.qZA(),n.TgZ(43,"th",16),n._uU(44,"UOM"),n.qZA(),n.TgZ(45,"th",17),n._uU(46),n.qZA(),n.TgZ(47,"th",18),n._uU(48,"%"),n.qZA(),n.TgZ(49,"th",19),n._uU(50),n.qZA()()(),n.TgZ(51,"tbody"),n.YNc(52,ki,13,12,"tr",20),n.qZA(),n.TgZ(53,"tfoot")(54,"tr",21),n._UZ(55,"td",22),n.TgZ(56,"td",23)(57,"b"),n._uU(58,"Total"),n.qZA()(),n.TgZ(59,"td",24),n._uU(60),n.ALo(61,"sum"),n.qZA(),n.TgZ(62,"td",24),n._uU(63),n.qZA(),n.TgZ(64,"td",25)(65,"table",26)(66,"tbody"),n.YNc(67,Ui,10,6,"tr",20),n.qZA()()()()()()(),n.TgZ(68,"table",27),n.YNc(69,Di,7,3,"tr",10),n.YNc(70,Ji,6,5,"tr",10),n.ALo(71,"IsMinDate"),n.YNc(72,Ni,7,3,"tr",10),n.qZA(),n.TgZ(73,"div"),n.YNc(74,Qi,10,4,"div",28),n.qZA(),n.YNc(75,Yi,6,5,"small",29),n.qZA()),2&e){const t=n.oxw();n.xp6(1),n.Gre("",t.Model.Template.CssClass," header"),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),n.xp6(1),n.Q6J("ngIf",t.Model.Data.Contact),n.xp6(6),n.Oqu(t.Model.AppConfigJSON.PrintConfigPurchase.Header.SupplierBillTittle),n.xp6(2),n.Oqu(t.Model.Data.Data.Number),n.xp6(6),n.Q6J("ngIf","-"!=n.lcZ(19,23,t.Model.Data.Invoice.Data.Due)&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),n.xp6(2),n.Q6J("ngIf","-"!=n.lcZ(21,25,t.Model.Data.Invoice.Data.Due)&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),n.xp6(5),n.Oqu(n.xi3(26,27,t.Model.Data.Invoice.Data.Date,"dd MMM yyyy")),n.xp6(2),n.Q6J("ngIf","-"!=n.lcZ(28,30,t.Model.Data.Invoice.Data.Due)&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),n.xp6(2),n.Q6J("ngIf","-"!=n.lcZ(30,32,t.Model.Data.Invoice.Data.Due)&&t.Model.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.InvoicePaymentTermsVisible),n.xp6(17),n.hij("Price (",t.Model.Data.CurrencySymbol,")"),n.xp6(4),n.hij("Total (",t.Model.Data.CurrencySymbol,")"),n.xp6(2),n.Q6J("ngForOf",t.Model.Data.Item),n.xp6(8),n.Oqu(n.xi3(61,34,t.Model.Data.Item,"Quantity")),n.xp6(3),n.hij("",t.Model.Data.Item.UOMName," "),n.xp6(4),n.Q6J("ngForOf",t.Model.Data.Aggregate),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible),n.xp6(1),n.Q6J("ngIf","-"!=n.lcZ(71,37,t.Model.Data.Invoice.CustomDateField)),n.xp6(2),n.Q6J("ngIf",t.Model.Data.Data.Note),n.xp6(2),n.Q6J("ngIf",t.Model.AppConfigJSON.PrintConfigGeneral.Visibility.Visible),n.xp6(1),n.Q6J("ngIf",1!=t.Model.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)}}let Hi=(()=>{class e{constructor(t,i,g){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"route",void 0),(0,a.Z)(this,"title",void 0),(0,a.Z)(this,"Model",void 0),this.httpService=t,this.route=i,this.title=g}ngOnInit(){const t=this.route.snapshot.queryParams;this.route.queryParams.pipe((0,P.h)(i=>d.gT.IsNotEmpty(i)),(0,k.b)(i=>this.httpService.post("/API/Print/SupplierPONG",JSON.stringify(i)))).subscribe(i=>{this.Model=i,this.title.setTitle(i.Title),t.Printer&&(this.Model.Template.PrintLX300="EpsonLX300"==t.Printer),1==t.Print&&setTimeout(()=>window.print(),500)})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz),n.Y36(f.Dx))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-supplier-po"]],decls:3,vars:1,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],["class","print_container supplierpo",4,"ngIf"],[1,"print_container","supplierpo"],[1,"header_left"],["class","company",4,"ngIf"],["class","contact","style","overflow-x: hidden;",4,"ngIf"],[1,"header_right"],[1,"invoice_number"],[1,"mt-4"],[4,"ngIf"],[1,"cartItems"],[1,"plain","w-100"],[1,"text-center",2,"width","20px"],[2,"width","100px"],[1,"number","text-end",2,"width","30px"],[1,"UOMWidth",2,"width","40px"],[1,"number","text-end",2,"width","80px"],[1,"number",2,"width","30px"],[1,"number","text-end",2,"width","90px"],[4,"ngFor","ngForOf"],[1,"grid_footer"],["colspan","2"],["colspan","3",1,"empty-column","align-top","text-end"],[1,"empty-column","align-top","text-center"],["colspan","3",1,"number","noTopPad","text-end"],["cellpadding","0","cellspacing","0",1,"rightAuto"],[1,"info",2,"width","70%"],["class","signature",4,"ngIf"],["class","printed",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],[1,"float",3,"src"],[1,"contact",2,"overflow-x","hidden"],[1,"box"],[3,"innerHTML",4,"ngIf"],[1,"customer_info"],[1,"text-center",3,"innerHTML"],[1,"text-end"],[1,"text-end",3,"innerHTML"],[1,"currency"],[2,"width","50px"],[1,"val",3,"innerHTML"],[2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"signature"],["Class","left"],[1,"name"],["Class","left leftSmall",4,"ngIf"],["Class","left rightSmall",4,"ngIf"],[1,"right"],["Class","left leftSmall"],["Class","left rightSmall"],[1,"printed"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.YNc(2,zi,76,39,"div",2)),2&t&&(n.xp6(2),n.Q6J("ngIf",i.Model))},dependencies:[c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.Qc,l.$k,l.rU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})),e})();function Bi(e,o){if(1&e&&(n._UZ(0,"img",30),n.ALo(1,"images")),2&e){const t=n.oxw(3);n.s9C("src",n.lcZ(1,1,t.data.Template.Logo),n.LSH)}}function Ri(e,o){if(1&e&&(n.TgZ(0,"div",24),n.YNc(1,Bi,2,3,"img",25),n.TgZ(2,"div",26),n._UZ(3,"h2",27)(4,"small",27),n.TgZ(5,"div",28)(6,"div",29),n._UZ(7,"span",27),n.qZA(),n.TgZ(8,"div",14),n._UZ(9,"span",27),n.ALo(10,"newlines"),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.data.Template.Logo),n.xp6(2),n.Q6J("innerHTML",t.data.Template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.data.Template.Field,n.oJD),n.xp6(3),n.Q6J("innerHTML",t.data.Template.Address,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(10,5,t.data.Template.ContactInfo),n.oJD)}}function ji(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Data.Contact.Email)}}function Vi(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Data.Contact.Phone)}}function Fi(e,o){if(1&e&&(n.TgZ(0,"div",31)(1,"h3"),n._UZ(2,"span",27),n.qZA(),n.TgZ(3,"div",32)(4,"strong"),n._uU(5),n.qZA(),n.TgZ(6,"div",33),n.YNc(7,ji,3,1,"div",34),n.YNc(8,Vi,3,1,"div",34),n.TgZ(9,"div",35),n._UZ(10,"span",27),n.qZA(),n.TgZ(11,"div")(12,"span"),n._uU(13),n.qZA()()()()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("innerHTML","Outlet Delivery"===t.data.Data.Prefixed?t.data.AppConfigJSON.PrintConfigInvoice.DocumentLabel.Customer:t.data.AppConfigJSON.PrintConfigPurchase.DocumentLabel.SupplierTittle,n.oJD),n.xp6(3),n.Oqu(t.data.Data.Contact.Name),n.xp6(2),n.Q6J("ngIf",!t.data.Data.IsTransfer),n.xp6(1),n.Q6J("ngIf",!t.data.Data.IsTransfer),n.xp6(2),n.Q6J("innerHTML",t.data.Data.Contact.Address,n.oJD),n.xp6(3),n.Oqu(t.data.City)}}function Ei(e,o){1&e&&(n.TgZ(0,"th",36),n._uU(1,"Cost"),n.qZA())}function $i(e,o){if(1&e&&(n.TgZ(0,"th",36),n._uU(1,"Price"),n._UZ(2,"br"),n._uU(3),n.qZA()),2&e){const t=n.oxw(2);n.xp6(3),n.hij("(",t.data.Data.currencySymbol,")")}}function Wi(e,o){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"small",27),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("innerHTML",t.Note,n.oJD)}}function Xi(e,o){if(1&e&&(n.TgZ(0,"th",40),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.UnitCost))}}function Gi(e,o){if(1&e&&(n._UZ(0,"th",41),n.ALo(1,"number")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.lcZ(1,1,t.UnitPrice),n.oJD)}}function Ki(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"td",37),n.TgZ(2,"td"),n._uU(3),n.YNc(4,Wi,2,1,"div",34),n.qZA(),n._UZ(5,"td",37),n.ALo(6,"number"),n.YNc(7,Xi,3,3,"th",38),n.YNc(8,Gi,2,3,"th",39),n.qZA()),2&e){const t=o.$implicit,i=o.index,g=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",i+1+".",n.oJD),n.xp6(2),n.hij(" ",t.Name," "),n.xp6(1),n.Q6J("ngIf",t.Note),n.xp6(1),n.Q6J("innerHTML",n.xi3(6,6,t.Quantity,"1.0-2"),n.oJD),n.xp6(2),n.Q6J("ngIf",g.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&g.data.DataCostVisible),n.xp6(1),n.Q6J("ngIf",g.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&g.data.Data.PriceVisible)}}function nc(e,o){if(1&e&&(n.TgZ(0,"div",42),n._UZ(1,"div",43),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.data.Template.DeliveryNote,n.oJD)}}function tc(e,o){if(1&e&&(n._UZ(0,"span",44),n.ALo(1,"date")),2&e){const t=n.oxw(2);n.Q6J("innerHTML",n.xi3(1,1,t.data.Data.Date,"dd MMM yyyy"),n.oJD)}}function ec(e,o){if(1&e&&(n.TgZ(0,"div",5)(1,"div",6)(2,"div",7),n.YNc(3,Ri,11,7,"div",8),n.YNc(4,Fi,14,6,"div",9),n.qZA(),n.TgZ(5,"div",10)(6,"h1")(7,"strong"),n._uU(8),n.qZA(),n.TgZ(9,"span"),n._uU(10),n.qZA()()()(),n.TgZ(11,"section",11)(12,"div",12)(13,"table",13)(14,"thead")(15,"tr")(16,"th",14),n._uU(17,"No."),n.qZA(),n.TgZ(18,"th"),n._uU(19,"Name"),n.qZA(),n.TgZ(20,"th",14),n._uU(21,"Qty"),n.qZA(),n.YNc(22,Ei,2,0,"th",15),n.YNc(23,$i,4,1,"th",15),n.qZA()(),n.TgZ(24,"tbody"),n.YNc(25,Ki,9,9,"tr",16),n.qZA(),n.TgZ(26,"tfoot")(27,"tr")(28,"td"),n._uU(29,"Total"),n.qZA(),n.TgZ(30,"td",17),n._uU(31),n.ALo(32,"sum"),n.qZA()(),n.TgZ(33,"tr")(34,"td",18),n._uU(35,"Note : "),n._UZ(36,"span",19),n.qZA()()()()()(),n.TgZ(37,"div",20),n.YNc(38,nc,2,1,"div",21),n.qZA(),n.TgZ(39,"div",22),n.YNc(40,tc,2,4,"span",23),n.qZA()()),2&e){const t=n.oxw();n.xp6(3),n.Q6J("ngIf",t.data.AppConfigJSON.PrintConfigInvoice.DocumentVisibility.CompanyVisible),n.xp6(1),n.Q6J("ngIf",t.data.Data.Contact.Name&&!t.data.Data.IsTransfer),n.xp6(4),n.Oqu(t.data.Data.Prefixed),n.xp6(2),n.hij(" ",t.data.Data.ItemTransfer.Number," "),n.xp6(12),n.Q6J("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.DataCostVisible),n.xp6(1),n.Q6J("ngIf",t.data.AppConfigJSON.PrintConfigDelivery.Visibility.CostandPriceVisible&&t.data.Data.PriceVisible),n.xp6(2),n.Q6J("ngForOf",null==t.data?null:t.data.Data.Items),n.xp6(6),n.Oqu(n.xi3(32,11,null==t.data?null:t.data.Data.Items,"Quantity")),n.xp6(5),n.Q6J("innerHTML",t.data.Data.ItemTransfer.Note,n.oJD),n.xp6(2),n.Q6J("ngIf",!t.data.Data.IsTransfer),n.xp6(2),n.Q6J("ngIf",1!=t.data.AppConfigJSON.PrintConfigInvoice.Footer.CreatorVisiblePosition)}}let oc=(()=>{class e{constructor(t,i){(0,a.Z)(this,"activatedRoute",void 0),(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"paperPrintMode",void 0),this.activatedRoute=t,this.httpService=i}ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activatedRoute.queryParams.subscribe(t=>{this.httpService.post("/API/Print/Transfer",JSON.stringify(t)).subscribe(i=>{this.data=i,this.initPrintOption(t)})})}initPrintOption(t){this.paperPrintMode=[{label:"A4",link:"/print/Transfer",param:t},{label:"8cm",link:"/print/TransferMini",param:t}]}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(_.gz),n.Y36(p.O))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-transfer-mini"]],decls:5,vars:2,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSize8cm_custom.css","type","text/css"],[1,"print_container"],["paperType","mini",1,"d-print-none",3,"paperPrints"],["class","supplierinvoice_print_container",4,"ngIf"],[1,"supplierinvoice_print_container"],[1,"header","clearfix",2,"max-width","230px"],[1,"header_left",2,"max-width","230px"],["class","company",4,"ngIf"],["class","contact","style","max-width:230px",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[1,"number"],["style","width: 40px;",4,"ngIf"],[4,"ngFor","ngForOf"],["colspan","3",1,"text-end"],["colspan","6"],[2,"overflow-wrap","break-word !important",3,"innerHTML"],[1,"sign","clearfix"],["class","note",4,"ngIf"],[1,"divDate"],["class","timestamp",3,"innerHTML",4,"ngIf"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix"],[1,"address"],[1,"float",3,"src"],[1,"contact",2,"max-width","230px"],[1,"box",2,"max-width","210px"],[1,"customer_info"],[4,"ngIf"],[2,"max-width","205px"],[2,"width","40px"],[1,"number",3,"innerHTML"],["class","text-end",4,"ngIf"],["class","text-end","style","width: 40px;",3,"innerHTML",4,"ngIf"],[1,"text-end"],[1,"text-end",2,"width","40px",3,"innerHTML"],[1,"note"],[1,"left",3,"innerHTML"],[1,"timestamp",3,"innerHTML"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.TgZ(2,"div",2),n._UZ(3,"POS-print-mode",3),n.YNc(4,ec,41,14,"div",4),n.qZA()),2&t&&(n.xp6(3),n.Q6J("paperPrints",i.paperPrintMode),n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.sg,c.O5,x.g,c.JJ,c.uU,l.qU,l.sH,l.rU],styles:['div.contact[_ngcontent-%COMP%]{display:none}div.number[_ngcontent-%COMP%]{float:right;margin-left:0!important;margin-right:0!important;text-align:center!important;width:100%!important}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:230px;text-align:left;padding:0 4px}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{margin-left:10px;width:60px;float:left}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:80px;margin-left:5px;text-align:left}div.header_right[_ngcontent-%COMP%]{text-align:center!important}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}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(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);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}']})),e})();function ic(e,o){if(1&e&&(n._UZ(0,"img",27),n.ALo(1,"images")),2&e){const t=n.oxw(2);n.Q6J("src",n.lcZ(1,1,null==t.data?null:t.data.Template.Logo),n.LSH)}}function cc(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(null==t.data?null:t.data.Data.Contact.Email)}}function ac(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(null==t.data?null:t.data.Data.Contact.Phone)}}function gc(e,o){if(1&e&&(n.TgZ(0,"div",28)(1,"div",29)(2,"strong"),n._uU(3),n.qZA(),n.TgZ(4,"div",30),n.YNc(5,cc,3,1,"div",23),n.YNc(6,ac,3,1,"div",23),n.TgZ(7,"div"),n._UZ(8,"span",8),n.ALo(9,"newlines"),n.qZA(),n.TgZ(10,"div")(11,"span"),n._uU(12),n.qZA()()()()()),2&e){const t=n.oxw(2);n.xp6(3),n.Oqu(null==t.data?null:t.data.Data.ContactDisplay),n.xp6(2),n.Q6J("ngIf",!(null!=t.data&&t.data.Data.IsTransfer)),n.xp6(1),n.Q6J("ngIf",1!==(null==t.appConfig?null:t.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)),n.xp6(2),n.Q6J("innerHTML",n.lcZ(9,5,null==t.data?null:t.data.Data.Contact.Address),n.oJD),n.xp6(4),n.Oqu(null==t.data?null:t.data.Data.City)}}function dc(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.ALo(3,"date"),n.qZA(),n.TgZ(4,"td"),n._uU(5),n.ALo(6,"date"),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td",21),n._uU(10),n.ALo(11,"number"),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.Oqu(n.xi3(3,4,t.Data.Date,"dd MMM yyyy")),n.xp6(3),n.Oqu(n.xi3(6,7,t.Data.Due,"dd MMM")),n.xp6(3),n.Oqu(t.Number),n.xp6(2),n.Oqu(n.lcZ(11,10,t.RemainingPaymentBaseCurrency))}}function lc(e,o){if(1&e&&(n.TgZ(0,"td",33),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(null==t.data?null:t.data.Data.TotalInWords)}}function rc(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",8),n.TgZ(2,"td",31),n._uU(3," : "),n.qZA(),n.YNc(4,lc,2,1,"td",32),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",null!=t.appConfig&&t.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",n.oJD),n.xp6(3),n.Q6J("ngIf",null==t.data?null:t.data.Data.TotalInWords)}}function _c(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Note "),n.qZA(),n.TgZ(3,"td",31),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",34)(7,"li"),n._UZ(8,"span",35),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(8),n.Q6J("innerHtml",null==t.data?null:t.data.Data.Invoice.Note,n.oJD)}}function pc(e,o){if(1&e&&(n.TgZ(0,"div",39),n._UZ(1,"h5",40),n.TgZ(2,"div",41),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column1,n.oJD)}}function Cc(e,o){if(1&e&&(n.TgZ(0,"div",39),n._UZ(1,"h5",40),n.TgZ(2,"div",41),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column2,n.oJD)}}function Pc(e,o){if(1&e&&(n.TgZ(0,"div",39),n._UZ(1,"h5",40),n.TgZ(2,"div",41),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column3,n.oJD)}}function Mc(e,o){if(1&e&&(n.TgZ(0,"div",39),n._UZ(1,"h5",40),n.TgZ(2,"div",41),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column4,n.oJD)}}function Oc(e,o){if(1&e&&(n.TgZ(0,"div",36)(1,"div",37),n.YNc(2,pc,4,1,"div",38),n.YNc(3,Cc,4,1,"div",38),n.YNc(4,Pc,4,1,"div",38),n.YNc(5,Mc,4,1,"div",38),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column1),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column2),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column3),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column4)}}function sc(e,o){if(1&e&&(n.TgZ(0,"div",45),n._UZ(1,"span",8),n.ALo(2,"SafeHtml"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",n.lcZ(2,1,null!=t.data&&t.data.Template.FooterLeft?null==t.data?null:t.data.Template.FooterLeft:""),n.oJD)}}function xc(e,o){if(1&e&&(n.TgZ(0,"div",42),n.YNc(1,sc,3,3,"div",43),n.TgZ(2,"div",44),n._UZ(3,"span",8),n.ALo(4,"SafeHtml"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",null==t.data?null:t.data.Template.FooterRight),n.xp6(2),n.Q6J("innerHTML",n.lcZ(4,2,null!=t.data&&t.data.Template.FooterRight?null==t.data?null:t.data.Template.FooterRight:""),n.oJD)}}function fc(e,o){if(1&e&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),n.YNc(4,ic,2,3,"img",6),n.TgZ(5,"div",7),n._UZ(6,"h2",8)(7,"small",8),n.TgZ(8,"div",9),n._UZ(9,"div",10),n.ALo(10,"newlines"),n._UZ(11,"div",11),n.ALo(12,"newlines"),n.qZA()()(),n.YNc(13,gc,13,7,"div",12),n.qZA(),n.TgZ(14,"div",13)(15,"h1")(16,"strong"),n._uU(17),n.qZA(),n.TgZ(18,"span"),n._uU(19),n.qZA()(),n.TgZ(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),n._uU(25,"Date"),n.qZA()()(),n.TgZ(26,"tbody")(27,"tr")(28,"td"),n._uU(29),n.ALo(30,"date"),n.qZA()()()()()()(),n.TgZ(31,"section",14)(32,"div",15)(33,"table",16)(34,"thead")(35,"tr")(36,"th",17),n._uU(37,"Date"),n.qZA(),n.TgZ(38,"th",17),n._uU(39,"Due"),n.qZA(),n.TgZ(40,"th"),n._uU(41,"Number"),n.qZA(),n.TgZ(42,"th",18),n._uU(43,"Total"),n.qZA()()(),n.TgZ(44,"tbody"),n.YNc(45,dc,12,12,"tr",19),n.qZA(),n.TgZ(46,"tfoot")(47,"tr")(48,"td",20),n._uU(49),n.qZA(),n.TgZ(50,"td",21),n._uU(51),n.ALo(52,"number"),n.ALo(53,"sum"),n.qZA()()()()()(),n.TgZ(54,"table",22),n.YNc(55,rc,5,2,"tr",23),n.YNc(56,_c,9,1,"tr",23),n.qZA(),n.TgZ(57,"div")(58,"div",24),n.YNc(59,Oc,6,4,"div",25),n.qZA(),n.YNc(60,xc,5,4,"div",26),n.qZA()()),2&e){const t=n.oxw();n.Q6J("ngClass",t.params.Mode||""),n.xp6(4),n.Q6J("ngIf",null==t.data?null:t.data.Template.Logo),n.xp6(2),n.Q6J("innerHTML",null==t.data?null:t.data.Template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",null==t.data?null:t.data.Template.Field,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(10,17,t.data.Template.Address),n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(12,19,t.data.Template.ContactInfo),n.oJD),n.xp6(2),n.Q6J("ngIf",t.data.Data.ContactDisplay),n.xp6(4),n.Oqu(null==t.data?null:t.data.Data.Prefixed),n.xp6(2),n.hij(" ",null==t.data?null:t.data.Data.Invoice.Number," "),n.xp6(10),n.Oqu(n.xi3(30,21,null==t.data?null:t.data.Data.Invoice.Date,"dd MMM yyyy")),n.xp6(16),n.Q6J("ngForOf",null==t.data?null:t.data.Data.Items),n.xp6(4),n.hij("",(null==t.data?null:t.data.Data.Items.length)>1?null==t.data?null:t.data.Data.Items.length:""," Invoice, Total:"),n.xp6(2),n.Oqu(n.lcZ(52,24,n.xi3(53,26,null==t.data?null:t.data.Data.Items,"RemainingPaymentBaseCurrency"))),n.xp6(4),n.Q6J("ngIf",(null==t.appConfig?null:t.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(null==t.data?null:t.data.Data.TotalInWords)),n.xp6(1),n.Q6J("ngIf",null==t.data?null:t.data.Data.Invoice.Note),n.xp6(3),n.Q6J("ngIf",(null==t.appConfig||null==t.appConfig.PrintConfigGeneral||null==t.appConfig.PrintConfigGeneral.Visibility?null:t.appConfig.PrintConfigGeneral.Visibility.Visible)&&(t.appConfig.PrintConfigInvoice.Signature.Column1||t.appConfig.PrintConfigInvoice.Signature.Column2||t.appConfig.PrintConfigInvoice.Signature.Column3||t.appConfig.PrintConfigInvoice.Signature.Column4)),n.xp6(1),n.Q6J("ngIf",null==t.appConfig?null:t.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}let mc=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"params",void 0),(0,a.Z)(this,"appConfig",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.params=t,this.httpService.post("/Api/Print/BulkSupplierInvoice",JSON.stringify(t)).subscribe(i=>{this.data=i,this.appConfig=i.AppConfigJSON})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-bulk-supplier-invoice"]],decls:2,vars:1,consts:[["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],["class","print_container",3,"ngClass",4,"ngIf"],[1,"print_container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact border-0 px-0","style","overflow: visible !important;",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain","w-100"],[2,"width","50px"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],["colspan","3",1,"number"],[1,"number"],[1,"info"],[4,"ngIf"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact","border-0","px-0",2,"overflow","visible !important"],[1,"box",2,"border","solid 1px #9E9E9E !important"],[1,"customer_info"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px;",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,i){1&t&&(n._UZ(0,"link",0),n.YNc(1,fc,61,29,"div",1)),2&t&&(n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.mk,c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.zX,l.rU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})),e})();function uc(e,o){if(1&e&&(n._UZ(0,"img",31),n.ALo(1,"images")),2&e){const t=n.oxw(2);n.Q6J("src",n.lcZ(1,1,null==t.data?null:t.data.Template.Logo),n.LSH)}}function hc(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(null==t.data?null:t.data.Data.Contact.Email)}}function bc(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(null==t.data?null:t.data.Data.Contact.Phone)}}function vc(e,o){if(1&e&&(n.TgZ(0,"div",32)(1,"h3"),n._UZ(2,"span",8),n.qZA(),n.TgZ(3,"div",33)(4,"strong"),n._uU(5),n.qZA(),n.TgZ(6,"div",34),n.YNc(7,hc,3,1,"div",25),n.YNc(8,bc,3,1,"div",25),n.TgZ(9,"div"),n._UZ(10,"span",8),n.ALo(11,"newlines"),n.qZA(),n.TgZ(12,"div")(13,"span"),n._uU(14),n.qZA()()()()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("innerHTML",null==t.appConfig?null:t.appConfig.PrintConfigInvoice.DocumentLabel.Customer,n.oJD),n.xp6(3),n.Oqu(null==t.data?null:t.data.Data.ContactDisplay),n.xp6(2),n.Q6J("ngIf",!(null!=t.data&&t.data.Data.IsTransfer)),n.xp6(1),n.Q6J("ngIf",1!==(null==t.appConfig?null:t.appConfig.PrintConfigInvoice.DocumentVisibility.PhoneCustomerVisibility)),n.xp6(2),n.Q6J("innerHTML",n.lcZ(11,6,null==t.data?null:t.data.Data.Contact.Address),n.oJD),n.xp6(4),n.Oqu(null==t.data?null:t.data.Data.City)}}function yc(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td",42),n._uU(2),n.qZA(),n.TgZ(3,"td",17),n._uU(4),n.qZA(),n.TgZ(5,"td",38),n._uU(6),n.qZA(),n.TgZ(7,"td",43),n._uU(8),n.ALo(9,"number"),n.qZA(),n.TgZ(10,"td",39),n._uU(11),n.qZA(),n.TgZ(12,"td",40),n._uU(13),n.ALo(14,"number"),n.qZA(),n.TgZ(15,"td",43),n._uU(16),n.qZA(),n.TgZ(17,"td",41),n._uU(18),n.ALo(19,"number"),n.qZA()()),2&e){const t=o.$implicit,i=o.index;n.xp6(2),n.Oqu(i+1+"."),n.xp6(2),n.Oqu(t.Name),n.xp6(2),n.Oqu(t.Code),n.xp6(2),n.Oqu(n.lcZ(9,8,t.Quantity)),n.xp6(3),n.Oqu(t.UOMName),n.xp6(2),n.Oqu(n.lcZ(14,10,t.UnitPrice)),n.xp6(3),n.Oqu(0==t.Discount?"":t.Discount),n.xp6(2),n.Oqu(n.lcZ(19,12,t.Total))}}function Zc(e,o){if(1&e&&(n.TgZ(0,"table",36)(1,"thead")(2,"tr")(3,"th",37),n._uU(4,"No"),n.qZA(),n.TgZ(5,"th",17),n._uU(6,"Name"),n.qZA(),n.TgZ(7,"th",38),n._uU(8,"Code"),n.qZA(),n.TgZ(9,"th",39),n._uU(10,"Qty"),n.qZA(),n.TgZ(11,"th",39),n._uU(12,"UOM"),n.qZA(),n.TgZ(13,"th",40),n._uU(14,"Price"),n.qZA(),n.TgZ(15,"th",39),n._uU(16,"%"),n.qZA(),n.TgZ(17,"th",41),n._uU(18,"Amount"),n.qZA()()(),n.TgZ(19,"tbody"),n.YNc(20,yc,20,14,"tr",20),n.qZA()()),2&e){const t=n.oxw().$implicit;n.xp6(20),n.Q6J("ngForOf",t.Items)}}function Tc(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.ALo(3,"date"),n.qZA(),n.TgZ(4,"td"),n._uU(5),n.ALo(6,"date"),n.qZA(),n.TgZ(7,"td",18),n._uU(8),n.YNc(9,Zc,21,1,"table",35),n.qZA(),n.TgZ(10,"td",23),n._uU(11),n.ALo(12,"number"),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(2);n.xp6(2),n.Oqu(n.xi3(3,5,t.Date,"dd MMM yyyy")),n.xp6(3),n.Oqu(n.xi3(6,8,t.Due,"dd MMM")),n.xp6(3),n.hij(" ",t.Number," "),n.xp6(1),n.Q6J("ngIf",(null==i.appConfig?null:i.appConfig.PrintConfigInvoice.DocumentVisibility.BulkInvoiceDetail)&&(null==i.appConfig?null:i.appConfig.PrintConfigOthers.ARColletion.InvoiceDetailVisible)),n.xp6(2),n.Oqu(n.lcZ(12,11,t.RemainingPaymentBaseCurrency))}}function wc(e,o){1&e&&n._UZ(0,"td",44)}function Ac(e,o){if(1&e&&(n.TgZ(0,"td",47),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Oqu(null==t.data?null:t.data.Data.TotalInWords)}}function Ic(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",8),n.TgZ(2,"td",45),n._uU(3," : "),n.qZA(),n.YNc(4,Ac,2,1,"td",46),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",null!=t.appConfig&&t.appConfig.PrintConfigGeneral.Wordify.WordifyLanguageDefault?"Wordify":"Terbilang",n.oJD),n.xp6(3),n.Q6J("ngIf",null==t.data?null:t.data.Data.TotalInWords)}}function qc(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"limitTo"),n.qZA()),2&e){const t=n.oxw().$implicit,i=n.oxw(3);n.xp6(1),n.hij(" ",3==(null==i.appConfig?null:i.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode)?"- ***"+n.Dn7(2,1,t.Code,4,t.Code.length-4):"- "+t.Code," ")}}function kc(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(t.Note?t.Note:"")}}function Uc(e,o){if(1&e&&(n.TgZ(0,"span")(1,"span",8),n.ALo(2,"date"),n._uU(3),n.ALo(4,"date"),n.qZA(),n.TgZ(5,"span"),n._uU(6),n.qZA(),n.YNc(7,qc,3,5,"span",25),n.YNc(8,kc,2,1,"span",25),n._uU(9),n.ALo(10,"number"),n._UZ(11,"br"),n.qZA()),2&e){const t=o.$implicit,i=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",n.xi3(2,6,t.Date,"dd MMM yy")+" ~ ",n.oJD),n.xp6(2),n.hij(" ",n.xi3(4,9,t.Date,"dd MMM yy")+" ~ "," "),n.xp6(3),n.Oqu(t.MethodName),n.xp6(1),n.Q6J("ngIf",t.Code&&1!=i.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentCode),n.xp6(1),n.Q6J("ngIf",null==i.appConfig?null:i.appConfig.PrintConfigInvoice.DocumentVisibility.PaymentNoteVisible),n.xp6(1),n.hij(" - ",n.lcZ(10,12,t.Amount)," ")}}function Dc(e,o){if(1&e&&(n.TgZ(0,"tr"),n._UZ(1,"th",48),n.TgZ(2,"td",49),n._uU(3,":"),n.qZA(),n.TgZ(4,"td",49),n.YNc(5,Uc,12,14,"span",20),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",2==(null==t.data?null:t.data.Data.Invoice.PaymentStateID)?"Down Payment":"Payment",n.oJD),n.xp6(4),n.Q6J("ngForOf",null==t.data?null:t.data.Data.Payments)}}function Jc(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th"),n._uU(2," Note "),n.qZA(),n.TgZ(3,"td",45),n._uU(4," : "),n.qZA(),n.TgZ(5,"td")(6,"ul",50)(7,"li"),n._UZ(8,"div",51),n.qZA()()()()),2&e){const t=n.oxw(2);n.xp6(8),n.Q6J("innerHtml",null==t.data?null:t.data.Data.Invoice.Note,n.oJD)}}function Nc(e,o){if(1&e&&(n.TgZ(0,"div",55),n._UZ(1,"h5",56),n.TgZ(2,"div",57),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column1,n.oJD)}}function Sc(e,o){if(1&e&&(n.TgZ(0,"div",55),n._UZ(1,"h5",56),n.TgZ(2,"div",57),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column2,n.oJD)}}function Lc(e,o){if(1&e&&(n.TgZ(0,"div",55),n._UZ(1,"h5",56),n.TgZ(2,"div",57),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column3,n.oJD)}}function Qc(e,o){if(1&e&&(n.TgZ(0,"div",55),n._UZ(1,"h5",56),n.TgZ(2,"div",57),n._uU(3," \xa0 "),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHtml",t.appConfig.PrintConfigInvoice.Signature.Column4,n.oJD)}}function Yc(e,o){if(1&e&&(n.TgZ(0,"div",52)(1,"div",53),n.YNc(2,Nc,4,1,"div",54),n.YNc(3,Sc,4,1,"div",54),n.YNc(4,Lc,4,1,"div",54),n.YNc(5,Qc,4,1,"div",54),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column1),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column2),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column3),n.xp6(1),n.Q6J("ngIf",t.appConfig.PrintConfigInvoice.Signature.Column4)}}function zc(e,o){if(1&e&&(n.TgZ(0,"div",61),n._UZ(1,"span",8),n.ALo(2,"SafeHtml"),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.Q6J("innerHTML",n.lcZ(2,1,null!=t.data&&null!=t.data.Template&&t.data.Template.FooterLeft?null==t.data||null==t.data.Template?null:t.data.Template.FooterLeft:""),n.oJD)}}function Hc(e,o){if(1&e&&(n.TgZ(0,"div",58),n.YNc(1,zc,3,3,"div",59),n.TgZ(2,"div",60),n._UZ(3,"span",8),n.ALo(4,"SafeHtml"),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",null==t.data?null:t.data.Template.FooterRight),n.xp6(2),n.Q6J("innerHTML",n.lcZ(4,2,null!=t.data&&null!=t.data.Template&&t.data.Template.FooterRight?null==t.data||null==t.data.Template?null:t.data.Template.FooterRight:""),n.oJD)}}const Bc=function(e){return{width:e}};function Rc(e,o){if(1&e&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),n.YNc(4,uc,2,3,"img",6),n.TgZ(5,"div",7),n._UZ(6,"h2",8)(7,"small",8),n.TgZ(8,"div",9),n._UZ(9,"div",10),n.ALo(10,"newlines"),n._UZ(11,"div",11),n.ALo(12,"newlines"),n.qZA()()(),n.YNc(13,vc,15,8,"div",12),n.qZA(),n.TgZ(14,"div",13)(15,"h1")(16,"strong"),n._uU(17),n.qZA(),n.TgZ(18,"span"),n._uU(19),n.qZA()(),n.TgZ(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),n._uU(25,"Date"),n.qZA()()(),n.TgZ(26,"tbody")(27,"tr")(28,"td"),n._uU(29),n.ALo(30,"date"),n.qZA()()()()()()(),n.TgZ(31,"section",14)(32,"div",15)(33,"table",16)(34,"thead")(35,"tr")(36,"th",17),n._uU(37,"Date"),n.qZA(),n.TgZ(38,"th",17),n._uU(39,"Due"),n.qZA(),n.TgZ(40,"th",18),n._uU(41,"Number"),n.qZA(),n.TgZ(42,"th",19),n._uU(43,"Total"),n.qZA()()(),n.TgZ(44,"tbody"),n.YNc(45,Tc,13,13,"tr",20),n.qZA(),n.TgZ(46,"tfoot")(47,"tr"),n.YNc(48,wc,1,0,"td",21),n.TgZ(49,"td",22),n._uU(50),n.qZA(),n.TgZ(51,"td",23),n._uU(52),n.ALo(53,"number"),n.ALo(54,"sum"),n.qZA()()()()()(),n.TgZ(55,"table",24),n.YNc(56,Ic,5,2,"tr",25),n.YNc(57,Dc,6,2,"tr",25),n.qZA(),n.TgZ(58,"div",26)(59,"table",27),n.YNc(60,Jc,9,1,"tr",25),n.qZA()(),n.TgZ(61,"div")(62,"div",28),n.YNc(63,Yc,6,4,"div",29),n.qZA(),n.YNc(64,Hc,5,4,"div",30),n.qZA()()),2&e){const t=n.oxw();n.Q6J("ngClass",(null==t.params?null:t.params.Mode)||""),n.xp6(4),n.Q6J("ngIf",null==t.data?null:t.data.Template.Logo),n.xp6(2),n.Q6J("innerHTML",null==t.data?null:t.data.Template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",null==t.data?null:t.data.Template.Field,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(10,21,t.data.Template.Address),n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(12,23,t.data.Template.ContactInfo),n.oJD),n.xp6(2),n.Q6J("ngIf",t.data.Data.ContactDisplay),n.xp6(4),n.Oqu(null==t.data?null:t.data.Data.Prefixed),n.xp6(2),n.hij(" ",null==t.data?null:t.data.Data.Invoice.Number," "),n.xp6(10),n.Oqu(n.xi3(30,25,null==t.data?null:t.data.Data.Invoice.Date,"dd MMM yyyy")),n.xp6(4),n.Q6J("ngStyle",n.VKq(33,Bc,"100%")),n.xp6(12),n.Q6J("ngForOf",null==t.data?null:t.data.Data.Items),n.xp6(3),n.Q6J("ngIf",(null==t.appConfig?null:t.appConfig.PrintConfigInvoice.DocumentVisibility.BulkInvoiceDetail)&&(null==t.appConfig?null:t.appConfig.PrintConfigOthers.ARColletion.InvoiceDetailVisible)),n.xp6(1),n.Q6J("colSpan",null!=t.appConfig&&t.appConfig.PrintConfigInvoice.DocumentVisibility.BulkInvoiceDetail&&null!=t.appConfig&&t.appConfig.PrintConfigOthers.ARColletion.InvoiceDetailVisible?10:12),n.xp6(1),n.hij("",null==t.data?null:t.data.Data.Items.length," Invoice, Total:"),n.xp6(2),n.Oqu(n.lcZ(53,28,n.xi3(54,30,null==t.data?null:t.data.Data.Items,"RemainingPaymentBaseCurrency"))),n.xp6(4),n.Q6J("ngIf",(null==t.appConfig?null:t.appConfig.PrintConfigGeneral.Wordify.WordifyTotalAmountVisible)||(null==t.data?null:t.data.Data.TotalInWords)),n.xp6(1),n.Q6J("ngIf",null==t.data?null:t.data.Data.Payments.length),n.xp6(3),n.Q6J("ngIf",null==t.data?null:t.data.Data.Invoice.Note),n.xp6(3),n.Q6J("ngIf",(null==t.appConfig||null==t.appConfig.PrintConfigGeneral||null==t.appConfig.PrintConfigGeneral.Visibility?null:t.appConfig.PrintConfigGeneral.Visibility.Visible)&&(t.appConfig.PrintConfigInvoice.Signature.Column1||t.appConfig.PrintConfigInvoice.Signature.Column2||t.appConfig.PrintConfigInvoice.Signature.Column3||t.appConfig.PrintConfigInvoice.Signature.Column4)),n.xp6(1),n.Q6J("ngIf",null==t.appConfig?null:t.appConfig.PrintConfigInvoice.Footer.NoteVisible)}}let jc=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"params",void 0),(0,a.Z)(this,"appConfig",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.params=t,this.httpService.post("/Api/Print/BulkInvoice",JSON.stringify(t)).subscribe(i=>{this.data=i,this.appConfig=i.AppConfigJSON})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-bulk-invoice"]],decls:2,vars:1,consts:[["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css","type","text/css"],["class","print_container bulkinvoice_print_container container",3,"ngClass",4,"ngIf"],[1,"print_container","bulkinvoice_print_container","container",3,"ngClass"],[1,"header","clearfix"],[1,"header_left"],[1,"company"],["class","float",3,"src",4,"ngIf"],[1,"companyBody"],[3,"innerHTML"],[1,"contact_info","clearfix",2,"max-width","300px"],[1,"address",3,"innerHTML"],[1,"number",3,"innerHTML"],["class","contact",4,"ngIf"],[1,"header_right"],[1,"cart-mini-items"],[1,"cartItems"],[1,"plain",3,"ngStyle"],[2,"width","100px"],["colspan","10"],[1,"number",2,"width","120px"],[4,"ngFor","ngForOf"],["colspan","2","style","width: 200px;",4,"ngIf"],[1,"number",3,"colSpan"],[1,"number"],[1,"table-sm","table-bordered","table-secondary","info"],[4,"ngIf"],[1,"note-info"],[1,"info"],[1,"row"],["class","col-12 signature",4,"ngIf"],["class","note",4,"ngIf"],[1,"float",3,"src"],[1,"contact"],[1,"box"],[1,"customer_info"],["class","plain w-100","style","border-collapse: collapse;",4,"ngIf"],[1,"plain","w-100",2,"border-collapse","collapse"],[2,"width","28px"],[2,"width","75px"],[2,"width","30px"],[1,"number",2,"width","80px"],[1,"number",2,"width","100px"],[1,"number",2,"width","28px"],[1,"number",2,"width","30px"],["colspan","2",2,"width","200px"],[1,"sep"],["class","val",4,"ngIf"],[1,"val"],[1,"bg-light-gray",3,"innerHTML"],[1,"bg-light-gray"],[1,"float"],[3,"innerHtml"],[1,"col-12","signature"],[1,"row","justify-content-between"],["class","col-3","style","height: 120px;",4,"ngIf"],[1,"col-3",2,"height","120px"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHtml"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"note"],["class","left",4,"ngIf"],[1,"right"],[1,"left"]],template:function(t,i){1&t&&(n._UZ(0,"link",0),n.YNc(1,Rc,65,35,"div",1)),2&t&&(n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.mk,c.sg,c.O5,c.PC,c.JJ,c.uU,l.OI,l.qU,l.sH,l.zX,l.rU],styles:['.UOMWidth[_ngcontent-%COMP%]{width:40px!important;font-size:10px;font-style:italic}.sellPayment[_ngcontent-%COMP%] input.txtPrice[_ngcontent-%COMP%]{font-size:55px}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:10px!important}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})),e})();const Vc=function(e,o){return{"col-3":e,"col-6":o}};function Fc(e,o){if(1&e&&(n.TgZ(0,"div",25),n._UZ(1,"img",26),n.qZA()),2&e){const t=n.oxw(2);n.Q6J("ngClass",n.WLB(2,Vc,t.template.Name,!t.template.Name)),n.xp6(1),n.Q6J("src",t.template.Logo,n.LSH)}}const Ec=function(e,o){return{"text-success":e,"text-danger":o}};function $c(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n._UZ(5,"br")(6,"i",27),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA(),n.TgZ(11,"td"),n._uU(12),n.qZA()()),2&e){const t=o.$implicit,i=o.index;n.xp6(2),n.Oqu(i+1),n.xp6(2),n.hij(" ",t.Name," "),n.xp6(2),n.Q6J("innerHTML",t.Note,n.oJD),n.xp6(2),n.Oqu(t.Code),n.xp6(1),n.Tol(n.WLB(8,Ec,t.Quantity>0,t.Quantity<0)),n.xp6(1),n.hij(" ",t.Quantity," "),n.xp6(2),n.Oqu(t.UOMName)}}function Wc(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",28),n._uU(2,"Note"),n.qZA(),n.TgZ(3,"td",29),n._uU(4,":"),n.qZA(),n._UZ(5,"td",30),n.ALo(6,"newlines"),n.qZA()),2&e){const t=n.oxw(2);n.xp6(5),n.Q6J("innerHtml",n.lcZ(6,1,t.header.Note),n.oJD)}}function Xc(e,o){if(1&e&&(n.TgZ(0,"div",31)(1,"h5",32),n._uU(2," \xa0 "),n.qZA(),n.TgZ(3,"div",33),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.adjustmentConfig.Signature.Column1,n.oJD)}}function Gc(e,o){if(1&e&&(n.TgZ(0,"div",34)(1,"h5",32),n._uU(2," \xa0 "),n.qZA(),n.TgZ(3,"div",33),n._uU(4," \xa0 "),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",t.adjustmentConfig.Signature.Column2,n.oJD)}}const Kc=function(e,o){return{"col-8":e,col:o}};function na(e,o){if(1&e&&(n.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),n.YNc(5,Fc,2,5,"div",8),n.TgZ(6,"div",9),n._UZ(7,"h2",10)(8,"small",10),n.TgZ(9,"div"),n._UZ(10,"div",10),n.ALo(11,"newlines"),n._UZ(12,"div",10),n.ALo(13,"newlines"),n.qZA()()()(),n.TgZ(14,"div",11)(15,"h1")(16,"strong",12),n._uU(17),n.qZA(),n.TgZ(18,"span",13),n._uU(19),n.qZA()(),n.TgZ(20,"div")(21,"table")(22,"thead")(23,"tr")(24,"th"),n._uU(25,"Date"),n.qZA()()(),n.TgZ(26,"tbody")(27,"tr")(28,"td"),n._uU(29),n.qZA()()()()()()(),n.TgZ(30,"div",14)(31,"table",15)(32,"thead",16)(33,"tr")(34,"th",17),n._uU(35,"No"),n.qZA(),n.TgZ(36,"th"),n._uU(37,"Name"),n.qZA(),n.TgZ(38,"th",18),n._uU(39,"Code"),n.qZA(),n.TgZ(40,"th",18),n._uU(41,"Qty"),n.qZA(),n.TgZ(42,"th",18),n._uU(43,"UOM"),n.qZA()()(),n.TgZ(44,"tbody"),n.YNc(45,$c,13,11,"tr",19),n.qZA()()(),n.TgZ(46,"table",20),n.YNc(47,Wc,7,3,"tr",21),n.qZA(),n.TgZ(48,"div")(49,"div")(50,"div",22),n.YNc(51,Xc,5,1,"div",23),n.YNc(52,Gc,5,1,"div",24),n.qZA()()()()()),2&e){const t=n.oxw();n.xp6(5),n.Q6J("ngIf",t.template.Logo),n.xp6(1),n.Q6J("ngClass",n.WLB(17,Kc,t.template.Name,!t.template.Name)),n.xp6(1),n.Q6J("innerHTML",t.template.Name,n.oJD),n.xp6(1),n.Q6J("innerHTML",t.template.Field,n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(11,13,t.template.Address),n.oJD),n.xp6(2),n.Q6J("innerHTML",n.lcZ(13,15,t.template.ContactInfo),n.oJD),n.xp6(5),n.Oqu(t.adjustmentConfig.HeaderTitle),n.xp6(2),n.hij(" ",t.header.Number," "),n.xp6(10),n.hij(" ",t.header.Date," "),n.xp6(16),n.Q6J("ngForOf",t.differenceArray),n.xp6(2),n.Q6J("ngIf",t.header.Note),n.xp6(4),n.Q6J("ngIf",t.adjustmentConfig.Signature.Column1),n.xp6(1),n.Q6J("ngIf",t.adjustmentConfig.Signature.Column2)}}let ta=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activatedRoute",void 0),(0,a.Z)(this,"adjustmentConfig",void 0),(0,a.Z)(this,"header",void 0),(0,a.Z)(this,"countedArray",void 0),(0,a.Z)(this,"differenceArray",void 0),(0,a.Z)(this,"template",void 0),this.httpService=t,this.activatedRoute=i}ngOnInit(){this.getInvoiceData()}getInvoiceData(){this.activatedRoute.queryParams.subscribe(t=>{this.httpService.post("/API/Print/Adjustment",JSON.stringify(t)).subscribe(i=>{this.adjustmentConfig=i.Config.AdjustmentConfig,this.header=i.Header,this.countedArray=i.CountedArray,this.differenceArray=i.DifferenceArray,this.template=i.Template})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-printing-adjustment"]],decls:3,vars:1,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css"],["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css"],["class","print_container",4,"ngIf"],[1,"print_container"],[1,"invoice_print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header_left"],[1,"row","row","ms-0"],["class","shop-logo",3,"ngClass",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHTML"],[1,"header_right"],[1,"adjustment-title"],[1,"invoice-number"],[1,"cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#fdf3c6"],[2,"width","50px"],[2,"width","80px"],[4,"ngFor","ngForOf"],[1,"table","table-sm","table-bordered","table-secondary","info","w-25"],[4,"ngIf"],[1,"signature","row","justify-content-between"],["class","col-3 signature-col1",4,"ngIf"],["class","col-3 signature-col2",4,"ngIf"],[1,"shop-logo",3,"ngClass"],[1,"float","col-md-12",3,"src"],["id","show",2,"color","cadetblue",3,"innerHTML"],[1,"bg-light-gray",2,"width","50px"],[2,"width","10px"],[3,"innerHtml"],[1,"col-3","signature-col1"],[1,"text-center","mb-0",2,"line-height","20px",3,"innerHTML"],[1,"border-bottom","border-dark",2,"height","75px"],[1,"col-3","signature-col2"]],template:function(t,i){1&t&&(n._UZ(0,"link",0)(1,"link",1),n.YNc(2,na,53,20,"div",2)),2&t&&(n.xp6(2),n.Q6J("ngIf",i.header))},dependencies:[c.mk,c.sg,c.O5,l.sH],styles:['div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}@media print{.shop-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}}']})),e})();function ea(e,o){if(1&e&&(n._UZ(0,"img",34),n.ALo(1,"images")),2&e){const t=n.oxw(3);n.Q6J("src",n.lcZ(1,1,null==t.printTemplate?null:t.printTemplate.Logo),n.LSH)}}function oa(e,o){if(1&e&&(n.TgZ(0,"div",32),n.YNc(1,ea,2,3,"img",33),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",null==t.printTemplate?null:t.printTemplate.Logo)}}function ia(e,o){if(1&e&&(n.TgZ(0,"div")(1,"span"),n._uU(2),n.qZA()()),2&e){const t=n.oxw(3);n.xp6(2),n.Oqu(t.data.Contact.Email)}}function ca(e,o){if(1&e&&(n.TgZ(0,"div",35)(1,"div",36)(2,"h3",37)(3,"span"),n._uU(4),n.qZA()(),n.TgZ(5,"div",38)(6,"strong"),n._uU(7),n.qZA(),n.TgZ(8,"div",39),n.YNc(9,ia,3,1,"div",29),n.TgZ(10,"div")(11,"span"),n._uU(12),n.ALo(13,"newlines"),n.qZA()(),n.TgZ(14,"div")(15,"span"),n._uU(16),n.qZA()()()()()()),2&e){const t=n.oxw(2);n.xp6(4),n.Oqu(t.config.PrintConfigPurchase.DocumentLabel.SupplierTittle),n.xp6(3),n.Oqu(t.data.ContactDisplay),n.xp6(2),n.Q6J("ngIf",!t.data.IsTransfer),n.xp6(3),n.Oqu(n.lcZ(13,5,t.data.Contact.Address)),n.xp6(4),n.Oqu(t.data.City)}}function aa(e,o){if(1&e&&(n.TgZ(0,"small"),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(t.Note)}}function ga(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.Amount))}}function da(e,o){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"number"),n.qZA()),2&e){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.Amount))}}function la(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n._UZ(5,"br"),n.YNc(6,aa,2,1,"small",29),n.qZA(),n.TgZ(7,"td",24),n.YNc(8,ga,3,3,"span",29),n.qZA(),n.TgZ(9,"td",24),n.YNc(10,da,3,3,"span",29),n.qZA()()),2&e){const t=o.$implicit,i=n.oxw(2);n.xp6(2),n.Oqu(t.AccountCode),n.xp6(2),n.Oqu(t.AccountName),n.xp6(2),n.Q6J("ngIf",i.config.PrintConfigAccounting.Visibility.JournalNoteAccountVisible),n.xp6(2),n.Q6J("ngIf",1==t.DCTypeID),n.xp6(2),n.Q6J("ngIf",-1==t.DCTypeID)}}function ra(e,o){if(1&e&&(n.TgZ(0,"tr",40)(1,"th",41),n._uU(2,"Note"),n.qZA(),n.TgZ(3,"td",42),n._uU(4,":"),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(6),n.hij(" ",t.data.JournalHeader.Note," ")}}function _a(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"th",16),n._uU(2,"Reference"),n.qZA(),n.TgZ(3,"td",43),n._uU(4,":"),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA()()),2&e){const t=n.oxw(2);n.xp6(6),n.hij(" ",t.data.JournalHeader.ReferenceTextDisplay," ")}}function pa(e,o){if(1&e&&(n.TgZ(0,"div",44)(1,"div",45)(2,"h5",46),n._uU(3),n.qZA(),n.TgZ(4,"div",47),n._uU(5," \xa0 "),n.qZA()(),n.TgZ(6,"div",45)(7,"h5",46),n._uU(8),n.qZA(),n.TgZ(9,"div",47),n._uU(10," \xa0 "),n.qZA()(),n.TgZ(11,"div",45)(12,"h5",46),n._uU(13),n.qZA(),n.TgZ(14,"div",47),n._uU(15," \xa0 "),n.qZA()(),n.TgZ(16,"div",45)(17,"h5",46),n._uU(18),n.qZA(),n.TgZ(19,"div",47),n._uU(20," \xa0 "),n.qZA()()()),2&e){const t=n.oxw(2);n.xp6(3),n.hij(" ",t.config.PrintConfigAccounting.FooterLabel.CreatedBy," "),n.xp6(5),n.hij(" ",t.config.PrintConfigAccounting.FooterLabel.ApprovedBy," "),n.xp6(5),n.hij(" ",t.config.PrintConfigAccounting.FooterLabel.SignedBy," "),n.xp6(5),n.hij(" ",t.config.PrintConfigAccounting.FooterLabel.ReceivedBy," ")}}function Ca(e,o){if(1&e&&(n.TgZ(0,"small",48),n._uU(1),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.hij("",t.data.Creator," ")}}const Pa=function(e,o){return{"col-8":e,col:o}};function Ma(e,o){if(1&e&&(n.TgZ(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),n.YNc(4,oa,2,1,"div",6),n.TgZ(5,"div",7),n._UZ(6,"h2",8)(7,"small",8),n.TgZ(8,"div"),n._UZ(9,"div",8),n.ALo(10,"newlines"),n._UZ(11,"div",8),n.ALo(12,"newlines"),n.qZA()()(),n.YNc(13,ca,17,7,"div",9),n.qZA(),n.TgZ(14,"div",10)(15,"div",11)(16,"div",12)(17,"h1")(18,"strong"),n._uU(19,"Journal #"),n.qZA(),n.TgZ(20,"span"),n._uU(21),n.qZA()()(),n.TgZ(22,"div",12)(23,"div",13)(24,"div",14)(25,"table",15)(26,"thead",16)(27,"tr")(28,"th"),n._uU(29,"Date"),n.qZA(),n.TgZ(30,"th"),n._uU(31,"Outlet"),n.qZA()()(),n.TgZ(32,"tbody")(33,"tr",17)(34,"td",18),n._uU(35),n.ALo(36,"date"),n.qZA(),n.TgZ(37,"td",18),n._uU(38),n.qZA()()()()()()()()()(),n.TgZ(39,"div",19)(40,"div",20)(41,"table",21)(42,"thead",22)(43,"tr",23)(44,"th"),n._uU(45,"Code"),n.qZA(),n.TgZ(46,"th"),n._uU(47,"Account"),n.qZA(),n.TgZ(48,"th",24),n._uU(49,"Debit"),n.qZA(),n.TgZ(50,"th",24),n._uU(51,"Credit"),n.qZA()()(),n.TgZ(52,"tbody"),n.YNc(53,la,11,5,"tr",25),n.qZA(),n.TgZ(54,"tfoot")(55,"tr"),n._UZ(56,"td",26),n.TgZ(57,"td",24),n._uU(58),n.ALo(59,"number"),n.ALo(60,"sum"),n.ALo(61,"Filter"),n.qZA(),n.TgZ(62,"td",24),n._uU(63),n.ALo(64,"number"),n.ALo(65,"sum"),n.ALo(66,"Filter"),n.qZA()()()()()(),n.TgZ(67,"table",27),n.YNc(68,ra,7,1,"tr",28),n.YNc(69,_a,7,1,"tr",29),n.qZA(),n.YNc(70,pa,21,4,"div",30),n.YNc(71,Ca,2,1,"small",31),n.qZA()),2&e){const t=n.oxw();n.xp6(4),n.Q6J("ngIf",null==t.printTemplate?null:t.printTemplate.Logo),n.xp6(1),n.Q6J("ngClass",n.WLB(42,Pa,null==t.printTemplate?null:t.printTemplate.Name,!(null!=t.printTemplate&&t.printTemplate.Name))),n.xp6(1),n.Q6J("innerHtml",null==t.printTemplate?null:t.printTemplate.Name,n.oJD),n.xp6(1),n.Q6J("innerHtml",null==t.printTemplate?null:t.printTemplate.Field,n.oJD),n.xp6(2),n.Q6J("innerHtml",n.lcZ(10,17,null==t.printTemplate?null:t.printTemplate.Address),n.oJD),n.xp6(2),n.Q6J("innerHtml",n.lcZ(12,19,null==t.printTemplate?null:t.printTemplate.ContactInfo),n.oJD),n.xp6(2),n.Q6J("ngIf",(null==t.data||null==t.data.Shipping?null:t.data.Shipping.Sender)||(null==t.data?null:t.data.ContactDisplay)),n.xp6(8),n.Oqu(t.data.JournalHeader.Number),n.xp6(14),n.Oqu(n.xi3(36,21,t.data.JournalHeader.Date,"dd MMM yyyy")),n.xp6(3),n.Oqu(t.data.JournalHeader.EntityName),n.xp6(15),n.Q6J("ngForOf",t.data.Items),n.xp6(5),n.Oqu(n.lcZ(59,24,n.xi3(60,26,n.Dn7(61,29,t.data.Items,-1,"DCTypeID"),"Amount"))),n.xp6(5),n.Oqu(n.lcZ(64,33,n.xi3(65,35,n.Dn7(66,38,t.data.Items,-1,"DCTypeID"),"Amount"))),n.xp6(5),n.Q6J("ngIf",t.config.PrintConfigAccounting.FooterLabel.JournalNoteFooterVisible),n.xp6(1),n.Q6J("ngIf",t.data.JournalHeader.ReferenceTextDisplay),n.xp6(1),n.Q6J("ngIf",t.config.PrintConfigAccounting.Visibility.SignatureVisibility),n.xp6(1),n.Q6J("ngIf",1!=t.config.PrintConfigInvoice.Footer.CreatorVisiblePosition)}}let Oa=(()=>{class e{constructor(t,i){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"activeRoute",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"printTemplate",void 0),(0,a.Z)(this,"config",void 0),this.httpService=t,this.activeRoute=i}ngOnInit(){this.activeRoute.queryParams.pipe((0,P.h)(t=>d.gT.IsNotEmpty(t))).subscribe(t=>{this.httpService.post("/Api/Print/Journal",JSON.stringify(t)).subscribe(i=>{this.config=i.AppConfigJSON,this.data=i.Data,this.printTemplate=i.Template,1==t.Print&&window.setTimeout(function(){window.print()},500)})})}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-invoice-journal"]],decls:2,vars:1,consts:[["rel","stylesheet","href","/Styles/Print/PaperSizeA4_custom.css"],["class","print_container",4,"ngIf"],[1,"print_container"],[1,"row","g-0","py-3","d-flex","justify-content-between","header","overflow-hidden"],[1,"header-left-invoice","col-7","p-0","ms-2","header-left"],[1,"row","ms-0"],["class","shop-logo",4,"ngIf"],[1,"g-0","p-0","m-0","shop-description",3,"ngClass"],[3,"innerHtml"],["class","row ms-0 mt-3 header-customer",4,"ngIf"],[1,"col","p-0","m-0","header_right"],[1,"row","me-0","invoice_number"],[1,"w-100","d-flex","justify-content-end"],[1,"row"],[1,"col-12","d-flex","justify-content-end"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"border"],[1,"p-2","text-left"],[1,"row","d-print-block","g-0"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[1,"table-bordered"],[2,"background","#FCECA3"],[1,"text-end"],[4,"ngFor","ngForOf"],["colspan","2",1,"bg-white","table-borderless"],[1,"table","table-sm","table-bordered","table-secondary","mt-8","info",2,"width","400px"],["id","trNote",4,"ngIf"],[4,"ngIf"],["class","row mx-0 my-5 mt-5 text-center",4,"ngIf"],["class","d-block text-center font-italic py-2","style","font-size: 12px;",4,"ngIf"],[1,"shop-logo"],["class","float",3,"src",4,"ngIf"],[1,"float",3,"src"],[1,"row","ms-0","mt-3","header-customer"],[1,"col-6","border"],[1,"fw-bold"],[1,"box"],[1,"customer_info"],["id","trNote"],["width","75px;",1,"bg-light-gray"],["width","5px;",1,"text-center"],[1,"text-center"],[1,"row","mx-0","my-5","mt-5","text-center"],[1,"col-3",2,"height","120px"],[2,"line-height","20px"],[1,"border-bottom","border-dark",2,"height","100px"],[1,"d-block","text-center","font-italic","py-2",2,"font-size","12px"]],template:function(t,i){1&t&&(n._UZ(0,"link",0),n.YNc(1,Ma,72,45,"div",1)),2&t&&(n.xp6(1),n.Q6J("ngIf",i.data))},dependencies:[c.mk,c.sg,c.O5,c.JJ,c.uU,l.qU,l.sH,l.wn,l.rU],styles:['a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}table.plain[_ngcontent-%COMP%]{border-collapse:collapse}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:16px;padding:2px 7px;color:#fff;font-weight:700}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#fceca3!important;background-image:none!important}table.plain[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000;text-shadow:none}table.plain[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px}table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.plain[_ngcontent-%COMP%] tr.thick[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:3px solid black}table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){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;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, table.plain[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(-n+3) a: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(even){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:linear-gradient(#888,#545454);box-shadow:inset 0 2px 0 -1px #fff3;text-shadow:0 -1px 0 rgba(0,0,0,.4);height:28px;line-height:24px;border-bottom:1px solid #333;padding:2px 7px;color:#fff;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:block;padding:5px 7px;border:solid 1px #d8d8d8;font-weight:700}div.zebra[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.number[_ngcontent-%COMP%]{text-align:right}body[_ngcontent-%COMP%]{padding:0;font-size:12px}div.print_container[_ngcontent-%COMP%]{margin:0 auto!important;text-align:left;color:#000;position:relative}div.mode[_ngcontent-%COMP%]{color:gray;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.header[_ngcontent-%COMP%]{width:100%;overflow:auto}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px;max-width:425px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:calc(100% - 12px);overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%]{float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}.company[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:30%}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%]{position:relative}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px;text-align:left}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}.special-TinyMCE[_ngcontent-%COMP%]{padding-top:10px!important}@media print{body[_ngcontent-%COMP%]{font-family:Arial;color:#000}}div.signature[_ngcontent-%COMP%], div.signature-b[_ngcontent-%COMP%]{clear:both;height:111px;margin-top:25px}div.signature[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0 0 80px;padding:0;font-size:12px;font-weight:700}div.signature[_ngcontent-%COMP%] div.name[_ngcontent-%COMP%]{border-top:solid 1px Gray;height:15px;text-align:center}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:70px;width:150px}div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%]{float:left;margin-left:155px;width:150px}div.signature[_ngcontent-%COMP%] div.noLeftMargin[_ngcontent-%COMP%]{margin-left:0!important}div.signature[_ngcontent-%COMP%] div.leftSmall[_ngcontent-%COMP%]{margin-left:120px!important}div.signature[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.signature[_ngcontent-%COMP%] div.center[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:150px;margin-right:5px}div.print_container[_ngcontent-%COMP%] div.footerNote[_ngcontent-%COMP%]{padding-left:5px;width:150px}div.signature[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center}div.fullSignatureNote[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{display:table-row-group}']})),e})();var sa=r(39646);function xa(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"div",18),n._uU(2,"Payment Note"),n.qZA(),n.TgZ(3,"div",19),n._uU(4,":"),n.qZA(),n._UZ(5,"div",25),n.ALo(6,"newlines"),n.BQk()),2&e){const t=n.oxw().ngIf;n.xp6(5),n.Q6J("innerHTML",n.lcZ(6,1,t.Data.Note),n.oJD)}}function fa(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA(),n.TgZ(7,"td",31),n._uU(8),n.qZA(),n.TgZ(9,"td",31),n._uU(10),n.ALo(11,"number"),n.qZA(),n.TgZ(12,"td",31),n._uU(13),n.ALo(14,"number"),n.qZA()()),2&e){const t=o.$implicit,i=o.index;n.xp6(2),n.Oqu(i+1),n.xp6(2),n.Oqu(t.Name),n.xp6(2),n.Oqu(t.Code),n.xp6(2),n.Oqu(t.Quantity),n.xp6(2),n.Oqu(n.lcZ(11,6,t.UnitPrice)),n.xp6(3),n.Oqu(n.lcZ(14,8,t.Total))}}function ma(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"div",26)(2,"div",27)(3,"table",28)(4,"thead",29)(5,"tr")(6,"th",30),n._uU(7," No "),n.qZA(),n.TgZ(8,"th"),n._uU(9," Name "),n.qZA(),n.TgZ(10,"th"),n._uU(11," Code "),n.qZA(),n.TgZ(12,"th",31),n._uU(13," Qty "),n.qZA(),n.TgZ(14,"th",31),n._uU(15," Price "),n.qZA(),n.TgZ(16,"th",31),n._uU(17," Total "),n.qZA()()(),n.TgZ(18,"tbody"),n.YNc(19,fa,15,10,"tr",32),n.qZA()()()(),n.BQk()),2&e){const t=n.oxw().ngIf;n.xp6(19),n.Q6J("ngForOf",null==t||null==t.Data?null:t.Data.InvoiceItems)}}function ua(e,o){if(1&e&&(n.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"h1"),n._uU(4),n.qZA(),n._UZ(5,"small",4)(6,"h6",5),n.ALo(7,"newlines"),n._UZ(8,"h6",6),n.ALo(9,"newlines"),n.qZA(),n.TgZ(10,"div",7)(11,"table",8)(12,"thead",9)(13,"tr")(14,"th",10),n._uU(15,"Payment Date"),n.qZA()()(),n.TgZ(16,"tbody")(17,"tr",11)(18,"td")(19,"div",12),n._uU(20),n.ALo(21,"date"),n.qZA()()()()()()(),n.TgZ(22,"div",13)(23,"div",14)(24,"h1"),n._uU(25),n.qZA(),n.TgZ(26,"h6",15),n._uU(27),n.qZA()(),n.TgZ(28,"div",16)(29,"div",17)(30,"div",18),n._uU(31,"Received From"),n.qZA(),n.TgZ(32,"div",19),n._uU(33,":"),n.qZA(),n.TgZ(34,"div",20),n._uU(35),n.qZA(),n.TgZ(36,"div",18),n._uU(37,"Payment For"),n.qZA(),n.TgZ(38,"div",19),n._uU(39,":"),n.qZA(),n.TgZ(40,"div",20),n._uU(41),n.ALo(42,"date"),n.qZA(),n.YNc(43,xa,7,3,"ng-container",21),n.qZA()(),n.YNc(44,ma,20,1,"ng-container",21),n.TgZ(45,"div",22)(46,"span",23),n._uU(47,"Amount"),n.qZA(),n.TgZ(48,"span",24),n._uU(49),n.ALo(50,"number"),n.qZA()()()()),2&e){const t=o.ngIf;n.xp6(4),n.Oqu(t.PrintTemplate.DisplayName),n.xp6(1),n.Q6J("innerHtml",t.PrintTemplate.Field,n.oJD),n.xp6(1),n.Q6J("innerHTML",n.lcZ(7,14,t.PrintTemplate.Address),n.oJD),n.xp6(2),n.Q6J("innerHtml",n.lcZ(9,16,t.PrintTemplate.ContactInfo),n.oJD),n.xp6(12),n.Oqu(n.xi3(21,18,t.Data.Date,"dd MMM yyyy")),n.xp6(5),n.Oqu(t.Config.Header),n.xp6(2),n.hij("INVOICE: ",t.Data.InvoiceNumber,""),n.xp6(8),n.Oqu(t.Data.Customer.Display),n.xp6(6),n.AsE("",t.Data.InvoiceNumber," - ",n.xi3(42,21,t.Data.Date,"dd MMM yy"),""),n.xp6(2),n.Q6J("ngIf",t.Data.Note),n.xp6(1),n.Q6J("ngIf",t.Config.Products),n.xp6(5),n.AsE("",t.Data.CurrencySymbol," ",n.lcZ(50,24,t.Data.Amount),"")}}const ba=[{path:"InvoiceMini",component:I},{path:"Invoice",component:M},{path:"Estimate",component:Jo},{path:"SalesOrder",component:J},{path:"CustomerPO",component:sn},{path:"OutDelivery",component:Yt},{path:"PackingSlip",component:de},{path:"WorkOrder",component:re},{path:"InvoiceNOutD",component:pe},{path:"Transfer",component:Ce},{path:"TransferMini",component:oc},{path:"InDelivery",component:Pe},{path:"SupplierInvoice",component:co},{path:"SupplierPO",component:Hi},{path:"Treatment",component:ao.M},{path:"RegisterClosure",component:_i},{path:"JobOrder",component:Mi},{path:"JobOrderMini",component:fi},{path:"BulkSupplierInvoice",component:mc},{path:"BulkInvoice",component:jc},{path:"Adjustment",component:ta},{path:"Manual-journal-invoice",component:Oa},{path:"Payment",component:(()=>{class e{constructor(t,i){(0,a.Z)(this,"http",void 0),(0,a.Z)(this,"aRoute",void 0),(0,a.Z)(this,"endpoint","/API/Print/Payment"),(0,a.Z)(this,"_data$",void 0),this.http=t,this.aRoute=i}ngOnInit(){const t=(0,sa.of)(this.aRoute.snapshot.queryParams);this._data$=t.pipe((0,k.b)(i=>this.http.post(this.endpoint,i)))}}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)(n.Y36(p.O),n.Y36(_.gz))}),(0,a.Z)(e,"\u0275cmp",n.Xpm({type:e,selectors:[["POS-payment-print"]],decls:2,vars:3,consts:[["class","container-fluid","style","width: 60vw;",4,"ngIf"],[1,"container-fluid",2,"width","60vw"],[1,"d-flex","justify-content-between","align-items-end",2,"border-bottom","1px solid black","padding-bottom","5px"],[1,"outlet-address"],[3,"innerHtml"],[1,"fw-normal",3,"innerHTML"],[1,"fw-normal",3,"innerHtml"],[1,"pt-2"],[1,"table","table-bordered","w-auto","float-none"],[1,"bg-light-gray"],[1,"py-2","text-capitalize"],[1,"border"],[1,"date","fw-bold"],[2,"margin-top","10px"],[1,"text-center"],[1,"fw-normal"],[2,"margin-top","35px"],[1,"row",2,"margin-left","50px"],[1,"col-3","text-start","fw-bold"],[1,"col-1","text-end"],[1,"col-8"],[4,"ngIf"],[1,"fw-bold",2,"margin-top","50px"],[2,"padding","10px 35px","border","1px solid black"],[2,"padding","10px 50px","border","1px solid black","background-color","#f3ab1c"],[1,"col-8",3,"innerHTML"],[1,"row","d-print-block","g-0","mt-6"],[1,"col-md-12","cartItems"],[1,"w-100","table","table-sm","table-bordered","plain"],[2,"background","#FDF3C6"],[2,"width","20px"],[1,"text-end"],[4,"ngFor","ngForOf"]],template:function(t,i){1&t&&(n.YNc(0,ua,51,26,"div",0),n.ALo(1,"async")),2&t&&n.Q6J("ngIf",n.lcZ(1,1,i._data$))},dependencies:[c.sg,c.O5,c.Ov,c.JJ,c.uU,l.sH],styles:["@media print{div.container-fluid[_ngcontent-%COMP%]{width:100vw!important}}"]})),e})()}];let va=(()=>{class e{}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,a.Z)(e,"\u0275mod",n.oAB({type:e})),(0,a.Z)(e,"\u0275inj",n.cJS({imports:[_.Bz.forChild(ba),_.Bz]})),e})(),ya=(()=>{class e{}return(0,a.Z)(e,"\u0275fac",function(t){return new(t||e)}),(0,a.Z)(e,"\u0275mod",n.oAB({type:e})),(0,a.Z)(e,"\u0275inj",n.cJS({imports:[c.ez,va,T.e,s.o,O.I,Qt,l.dr,x.y]})),e})()},69249:(U,v,r)=>{r.d(v,{M:()=>s});var a=r(81180),c=r(94650),_=r(89156),y=r(9116),Z=r(11481),n=r(36895),p=r(93669);function f(C,M){if(1&C&&(c.TgZ(0,"small",13),c._uU(1),c.qZA()),2&C){const d=c.oxw(2);c.xp6(1),c.Oqu(d.Template.Field)}}function m(C,M){if(1&C&&(c.TgZ(0,"tr")(1,"td"),c._uU(2,"Point Balance"),c.qZA(),c.TgZ(3,"td"),c._uU(4,":"),c.qZA(),c.TgZ(5,"td"),c._uU(6),c.ALo(7,"number"),c.qZA()()),2&C){const d=c.oxw(2);c.xp6(6),c.Oqu(c.lcZ(7,1,d.Data.Package.Point))}}function T(C,M){if(1&C&&(c.TgZ(0,"tr")(1,"td"),c._uU(2,"Point Expired"),c.qZA(),c.TgZ(3,"td"),c._uU(4,":"),c.qZA(),c.TgZ(5,"td"),c._uU(6),c.ALo(7,"IsMinDate"),c.qZA()()),2&C){const d=c.oxw(2);c.xp6(6),c.Oqu(c.lcZ(7,1,d.Data.Package.Expired))}}function A(C,M){if(1&C&&c._UZ(0,"div",14),2&C){const d=c.oxw(2);c.Q6J("innerHTML",d.Template.FooterLeft,c.oJD)}}function I(C,M){if(1&C&&(c.TgZ(0,"div")(1,"h1",4),c._uU(2),c.qZA(),c.YNc(3,f,2,1,"small",5),c.TgZ(4,"p",6),c._UZ(5,"span",7),c.ALo(6,"newlines"),c._UZ(7,"span",7),c.ALo(8,"newlines"),c.qZA(),c.TgZ(9,"h2",8),c._uU(10),c.qZA(),c.TgZ(11,"div",9)(12,"span"),c._uU(13),c.ALo(14,"date"),c.qZA(),c.TgZ(15,"span",10),c._uU(16),c.ALo(17,"date"),c.qZA()(),c.TgZ(18,"h3"),c._uU(19,"Customer"),c.qZA(),c.TgZ(20,"table",11)(21,"tr")(22,"td"),c._uU(23,"Name"),c.qZA(),c.TgZ(24,"td"),c._uU(25,":"),c.qZA(),c.TgZ(26,"td"),c._uU(27),c.qZA()(),c.TgZ(28,"tr")(29,"td"),c._uU(30,"Code"),c.qZA(),c.TgZ(31,"td"),c._uU(32,":"),c.qZA(),c.TgZ(33,"td"),c._uU(34),c.qZA()(),c.TgZ(35,"tr")(36,"td"),c._uU(37,"Charged Point"),c.qZA(),c.TgZ(38,"td"),c._uU(39,":"),c.qZA(),c.TgZ(40,"td"),c._uU(41),c.ALo(42,"number"),c.qZA()(),c.TgZ(43,"tr")(44,"td"),c._uU(45,"Treatment Type"),c.qZA(),c.TgZ(46,"td"),c._uU(47,":"),c.qZA(),c.TgZ(48,"td"),c._uU(49),c.qZA()(),c.YNc(50,m,8,3,"tr",3),c.YNc(51,T,8,3,"tr",3),c.TgZ(52,"tr")(53,"td"),c._uU(54,"Doctor"),c.qZA(),c.TgZ(55,"td"),c._uU(56,":"),c.qZA(),c.TgZ(57,"td"),c._uU(58),c.qZA()(),c.TgZ(59,"tr")(60,"td"),c._uU(61,"Assistant"),c.qZA(),c.TgZ(62,"td"),c._uU(63,":"),c.qZA(),c.TgZ(64,"td"),c._uU(65),c.qZA()(),c.TgZ(66,"tr")(67,"td"),c._uU(68,"Duration "),c.qZA(),c.TgZ(69,"td"),c._uU(70,":"),c.qZA(),c.TgZ(71,"td"),c._uU(72),c.ALo(73,"DateDiffInMinute"),c.qZA()()(),c.YNc(74,A,1,1,"div",12),c.qZA()),2&C){const d=c.oxw();c.xp6(2),c.Oqu(d.Template.Name),c.xp6(1),c.Q6J("ngIf",d.Template.Address),c.xp6(2),c.Q6J("innerHTML",c.lcZ(6,18,d.Template.Address),c.oJD),c.xp6(2),c.Q6J("innerHTML",c.lcZ(8,20,d.Template.ContactInfo),c.oJD),c.xp6(3),c.hij(" ",d.Data.Title," "),c.xp6(3),c.hij("Date : ",c.xi3(14,22,d.Data.Invoice.QueueTime,"dd MMM yyyy"),""),c.xp6(3),c.hij("Time : ",c.xi3(17,25,d.Data.Invoice.QueueTime,"HH:mm:ss"),""),c.xp6(11),c.Oqu(d.Data.ContactDisplay),c.xp6(7),c.Oqu(d.Data.ContactCode),c.xp6(7),c.AsE("",c.xi3(42,28,d.Data.Invoice.PointBurned,"1.2-2")," ",d.Data.Invoice.VariantName,""),c.xp6(8),c.Oqu(d.Data.Invoice.TreatmentTypeName),c.xp6(1),c.Q6J("ngIf",d.Data.Package),c.xp6(1),c.Q6J("ngIf",d.Data.Package),c.xp6(7),c.Oqu(d.Data.Invoice.DoctorName),c.xp6(7),c.Oqu(d.Data.Invoice.AssistantName),c.xp6(7),c.hij("",c.xi3(73,31,d.Data.Invoice.StartTime,d.Data.Invoice.EndTime)," Minute(s)"),c.xp6(2),c.Q6J("ngIf",d.AppConfigJSON.PrintConfigInvoice.Footer.NoteVisible)}}let s=(()=>{class C{constructor(d,P,O){(0,a.Z)(this,"httpService",void 0),(0,a.Z)(this,"route",void 0),(0,a.Z)(this,"titleService",void 0),(0,a.Z)(this,"data",void 0),(0,a.Z)(this,"id",void 0),this.httpService=d,this.route=P,this.titleService=O}ngOnInit(){this.httpService.post("/API/Print/TreatmentInvoice",JSON.stringify({ID:this.route.snapshot.queryParams.ID||this.id})).subscribe(O=>{this.titleService.setTitle(O.Title),this.data=O})}get AppConfigJSON(){return this.data.AppConfigJSON}get Data(){return this.data.Data}get Template(){return this.data.Template}}return(0,a.Z)(C,"\u0275fac",function(d){return new(d||C)(c.Y36(_.O),c.Y36(y.gz),c.Y36(Z.Dx))}),(0,a.Z)(C,"\u0275cmp",c.Xpm({type:C,selectors:[["POS-treatment"]],inputs:{id:"id"},decls:4,vars:1,consts:[["rel","stylesheet","href","/Styles/Master/app_custom.css","type","text/css"],["rel","stylesheet","href","/Styles/Print/PaperSize8cm_custom.css","type","text/css"],[1,"print_container"],[4,"ngIf"],[1,"invoiceHeader"],["class","tagline",4,"ngIf"],[1,"address"],[3,"innerHTML"],["id","lblInvoiceNumber"],[1,"datetime","clearfix"],[1,"pull-right"],[1,"customer"],["class","note",3,"innerHTML",4,"ngIf"],[1,"tagline"],[1,"note",3,"innerHTML"]],template:function(d,P){1&d&&(c._UZ(0,"link",0)(1,"link",1),c.TgZ(2,"div",2),c.YNc(3,I,75,34,"div",3),c.qZA()),2&d&&(c.xp6(3),c.Q6J("ngIf",P.data))},dependencies:[n.O5,n.JJ,n.uU,p.sH,p.$k,p.sT],styles:['body[_ngcontent-%COMP%]{margin:0;padding:0;color:#000!important}div.print_container[_ngcontent-%COMP%]{font-family:Arial;margin:0 auto;width:230px;text-align:left;padding:0 4px;font-size:10px!important;position:relative}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;text-align:center}div.print_container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px!important;font-family:Arial;margin:0;padding:0;text-align:center;font-weight:700!important}small.tagline[_ngcontent-%COMP%]{text-align:center;font-style:italic;display:block}p.address[_ngcontent-%COMP%]{padding:0 0 5px;margin-top:3px;text-align:center;line-height:1.3}p.invDate[_ngcontent-%COMP%], p.orderDateTime[_ngcontent-%COMP%]{float:right;margin:3px 0 5px}div.details[_ngcontent-%COMP%]{border-bottom:solid 1px Black;margin:5px 0 8px;text-align:center;font-weight:700;padding:5px 0}div.print_container[_ngcontent-%COMP%] span.lblInvoiceNumber[_ngcontent-%COMP%]{font-size:10px;margin:3px 0;padding:0;float:left}div.customer[_ngcontent-%COMP%]{text-align:center;line-height:1.3}div.customer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px}div.customer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.dotseparator[_ngcontent-%COMP%]{border-bottom:1px solid #888;margin:3px auto;clear:both}div.section_content_left[_ngcontent-%COMP%]{float:left}div.section_content_right[_ngcontent-%COMP%]{float:right;text-align:right}div.cartAmount[_ngcontent-%COMP%]{margin-top:3px;text-align:right;padding-right:1px}div.cartAmount[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0 0 1px}div.cartAmount[_ngcontent-%COMP%] td.currency[_ngcontent-%COMP%]{width:20px;text-align:left}div.section[_ngcontent-%COMP%]{margin:5px 0 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{width:229px;padding:5px 0}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center;margin:0 0 2px}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%], div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0;padding:10px 5px;list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:block;text-align:center}div.section[_ngcontent-%COMP%] section[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{font-weight:700;text-align:center}div.extra[_ngcontent-%COMP%]{clear:both;text-align:center}div.extra[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}div.extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{border:1px dotted black;margin:3px auto;padding:10px 5px;background-color:#ffffbf;display:block}p[_ngcontent-%COMP%]{margin:0 auto;padding:0}div.note[_ngcontent-%COMP%]{padding-top:3px}div.note[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{display:block;font-weight:700!important;margin:2px 0 15px;text-align:center;font-style:italic}div.note[_ngcontent-%COMP%] .mid[_ngcontent-%COMP%]{text-align:center}div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:3px 0 0 18px;padding:0;list-style-type:disc}div.note[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:16px}div.note[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:3px 0 0 20px;padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.single[_ngcontent-%COMP%]{display:block}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.strike[_ngcontent-%COMP%]{display:block;text-decoration:line-through}table.rightAuto[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){padding:0 3px;margin:0 10px auto}footer[_ngcontent-%COMP%]{text-align:center;display:block;margin:15px 0 0;font-weight:700}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%]{text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal;font-weight:700}div.mode[_ngcontent-%COMP%]{color:#000;text-align:right;height:20px;padding-top:2px;font-size:10px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0 5px 0 0;padding:0 5px 0 0;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-right:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}span.title[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] font[_ngcontent-%COMP%]{display:block;padding:10px 0 0}div.print_container[_ngcontent-%COMP%] div.note[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0 0 10px}section.category[_ngcontent-%COMP%]{font-weight:700;border:0px;padding:10px;background:#fff}div.cart-item-header[_ngcontent-%COMP%]{display:inline-block;width:100%}section.cart-mini-items[_ngcontent-%COMP%]{clear:both;padding:1px 0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid #888}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{border-top:1px solid #888}section.item[_ngcontent-%COMP%]{margin:8px 0;border:1px solid #888;display:inline-block;width:calc(100% - 4px)}section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px 0}section.item[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:5px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:block;font-size:0;content:" ";clear:both;height:0}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(even), section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(even){background-color:#f4f4f4}section.cart-mini-items[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;text-align:left}section.cart-mini-items[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background:transparent;width:100%}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%], section.cart-mini-items[_ngcontent-%COMP%] > section.item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right}section.cart-mini-items[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:10px;padding:0 10px}section.cart-mini-items[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{min-width:60px;display:inline-block}section.single-row[_ngcontent-%COMP%] small[_ngcontent-%COMP%], section.single-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:10px;font-weight:400;padding:0 10px;float:left}.single-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;display:block;width:100%}div.cancel[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{text-decoration:line-through}a.linkPrinterOption[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}@media print{div.mode[_ngcontent-%COMP%], a.linkPrinterOption[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}nav.navbar[_ngcontent-%COMP%]{display:none}}@media print{.print_container[_ngcontent-%COMP%]{display:block}}']})),C})()}}]);