marketplacepos 2.4.2 → 2.4.3

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 (30) hide show
  1. package/Marketplace/102.00a16fb36f5a57f2.js +1 -0
  2. package/Marketplace/162.9784f9e579112c86.js +1 -0
  3. package/Marketplace/285.7583f3169c88c210.js +1 -0
  4. package/Marketplace/387.10f091023152d154.js +1 -0
  5. package/Marketplace/402.60951eab064c9706.js +1 -0
  6. package/Marketplace/{458.12f2630e8891b53a.js → 458.556f206f7d19bc29.js} +1 -1
  7. package/Marketplace/616.fb179a9605c3e98c.js +1 -0
  8. package/Marketplace/667.b7320f874219caa9.js +1 -0
  9. package/Marketplace/785.a0973529f8e8819e.js +1 -0
  10. package/Marketplace/796.d34bd45b5a924fca.js +1 -0
  11. package/Marketplace/874.9879a8b9489c9845.js +1 -0
  12. package/Marketplace/882.5d3edc53a8e4c38e.js +1 -0
  13. package/Marketplace/index.html +2 -2
  14. package/Marketplace/runtime.9cbc4802b0456746.js +1 -0
  15. package/Marketplace/scripts.09af772bfa77d50d.js +1 -0
  16. package/Marketplace/{styles.296cdf56f9059ddb.css → styles.f8366e17917068bd.css} +2 -21
  17. package/package.json +1 -1
  18. package/Marketplace/102.635de205af00df15.js +0 -1
  19. package/Marketplace/162.fb6aac67d4ab0ff8.js +0 -1
  20. package/Marketplace/285.1f547ef81e91fc15.js +0 -1
  21. package/Marketplace/387.f8d525b15c777074.js +0 -1
  22. package/Marketplace/402.2999196dce334514.js +0 -1
  23. package/Marketplace/616.507588c0a5d7b9e1.js +0 -1
  24. package/Marketplace/667.d0658dfbb8c75eb3.js +0 -1
  25. package/Marketplace/796.3be8ad424aad7864.js +0 -1
  26. package/Marketplace/801.8eb1454f763d4534.js +0 -1
  27. package/Marketplace/874.947c66675e9d3698.js +0 -1
  28. package/Marketplace/882.1c9c716bbdb403b5.js +0 -1
  29. package/Marketplace/runtime.d2e34b8aa2806626.js +0 -1
  30. package/Marketplace/scripts.6c7ffbfab0ec93ff.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[285],{4285:(ee,v,s)=>{s.r(v),s.d(v,{ReportModule:()=>W});var p=s(6895),C=s(7398),e=s(4650),h=s(8252);let Z=(()=>{class a{constructor(){this.ReportTabs=[{Title:"1 - New Order",Url:"/menu/report/order"},{Title:"2 - Ready to Ship",Url:"/menu/report/invoice"},{Title:"3 - Shipped",Url:"/menu/report/delivery"},{Title:"4 - Completed",Url:"/menu/report/payment"}]}ngOnInit(){}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-report"]],decls:5,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs"]],template:function(t,o){1&t&&(e.TgZ(0,"nav",0)(1,"div",1)(2,"div"),e._UZ(3,"nav-tab",2),e.qZA()()(),e._UZ(4,"router-outlet")),2&t&&(e.xp6(3),e.Q6J("Tabs",o.ReportTabs))},dependencies:[C.e,h.lC]}),a})();class u{}var O=s(1318);let g=(()=>{class a{constructor(t){this.http=t}GetLoader(){return new Promise((t,o)=>{this.http.post("/api/Report/GetLoader",{}).subscribe(n=>{t(n)})})}GetSyncOrder(t){return new Promise((o,n)=>{this.http.post("/api/Report/Salesorder",JSON.stringify(t)).subscribe(i=>{o(i)})})}GetSyncInvoice(t){return new Promise((o,n)=>{this.http.post("/api/Report/Invoice",JSON.stringify(t)).subscribe(i=>{o(i)})})}GetSyncDelivery(t){return new Promise((o,n)=>{this.http.post("/api/Report/Delivery",JSON.stringify(t)).subscribe(i=>{o(i)})})}GetSyncPayment(t){return new Promise((o,n)=>{this.http.post("/api/Report/Payment",JSON.stringify(t)).subscribe(i=>{o(i)})})}}return a.\u0275fac=function(t){return new(t||a)(e.LFG(O.O))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var c=s(7481),S=s(4006),w=s(8277),R=s(4859),f=s(3238),d=s(9602),_=s(9549),x=s(4144),M=s(5585);const P={parse:{dateInput:"DD MMM YYYY"},display:{dateInput:"DD MMM YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let T=(()=>{class a{constructor(){this.disabled=!1,this.widthClass="w-100",this.dateChange=new e.vpe}fromDateChange(t){let o=t.toDate();this.from=o}toDateChange(t){let o=t.toDate();this.to=o}onSelectDate(){this.dateChange.emit({from:this.from,to:this.to})}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-datepicker-range"]],inputs:{placeholder:"placeholder",displayToggle:"displayToggle",date:"date",disabled:"disabled",minDate:"minDate",widthClass:"widthClass",from:"from",to:"to"},outputs:{dateChange:"dateChange"},features:[e._Bn([{provide:f._A,useClass:w.t7,deps:[f.Ad]},{provide:f.sG,useValue:P}])],decls:12,vars:7,consts:[["appearance","outline"],["id","dates",3,"min","rangePicker"],["matStartDate","","placeholder","Start date",3,"value","dateChange","click"],["matEndDate","","placeholder","End date",3,"value","dateChange","click"],["matPrefix","",3,"for"],["picker",""],["mat-button","","matDateRangePickerCancel",""],["mat-raised-button","","color","primary","matDateRangePickerApply","",3,"click"]],template:function(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"mat-form-field",0)(1,"mat-date-range-input",1)(2,"input",2),e.NdJ("dateChange",function(m){return o.fromDateChange(m.value)})("click",function(){e.CHM(n);const m=e.MAs(6);return e.KtG(m.open())}),e.qZA(),e.TgZ(3,"input",3),e.NdJ("dateChange",function(m){return o.toDateChange(m.value)})("click",function(){e.CHM(n);const m=e.MAs(6);return e.KtG(m.open())}),e.qZA()(),e._UZ(4,"mat-datepicker-toggle",4),e.TgZ(5,"mat-date-range-picker",null,5)(7,"mat-date-range-picker-actions")(8,"button",6),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return o.onSelectDate()}),e._uU(11,"Search"),e.qZA()()()()}if(2&t){const n=e.MAs(6);e.Tol(o.widthClass),e.xp6(1),e.Q6J("min",o.minDate)("rangePicker",n),e.xp6(1),e.Q6J("value",o.from),e.xp6(1),e.Q6J("value",o.to),e.xp6(1),e.Q6J("for",n)}},dependencies:[d.nW,d.wx,d.zY,d.By,d._g,d.M5,d.dp,d.DK,_.KE,_.qo,R.lW],styles:["mat-date-range-input[_ngcontent-%COMP%]{font-size:.875rem}"]}),a})(),b=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[d.FA],imports:[f.XK,d.FA,_.lN,M.ZU,x.c,S.u5,R.ot]}),a})();var l=(()=>{return(a=l||(l={}))[a.OK=200]="OK",a[a.BAD_REQUEST=400]="BAD_REQUEST",a[a.CONFLICT=409]="CONFLICT",a[a.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",l;var a})();function A(a,r){if(1&a&&(e.TgZ(0,"th",6)(1,"div",7)(2,"h4"),e._uU(3),e.qZA(),e.TgZ(4,"small",8),e._uU(5),e.qZA()()()),2&a){const t=r.$implicit,o=e.oxw();e.xp6(3),e.Oqu(t),e.xp6(1),e.Tol(o.getTextBgColor(t)),e.xp6(1),e.Oqu(o.getHeaderStatusDesc(t))}}function N(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",12),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}function F(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",13),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}function k(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",14),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}function J(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",15),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}function I(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",16),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}function U(a,r){if(1&a&&(e.TgZ(0,"a",10),e._UZ(1,"img",17),e.qZA()),2&a){const t=e.oxw().$implicit;e.s9C("href",t.Url,e.LSH)}}const Y=function(){return["/menu/log/order"]},L=function(a,r,t,o,n){return{responseCode:a,From:r,to:t,actionType:o,ChannelID:n}};function Q(a,r){if(1&a&&(e.TgZ(0,"td",18)(1,"a",19),e._uU(2),e.qZA()()),2&a){const t=r.$implicit,o=e.oxw().$implicit,n=e.oxw();e.xp6(1),e.Q6J("routerLink",e.DdM(3,Y))("queryParams",e.qbA(4,L,t.Key,n.from,n.to,n.type,o.ChannelID)),e.xp6(1),e.hij(" ",t.Value," ")}}function E(a,r){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e.YNc(2,N,2,1,"a",9),e.YNc(3,F,2,1,"a",9),e.YNc(4,k,2,1,"a",9),e.YNc(5,J,2,1,"a",9),e.YNc(6,I,2,1,"a",9),e.YNc(7,U,2,1,"a",9),e.qZA(),e.TgZ(8,"td")(9,"div")(10,"a",10),e._uU(11),e.qZA()(),e.TgZ(12,"div"),e._uU(13),e.qZA()(),e.YNc(14,Q,3,10,"td",11),e.qZA()),2&a){const t=r.$implicit;e.xp6(2),e.Q6J("ngIf",0==t.Type||5==t.Type),e.xp6(1),e.Q6J("ngIf",1==t.Type),e.xp6(1),e.Q6J("ngIf",2==t.Type),e.xp6(1),e.Q6J("ngIf",4==t.Type),e.xp6(1),e.Q6J("ngIf",6==t.Type),e.xp6(1),e.Q6J("ngIf",7==t.Type),e.xp6(3),e.s9C("href",t.Url,e.LSH),e.xp6(1),e.Oqu(t.Name),e.xp6(2),e.Oqu(t.Url),e.xp6(1),e.Q6J("ngForOf",t.list)}}let y=(()=>{class a{constructor(){this.headerStatus=l}getHeaderStatusDesc(t){let o=null;switch(t){case l.BAD_REQUEST:o="BAD REQUEST";break;case l.CONFLICT:o="CONFLICT";break;case l.INTERNAL_SERVER_ERROR:o="INTERNAL SERVER ERROR";break;default:o="OK"}return o}getTextBgColor(t){let o=null;switch(t){case l.OK:o="bg-success";break;case l.INTERNAL_SERVER_ERROR:o="bg-danger";break;default:o="bg-warning"}return o}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-table-report"]],inputs:{header:"header",result:"result",from:"from",to:"to",type:"type"},decls:9,vars:2,consts:[[1,"table"],[1,"thead-light","sticky-top-thead"],[2,"width","0%"],[2,"width","3%"],["class","text-start","style","width: 5%;",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"text-start",2,"width","5%"],[1,"d-block"],[1,"text-white","p-1","rounded","response-desc"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],["class","text-start",4,"ngFor","ngForOf"],["src","https://res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png"],["src","https://res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png"],["src","https://res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp"],["src","https://res.cloudinary.com/pos/image/upload/v1639725279/icons/marketplace_icons/kalcare.png"],["src","https://res.cloudinary.com/pos/image/upload/w_40/v1645761611/icons/Marketplace%20logo/tiktok.png"],["src","https://res.cloudinary.com/pos/image/upload/w_50/v1641528003/icons/marketplace_icons/lazada.png"],[1,"text-start"],[1,"h3","text-primary","fw-bold",3,"routerLink","queryParams"]],template:function(t,o){1&t&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e._UZ(3,"th",2),e.TgZ(4,"th",3),e._uU(5,"Name"),e.qZA(),e.YNc(6,A,6,4,"th",4),e.qZA()(),e.TgZ(7,"tbody"),e.YNc(8,E,15,10,"tr",5),e.qZA()()),2&t&&(e.xp6(6),e.Q6J("ngForOf",o.header),e.xp6(2),e.Q6J("ngForOf",o.result))},dependencies:[p.sg,p.O5,h.yS],styles:[".response-desc[_ngcontent-%COMP%]{font-size:12px}"]}),a})();function G(a,r){if(1&a&&(e.TgZ(0,"div",5)(1,"div",6),e._UZ(2,"app-table-report",7),e.qZA()()),2&a){const t=e.oxw();e.xp6(2),e.Q6J("result",t.result)("header",t.header)("from",t.from)("to",t.to)("type",0)}}let B=(()=>{class a{constructor(t,o){this.http=t,this.datePipe=o,this.model=new u,this.PageTitle="New Order";let n=new Date;this.maxDate=n,this.minDate=this.addDays(n,6),this.model.From=n,this.model.To=n,this.updatePageTitle()}updatePageTitle(){const t=this.datePipe.transform(this.model.From,"dd MMM"),o=this.datePipe.transform(this.model.To,"dd MMM yyyy");this.PageTitle=`New Order (${t} - ${o})`}addDays(t,o){const n=new Date(Number(t));return n.setDate(t.getDate()-o),n}getDayDiff(t,o){return(o.getTime()-t.getTime())/864e5}ngOnInit(){this.Load()}Load(){this.http.GetLoader().then(t=>{this.model=t,this.from=this.model.From.toString(),this.to=this.model.To.toString(),this.http.GetSyncOrder(this.model).then(o=>{this.header=o.Header,this.result=o.Body})})}GetData(t){this.model.From=t.from,this.model.To=t.to,this.updatePageTitle(),this.http.GetSyncOrder(this.model).then(o=>{this.header=o.Header,this.result=o.Body,this.from=this.model.From.toJSON(),this.to=this.model.To.toJSON()})}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(g),e.Y36(p.uU))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-sales-order"]],decls:7,vars:7,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],[1,"filterDate"],[3,"minDate","from","to","dateChange"],[1,"container-fluid"],["class","row mt-4",4,"ngIf"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,o){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions")(2,"div",1)(3,"app-datepicker-range",2),e.NdJ("dateChange",function(i){return o.GetData(i)}),e.qZA()()(),e.TgZ(4,"content")(5,"div",3),e.YNc(6,G,3,5,"div",4),e.qZA()()()),2&t&&(e.Q6J("headerTitle",o.PageTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(3),e.Q6J("minDate",o.minDate)("from",o.model.From)("to",o.model.To),e.xp6(3),e.Q6J("ngIf",o.result))},dependencies:[p.O5,c.p,T,y],styles:[".filterDate[_ngcontent-%COMP%]{position:absolute;right:10px;top:2px}"]}),a})();function q(a,r){if(1&a&&(e.TgZ(0,"div",5)(1,"div",6),e._UZ(2,"app-table-report",7),e.qZA()()),2&a){const t=e.oxw();e.xp6(2),e.Q6J("result",t.result)("header",t.header)("from",t.from)("to",t.to)("type",1)}}let $=(()=>{class a{constructor(t,o){this.http=t,this.datePipe=o,this.model=new u,this.PageTitle="Ready to Ship";let n=new Date;this.maxDate=n,this.minDate=this.addDays(n,6),this.model.From=n,this.model.To=n,this.updatePageTitle()}updatePageTitle(){const t=this.datePipe.transform(this.model.From,"dd MMM"),o=this.datePipe.transform(this.model.To,"dd MMM yyyy");this.PageTitle=`Ready to Ship (${t} - ${o})`}addDays(t,o){const n=new Date(Number(t));return n.setDate(t.getDate()-o),n}getDayDiff(t,o){return(o.getTime()-t.getTime())/864e5}ngOnInit(){this.Load()}Load(){this.http.GetLoader().then(t=>{this.model=t,this.from=this.model.From.toString(),this.to=this.model.To.toString(),this.http.GetSyncInvoice(this.model).then(o=>{this.header=o.Header,this.result=o.Body})})}GetData(t){this.model.From=t.from,this.model.To=t.to,this.updatePageTitle(),this.http.GetSyncInvoice(this.model).then(o=>{this.header=o.Header,this.result=o.Body,this.from=this.model.From.toJSON(),this.to=this.model.To.toJSON()})}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(g),e.Y36(p.uU))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-invoice"]],decls:7,vars:7,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],[1,"filterDate"],[3,"minDate","from","to","dateChange"],[1,"container-fluid"],["class","row mt-4",4,"ngIf"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,o){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions")(2,"div",1)(3,"app-datepicker-range",2),e.NdJ("dateChange",function(i){return o.GetData(i)}),e.qZA()()(),e.TgZ(4,"content")(5,"div",3),e.YNc(6,q,3,5,"div",4),e.qZA()()()),2&t&&(e.Q6J("headerTitle",o.PageTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(3),e.Q6J("minDate",o.minDate)("from",o.model.From)("to",o.model.To),e.xp6(3),e.Q6J("ngIf",o.result))},dependencies:[p.O5,c.p,T,y],styles:[".filterDate[_ngcontent-%COMP%]{position:absolute;right:10px;top:2px}"]}),a})();function H(a,r){if(1&a&&(e.TgZ(0,"div",5)(1,"div",6),e._UZ(2,"app-table-report",7),e.qZA()()),2&a){const t=e.oxw();e.xp6(2),e.Q6J("result",t.result)("header",t.header)("from",t.from)("to",t.to)("type",3)}}let K=(()=>{class a{constructor(t,o){this.http=t,this.datePipe=o,this.model=new u;let n=new Date;this.maxDate=n,this.minDate=this.addDays(n,6),this.model.From=n,this.model.To=n,this.updatePageTitle()}updatePageTitle(){const t=this.datePipe.transform(this.model.From,"dd MMM"),o=this.datePipe.transform(this.model.To,"dd MMM yyyy");this.PageTitle=`Shipped (${t} - ${o})`}addDays(t,o){const n=new Date(Number(t));return n.setDate(t.getDate()-o),n}getDayDiff(t,o){return(o.getTime()-t.getTime())/864e5}ngOnInit(){this.Load()}Load(){this.http.GetLoader().then(t=>{this.model=t,this.from=this.model.From.toString(),this.to=this.model.To.toString(),this.http.GetSyncDelivery(this.model).then(o=>{this.header=o.Header,this.result=o.Body})})}GetData(t){this.model.From=t.from,this.model.To=t.to,this.updatePageTitle(),this.http.GetSyncDelivery(this.model).then(o=>{this.header=o.Header,this.result=o.Body,this.from=this.model.From.toJSON(),this.to=this.model.To.toJSON()})}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(g),e.Y36(p.uU))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-delivery"]],decls:7,vars:7,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],[1,"filterDate"],[3,"minDate","from","to","dateChange"],[1,"container-fluid"],["class","row mt-4",4,"ngIf"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,o){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions")(2,"div",1)(3,"app-datepicker-range",2),e.NdJ("dateChange",function(i){return o.GetData(i)}),e.qZA()()(),e.TgZ(4,"content")(5,"div",3),e.YNc(6,H,3,5,"div",4),e.qZA()()()),2&t&&(e.Q6J("headerTitle",o.PageTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(3),e.Q6J("minDate",o.minDate)("from",o.model.From)("to",o.model.To),e.xp6(3),e.Q6J("ngIf",o.result))},dependencies:[p.O5,c.p,T,y],styles:[".filterDate[_ngcontent-%COMP%]{position:absolute;right:10px;top:2px}"]}),a})();function j(a,r){if(1&a&&(e.TgZ(0,"div",5)(1,"div",6),e._UZ(2,"app-table-report",7),e.qZA()()),2&a){const t=e.oxw();e.xp6(2),e.Q6J("result",t.result)("header",t.header)("from",t.from)("to",t.to)("type",4)}}let z=(()=>{class a{constructor(t,o){this.http=t,this.datePipe=o,this.model=new u,this.PageTitle="Completed";let n=new Date;this.minDate=this.addDays(n,6),this.model.From=n,this.model.To=n,this.updatePageTitle()}updatePageTitle(){const t=this.datePipe.transform(this.model.From,"dd MMM"),o=this.datePipe.transform(this.model.To,"dd MMM yyyy");this.PageTitle=`Completed (${t} - ${o})`}addDays(t,o){const n=new Date(Number(t));return n.setDate(t.getDate()-o),n}getDayDiff(t,o){return(o.getTime()-t.getTime())/864e5}ngOnInit(){this.Load()}Load(){this.http.GetLoader().then(t=>{this.model=t,this.from=this.model.From.toString(),this.to=this.model.To.toString(),this.http.GetSyncPayment(this.model).then(o=>{this.header=o.Header,this.result=o.Body})})}GetData(t){this.model.From=t.from,this.model.To=t.to,this.updatePageTitle(),this.http.GetSyncPayment(this.model).then(o=>{this.header=o.Header,this.result=o.Body,this.from=this.model.From.toJSON(),this.to=this.model.To.toJSON()})}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(g),e.Y36(p.uU))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-payment"]],decls:7,vars:7,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],[1,"filterDate"],[3,"minDate","from","to","dateChange"],[1,"container-fluid"],["class","row mt-4",4,"ngIf"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,o){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions")(2,"div",1)(3,"app-datepicker-range",2),e.NdJ("dateChange",function(i){return o.GetData(i)}),e.qZA()()(),e.TgZ(4,"content")(5,"div",3),e.YNc(6,j,3,5,"div",4),e.qZA()()()),2&t&&(e.Q6J("headerTitle",o.PageTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(3),e.Q6J("minDate",o.minDate)("from",o.model.From)("to",o.model.To),e.xp6(3),e.Q6J("ngIf",o.result))},dependencies:[p.O5,c.p,T,y],styles:[".filterDate[_ngcontent-%COMP%]{position:absolute;right:10px;top:2px}"]}),a})();var D=s(8063);const X=[{path:"",component:Z,children:[{path:"",redirectTo:"order",pathMatch:"full"},{path:"order",component:B,canActivate:[D.a],data:{title:"Sync Order"}},{path:"invoice",component:$,canActivate:[D.a],data:{title:"Sync Invoice"}},{path:"delivery",component:K,canActivate:[D.a],data:{title:"Sync Delivery"}},{path:"payment",component:z,canActivate:[D.a],data:{title:"Sync Payment"}}]}];let V=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[p.ez,h.Bz.forChild(X)]}),a})(),W=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[p.ez,C.Z,V,S.u5,c.R,b,h.Bz]}),a})()}}]);