1"use strict";(self.webpackChunkClient=self.webpackChunkClient||[]).push([[1323],{21323:(B,c,i)=>{i.r(c),i.d(c,{ThongKeVecitaTheoDoanhNghiepModule:()=>O});var u=i(81180),r=i(53573),d=i(31),f=i(29414),T=i(29198),_=i(77969),Z=i(27035),m=i(94547),t=i(65879),C=i(28415),h=i(96814),g=i(56223),N=i(90985),p=i(14028),y=i(96241),x=i(32296),E=i(42575),M=i(25622);const D=["table"],A=function(){return{Id:"",Ten:"T\u1ea5t c\u1ea3"}};function v(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"cbo-tinhthanh",19),t.NdJ("ngModelChange",function(l){t.CHM(e);const s=t.oxw();return t.KtG(s.filter.Tinh=l)}),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("ngModel",e.filter.Tinh)("defaultItem",t.DdM(2,A))}}function L(n,a){}function b(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",26),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2).$implicit,s=t.oxw();return t.KtG(s.onViewTT(l))}),t._uU(1),t.ALo(2,"o_number"),t.qZA()}if(2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,e.SoTT,"n0"))}}function J(n,a){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"o_number"),t.qZA()),2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,e.SoDN,"n0"))}}function S(n,a){if(1&n&&(t.YNc(0,b,3,4,"a",24),t.YNc(1,J,3,4,"span",25)),2&n){const e=t.oxw().$implicit;t.Q6J("ngIf",0!=e.SoDN),t.xp6(1),t.Q6J("ngIf",0==e.SoDN)}}function k(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",26),t.NdJ("click",function(){t.CHM(e);const l=t.oxw(2).$implicit,s=t.oxw();return t.KtG(s.onViewTT(l))}),t._uU(1),t.ALo(2,"o_number"),t.qZA()}if(2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,e.SoTTKhongDuyet,"n0"))}}function U(n,a){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"o_number"),t.qZA()),2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,e.SoTT,"n0"))}}function I(n,a){if(1&n&&(t.YNc(0,k,3,4,"a",24),t.YNc(1,U,3,4,"span",25)),2&n){const e=t.oxw().$implicit;t.Q6J("ngIf",0!=e.SoTT),t.xp6(1),t.Q6J("ngIf",0==e.SoTT)}}function Q(n,a){if(1&n&&(t.TgZ(0,"tr")(1,"td",20),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td",21),t.YNc(10,S,2,2,"ng-template",22),t.qZA(),t.TgZ(11,"td",21),t.YNc(12,I,2,2,"ng-template",22),t.qZA(),t._UZ(13,"td",23),t.qZA()),2&n){const e=a.$implicit,o=a.index;t.xp6(2),t.Oqu(o+1),t.xp6(2),t.Oqu(e.BusinessTaxCode),t.xp6(2),t.Oqu(e.BusinessName),t.xp6(2),t.Oqu(e.BusinessAddress),t.xp6(1),t.Q6J("value",e.SoDN)("decimals",0),t.xp6(2),t.Q6J("value",e.SoTT)("decimals",0),t.xp6(2),t.Q6J("value",e.SoTT*e.SoTTKhongDuyet/100)("decimals",2)}}let q=(()=>{class n extends Z.p{constructor(e){super(),(0,u.Z)(this,"userDonVi",void 0),(0,u.Z)(this,"popup",void 0),(0,u.Z)(this,"MaxDate",new Date),(0,u.Z)(this,"min",new Date(2e3,0,1)),(0,u.Z)(this,"filter",{MaSoDN:"",TuNgay:null,DenNgay:null,Tinh:""}),(0,u.Z)(this,"filter_temp",void 0),(0,u.Z)(this,"table",void 0),(0,u.Z)(this,"IsSo",!1),(0,u.Z)(this,"data",[]),this.userDonVi=e,e.Info.Type==_.PTY.So&&(this.IsSo=!0,this.filter.Tinh=e.Info.MaTinh)}ngOnInit(){}onSearch(){this.data=[],this.filter_temp={...this.filter},this.http.get("VecitaTheoDN","ThongKe",this.filter).subscribe(e=>{this.data=e,this.table.beautify()})}onExcel(){let e="DOANH NGHI\u1ec6P H\xd3A CH\u1ea4T ";null!=this.filter_temp.TuNgay&&null!=this.filter_temp.DenNgay&&(e=e+" T\u1eea "+oak.formatDate(this.filter_temp.TuNgay,"dd/MM/yyyy")+" - "+oak.formatDate(this.filter.DenNgay,"dd/MM/yyyy")),null!=this.filter_temp.TuNgay&&null==this.filter_temp.DenNgay&&(e=e+" T\u1eea "+oak.formatDate(this.filter_temp.TuNgay,"dd/MM/yyyy")),null==this.filter_temp.TuNgay&&null!=this.filter_temp.DenNgay&&(e=e+" TR\u01af\u1edaC "+oak.formatDate(this.filter_temp.DenNgay,"dd/MM/yyyy")),this.table.exportExcel("DoanhNghiep_DuLieuVecita",{title:e})}onViewTT(e){this.popup.open(T.k,{title:"Danh s\xe1ch th\u1ee7 t\u1ee5c",width:"800px",maximum:!0,args:{TuNgay:this.filter_temp.TuNgay,DenNgay:this.filter_temp.DenNgay,Tinh:this.filter_temp.Tinh,LyDoId:Guid.Empty,MaSoDN:e.BusinessTaxCode}})}}return(0,u.Z)(n,"\u0275fac",function(e){return new(e||n)(t.Y36(C.E))}),(0,u.Z)(n,"\u0275cmp",t.Xpm({type:n,selectors:[["ng-component"]],viewQuery:function(e,o){if(1&e&&(t.Gf(m.P5,5),t.Gf(D,5)),2&e){let l;t.iGM(l=t.CRH())&&(o.popup=l.first),t.iGM(l=t.CRH())&&(o.table=l.first)}},features:[t.qOj],decls:38,vars:11,consts:[[1,"form-row"],["appearance","fill","label","M\xe3 s\u1ed1 doanh nghi\u1ec7p",1,"col-12","col-md-2",3,"ngModel","ngModelChange"],["appearance","fill","label","Ng\xe0y c\u1ea5p t\u1eeb",1,"col-12","col-md-auto",3,"ngModel","max","min","ngModelChange"],["appearance","fill","label","Ng\xe0y c\u1ea5p \u0111\u1ebfn",1,"col-12","col-md-auto",3,"ngModel","max","min","ngModelChange"],["appearance","fill","primitive","","label","T\u1ec9nh th\xe0nh","class","col-12 col-md-2",3,"ngModel","defaultItem","ngModelChange",4,"ngIf"],[1,"col-12","col-md-auto"],["mat-flat-button","","color","green",1,"ms-auto","me-auto",3,"click"],[1,"fa-sharp-duotone","fa-search","fa-lg"],["mat-flat-button","","color","green",1,"ms-1",3,"click"],[1,"fa-sharp-duotone","fa-file-excel","fa-lg"],["label","Danh s\xe1ch doanh nghi\u1ec7p h\xf3a ch\u1ea5t",3,"scrollable"],["table",""],["table-toolbar-template",""],[2,"min-width","840px"],[2,"width","40px"],[2,"width","110px"],[2,"width","90px"],[4,"ngFor","ngForOf"],[3,"container"],["appearance","fill","primitive","","label","T\u1ec9nh th\xe0nh",1,"col-12","col-md-2",3,"ngModel","defaultItem","ngModelChange"],[1,"text-center"],["table-cell","","type","numeric",1,"text-end",3,"value","decimals"],["table-cell-template",""],["table-cell","","type","numeric","format","n2",1,"text-end",3,"value","decimals"],[3,"click",4,"ngIf"],[4,"ngIf"],[3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"fieldset")(1,"legend"),t._uU(2,"L\u1ecdc th\xf4ng tin"),t.qZA(),t.TgZ(3,"div",0)(4,"oak-in
1put",1),t.NdJ("ngModelChange",function(s){return o.filter.MaSoDN=s}),t.qZA(),t.TgZ(5,"oak-datepicker",2),t.NdJ("ngModelChange",function(s){return o.filter.TuNgay=s}),t.qZA(),t.TgZ(6,"oak-datepicker",3),t.NdJ("ngModelChange",function(s){return o.filter.DenNgay=s}),t.qZA(),t.YNc(7,v,1,3,"cbo-tinhthanh",4),t.TgZ(8,"div",5)(9,"button",6),t.NdJ("click",function(){return o.onSearch()}),t._UZ(10,"i",7),t._uU(11," L\u1ecdc d\u1eef li\u1ec7u "),t.qZA(),t.TgZ(12,"button",8),t.NdJ("click",function(){return o.onExcel()}),t._UZ(13,"i",9),t._uU(14," Xu\u1ea5t Excel "),t.qZA()()()(),t.TgZ(15,"oak-table",10,11),t.YNc(17,L,0,0,"ng-template",12),t.TgZ(18,"table",13)(19,"thead")(20,"tr")(21,"th",14),t._uU(22,"STT"),t.qZA(),t.TgZ(23,"th",15),t._uU(24,"M\xe3 s\u1ed1 doanh nghi\u1ec7p"),t.qZA(),t.TgZ(25,"th"),t._uU(26,"T\xean doanh nghi\u1ec7p"),t.qZA(),t.TgZ(27,"th"),t._uU(28,"\u0110\u1ecba ch\u1ec9"),t.qZA(),t.TgZ(29,"th",16),t._uU(30,"S\u1ed1 h\u1ed3 s\u01a1"),t.qZA(),t.TgZ(31,"th",16),t._uU(32,"S\u1ed1 h\u1ed3 s\u01a1 kh\xf4ng \u0111\u01b0\u1ee3c duy\u1ec7t"),t.qZA(),t.TgZ(33,"th",16),t._uU(34,"T\u1ef7 l\u1ec7 h\u1ed3 s\u01a1 kh\xf4ng \u0111\u01b0\u1ee3c duy\u1ec7t"),t.qZA()()(),t.TgZ(35,"tbody"),t.YNc(36,Q,14,10,"tr",17),t.qZA()()(),t._UZ(37,"oak-popup",18)),2&e&&(t.xp6(4),t.Q6J("ngModel",o.filter.MaSoDN),t.xp6(1),t.Q6J("ngModel",o.filter.TuNgay)("max",o.filter.DenNgay||o.MaxDate)("min",o.min),t.xp6(1),t.Q6J("ngModel",o.filter.DenNgay)("max",o.MaxDate)("min",o.filter.TuNgay||o.min),t.xp6(1),t.Q6J("ngIf",!o.IsSo),t.xp6(8),t.Q6J("scrollable",!0),t.xp6(21),t.Q6J("ngForOf",o.data),t.xp6(1),t.Q6J("container",o))},dependencies:[h.sg,h.O5,g.JJ,g.On,N.NM,p.BI,p.M9,p.Y7,p.jR,y.jQ,m.P5,x.lW,E.C,M.P0],encapsulation:2})),n})();var F=i(12243);let O=(()=>{class n{}return(0,u.Z)(n,"\u0275fac",function(e){return new(e||n)}),(0,u.Z)(n,"\u0275mod",t.oAB({type:n})),(0,u.Z)(n,"\u0275inj",t.cJS({imports:[d.$,f.B,F.M,r.Bz.forChild([{path:"",component:q}])]})),n})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.