0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.15.10.117


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/116.ea1b175c.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[116],{1087:function(e,t,a){"use strict";a.r(t);var n=a(41),r=a.n(n),c=a(68),o=a(99),i=a(100),l=a(102),u=a(101),d=a(103),s=a(1),f=a.n(s),p=a(858),m=a(1139),w=a(1106),E=a(272),v=a(1101),h=a(104),y=a(484),b=a(266),g=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),d=0;d<n;d++)i[d]=arguments[d];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(i)))).state={},a.componentDidMount=Object(c.a)(r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.props.viewInword();case 2:case"end":return e.stop()}},e)})),a}return Object(d.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(m.a,{fluid:!0},f.a.createElement(m.a.Content,null,f.a.createElement(m.a.Header,{style:{display:"flex"}},f.a.createElement("h4",null,"Inword Details"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(p.a,{to:"/utils/Inword"},f.a.createElement(w.a,{basic:!0,color:"Black",content:"Back",icon:"arrow left"})),f.a.createElement(p.a,{to:"/dashboard"},f.a.createElement(w.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),f.a.createElement(E.a,null),f.a.createElement(m.a.Description,null,Object.keys(this.props.viewinword).length>0?f.a.createElement("div",{className:"ui mini form"},f.a.createElement(v.a,{celled:!0},f.a.createElement(v.a.Header,null,f.a.createElement(v.a.Row,null,f.a.createElement(v.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},"Sl. No."),f.a.createElement(v.a.HeaderCell,{style:{width:"20%"},textAlign:"center"},"Letter From"),f.a.createElement(v.a.HeaderCell,{style:{width:"20%"},textAlign:"center"},"Letter To"),f.a.createElement(v.a.HeaderCell,{textAlign:"center",style:{width:"20%"}},"Subject"),f.a.createElement(v.a.HeaderCell,{textAlign:"center",style:{width:"8%"}},"Status"))),f.a.createElement(v.a.Body,null,this.props.viewinword.map(function(e,t){return f.a.createElement(v.a.Row,null,f.a.createElement(v.a.Cell,{textAlign:"center"},t+1),f.a.createElement(v.a.Cell,{textAlign:"center"},f.a.createElement("b",null,e.fltfrom)),f.a.createElement(v.a.Cell,{textAlign:"center"},f.a.createElement("b",null,e.fto)),f.a.createElement(v.a.Cell,null,f.a.createElement("b",null,e.fsubject)),f.a.createElement(v.a.Cell,{textAlign:"center"},f.a.createElement("b",null,e.fstatus)))})))):null))))}}]),t}(s.Component);t.default=Object(h.b)(function(e){return{viewinword:e.viewinword}},{showError:b.w,viewInword:y.f})(g)},272:function(e,t,a){"use strict";var n=a(268),r=a.n(n),c=a(265),o=a.n(c),i=a(1),l=a.n(i),u=a(333),d=a(551),s=a(549),f=a(267);function p(e){var t=e.children,a=e.className,n=e.clearing,c=e.content,i=e.fitted,m=e.hidden,w=e.horizontal,E=e.inverted,v=e.section,h=e.vertical,y=o()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(m,"hidden"),Object(u.a)(w,"horizontal"),Object(u.a)(E,"inverted"),Object(u.a)(v,"section"),Object(u.a)(h,"vertical"),"divider",a),b=Object(d.a)(p,e),g=Object(s.a)(p,e);return l.a.createElement(g,r()({},b,{className:y}),f.a.isNil(t)?c:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},484:function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"d",function(){return u}),a.d(t,"a",function(){return d}),a.d(t,"e",function(){return s}),a.d(t,"c",function(){return f}),a.d(t,"f",function(){return p});var n=a(41),r=a.n(n),c=a(68),o=a(269),i=a(266),l=function(e,t){return{type:"CHANGE_INWARD",payload:{name:e,value:t}}},u=function(e,t){return function(){var e=Object(c.a)(r.a.mark(function e(a,n){var c,i;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,o.a.get("app.php?a=getName&univcode="+c.univ.funivcode+"&value="+t+"&fltfrom="+c.inwardCreation.fltfrom);case 3:"object"!==typeof(i=e.sent).data?a({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===i.data.error_code?a({type:"INWARD_GETNAME",payload:i.data}):a({type:"SET_ERROR",payload:i});case 5:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},d=function(){return{type:"CANCEL_INWARD"}},s=function(e,t){return function(){var e=Object(c.a)(r.a.mark(function e(t,a){var n,c;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),e.next=3,o.a.get("app.php?a=loadData&univcode="+n.univ.funivcode);case 3:"object"!==typeof(c=e.sent).data?t({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===c.data.error_code?t({type:"INWARD_LOAD",payload:c.data}):t({type:"SET_ERROR",payload:c});case 5:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},f=function(){return function(){var e=Object(c.a)(r.a.mark(function e(t,a){var n,c,l;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),console.log("state.inwardCreation.fconfi : ",n.inwardCreation.fconfi),e.next=4,o.a.post("app.php?a=fromSubmitInward&univcode="+n.univ.funivcode,{fltfrom:n.inwardCreation.fltfrom,fcollcode:n.inwardCreation.fcollcode,fto:n.inwardCreation.fto,fid:n.inwardCreation.fid,fname:n.inwardCreation.fname,fsubject:n.inwardCreation.fsubject,fregno:n.inwardCreation.fregno,fothers:n.inwardCreation.fothers,fconfi:n.inwardCreation.fconfi,ftype:"I"});case 4:"object"!==typeof(c=e.sent).data?t({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===c.data.error_code?(l={header:"Success",content:c.data.data.msg},t(Object(i.w)(l)),t({type:"CANCEL_INWARD"})):t({type:"SET_ERROR",payload:c});case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},p=function(){return function(){var e=Object(c.a)(r.a.mark(function e(t,a){var n,c,l,u;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,o.a.get("/app.php",{params:{a:"viewInword",univcode:n.univ.funivcode}});case 4:c=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},t(Object(i.w)(l))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},t(Object(i.w)(u))):t({type:"VIEW_INWARD",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=116.ea1b175c.chunk.js.map