????
Current Path : C:/inetpub/vhost/xaydung.gdtsolutions.vn/build/static/js/ |
Current File : C:/inetpub/vhost/xaydung.gdtsolutions.vn/build/static/js/2576.13a60ca1.chunk.js |
(self.webpackChunk_qlxd_frontend=self.webpackChunk_qlxd_frontend||[]).push([[622,628,2576,8247,8766],{5338:(e,n,a)=>{"use strict";a.r(n),a.d(n,{Enum_Flag:()=>h,Enum_NhomKhoanChis:()=>p,Enums_CongNo:()=>c,Enums_DoiTuong:()=>s,Enums_GioiTinh:()=>i,Enums_LoaiNoLabel:()=>g,Enums_LoaiNoNumber:()=>d,Enums_PhuongThucChamCong:()=>o,Enums_PhuongThucChamCongNumber:()=>u,Enums_ThanhToan:()=>t,_Enums_DoiTuong:()=>l,_Enums_DoiTuongNumber:()=>r});const t=[{value:"all",label:"T\u1ea5t c\u1ea3"},{value:"1",label:"\u0110\xe3 thanh to\xe1n"},{value:"0",label:"Ch\u01b0a thanh to\xe1n"}],i=[{value:"Nam",label:"Nam"},{value:"Nu",label:"N\u1eef"},{value:"Khong",label:"Ch\u01b0a c\xf3 th\xf4ng tin"}],s=[{value:"CuaHang",label:"C\u1eeda h\xe0ng"},{value:"ThueNgoai",label:"Thu\xea ngo\xe0i"},{value:"KhachHang",label:"Kh\xe1ch h\xe0ng"},{value:"NhanVien",label:"Nh\xe2n vi\xean"},{value:"CongTy",label:"C\xf4ng ty"},{value:"PhongBan",label:"Phong ban"}],l={CuaHang:"CuaHang",ThueNgoai:"ThueNgoai",KhachHang:"KhachHang",NhanVien:"NhanVien",CongTy:"CongTy",PhongBang:"PhongBan"},r={CuaHang:0,ThueNgoai:1,KhachHang:2,NhanVien:3,CongTy:4,PhongBang:5},o={TheoThang:"TheoThang",TheoDuAn:"TheoDuAn"},u={TheoThang:0,TheoDuAn:1},c={NoCu:"NoCu",TamUng:"TamUng",NoDoiTac:"NoDoiTac"},d={NoCu:"NoCu",TamUng:"TamUng",NoDoiTac:"NoDoiTac",DuAnNo:"DuAnNo",TraNo:"TraNo"},g={NoCu:"N\u1ee3 c\u0169",TamUng:"T\u1ea1m \u1ee9ng",NoDoiTac:"N\u1ee3 \u0111\u1ed1i t\xe1c",DuAnNo:"D\u1ef1 \xe1n"},h={view:"view",add:"add",edit:"edit",delete:"delete"},p={LuongThoThueNgoai:"6939DC70-E008-4286-AC13-00BD4DF40BBC",LuongThoCTy:"B59A4E45-B963-478F-8DD5-663607A32DAA",ChiPhiCuaHang:"A6391105-7862-491B-844E-0D8874AA8B7B"}},10782:(e,n,a)=>{"use strict";a.d(n,{A:()=>l});var t=a(82210),i=a(15517),s=a(6058);class l extends t.Component{render(){const{size:e,text:n}=this.props;let a=(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-center",children:(0,s.jsx)("i",{className:"far fa-folder-open"})}),(0,s.jsx)("span",{children:n||"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u"})]});return"sm"===e?(0,s.jsx)(r,{children:a}):(0,s.jsx)(o,{children:a})}}const r=i.Ay.div` height: 110px; display: flex; justify-content: center; align-items: center; width: 100%; span{ line-height: 1.2; display: block; opacity: 0.5; &:first-child{ font-size:2.5rem; } &:last-child{ font-size:1rem; } } `,o=i.Ay.div` height: 400px; display: flex; justify-content: center; align-items: center; width: 100%; span{ line-height: 1.2; display: block; opacity: 0.5; &:first-child{ font-size:3.5rem; } &:last-child{ font-size:1.5rem; } } `},14977:function(e,n,a){var t;e.exports=(t=a(82210),function(e){var n={};function a(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=n,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)a.d(t,i,function(n){return e[n]}.bind(null,i));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="",a(a.s=4)}([function(e,n,a){e.exports=a(2)()},function(e,n){e.exports=t},function(e,n,a){"use strict";var t=a(3);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,n,a,i,s,l){if(l!==t){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function n(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:s,resetWarningCache:i};return a.PropTypes=a,a}},function(e,n,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,n,a){"use strict";a.r(n);var t=a(1),i=a.n(t),s=a(0),l=a.n(s);function r(){return(r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}var o=function(e){var n=e.pageClassName,a=e.pageLinkClassName,t=e.page,s=e.selected,l=e.activeClassName,o=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,d=e.href,g=e.extraAriaContext,h=e.pageLabelBuilder,p=e.ariaLabel||"Page "+t+(g?" "+g:""),m=null;return s&&(m="page",p=e.ariaLabel||"Page "+t+" is your current page",n=void 0!==n?n+" "+l:l,void 0!==a?void 0!==o&&(a=a+" "+o):a=o),i.a.createElement("li",{className:n},i.a.createElement("a",r({role:"button",className:a,href:d,tabIndex:"0","aria-label":p,"aria-current":m,onKeyPress:c},u(c)),h(t)))};o.propTypes={pageSelectedHandler:l.a.func.isRequired,selected:l.a.bool.isRequired,pageClassName:l.a.string,pageLinkClassName:l.a.string,activeClassName:l.a.string,activeLinkClassName:l.a.string,extraAriaContext:l.a.string,href:l.a.string,ariaLabel:l.a.string,page:l.a.number.isRequired,getEventListener:l.a.func.isRequired,pageLabelBuilder:l.a.func.isRequired};var u=o;function c(){return(c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}var d=function(e){var n=e.breakLabel,a=e.breakClassName,t=e.breakLinkClassName,s=e.breakHandler,l=e.getEventListener,r=a||"break";return i.a.createElement("li",{className:r},i.a.createElement("a",c({className:t,role:"button",tabIndex:"0",onKeyPress:s},l(s)),n))};d.propTypes={breakLabel:l.a.oneOfType([l.a.string,l.a.node]),breakClassName:l.a.string,breakLinkClassName:l.a.string,breakHandler:l.a.func.isRequired,getEventListener:l.a.func.isRequired};var g=d;function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}function m(e,n){for(var a=0;a<n.length;a++){var t=n[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function f(e,n){return(f=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,t=N(e);if(n){var i=N(this).constructor;a=Reflect.construct(t,arguments,i)}else a=t.apply(this,arguments);return v(this,a)}}function v(e,n){if(n&&("object"===h(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}var y=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&f(e,n)}(l,e);var n,a,t,s=b(l);function l(e){var n,a;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),T(x(n=s.call(this,e)),"handlePreviousPage",(function(e){var a=n.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,a>0&&n.handlePageSelected(a-1,e)})),T(x(n),"handleNextPage",(function(e){var a=n.state.selected,t=n.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,a<t-1&&n.handlePageSelected(a+1,e)})),T(x(n),"handlePageSelected",(function(e,a){a.preventDefault?a.preventDefault():a.returnValue=!1,n.state.selected!==e?(n.setState({selected:e}),n.callCallback(e)):n.callActiveCallback(e)})),T(x(n),"getEventListener",(function(e){return T({},n.props.eventListener,e)})),T(x(n),"handleBreakClick",(function(e,a){a.preventDefault?a.preventDefault():a.returnValue=!1;var t=n.state.selected;n.handlePageSelected(t<e?n.getForwardJump():n.getBackwardJump(),a)})),T(x(n),"callCallback",(function(e){void 0!==n.props.onPageChange&&"function"==typeof n.props.onPageChange&&n.props.onPageChange({selected:e})})),T(x(n),"callActiveCallback",(function(e){void 0!==n.props.onPageActive&&"function"==typeof n.props.onPageActive&&n.props.onPageActive({selected:e})})),T(x(n),"pagination",(function(){var e=[],a=n.props,t=a.pageRangeDisplayed,s=a.pageCount,l=a.marginPagesDisplayed,r=a.breakLabel,o=a.breakClassName,u=a.breakLinkClassName,c=n.state.selected;if(s<=t)for(var d=0;d<s;d++)e.push(n.getPageElement(d));else{var h,p,m,f=t/2,b=t-f;c>s-t/2?f=t-(b=s-c):c<t/2&&(b=t-(f=c));var v=function(e){return n.getPageElement(e)};for(h=0;h<s;h++)(p=h+1)<=l||p>s-l||h>=c-f&&h<=c+b?e.push(v(h)):r&&e[e.length-1]!==m&&(m=i.a.createElement(g,{key:h,breakLabel:r,breakClassName:o,breakLinkClassName:u,breakHandler:n.handleBreakClick.bind(null,h),getEventListener:n.getEventListener}),e.push(m))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),a=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,n.state={selected:a},n}return n=l,(a=[{key:"componentDidMount",value:function(){var e=this.props,n=e.initialPage,a=e.disableInitialCallback,t=e.extraAriaContext,i=e.pageCount;void 0===n||a||this.callCallback(n),t&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage}),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,n=this.props,a=n.pageCount,t=e+n.pageRangeDisplayed;return t>=a?a-1:t}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var n=this.props,a=n.hrefBuilder,t=n.pageCount;if(a&&e!==this.state.selected&&e>=0&&e<t)return a(e+1)}},{key:"ariaLabelBuilder",value:function(e){var n=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var a=this.props.ariaLabelBuilder(e+1,n);return this.props.extraAriaContext&&!n&&(a=a+" "+this.props.extraAriaContext),a}}},{key:"getPageElement",value:function(e){var n=this.state.selected,a=this.props,t=a.pageClassName,s=a.pageLinkClassName,l=a.activeClassName,r=a.activeLinkClassName,o=a.extraAriaContext,c=a.pageLabelBuilder;return i.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:n===e,pageClassName:t,pageLinkClassName:s,activeClassName:l,activeLinkClassName:r,extraAriaContext:o,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var n=this.props,a=n.disabledClassName,t=n.pageCount,s=n.className,l=n.containerClassName,r=n.previousLabel,o=n.previousClassName,u=n.previousLinkClassName,c=n.previousAriaLabel,d=n.prevRel,g=n.nextLabel,h=n.nextClassName,m=n.nextLinkClassName,f=n.nextAriaLabel,b=n.nextRel,v=this.state.selected,x=o+(0===v?" ".concat(a):""),N=h+(v===t-1?" ".concat(a):""),T=0===v?"true":"false",y=v===t-1?"true":"false";return i.a.createElement("ul",{className:s||l},i.a.createElement("li",{className:x},i.a.createElement("a",p({className:u,href:this.hrefBuilder(v-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":T,"aria-label":c,rel:d},this.getEventListener(this.handlePreviousPage)),r)),this.pagination(),i.a.createElement("li",{className:N},i.a.createElement("a",p({className:m,href:this.hrefBuilder(v+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":y,"aria-label":f,rel:b},this.getEventListener(this.handleNextPage)),g)))}}])&&m(n.prototype,a),t&&m(n,t),l}(t.Component);T(y,"propTypes",{pageCount:l.a.number.isRequired,pageRangeDisplayed:l.a.number.isRequired,marginPagesDisplayed:l.a.number.isRequired,previousLabel:l.a.node,previousAriaLabel:l.a.string,prevRel:l.a.string,nextLabel:l.a.node,nextAriaLabel:l.a.string,nextRel:l.a.string,breakLabel:l.a.oneOfType([l.a.string,l.a.node]),hrefBuilder:l.a.func,onPageChange:l.a.func,onPageActive:l.a.func,initialPage:l.a.number,forcePage:l.a.number,disableInitialCallback:l.a.bool,containerClassName:l.a.string,className:l.a.string,pageClassName:l.a.string,pageLinkClassName:l.a.string,pageLabelBuilder:l.a.func,activeClassName:l.a.string,activeLinkClassName:l.a.string,previousClassName:l.a.string,nextClassName:l.a.string,previousLinkClassName:l.a.string,nextLinkClassName:l.a.string,disabledClassName:l.a.string,breakClassName:l.a.string,breakLinkClassName:l.a.string,extraAriaContext:l.a.string,ariaLabelBuilder:l.a.func,eventListener:l.a.string,renderOnZeroPageCount:l.a.func}),T(y,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0}),n.default=y}]))},48766:(e,n,a)=>{"use strict";a.r(n),a.d(n,{default:()=>t});const t={}},59701:(e,n,a)=>{"use strict";a.d(n,{A:()=>p});var t=a(30226),i=a(92965),s=a(82210),l=a(71723),r=a.n(l),o=a(88323),u=a.n(o),c=a(5168),d=["className","cssModule","size","bordered","borderless","striped","dark","hover","responsive","tag","responsiveTag","innerRef"],g={className:r().string,cssModule:r().object,size:r().string,bordered:r().bool,borderless:r().bool,striped:r().bool,dark:r().bool,hover:r().bool,responsive:r().oneOfType([r().bool,r().string]),tag:c.Wx,responsiveTag:c.Wx,innerRef:r().oneOfType([r().func,r().string,r().object])},h=function(e){var n=e.className,a=e.cssModule,l=e.size,r=e.bordered,o=e.borderless,g=e.striped,h=e.dark,p=e.hover,m=e.responsive,f=e.tag,b=e.responsiveTag,v=e.innerRef,x=(0,i.A)(e,d),N=(0,c.qO)(u()(n,"table",!!l&&"table-"+l,!!r&&"table-bordered",!!o&&"table-borderless",!!g&&"table-striped",!!h&&"table-dark",!!p&&"table-hover"),a),T=s.createElement(f,(0,t.A)({},x,{ref:v,className:N}));if(m){var y=(0,c.qO)(!0===m?"table-responsive":"table-responsive-"+m,a);return s.createElement(b,{className:y},T)}return T};h.propTypes=g,h.defaultProps={tag:"table",responsiveTag:"div"};const p=h},80622:(e,n,a)=>{"use strict";a.r(n),a.d(n,{default:()=>r,formatTime:()=>l});a(82210);var t=a(61278),i=a(10782),s=(a(48766),a(6058));const l=e=>{const n=new Date(e).getDate(),a=new Date(e).getMonth()+1,t=new Date(e).getFullYear();return!n||a||t?n&&a&&!t?`${n}/${a}`:`${n}/${a}/${t}`:`${n}`};const r=function(e){let{dataKinhPhi:n}=e;return(0,s.jsx)("div",{className:"index-table-kinh-phi-cong-trinh",children:(0,s.jsx)("div",{className:"tableFixHead",children:(0,s.jsxs)("table",{children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{style:{background:"#006FCA"},children:[(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"NG\xc0Y TH\xc1NG"}),(0,s.jsx)("th",{className:"th-table",style:{width:"40%"},children:"N\u1ed8I DUNG CHI PH\xcd"}),(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"\u0110VT"}),(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"S\u1ed0 L\u01af\u1ee2NG"}),(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"\u0110\u01a0N GI\xc1"}),(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"TH\xc0NH TI\u1ec0N"}),(0,s.jsx)("th",{className:"th-table",style:{width:"10%"},children:"GHI CH\xda"})]})}),(0,s.jsx)("tbody",{children:n.length>0?n.map(((e,n)=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{style:{textAlign:"center"},children:[" ",l(e.ThoiGian)," "]}),(0,s.jsxs)("td",{children:[" ",e.NoiDung," "]}),(0,s.jsxs)("td",{style:{textAlign:"center"},children:[" ",e.DVT," "]}),(0,s.jsxs)("td",{style:{textAlign:"center"},children:[" ",e.KhoiLuong," "]}),(0,s.jsxs)("td",{style:{textAlign:"end"},children:[" ",(0,t.vv)(e.DonGia)," "]}),(0,s.jsxs)("td",{style:{textAlign:"end"},children:[" ",(0,t.vv)(e.ThanhTien)," "]}),(0,s.jsxs)("td",{children:[" ",e.GhiChu," "]})]},n))):(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:7,children:(0,s.jsx)(i.A,{size:"sm"})})})})]})})})}},82576:(e,n,a)=>{"use strict";a.r(n),a.d(n,{default:()=>M});var t=a(82210),i=a(47117),s=a(40731),l=a(4911),r=a(4984),o=a(22699),u=a(98991),c=a(14658),d=a(46881);const g=[{value:"ThueNgoai",label:"\u0110\u1ed9i Thu\xea ngo\xe0i"},{value:"CongTy",label:"\u0110\u1ed9i C\xf4ng ty"},{value:"CuaHang",label:"C\u1eeda h\xe0ng"},{value:"PhongBan",label:"Ph\xf2ng ban"}];var h=a(57136),p=a(5338),m=a(80622),f=a(6058);const b=e=>(0,f.jsx)("div",{style:{fontSize:"13px"},children:e});const v=function(e){let{onFilter:n}=e;const[a,i]=(0,t.useState)([]),[s,v]=(0,t.useState)(g[1].value),[x,N]=(0,t.useState)(null),[T,y]=(0,t.useState)(new Date),[C,j]=(0,t.useState)(new Date),[D,A]=(0,t.useState)(null),[_,P]=(0,t.useState)([]),E=e=>{const n="$select=Id,DoUuTien,OrganName,LuongTheoNgayCong,DoiTuong",a=`$filter=DoiTuong eq '${e}' and Status eq true`,t="$orderby=DoUuTien asc";c.yB.getAllOrganizationsParam(`?${a}&${n}&${t}`).then((e=>{i(e.value)}))},k=(0,t.useCallback)((()=>{c.hU.getAll("?$select=Id,TuNgay,DenNgay,Dot").then((e=>{let{value:n}=e;const a=[];for(let t of n)a.push({Id:t.Id,Dot:`\u0110\u1ee3t ${t.Dot}( ${(0,m.formatTime)(t.TuNgay)} - ${(0,m.formatTime)(t.DenNgay)} )`,TuNgay:t.TuNgay,DenNgay:t.DenNgay});P(a)}))}),[]);return(0,t.useEffect)((()=>{E(s)}),[s]),(0,f.jsxs)("div",{className:"index-filter-tam-ung",children:[(0,f.jsxs)(l.A,{className:"body-tam-ung",children:[(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:"\u0110\u1ed1i t\u01b0\u1ee3ng"}),(0,f.jsx)(u.Ay,{name:"doiTuong",options:g,menuPosition:"fixed",className:"basic-single",isClearable:!0,classNamePrefix:"select",defaultValue:g.find((e=>e.value===s)),placeholder:b("Ch\u1ecdn \u0111\u1ed1i t\u01b0\u1ee3ng..."),onChange:e=>(e=>{v(null===e||void 0===e?void 0:e.value),i([]),N(null),A(null),e&&(E(null===e||void 0===e?void 0:e.value),k())})(e),getOptionValue:e=>e,getOptionLabel:e=>e.label})]}),s===p._Enums_DoiTuong.ThueNgoai&&(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{children:"\u0110\u1ee3t l\u01b0\u01a1ng"}),(0,f.jsx)("div",{children:(0,f.jsx)(u.Ay,{name:"dotLuong",options:_,menuPosition:"fixed",className:"cus-select",placeholder:b("Ch\u1ecdn \u0111\u1ee3t l\u01b0\u01a1ng..."),onChange:e=>{(e=>{A(e),y(e.TuNgay),j(e.DenNgay)})(e)},getOptionValue:e=>e,value:_.find((e=>e.Id===(null===D||void 0===D?void 0:D.Id)))||null,getOptionLabel:e=>e.Dot})})]}),s!==p._Enums_DoiTuong.ThueNgoai&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{children:"T\u1eeb ng\xe0y"}),(0,f.jsx)(h.A,{onChange:e=>y(e),placeholder:"Ch\u1ecdn th\u1eddi gian",name:"thoiGian",value:T})]}),(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{children:"\u0110\u1ebfn ng\xe0y"}),(0,f.jsx)(h.A,{onChange:e=>j(e),placeholder:"Ch\u1ecdn th\u1eddi gian",name:"thoiGian",value:C})]})]}),(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:s===p._Enums_DoiTuong.CuaHang?"C\u1eeda h\xe0ng":"\u0110\u1ed9i"}),(0,f.jsx)(u.Ay,{name:"doi",options:s?a:[],menuPosition:"fixed",className:"cus-select",classNamePrefix:"select",isClearable:!0,value:(L=a,O=null===x||void 0===x?void 0:x.Id,L.find((e=>e.Id===O))||null),placeholder:b("Ch\u1ecdn \u0111\u1ed9i..."),onChange:e=>(e=>{N(e)})(e),getOptionValue:e=>e,getOptionLabel:e=>e.OrganName})]})]}),(0,f.jsx)("div",{style:{padding:"10px"},children:(0,f.jsx)(d.A,{color:"primary",onClick:()=>{n&&n({TuNgay:T,DenNgay:C,DoiTuong:s,Organ:x})},children:"L\u1ecdc"})})]});var L,O};var x=a(639),N=a(3503),T=a(71516),y=a(57011),C=a(34211),j=a(60803),D=a(24021),A=a(94625),_=a(35065);const P=e=>(0,f.jsx)("div",{style:{fontSize:"13px"},children:e}),E=t.forwardRef((function(e,n){return(0,f.jsx)(N.A,{direction:"up",ref:n,...e})}));const k=function(e){let{open:n,handleClose:a,reloadTable:d,flag:b}=e;const[v,N]=(0,t.useState)([]),[k,L]=(0,t.useState)([]),[O,S]=(0,t.useState)(null),[I,B]=(0,t.useState)(null),[w,$]=(0,t.useState)([]),[R,V]=(0,t.useState)(null),[H,q]=(0,t.useState)(null),[U,G]=(0,t.useState)(null),[z,F]=(0,t.useState)(null),[M,K]=(0,t.useState)([]),[W,Y]=(0,t.useState)(null),[J,Z]=(0,t.useState)(null),X=(0,t.useCallback)((()=>{c.hU.getAll("?$select=Id,TuNgay,DenNgay,Dot").then((e=>{let{value:n}=e;const a=[];for(let t of n)a.push({Id:t.Id,Dot:`\u0110\u1ee3t ${t.Dot}( ${(0,m.formatTime)(t.TuNgay)} - ${(0,m.formatTime)(t.DenNgay)} )`,TuNgay:t.TuNgay,DenNgay:t.DenNgay});K(a)}))}),[]),Q=(0,t.useCallback)((e=>{S(e),e===p._Enums_DoiTuong.ThueNgoai&&X(),Y(null),V(null),q(null),Z(null),F(null),G(null),ne(e)}),[X]),ee=(0,t.useCallback)((e=>{B(e),ae(e),F(null),$([]),O===p._Enums_DoiTuong.CuaHang?c.tZ.getAll(`?$filter=OrganId eq ${e.Id} and DuAn/Status eq true&$expand=DuAn($select=Id,Name)`).then((e=>{let{value:n}=e;const a=[];for(let t of n)a.push(t.DuAn);$(a)})):O!==p._Enums_DoiTuong.ThueNgoai&&O!==p._Enums_DoiTuong.CongTy||c.oF.getAll(`?$filter=OrganId eq ${e.Id} and DuAn/Status eq true and DuAn/IsCompleted eq false&$expand=DuAn($select=Id,Name)`).then((e=>{let{value:n}=e;const a=[];for(let t of n)a.push(t.DuAn);$(a)}))}),[O]),ne=e=>{const n="$select=Id,DoUuTien,OrganName,LuongTheoNgayCong,DoiTuong",a=`$filter=DoiTuong eq '${e}' and Status eq true`,t="$orderby=DoUuTien asc";c.yB.getAllOrganizationsParam(`?${a}&${n}&${t}`).then((e=>{N(e.value)}))},ae=e=>{const n=`$filter=Status eq true and OrganId eq ${e.Id}`,a="$expand=ThongTinCaNhan($Select=Id,HoVaTenDem,Ten)";c.CS.getNhanSuParam(`?${n}&${a}`).then((e=>{L(e.value)}))};return(0,f.jsx)("div",{className:"form-tam-ung",children:(0,f.jsxs)(T.A,{onClose:a,"aria-labelledby":"customized-dialog-title",open:n,TransitionComponent:E,maxWidth:"sm",children:[(0,f.jsx)(j.A,{style:{padding:"5px 20px"},id:"customized-dialog-title",onClose:a,children:"Th\xf4ng tin t\u1ea1m \u1ee9ng"}),(0,f.jsx)(C.A,{dividers:!0,children:(0,f.jsxs)(l.A,{style:{width:"400px"},children:[(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:"\u0110\u1ed1i t\u01b0\u1ee3ng"}),(0,f.jsx)(u.Ay,{name:"doiTuong",options:g,menuPosition:"fixed",className:"cus-select",defaultValue:g.find((e=>e.value===O)),placeholder:P("Ch\u1ecdn \u0111\u1ed1i t\u01b0\u1ee3ng..."),onChange:e=>Q(e.value),getOptionValue:e=>e,getOptionLabel:e=>e.label})]}),O===p._Enums_DoiTuong.CongTy||O===p._Enums_DoiTuong.PhongBang?(0,f.jsxs)(i.A,{form:!0,children:[(0,f.jsx)(s.A,{md:6,children:(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:"\u0110\u1ed9i/Ph\xf2ng"}),(0,f.jsx)(u.Ay,{name:"doi",options:O?v:[],menuPosition:"fixed",className:"cus-select",defaultValue:v.find((e=>e.Id===(null===I||void 0===I?void 0:I.Id))),placeholder:P("Ch\u1ecdn \u0111\u1ed1i t\u01b0\u1ee3ng..."),onChange:e=>ee(e),getOptionValue:e=>e,getOptionLabel:e=>e.OrganName})]})}),(0,f.jsx)(s.A,{md:6,children:(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:"Nh\xe2n s\u1ef1"}),(0,f.jsx)(u.Ay,{name:"nhanSu",options:null!==I&&void 0!==I&&I.Id?k:[],menuPosition:"fixed",className:"cus-select",defaultValue:k.find((e=>e.Id===(null===R||void 0===R?void 0:R.Id))),placeholder:P("Ch\u1ecdn \u0111\u1ed1i t\u01b0\u1ee3ng..."),onChange:e=>V(e),getOptionValue:e=>e,getOptionLabel:e=>`${e.ThongTinCaNhan.HoVaTenDem} ${e.ThongTinCaNhan.Ten}`})]})})]}):(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"doiTuong",children:O===p._Enums_DoiTuong.CuaHang?"C\u1eeda h\xe0ng":"\u0110\u1ed9i"}),(0,f.jsx)(u.Ay,{name:"doi",options:O?v:[],menuPosition:"fixed",className:"cus-select",defaultValue:v.find((e=>e.Id===(null===I||void 0===I?void 0:I.Id))),placeholder:P("Ch\u1ecdn..."),onChange:e=>ee(e),getOptionValue:e=>e,getOptionLabel:e=>e.OrganName})]}),O!==p._Enums_DoiTuong.PhongBang&&O!==p._Enums_DoiTuong.ThueNgoai&&(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"duAn",children:"D\u1ef1 \xc1n"}),(0,f.jsx)(u.Ay,{name:"duAn",options:I?w:[],menuPosition:"fixed",className:"cus-select",isClearable:!0,defaultValue:w.find((e=>e.Id===(null===z||void 0===z?void 0:z.Id))),placeholder:P("Ch\u1ecdn d\u1ef1 \xe1n..."),onChange:e=>F(e),getOptionValue:e=>e,getOptionLabel:e=>e.Name})]}),O===p._Enums_DoiTuong.ThueNgoai&&(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{children:"\u0110\u1ee3t l\u01b0\u01a1ng"}),(0,f.jsx)("div",{children:(0,f.jsx)(u.Ay,{name:"dotLuong",options:M,menuPosition:"fixed",className:"cus-select",placeholder:P("Ch\u1ecdn \u0111\u1ee3t l\u01b0\u01a1ng..."),onChange:e=>{Y(e)},getOptionValue:e=>e,value:M.find((e=>e.Id===(null===W||void 0===W?void 0:W.Id)))||null,getOptionLabel:e=>e.Dot})})]}),(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"soTien",children:"Th\u1eddi gian"}),(0,f.jsx)(h.A,{value:U,style:{height:"40px"},onChange:e=>(e=>{G(e)})(e),placeholder:"Th\u1eddi gian \u1ee9ng",name:"thoiGian"})]}),(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"soTien",children:"S\u1ed1 ti\u1ec1n \u1ee9ng(VN\u0110)"}),(0,f.jsx)(x.A,{value:H,onValueChange:e=>q(e.values.value)})]}),(0,f.jsxs)(r.A,{children:[(0,f.jsx)(o.A,{for:"exampleText",children:"Ghi ch\xfa"}),(0,f.jsx)(D.A,{type:"textarea",name:"ghiChu",id:"ghiChu",defaultValue:J,onChange:e=>Z(e.target.value)})]})]})}),(0,f.jsxs)(y.A,{children:[(0,f.jsx)(A.A,{variant:"contained",color:"primary",onClick:()=>{let e=null;if(!O)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn \u0111\u1ed1i t\u01b0\u1ee3ng, vui l\xf2ng th\u1eed l\u1ea1i!");if((O===p._Enums_DoiTuong.CongTy||O===p._Enums_DoiTuong.PhongBang)&&!R)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn nh\xe2n s\u1ef1, vui l\xf2ng th\u1eed l\u1ea1i!");if(O!==p._Enums_DoiTuong.PhongBang){if(O!==p._Enums_DoiTuong.ThueNgoai&&O!==p._Enums_DoiTuong.CongTy&&!z)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn d\u1ef1 \xe1n. Vui l\xf2ng th\u1eed l\u1ea1i!");e=z}else e=null;if(O===p._Enums_DoiTuong.ThueNgoai&&!W)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn \u0111\u1ee3t l\u01b0\u01a1ng. Vui l\xf2ng th\u1eed l\u1ea1i!");if(!I)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn \u0111\u1ed9i, vui l\xf2ng th\u1eed l\u1ea1i!");if(H<=0)return(0,_.AB)("S\u1ed1 ti\u1ec1n ph\u1ea3i l\u1edbn h\u01a1n 0, vui l\xf2ng th\u1eed l\u1ea1i!");if(!U)return(0,_.AB)("B\u1ea1n ch\u01b0a ch\u1ecdn ng\xe0y. Vui l\xf2ng th\u1eed l\u1ea1i!");const n={OrganId:I.Id,NhanSuId:O===p._Enums_DoiTuong.CongTy||O===p._Enums_DoiTuong.PhongBang?R.Id:null,DoiTuong:O,LoaiNo:p.Enums_CongNo.TamUng,SoTien:+H,ThoiGian:U,DuAnId:e?e.Id:null,DotLuongId:O===p._Enums_DoiTuong.ThueNgoai?W.Id:null,GhiChu:J};c.y$.add(n).then((()=>{d(),(0,_.nw)("Th\xe0nh c\xf4ng!"),a()}))},children:"X\xe1c nh\u1eadn"}),(0,f.jsx)(A.A,{variant:"contained",onClick:a,children:"\u0110\xf3ng"})]})]})})};var L=a(33316),O=a(27894),S=a(8638),I=a(61278),B=a(14977),w=a.n(B),$=a(10782),R=a(73161),V=a(79617),H=a(27532),q=a(59701);function U(e){let{open:n,onClose:a,chiTietTraNos:i}=e;return(0,t.useEffect)((()=>{}),[n]),(0,f.jsx)("div",{className:"chi-tiet-tam-ung",children:(0,f.jsxs)(R.A,{isOpen:n,toggle:a,children:[(0,f.jsx)(V.A,{toggle:a,children:"Chi ti\u1ebft c\xe1c kho\u1ea3n \u0111\xe3 tr\u1ea3"}),(0,f.jsx)(H.A,{children:(0,f.jsxs)(q.A,{bordered:!0,hover:!0,children:[(0,f.jsx)("thead",{children:(0,f.jsxs)("tr",{children:[(0,f.jsx)("th",{style:{textAlign:"center"},children:"STT"}),(0,f.jsx)("th",{style:{textAlign:"center"},children:"T/G tr\u1ea3"}),(0,f.jsx)("th",{style:{textAlign:"center"},children:"S\u1ed1 ti\u1ec1n"})]})}),(0,f.jsx)("tbody",{children:i.length>0?i.map(((e,n)=>(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{style:{textAlign:"center"},children:n+1}),(0,f.jsxs)("td",{style:{textAlign:"center"},children:[e.Thang,"/",e.Nam]}),(0,f.jsx)("td",{style:{textAlign:"end"},children:(0,I.vv)(e.SoTien)})]},`traNo-${n}`))):(0,f.jsx)("tr",{children:(0,f.jsx)("td",{colSpan:3,children:(0,f.jsx)($.A,{size:"sm"})})})})]})})]})})}const G=(0,t.memo)(U),z=e=>{const n=new Date(e),a=n.getDate()<10?"0"+n.getDate():n.getDate(),t=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1;return`${n.getFullYear()}-${t}-${a}`};const F=function(e){let{valueFilter:{TuNgay:n,DenNgay:a,DoiTuong:i,Organ:s}}=e;const[l,r]=(0,t.useState)(!1),[o,u]=(0,t.useState)(p.Enum_Flag.add),[g,h]=(0,t.useState)({pageNumber:1,limit:10,pageCount:4}),[m,b]=(0,t.useState)([]),[v,x]=(0,t.useState)(""),[N,T]=(0,t.useState)(!1),[y,C]=(0,t.useState)([]),j=e=>{switch(e){case p._Enums_DoiTuong.CongTy:return p._Enums_DoiTuongNumber.CongTy;case p._Enums_DoiTuong.CuaHang:return p._Enums_DoiTuongNumber.CuaHang;case p._Enums_DoiTuong.KhachHang:return p._Enums_DoiTuongNumber.KhachHang;case p._Enums_DoiTuong.NhanVien:return p._Enums_DoiTuongNumber.NhanVien;case p._Enums_DoiTuong.PhongBang:return p._Enums_DoiTuongNumber.PhongBang;case p._Enums_DoiTuong.ThueNgoai:return p._Enums_DoiTuongNumber.ThueNgoai;default:return null}},A=(0,t.useCallback)((()=>{c.Tb.PostAuthen("/DanhSachTamUng",{TuNgay:z(n||new Date),DenNgay:z(a||new Date),DoiTuong:j(i),OrganId:null===s||void 0===s?void 0:s.Id,PageSize:10,Search:v,PageNumber:g.pageNumber?g.pageNumber:1}).then((e=>{b(e.ResultObj.Data),h((n=>{const a=Math.ceil(e.ResultObj.Count/g.limit);return a<n.pageCount&&h((e=>({...e,pageNumber:1}))),{...n,pageCount:a}}))}))}),[a,i,null===s||void 0===s?void 0:s.Id,n,g.limit,g.pageNumber,v]),P=()=>{A()};return(0,t.useEffect)((()=>{A()}),[A]),(0,f.jsxs)("div",{className:"index-table-tam-ung",children:[(0,f.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",background:"#006FCA",color:"#fff",padding:8},children:[(0,f.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,f.jsx)("div",{children:"Danh s\xe1ch t\u1ea1m \u1ee9ng"}),(0,f.jsx)("div",{style:{marginLeft:8},children:(0,f.jsx)(D.A,{style:{color:"black"},placeholder:"T\xecm ki\u1ebfm...",onChange:e=>x(e.target.value)})})]}),(0,f.jsxs)("div",{children:[(0,f.jsx)(L.A,{style:{marginRight:8},children:" T\u1ea3i l\u1ea1i "}),(0,f.jsx)(O.UN,{onClick:e=>{r(!0),u(e)},children:"Th\xeam t\u1ea1m \u1ee9ng"})]})]}),(0,f.jsxs)("table",{children:[(0,f.jsx)("thead",{children:(0,f.jsxs)("tr",{children:[(0,f.jsx)("th",{className:"th-table",children:"\u0110\u1ed1i t\u01b0\u1ee3ng \u1ee9ng"}),(i===p._Enums_DoiTuong.CongTy||i===p._Enums_DoiTuong.PhongBang)&&(0,f.jsx)("th",{className:"th-table",children:"\u0110\u1ed9i"}),i===p._Enums_DoiTuong.ThueNgoai&&(0,f.jsx)("th",{className:"th-table",children:"\u0110\u1ee3t"}),(0,f.jsx)("th",{className:"th-table",children:"T/G"}),(0,f.jsx)("th",{className:"th-table",children:"S\u1ed1 ti\u1ec1n \u1ee9ng"}),(0,f.jsx)("th",{className:"th-table",children:"Tr\u1ea1ng th\xe1i"}),(0,f.jsx)("th",{className:"th-table",children:"\u0110\xe3 tr\u1ea3"}),(0,f.jsx)("th",{className:"th-table",children:"C\xf2n l\u1ea1i"}),(0,f.jsx)("th",{className:"th-table",children:"Ghi ch\xfa"}),(0,f.jsx)("th",{className:"th-table",children:"Thao t\xe1c"})]})}),(0,f.jsx)("tbody",{children:m.length>0?m.map(((e,n)=>(0,f.jsx)(t.Fragment,{children:(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{children:i===p._Enums_DoiTuong.CongTy||i===p._Enums_DoiTuong.PhongBang?e.Name:e.OrganName}),(i===p._Enums_DoiTuong.CongTy||i===p._Enums_DoiTuong.PhongBang)&&(0,f.jsx)("td",{style:{textAlign:"center"},children:e.OrganName}),i===p._Enums_DoiTuong.ThueNgoai&&(0,f.jsx)("td",{children:e.DotLuong}),(0,f.jsx)("td",{style:{textAlign:"center"},children:(0,S.A)(new Date(e.ThoiGian),"dd/MM/yyyy")}),(0,f.jsx)("td",{style:{textAlign:"end"},children:(0,I.vv)(e.TamUng)}),(0,f.jsx)("td",{style:{textAlign:"center"},children:(0,f.jsx)("span",{className:"badge "+(0===e.ConLai?"badge-success":"badge-warning"),style:{fontSize:10},children:0===e.ConLai?"\u0110\xe3 thanh to\xe1n":"Ch\u01b0a thanh to\xe1n"})}),(0,f.jsx)("td",{style:{textAlign:"end"},children:(0,I.vv)(e.DaTra)}),(0,f.jsx)("td",{style:{textAlign:"end"},children:(0,I.vv)(e.ConLai)}),(0,f.jsx)("td",{children:e.GhiChu}),(0,f.jsxs)("td",{children:[(0,f.jsx)(d.A,{style:{padding:7,marginRight:8},color:"info",onClick:()=>{return n=e.TraNo,C(n),void T(!0);var n},children:(0,f.jsx)("i",{className:"fas fa-list-ol"})}),e.TamUngId?(0,f.jsx)(O.WB,{style:{padding:8},onClick:()=>{var n;(n=e.TamUngId)?(0,_.A1)("B\u1ea1n c\xf3 ch\u1eafc ch\u1eafc mu\u1ed1n x\xf3a!").then((e=>{e&&e.isConfirmed&&c.Tb.deleteCongNo(n).then((()=>{(0,_.nw)("X\xf3a th\xe0nh c\xf4ng!"),P()}))})):(0,_.a3)("T\u1ea1m \u1ee9ng n\xe0y \u0111\xe3 \u0111\u01b0\u1ee3c thanh to\xe1n, kh\xf4ng th\u1ec3 x\xf3a!")}}):""]})]})},`cc.${n}`))):(0,f.jsx)("tr",{children:(0,f.jsx)("td",{colSpan:9,children:(0,f.jsx)($.A,{size:"sm"})})})})]}),(0,f.jsx)("div",{className:"paginations",children:(0,f.jsx)(w(),{previousLabel:"<<",nextLabel:">>",breakLabel:"...",breakClassName:"break-me",pageClassName:"page-number",pageCount:g.pageCount,marginPagesDisplayed:2,pageRangeDisplayed:5,onPageChange:e=>h((n=>({...n,pageNumber:e.selected+1}))),containerClassName:"pagination",activeClassName:"active"})}),(0,f.jsx)(k,{reloadTable:P,open:l,handleClose:()=>r(!1),flag:o}),(0,f.jsx)(G,{open:N,onClose:()=>T(!1),chiTietTraNos:y})]})};const M=function(e){const[n,a]=(0,t.useState)({});return(0,f.jsxs)(i.A,{className:"index-tam-ung",children:[(0,f.jsx)(s.A,{md:"3",children:(0,f.jsx)(v,{onFilter:e=>a(e)})}),(0,f.jsx)(s.A,{md:"9",children:(0,f.jsx)(F,{valueFilter:n})})]})}}}]); //# sourceMappingURL=2576.13a60ca1.chunk.js.map