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 : 13.59.250.115
(window.webpackJsonp=window.webpackJsonp||[]).push([[117,307],{1420:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),u=r(102),l=r(104),s=r(2),p=r.n(s),f=r(941),d=r(267),h=r(1377),y=r(1343),m=r(272),v=r(1335),g=r(1337),b=r(105),E=r(273),w=r(271);function S(){S=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new R(n||[]);return a(c,"_invoke",{value:A(e,r,i)}),c}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",d="suspendedYield",h="executing",y="completed",m={};function v(){}function g(){}function b(){}var E={};l(E,c,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(D([])));x&&x!==r&&n.call(x,c)&&(E=x);var j=b.prototype=v.prototype=Object.create(E);function O(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function A(t,r,n){var a=f;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=b,a(j,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},O(L.prototype),l(L.prototype,i,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new L(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},O(j),l(j,u,"Generator"),l(j,c,function(){return this}),l(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=D,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}r(311);function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new R(n||[]);return a(c,"_invoke",{value:A(e,r,i)}),c}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",d="suspendedYield",h="executing",y="completed",m={};function v(){}function g(){}function b(){}var E={};l(E,c,function(){return this});var w=Object.getPrototypeOf,S=w&&w(w(D([])));S&&S!==r&&n.call(S,c)&&(E=S);var j=b.prototype=v.prototype=Object.create(E);function O(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function A(t,r,n){var a=f;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=b,a(j,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},O(L.prototype),l(L.prototype,i,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new L(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},O(j),l(j,u,"Generator"),l(j,c,function(){return this}),l(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=D,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}var j=function(e){function t(){var e,r;Object(o.a)(this,t);for(var c=arguments.length,l=new Array(c),s=0;s<c;s++)l[s]=arguments[s];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(l)))).state={degree:"All",sem:"All",subject:"All",type:"",tabledata:[],file:null,appno:"",disabled:!1,formSubmit:!1},r.componentDidMount=function(){r.getData()},r.getData=Object(a.a)(x().mark(function e(){var t;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t="","500"!=r.props.fcurtype&&"501"!=r.props.fcurtype||""!=r.props.fcollcode&&(t=r.props.fcollcode),e.next=4,r.props.getResStudDegree(t);case 4:return e.next=6,r.props.getResStudSem(r.state.degree,t);case 6:return e.next=8,r.props.getResStudSubject(r.state.sem,r.state.degree,t);case 8:case"end":return e.stop()}},e)})),r.renderHeader=function(){return p.a.createElement(h.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"Student Acknowledge"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(y.a,{basic:!0,onClick:r.handleSaveData,color:"green",icon:"save",content:"Save"}),p.a.createElement(y.a,{basic:!0,onClick:r.handleCancel,color:"black",icon:"ban",content:"Clear"}),p.a.createElement(f.a,{to:"/dashboard"},p.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r.submitHandler=Object(a.a)(x().mark(function e(){var t;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.type){e.next=5;break}return t={header:"Error",content:"Select Type"},e.next=4,r.props.showError(t);case 4:return e.abrupt("return");case 5:return e.next=7,r.props.getResStudData(r.state);case 7:return e.next=9,r.setState({tabledata:r.props.data,disabled:!0,formSubmit:!0});case 9:case"end":return e.stop()}},e)})),r.checkHandler=function(e,t){var a=r.state.tabledata.map(function(r,n){return t.appno===r.appno&&t.fregno===r.fregno&&t.fqpcode===r.fqpcode?(e.target.checked?(r.FPAYMENTSTATUS="success",r.fupload="T",r.fstatus="T"):(r.FPAYMENTSTATUS="",r.fupload="F",r.fstatus="F"),r):r});r.setState({tabledata:Object(n.a)(a)})},r.changeFile=function(e,t){r.setState({file:e.target.files[0],appno:t.appno+t.fqpcode})},r.handleSave=function(){var e=Object(a.a)(x().mark(function e(t){var n,a;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.state.appno===t.appno+t.fqpcode){e.next=7;break}return n={header:"Error",content:"Upload where you select the file"},e.next=4,r.props.showError(n);case 4:return e.abrupt("return");case 7:return(a=new FormData).append("degree",t.fdegree),a.append("sem",t.fexamno),a.append("subject",t.fqpcode),a.append("type",r.state.type),a.append("file",r.state.file),a.append("fregno",t.fregno),a.append("appno",t.appno),e.next=17,r.props.saveResStudData(a);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.handleSaveData=Object(a.a)(x().mark(function e(){var t,n;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],r.state.tabledata.map(function(e,r){if("T"===e.fstatus||"F"===e.fstatus){var n={};n.fdegree=e.fdegree,n.fexamno=e.fexamno,n.fqpcode=e.fqpcode,n.appno=e.appno,n.fregno=e.fregno,n.fstatus=e.fstatus,t.push(n)}}),(n=new FormData).append("degree",r.state.degree),n.append("sem",r.state.sem),n.append("subject",r.state.subject),n.append("type",r.state.type),n.append("data",JSON.stringify(t)),e.next=10,r.props.saveResStudAllData(n);case 10:case"end":return e.stop()}},e)})),r.handleCancel=Object(a.a)(x().mark(function e(){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({degree:"All",sem:"All",subject:"All",type:"",tabledata:[],file:null,appno:"",disabled:!1,formSubmit:!1});case 2:case"end":return e.stop()}},e)})),r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=[{key:"All",value:"All",text:"All"}],r=this.props.degree.map(function(e,t){return{key:t,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),a=[].concat(t,Object(n.a)(r)),o=this.props.sem.map(function(e,t){return{key:t,value:e.fexamno,text:e.fexamno+" - "+e.fexamname}}),c=[].concat(t,Object(n.a)(o)),i=this.props.sub.map(function(e,t){return{key:t,value:e.fqpcode,text:e.fqpcode+" - "+e.fsubname}}),u=[].concat(t,Object(n.a)(i)),l=Object(E.i)();return p.a.createElement(h.a,{fluid:!0},p.a.createElement(h.a.Content,null,this.renderHeader(),p.a.createElement(m.a,null),p.a.createElement(h.a.Description,{style:{height:"".concat(l,"px"),overflowY:"auto"}},p.a.createElement(v.a,null,p.a.createElement(v.a.Group,null,p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Degree"),p.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,disabled:this.state.disabled,value:this.state.degree,options:a,allowAdditions:!0,placeholder:"Degree",onChange:function(t,r){e.setState({degree:r.value}),e.props.getResStudSem(r.value)}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Semester"),p.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,disabled:this.state.disabled,value:this.state.sem,options:c,allowAdditions:!0,placeholder:"Semester",onChange:function(t,r){e.setState({sem:r.value}),e.props.getResStudSubject(r.value,e.state.degree)}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Subject"),p.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,disabled:this.state.disabled,value:this.state.subject,options:u,allowAdditions:!0,placeholder:"Subject",onChange:function(t,r){return e.setState({subject:r.value})}}))),p.a.createElement(v.a.Group,null,p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Select Type"),p.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,disabled:this.state.disabled,value:this.state.type,options:[{key:"PC",value:"PC",text:"Photo Copy"},{key:"RV",value:"RV",text:"Revaluation"},{key:"RT",value:"RT",text:"Retotaling"},{key:"CV",value:"CV",text:"CV"},{key:"RI",value:"RI",text:"Result Improvement"}],allowAdditions:!0,placeholder:"Type",onChange:function(t,r){return e.setState({type:r.value})}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement(y.a,{style:{position:"relative",top:"23px"},content:"Submit",color:"blue",onClick:this.submitHandler})))),this.state.formSubmit&&p.a.createElement("table",null,p.a.createElement("thead",null,p.a.createElement("tr",null,p.a.createElement("td",null,"Sl. No."),p.a.createElement("td",null,"App No."),p.a.createElement("td",null,"Reg No."),p.a.createElement("td",null,"Degree"),p.a.createElement("td",null,"Sem"),p.a.createElement("td",null,"QP Code"),p.a.createElement("td",null,"Subject Name"),p.a.createElement("td",null,"Type"),p.a.createElement("td",null,"Amount"),p.a.createElement("td",null,"Action"),p.a.createElement("td",null,"Upload Doc"),p.a.createElement("td",null,"Upload"))),p.a.createElement("tbody",null,this.state.tabledata.length>0?this.state.tabledata.map(function(t,r){return"success"===t.FPAYMENTSTATUS&&(t.fupload="T"),p.a.createElement("tr",{key:r,style:{height:"40px",textAlign:"center"}},p.a.createElement("td",null,r+1),p.a.createElement("td",null,t.appno),p.a.createElement("td",null,t.fregno),p.a.createElement("td",null,t.fdegree),p.a.createElement("td",null,t.fexamno),p.a.createElement("td",null,t.fqpcode),p.a.createElement("td",{style:{textAlign:"initial",paddingLeft:"10px"}},t.fsubanme),p.a.createElement("td",null,t.fcorrtype),p.a.createElement("td",null,t.famount),p.a.createElement("td",null,"success"===t.FPAYMENTSTATUS?p.a.createElement("input",{type:"checkbox",onChange:function(r){return e.checkHandler(r,t)},checked:!0}):p.a.createElement("input",{type:"checkbox",onChange:function(r){return e.checkHandler(r,t)},checked:!1})),p.a.createElement("td",{style:{textAlign:"initial",paddingLeft:"10px"}},p.a.createElement("input",{type:"file",disabled:"T"!==t.fupload,onChange:function(r){return e.changeFile(r,t)}})),p.a.createElement("td",null,p.a.createElement(y.a,{basic:!0,icon:"upload",color:"green",disabled:"T"!==t.fupload,onClick:function(){return e.handleSave(t)}})))}):p.a.createElement("tr",null,p.a.createElement("td",{colSpan:12,style:{textAlign:"center",height:"25px"}},"No Data Found")))))))}}]),t}(s.Component);t.default=Object(b.b)(function(e){return{degree:e.resdegree,sem:e.resSem,sub:e.resSub,data:e.resdata,fcurtype:e.user.fcurtype,fcollcode:e.user.fcollcode}},{showError:d.A,getResStudDegree:function(e){return function(){var t=Object(a.a)(S().mark(function t(r,n){var a,o,c,i;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,w.a.get("/app.php?a=getResStudDegree&univcode="+a.user.fcuruniv+"&coll="+e);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(d.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(d.A)(i))):r({type:"RES_STUD_DEGREE",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getResStudSem:function(e,t){return function(){var r=Object(a.a)(S().mark(function r(n,a){var o,c,i,u;return S().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,w.a.get("/app.php?a=getResStudSem&univcode="+o.user.fcuruniv+"°ree="+e+"&collcode="+t);case 4:c=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof c.data?(i={header:"Error",content:"Something went wrong"},n(Object(d.A)(i))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},n(Object(d.A)(u))):n({type:"RES_STUD_SEM",payload:c.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},getResStudSubject:function(e,t,r){return function(){var n=Object(a.a)(S().mark(function n(a,o){var c,i,u,l;return S().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return c=o(),a({type:"SET_LOADER"}),n.next=4,w.a.get("/app.php?a=getResStudSubject&univcode="+c.user.fcuruniv+"&sem="+e+"°ree="+t+"&collcode="+r);case 4:i=n.sent,a({type:"UNSET_LOADER"}),"object"!==typeof i.data?(u={header:"Error",content:"Something went wrong"},a(Object(d.A)(u))):-1===i.data.error_code?(l={header:"Error",content:i.data.data.msg},a(Object(d.A)(l))):a({type:"RES_STUD_SUBJECT",payload:i.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},getResStudData:function(e){return function(){var t=Object(a.a)(S().mark(function t(r,n){var a,o,c,i;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,w.a.get("/app.php?a=getResStudData&univcode="+a.user.fcuruniv+"&sem="+e.sem+"°ree="+e.degree+"&subject="+e.subject+"&type="+e.type);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(d.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(d.A)(i)),r({type:"CLEAR_RES_STUD_DATA",payload:o.data})):r({type:"RES_STUD_DATA",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},saveResStudData:function(e){return function(){var t=Object(a.a)(S().mark(function t(r,n){var a,o,c,i,u;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,w.a.post("/app.php?a=saveResStudData&univcode="+a.user.fcuruniv,e);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(d.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(d.A)(i))):(u={header:"Success",content:o.data.data.msg},r(Object(d.A)(u)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},saveResStudAllData:function(e){return function(){var t=Object(a.a)(S().mark(function t(r,n){var a,o,c,i,u;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,w.a.post("/app.php?a=saveResStudAllData&univcode="+a.user.fcuruniv,e);case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(d.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(d.A)(i))):(u={header:"Success",content:o.data.data.msg},r(Object(d.A)(u)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}})(j)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),l=r(349),s=r(613),p=r(611),f=r(269);function d(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,h=e.hidden,y=e.horizontal,m=e.inverted,v=e.section,g=e.vertical,b=c()("ui",Object(l.a)(n,"clearing"),Object(l.a)(i,"fitted"),Object(l.a)(h,"hidden"),Object(l.a)(y,"horizontal"),Object(l.a)(m,"inverted"),Object(l.a)(v,"section"),Object(l.a)(g,"vertical"),"divider",r),E=Object(s.a)(d,e),w=Object(p.a)(d,e);return u.a.createElement(w,a()({},E,{className:b}),f.a.isNil(t)?o:t)}d.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],d.propTypes={},t.a=d},311:function(e,t,r){}}]);
//# sourceMappingURL=117.7e425cb6.chunk.js.map
|