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 : 18.118.208.127


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/158.3a3b0805.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[158],{1078:function(e,a,t){"use strict";t.r(a);var n=t(3),o=t(99),l=t(100),r=t(102),c=t(101),i=t(103),m=t(1),d=t.n(m),h=t(858),u=t(1139),p=t(1106),s=t(272),g=t(1098),v=t(1100),f=t(104),z=t(266),b=t(271),E=t(270),C=function(e){function a(){var e,t;Object(o.a)(this,a);for(var l=arguments.length,i=new Array(l),m=0;m<l;m++)i[m]=arguments[m];return(t=Object(r.a)(this,(e=Object(c.a)(a)).call.apply(e,[this].concat(i)))).state={fromcnv:"0",tocnv:"zzzz",fromdeg:"0",todeg:"zzzzz",fromreg:"0",toreg:"zzzzz",fromcoll:"0",tocoll:"zzzzz",reportType:"convocationSummary"},t.handleChange=function(e,a){switch(a.type){case"text":t.setState(Object(n.a)({},a.name,a.value));default:t.setState(Object(n.a)({},a.name,a.value))}t.setState({frmSubmit:!1})},t.handleReport=function(){var e=t.state,a=e.reportType,n=e.fromcnv,o=e.tocnv,l=e.fromreg,r=e.toreg,c=e.fromdeg,i=e.todeg,m=e.fromcoll,d=e.tocoll;window.open(b.c+a+"&univcode="+t.props.univcode+"&fromdeg="+c+"&todeg="+i+"&fromcnv="+n+"&tocnv="+o+"&fromreg="+l+"&toreg="+r+"&fromcoll="+m+"&tocoll="+d+"&format=PDF","_blank")},t.handleCancel=function(){t.setState({fromcnv:"0",tocnv:"zzzz",fromdeg:"0",todeg:"zzzzz",fromreg:"0",toreg:"zzzzz",fromcoll:"0",tocoll:"zzzzz",reportType:"convocationSummary"})},t.renderHeader=function(){return d.a.createElement(u.a.Header,{style:{display:"flex"}},d.a.createElement("h3",null,"Convocation Reports"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(p.a,{basic:!0,color:"blue",onClick:t.handleReport,content:"Report",icon:"file"}),d.a.createElement(p.a,{basic:!0,color:"black",icon:"ban",onClick:t.handleCancel,content:"Cancel"}),d.a.createElement(h.a,{to:"/dashboard"},d.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},t}return Object(i.a)(a,e),Object(l.a)(a,[{key:"render",value:function(){var e=this.state,a=e.fromreg,t=e.toreg,n=e.fromcnv,o=e.tocnv,l=e.fromdeg,r=e.todeg,c=e.fromcoll,i=e.tocoll,m=e.reportType,h=Object(E.i)();return d.a.createElement("div",{className:"animated fadeIn"},d.a.createElement(u.a,{fluid:!0},d.a.createElement(u.a.Content,null,this.renderHeader(),d.a.createElement(s.a,null),d.a.createElement(u.a.Description,{style:{overflowY:"auto",height:"".concat(h,"px")}},d.a.createElement("div",{className:"col-md-6"},d.a.createElement(g.a,null,d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Field,{width:16},d.a.createElement("label",null,"Report Type"),d.a.createElement(v.a,{placeholder:"Select Report Type",name:"reportType",value:m,selection:!0,search:!0,options:[{value:"convocationSummary",text:"Convocation Applied List (Summary)"},{value:"convocationDetExl",text:"Convocation Applied List (Detailed)"}],onChange:this.handleChange}))),d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Input,{placeholder:"From",value:n,width:8,name:"fromcnv",onChange:this.handleChange,label:"Convocation Range"}),d.a.createElement(g.a.Input,{placeholder:"To",name:"tocnv",value:o,width:8,onChange:this.handleChange,style:{marginTop:"1.6em"}})),d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Input,{placeholder:"From",value:l,width:8,name:"fromdeg",onChange:this.handleChange,label:"Degree Range"}),d.a.createElement(g.a.Input,{placeholder:"To",name:"todeg",value:r,width:8,onChange:this.handleChange,style:{marginTop:"1.6em"}})),d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Input,{placeholder:"From",value:a,width:8,name:"fromreg",onChange:this.handleChange,label:"Reg. No. Range"}),d.a.createElement(g.a.Input,{placeholder:"To",name:"toreg",value:t,width:8,onChange:this.handleChange,style:{marginTop:"1.6em"}})),d.a.createElement(g.a.Group,null,d.a.createElement(g.a.Input,{placeholder:"From",value:c,width:8,name:"fromcoll",onChange:this.handleChange,label:"College Range"}),d.a.createElement(g.a.Input,{placeholder:"To",name:"tocoll",value:i,width:8,onChange:this.handleChange,style:{marginTop:"1.6em"}}))))))))}}]),a}(m.Component);a.default=Object(f.b)(function(e){return{deggrp:e.deggrp,collegeReport:e.collegeReport,univcode:e.univ.funivcode,user:e.user,menu:e.menu}},{fetchDegGrp:z.j,getReport:z.r,showError:z.w})(C)},272:function(e,a,t){"use strict";var n=t(268),o=t.n(n),l=t(265),r=t.n(l),c=t(1),i=t.n(c),m=t(333),d=t(551),h=t(549),u=t(267);function p(e){var a=e.children,t=e.className,n=e.clearing,l=e.content,c=e.fitted,s=e.hidden,g=e.horizontal,v=e.inverted,f=e.section,z=e.vertical,b=r()("ui",Object(m.a)(n,"clearing"),Object(m.a)(c,"fitted"),Object(m.a)(s,"hidden"),Object(m.a)(g,"horizontal"),Object(m.a)(v,"inverted"),Object(m.a)(f,"section"),Object(m.a)(z,"vertical"),"divider",t),E=Object(d.a)(p,e),C=Object(h.a)(p,e);return i.a.createElement(C,o()({},E,{className:b}),u.a.isNil(a)?l:a)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},a.a=p}}]);
//# sourceMappingURL=158.3a3b0805.chunk.js.map