members.jciindia.in Open in urlscan Pro
162.214.203.139  Public Scan

URL: https://members.jciindia.in/js/chunk-29ef911c.b47b2513.js
Submission: On August 18 via api from US — Scanned from GB

Form analysis 0 forms found in the DOM

Text Content

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29ef911c"],{"1f09":function(e,t,a){},3129:function(e,t,a){"use strict";var n=a("3835"),i=a("5530"),o=(a("d81d"),a("a630"),a("3ca3"),a("14d9"),a("ac1f"),a("5319"),a("1f09"),a("c995")),r=a("24b2"),s=a("7560"),l=a("58df"),d=a("80d2");t["a"]=Object(l["a"])(o["a"],r["a"],s["a"]).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,tile:Boolean,transition:String,type:String,types:{type:Object,default:function(){return{}}}},computed:{attrs:function(){return this.isLoading?this.boilerplate?{}:Object(i["a"])({"aria-busy":!0,"aria-live":"polite",role:"alert"},this.$attrs):this.$attrs},classes:function(){return Object(i["a"])(Object(i["a"])({"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile},this.themeClasses),this.elevationClasses)},isLoading:function(){return!("default"in this.$scopedSlots)||this.loading},rootTypes:function(){return Object(i["a"])({actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text"},this.types)}},methods:{genBone:function(e,t){return this.$createElement("div",{staticClass:"v-skeleton-loader__".concat(e," v-skeleton-loader__bone")},t)},genBones:function(e){var t=this,a=e.split("@"),i=Object(n["a"])(a,2),o=i[0],r=i[1],s=function(){return t.genStructure(o)};return Array.from({length:r}).map(s)},genStructure:function(e){var t=[];e=e||this.type||"";var a=this.rootTypes[e]||"";if(e===a);else{if(e.indexOf(",")>-1)return this.mapBones(e);if(e.indexOf("@")>-1)return this.genBones(e);a.indexOf(",")>-1?t=this.mapBones(a):a.indexOf("@")>-1?t=this.genBones(a):a&&t.push(this.genStructure(a))}return[this.genBone(e,t)]},genSkeleton:function(){var e=[];return this.isLoading?e.push(this.genStructure()):e.push(Object(d["t"])(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},e):e},mapBones:function(e){return e.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter:function(e){this.resetStyles(e),this.isLoading&&(e._initialStyle={display:e.style.display,transition:e.style.transition},e.style.setProperty("transition","none","important"))},onBeforeLeave:function(e){e.style.setProperty("display","none","important")},resetStyles:function(e){e._initialStyle&&(e.style.display=e._initialStyle.display||"",e.style.transition=e._initialStyle.transition,delete e._initialStyle)}},render:function(e){return e("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}})},"4d17":function(e,t,a){},"8b4a":function(e,t,a){"use strict";a("4d17")},"8cd0":function(e,t,a){},"9e8f":function(e,t,a){"use strict";a.r(t);var n=a("c6a6"),i=a("8336"),o=a("b0af"),r=a("99d9"),s=a("cc20"),l=a("62ad"),d=a("a523"),c=a("8fea"),u=a("2e4b"),p=a("169a"),m=a("4bd4"),h=a("132d"),f=a("e449"),v=a("0fd9"),g=a("3129"),b=a("c73b"),y=a("8654"),C=a("3a2f"),P=(a("ac1f"),a("841c"),function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"jci-program-payment-report"}},[t(o["a"],[t(r["d"],{staticClass:"text-h5"},[t("h2",[e._v(e._s(e.PageTitle))])]),t(r["b"],{staticClass:"text-h5"}),t(d["a"],{staticClass:"py-0"},[e.FloatingButtonFlag?t(b["a"],{attrs:{top:e.top,bottom:e.bottom,right:e.right,left:e.left,direction:e.direction,"open-on-hover":e.hover,transition:e.transition,fixed:!0},scopedSlots:e._u([{key:"activator",fn:function(){return[t(i["a"],{attrs:{color:"blue darken-2",dark:"",fab:""},model:{value:e.fab,callback:function(t){e.fab=t},expression:"fab"}},[e.fab?t(h["a"],[e._v(" mdi-close ")]):t(h["a"],[e._v(" mdi-account-circle ")])],1)]},proxy:!0}],null,!1,966269411),model:{value:e.fab,callback:function(t){e.fab=t},expression:"fab"}},[t(i["a"],{attrs:{fab:"",dark:"",small:"",color:"indigo"},on:{click:function(t){t.preventDefault(),e.addRecordPrompt=!0}}},[t(h["a"],[e._v("mdi-plus")])],1)],1):e._e()],1),t(p["a"],{attrs:{persistent:"","max-width":"600px"},model:{value:e.addRecordPrompt,callback:function(t){e.addRecordPrompt=t},expression:"addRecordPrompt"}},[e.addRecordPrompt?t("add-event-online-payment",{attrs:{pageDescription:"Add Event Online Payment",addRecordPrompt:e.addRecordPrompt},on:{hideAddRecordPrompt:e.hideAddRecordPrompt}}):e._e()],1),t(p["a"],{attrs:{persistent:"",scrollable:"","max-width":"65%"},model:{value:e.transferEventPrompt,callback:function(t){e.transferEventPrompt=t},expression:"transferEventPrompt"}},[e.transferEventPrompt?t("transfer-jci-event",{attrs:{transferEventPrompt:e.transferEventPrompt,recordData:e.selectedData},on:{hidetransferEventPrompt:e.hidetransferEventPrompt}}):e._e()],1),t(r["c"],[e.LoadingFlag?t("div",{staticClass:"d-flex justify-content-center mb-3"},[t("b-spinner",{attrs:{variant:"primary",type:"grow",label:"Loading..."}})],1):e._e(),e.StartupLoadingFlag?t(d["a"],{staticClass:"py-0"},[t(g["a"],e._b({attrs:{type:"table-tbody"}},"v-skeleton-loader",e.attrs,!1))],1):e._e(),t(d["a"],[t(m["a"],{ref:"form2",attrs:{"lazy-validation":""},model:{value:e.valid1,callback:function(t){e.valid1=t},expression:"valid1"}},[t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("h4",{staticClass:"text-primary"},[t("span",{staticClass:"text-danger"},[e._v("*")]),e._v(" Year ")]),t(n["a"],{attrs:{reduce:function(e){return e.value},loading:e.JciYearCodeOptionsLoading,items:e.JciYearCodeOptions,rules:e.JciYearCodeRules,hint:"Select a year","persistent-hint":"",dense:"",clearable:"",required:"",outlined:""},model:{value:e.JciYearCode,callback:function(t){e.JciYearCode=t},expression:"JciYearCode"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("label",[t("h6",[e._v(" Event name "),t("small",[e._v("(optional)")])])]),t(n["a"],{attrs:{reduce:function(e){return e.value},loading:e.EventCodeOptionsLoading,items:e.EventCodeOptions,rules:e.EventCodeRules,hint:"Select a event","persistent-hint":"",dense:"",clearable:"",required:"",outlined:""},model:{value:e.EventCode,callback:function(t){e.EventCode=t},expression:"EventCode"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("h6",[e._v("Payment Id "),t("small",[e._v("(optional)")])]),t(y["a"],{attrs:{rules:e.PaymentIdRules,placeholder:"Payment Id",hint:"Enter razorpay payment id","persistent-hint":"",required:"",dense:"",outlined:""},model:{value:e.PaymentId,callback:function(t){e.PaymentId=t},expression:"PaymentId"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("label",[t("h6",[e._v(" Zone "),t("small",[e._v("(optional)")])])]),t(n["a"],{attrs:{reduce:function(e){return e.value},loading:e.ZoneCodeOptionsLoading,items:e.ZoneCodeOptions,rules:e.ZoneCodeRules,hint:"Select a Zone","persistent-hint":"",dense:"",clearable:"",required:"",outlined:""},model:{value:e.ZoneCode,callback:function(t){e.ZoneCode=t},expression:"ZoneCode"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("label",[t("h6",[e._v(" LO "),t("small",[e._v("(optional)")])])]),t(n["a"],{attrs:{reduce:function(e){return e.value},loading:e.LomCodeOptionsLoading,items:e.LomCodeOptions,rules:e.LomCodeRules,hint:"Select a LO","persistent-hint":"",dense:"",clearable:"",required:"",outlined:""},model:{value:e.LomCode,callback:function(t){e.LomCode=t},expression:"LomCode"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("label",[t("h6",[e._v("From Date")])]),t(f["a"],{attrs:{"close-on-content-click":!1,"nudge-right":40,lazy:"",transition:"scale-transition","offset-y":"","full-width":"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(a){var n=a.on;return[t(y["a"],e._g({staticClass:"form-control form-control-lg form-control-solid",attrs:{required:"",label:"From Date",hint:"Select a From Date","persistent-hint":"",readonly:"","background-color":"#F3F6F9","validate-on-blur":"",solo:"",dense:""},model:{value:e.FromDate,callback:function(t){e.FromDate=t},expression:"FromDate"}},n))]}}]),model:{value:e.menu1,callback:function(t){e.menu1=t},expression:"menu1"}},[t(u["a"],{on:{input:function(t){e.menu1=!1}},model:{value:e.FromDate,callback:function(t){e.FromDate=t},expression:"FromDate"}})],1)],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"3",md:"3"}},[t("label",[t("h6",[e._v("To Date")])]),t(f["a"],{attrs:{"close-on-content-click":!1,"nudge-right":40,lazy:"",transition:"scale-transition","offset-y":"","full-width":"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(a){var n=a.on;return[t(y["a"],e._g({staticClass:"form-control form-control-lg form-control-solid",attrs:{required:"",label:"To Date",hint:"Select a To Date","persistent-hint":"",readonly:"","background-color":"#F3F6F9","validate-on-blur":"",solo:"",dense:""},model:{value:e.ToDate,callback:function(t){e.ToDate=t},expression:"ToDate"}},n))]}}]),model:{value:e.menu2,callback:function(t){e.menu2=t},expression:"menu2"}},[t(u["a"],{on:{input:function(t){e.menu2=!1}},model:{value:e.ToDate,callback:function(t){e.ToDate=t},expression:"ToDate"}})],1)],1)],1),t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[t(i["a"],{staticClass:"btn btn-primary font-size-h6 px-15 py-4 my-3 mr-3 white--text",attrs:{disabled:!e.valid1,loading:e.SearchFlag,color:"#8950FC",elevation:"30",shaped:"",tile:"",large:""},on:{click:function(t){return t.preventDefault(),e.searchForm.apply(null,arguments)}}},[e._v(" Search ")]),2==e.RoleId?t(i["a"],{staticClass:"btn btn-primary font-size-h6 px-15 py-4 my-3 mr-3 white--text",attrs:{color:"#8b008b",elevation:"30",shaped:"",tile:"",large:""},on:{click:function(t){t.preventDefault(),e.addRecordPrompt=!0}}},[e._v(" Add Online Payment ")]):e._e()],1)],1)],1)],1),!e.StartupLoadingFlag&&e.ResultFlag&&0==e.tableData1.length?t(d["a"],{staticClass:"py-0"},[t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[t("h4",[e._v("No records found.")])])],1)],1):e._e(),e.tableData1.length>0?t(d["a"],{staticClass:"py-0"},[t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[t("h3",[e._v(e._s(e.tableData1.length)+" records found.")])])],1),t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[e.tableData1.length>0&&1==e.tableOptions1.DownloadButtonFlag?t(i["a"],{staticClass:"mr-4",attrs:{color:"info"},on:{click:function(t){return t.preventDefault(),e.generateExcel(e.tableData1,e.tableOptions1.ExcelFields,e.tableOptions1.ExcelFileName,"My Worksheet")}}},[e._v("Download")]):e._e()],1)],1),t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[t(y["a"],{attrs:{"append-icon":"mdi-magnify",label:"Search records here","single-line":"","hide-details":""},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),t("br"),t(c["a"],{staticClass:"elevation-1",attrs:{"loading-text":"Loading... Please wait",search:e.search,loading:e.TableLoadingFlag,"item-key":e.tableOptions1.ItemKey,"single-select":e.tableOptions1.SingleSelectFlag,headers:e.tableColumns1,items:e.tableData1,"items-per-page":e.tableOptions1.ItemsPerPage,"footer-props":e.tableOptions1.FooterProps},scopedSlots:e._u([{key:"item.ActiveStatusTxt",fn:function(a){var n=a.item;return[t(s["a"],{attrs:{color:e.getActiveStatusColor(n.ActiveStatusTxt),draggable:"",dark:""}},[e._v(e._s(n.ActiveStatusTxt))])]}},{key:"item.ProfilePic",fn:function(e){var a=e.item;return[t("img",{attrs:{width:"100",height:"100",src:a.ProfilePic}})]}},{key:"item.actions",fn:function(a){var n=a.item;return[""!=n.ReceiptFilePath?t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var o=a.on,r=a.attrs;return[t(i["a"],e._g(e._b({staticClass:"mx-2",attrs:{href:n.ReceiptFilePath,target:"_blank",icon:"",dark:"",small:"",color:"#EDBE38"}},"v-btn",r,!1),o),[t(h["a"],{attrs:{dark:""}},[e._v(" mdi-receipt ")])],1)]}}],null,!0)},[t("span",[e._v(" Receipt Download ")])]):e._e(),t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var o=a.on,r=a.attrs;return[t(i["a"],e._g(e._b({staticClass:"mx-2",attrs:{target:"_blank",icon:"",dark:"",small:"",color:"#EDBE38"},on:{click:function(t){return e.transferToOtherEvent(n)}}},"v-btn",r,!1),o),[t(h["a"],{attrs:{dark:""}},[e._v(" mdi-account-convert ")])],1)]}}],null,!0)},[t("span",[e._v(" member transfer ")])]),""!=n.ApplicationPath?t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var o=a.on,r=a.attrs;return[t(i["a"],e._g(e._b({staticClass:"mx-2",attrs:{href:n.ApplicationPath,target:"_blank",icon:"",dark:"",small:"",color:"red"}},"v-btn",r,!1),o),[t(h["a"],{attrs:{dark:""}},[e._v(" mdi-file-pdf ")])],1)]}}],null,!0)},[t("span",[e._v(" Application Download ")])]):e._e(),""!=n.MemberImagePath?t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var o=a.on,r=a.attrs;return[t(i["a"],e._g(e._b({staticClass:"mx-2",attrs:{href:n.MemberImagePath,target:"_blank",icon:"",dark:"",small:"",color:"blue"}},"v-btn",r,!1),o),[t(h["a"],{attrs:{dark:""}},[e._v(" mdi-image-area ")])],1)]}}],null,!0)},[t("span",[e._v(" Member Image Download ")])]):e._e(),2==n.ActiveStatus?t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var i=a.on,o=a.attrs;return[t(h["a"],e._g(e._b({staticClass:"mr-2",attrs:{icon:"",size:"25px",color:"blue"},on:{click:function(t){return e.previewData(n,e.e)}}},"v-icon",o,!1),i),[e._v(" mdi-clipboard-text-search ")])]}}],null,!0)},[t("span",[e._v(" Preview ")])]):e._e(),n.RemainingCount>=0?t(C["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(a){var i=a.on,o=a.attrs;return[t(h["a"],e._g(e._b({attrs:{icon:"",size:"25px",color:"primary"},on:{click:function(t){return e.previewData(n,e.e)}}},"v-icon",o,!1),i),[e._v(" mdi-account-multiple-plus ")])]}}],null,!0)},[t("span",[e._v(" Add members ")])]):e._e()]}}],null,!1,3157692289),model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1)],1)],1):e._e(),t("br"),t("br")],1)],1)],1)}),O=[],_=a("ade3"),x=(a("00b4"),a("b64b"),a("14d9"),a("fb6a"),a("6b47")),I=a("8ca4"),k=(a("0bce"),a("75c1"),a("2fa4")),S=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"preview"}},[t(o["a"],[t(m["a"],{ref:"form1",attrs:{"lazy-validation":""},model:{value:e.valid1,callback:function(t){e.valid1=t},expression:"valid1"}},[t(r["d"],[t("span",{staticClass:"headline"},[e._v(e._s(e.pageDescription))])]),t(r["c"],[t(d["a"],[t(v["a"],[t(l["a"],{attrs:{cols:"12",sm:"6",md:"6"}},[t("h4",{staticClass:"text-primary"},[t("span",{staticClass:"text-danger"},[e._v("*")]),e._v(" Payment Id ")]),t(y["a"],{attrs:{rules:e.PaymentIdRules,placeholder:"Payment Id",hint:"Enter razorpay payment id","persistent-hint":"",required:"",dense:"",outlined:""},model:{value:e.PaymentId,callback:function(t){e.PaymentId=t},expression:"PaymentId"}})],1)],1)],1)],1),t(r["a"],[t(k["a"]),t(i["a"],{staticClass:"font-size-h6 px-10 mr-3 white--text",attrs:{elevation:"30",shaped:"",tile:"",small:"",color:"#a52a2a"},on:{click:e.closePrompt}},[e._v(" Close ")]),t(i["a"],{staticClass:"font-size-h6 px-10 mr-3 white--text",attrs:{disabled:!e.valid1,loading:e.SubmitFlag,elevation:"30",shaped:"",tile:"",small:"",color:"#1db954"},on:{click:function(t){return t.preventDefault(),e.confirmAlert.apply(null,arguments)}}},[e._v(" Save ")])],1)],1)],1)],1)},F=[],D=a("3d20"),E=a.n(D),L={mixins:[x["a"]],components:{},props:{addRecordPrompt:{type:Boolean,required:!0},pageDescription:{type:String}},data:function(){return{valid1:!0,valid2:!0,LoadingFlag:!1,SearchFlag:!1,SubmitFlag:!1,rows:[],PaymentId:"",PaymentIdRules:[function(e){return!!e||"Payment Id is required"}]}},computed:{},watch:{},created:function(){},methods:{validateForm:function(){this.$refs.form1.validate()},resetForm:function(){this.$refs.form1.reset()},resetValidation:function(){this.$refs.form1.resetValidation()},closePrompt:function(){this.$emit("hideAddRecordPrompt")},refreshPageData:function(){},confirmAlert:function(){var e=this,t=this.$refs.form1.validate();t?E.a.fire({title:"Are you sure?",text:"You won't be able to revert this!",icon:"warning",showCancelButton:!0,confirmButtonText:"Save",confirmButtonColor:"#3085d6",cancelButtonText:"Cancel",cancelButtonColor:"#d33"}).then((function(t){t.isConfirmed?e.submitForm():e.sweetAlert("error","You cancelled the process",!0)})):this.toast("error","Kindly fill the required fields",!0)},submitForm:function(){var e=this.$refs.form1.validate();if(e){this.SubmitFlag=!0;var t=I.apiURL,a=this.$session.get("token");a=void 0==a?0:a;var n=t+"api/program/member/add-online-payment",i={UserInterface:1,PaymentId:this.PaymentId},o=this,r="",s=0;this.$http({url:n,method:"POST",data:i,headers:{"Content-Type":"application/json",Authorization:"Bearer "+a},onUploadProgress:function(e){this.uploadPercentage=parseInt(Math.round(e.loaded/e.total*100))}.bind(this)}).then((function(e){o.SubmitFlag=!1,r=e.data.output,s=e.data.flag,r=e.data.output,e.data.records,e.data.success,e.data.error,1==s?(o.sweetAlert("success",r,!0),o.resetForm(),o.closePrompt()):o.sweetAlert("error",r,!1)})).catch((function(e){o.SubmitFlag=!1}))}else{var l="";e||(l+="Kindly fill the required fields"),thisIns.sweetAlert("error",l,!1)}}},beforeMount:function(){this.refreshPageData()}},w=L,R=a("2877"),Y=Object(R["a"])(w,S,F,!1,null,null,null),T=Y.exports,B=a("40dc"),A=a("2a7f"),j=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"user-create"}},[t(o["a"],[t(B["a"],{attrs:{color:"primary",dense:"",dark:"","elevate-on-scroll":"","scroll-target":"#scrolling-techniques-7"}},[t(A["b"],[e._v(e._s(e.PageTitle))]),t(k["a"]),t(i["a"],{attrs:{icon:"",dark:""},on:{click:e.closePrompt}},[t(h["a"],[e._v("mdi-close")])],1)],1),t(r["d"]),t(r["c"],[t("p"),e.LoadingFlag?t("div",{staticClass:"d-flex justify-content-center mb-3"},[t("b-spinner",{attrs:{variant:"primary",type:"grow",label:"Loading..."}})],1):e._e(),t(d["a"],[t(m["a"],{ref:"form",attrs:{"lazy-validation":""},model:{value:e.valid1,callback:function(t){e.valid1=t},expression:"valid1"}},[t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{cols:"12",md:"12"}},[t("p",[t("span",{staticClass:"text-danger"},[e._v("*")]),e._v(" indicates required field ")])]),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"4",md:"4"}},[t("h6",[t("span",{staticClass:"text-danger"},[e._v("*")]),e._v(" Event Name")]),t(n["a"],{attrs:{reduce:function(e){return e.value},items:e.EventIdOptions,rules:e.EventIdRules,dense:"",clearable:"",required:"",outlined:""},on:{change:e.getPlanOptions},model:{value:e.EventId,callback:function(t){e.EventId=t},expression:"EventId"}})],1),t(l["a"],{attrs:{cols:"12",sm:"6",lg:"4",md:"4"}},[t("h6",[t("span",{staticClass:"text-danger"},[e._v("*")]),e._v(" Plan Name ")]),t(n["a"],{attrs:{reduce:function(e){return e.value},items:e.PlanIdOptions,rules:e.PlanIdRules,dense:"",clearable:"",required:"",outlined:""},model:{value:e.PlanId,callback:function(t){e.PlanId=t},expression:"PlanId"}})],1)],1),t(v["a"],{attrs:{wrap:""}},[t(l["a"],{attrs:{align:"center",cols:"12",md:"12"}},[t(i["a"],{staticClass:"font-size-h6 px-4 mr-3 white--text",attrs:{loading:e.SubmitFlag,elevation:"30",rounded:"",medium:"",color:"#1db954"},on:{click:function(t){return t.preventDefault(),e.submitForm.apply(null,arguments)}}},[e._v(" Submit ")]),t(i["a"],{staticClass:"font-size-h6 px-4 mr-3 white--text",attrs:{elevation:"30",rounded:"",medium:"",color:"#a52a2a"},on:{click:e.closePrompt}},[e._v(" Close ")])],1)],1)],1)],1)],1)],1)],1)},q=[],J={mixins:[x["a"]],props:{transferEventPrompt:{type:Boolean,required:!0},recordData:{required:!0}},data:function(){return{valid1:!1,LoadingFlag:!1,SubmitFlag:!1,ResultFlag:!1,EventType:"",EventIdRules:[function(e){return!!e||"Event is required"}],EventId:"",EventIdOptions:[],PlanIdRules:[function(e){return!!e||"Plan Id is required"}],PlanId:"",PlanIdOptions:[],PageInfo:{},PageTitle:"Transfer Event",PageDescription:"",CurrentYearId:0,JciYearCode:"",YearName:"",NextYearCode:"",NextYearName:""}},computed:{},watch:{PageInfo:function(){this.LoadingFlag=!1;var e=this.PageInfo,t=Object.keys(e).length;if(t>0){var a=e.PagePermissionFlag;a||this.$router.push("/access-denied"),this.PageTitle=e.PageTitle,this.PageDescription=e.PageDescription,this.FloatingButtonOptions=e.FloatingButtonOptions;var n=parseInt(e.CurrentJciYearId),i=parseInt(e.CurrentJciYearName);this.YearName=i,this.CurrentYearId=n;var o=I.apiURL,r=o+"assets/sample/jcom_table_member_upload_sample.xlsx";this.SampleFilePath=r}}},mounted:function(){},methods:{refreshPageData:function(){this.LoadingFlag=!0;this.pageData(),this.LoadingFlag=!1},pageData:function(){this.recordData;this.getEventOptions()},closePrompt:function(){this.$emit("hidetransferEventPrompt",this.ResultFlag)},getEventOptions:function(){var e=this.recordData.EventTypeId,t="EventId",a="EventIdOptions",n="api/jci-program/options",i={UserInterface:3,EventType:e};this.getSelectBoxOptions(t,a,i,n)},getPlanOptions:function(){var e="PlanId",t="PlanIdOptions",a="api/jci-program/plan/options",n={UserInterface:1,Event:this.EventId};this.getSelectBoxOptions(e,t,n,a)},submitForm:function(){var e=this.$refs.form.validate(),t=""==this.PlanId?null:this.PlanId,a=(""==this.EventId||this.EventId,this.recordData.OrdersId);if(e){var n={UserInterface:1,Plan:t,Orders:a};this.progessStart=1,this.SubmitFlag=!0,this.ResultFlag=!1;var i=I.apiURL,o=this.$session.get("token");o=void 0==o?0:o;var r=i+"api/jci-program/order/transfer-event",s=this,l="",d=0;this.$http({url:r,method:"POST",data:n,headers:{"Content-Type":"application/json",Authorization:"Bearer "+o},onUploadProgress:function(e){this.uploadPercentage=parseInt(Math.round(e.loaded/e.total*100))}.bind(this)}).then((function(e){s.SubmitFlag=!1,s.progessStart=0,d=e.data.flag,l=e.data.output,e.data.records,e.data.success,e.data.error,1==d?(s.ResultFlag=!0,s.sweetAlert("success",l,!0),s.closePrompt()):s.sweetAlert("error",l,!1)})).catch((function(e){s.progessStart=0,s.SubmitFlag=!1}))}else{var c="";e||(c+="Kindly fill the required fields"),this.sweetAlert("error",c,!1)}}},beforeMount:function(){this.refreshPageData()}},$=J,Z=Object(R["a"])($,j,q,!1,null,null,null),z=Z.exports,N={mixins:[x["a"]],components:{AddEventOnlinePayment:T,TransferJciEvent:z},data:function(){var e;return e={valid1:!0,valid2:!0,LoadingFlag:!1,TableLoadingFlag:!1,StartupLoadingFlag:!1,FloatingButtonFlag:!1,SearchFlag:!1,SubmitFlag:!1,ResultFlag:!1,rows:[],tableData1:[],tableColumns1:[],tableOptions1:[],selected:[],search:"",CurrentYearId:0,direction:"top",fab:!0,fling:!1,hover:!0,tabs:null,top:!1,right:!0,bottom:!0,left:!1,transition:"slide-y-reverse-transition",addRecordPrompt:!1,editRecmordPrompt:!1,previewRecordPrompt:!1,transferEventPrompt:!1,zone:{},lom:{},name:"",nameRules:[function(e){return!!e||"Name is required"},function(e){return e&&e.length<=10||"Name must be less than 10 characters"}],email:"",emailRules:[function(e){return!!e||"E-mail is required"},function(e){return/.+@.+\..+/.test(e)||"E-mail must be valid"}],select:"Item 1",items:["Item 1","Item 2","Item 3","Item 4"],checkbox:!1,JciYearCodeRules:[function(e){return!!e||"Year is required"}],JciYearCode:"",JciYearCodeOptions:[],JciYearCodeOptionsLoading:!1,EventCodeRules:[],EventCode:"",EventCodeOptions:[],EventCodeOptionsLoading:!1,PaymentId:"",PaymentIdRules:[],ZoneCodeRules:[],ZoneCode:"",ZoneCodeOptions:[],ZoneCodeOptionsLoading:!1,LomCodeRules:[],LomCode:"",LomCodeOptions:[],LomCodeOptionsLoading:!1,FromDate:"",FromDateRules:[function(e){return!!e||"From date is required"}],menu1:!1,ToDate:"",ToDateRules:[function(e){return!!e||"To date is required"}],menu2:!1,SearchId:"",SearchIdRules:[function(e){return!!e||"Search Type is required"}],SearchIdOptions:[{value:"",text:"--Select Type--"},{value:1,text:"By LOM"},{value:2,text:"By Membership Id"}],MembershipId:"",MembershipIdRules:[function(e){return!!e||"Membership Id is required"}],YearHalfId:"",YearHalfIdRules:[function(e){return!!e||"Year Half is required"}],YearHalfIdOptions:[{value:"",text:"--Select Half--"},{value:"First",text:"First Half"},{value:"Second",text:"Second Half"}],YearIdRules:[function(e){return!!e||"Year is required"}],YearId:"",YearIdOptions:[],YearIdOptionsLoading:!1,ApprovalDescription:"",ApprovalDescriptionRules:[],PageInfo:{},PageTitle:"",PageDescription:""},Object(_["a"])(e,"CurrentYearId",0),Object(_["a"])(e,"JciYearCode",""),Object(_["a"])(e,"YearName",""),Object(_["a"])(e,"NextYearCode",""),Object(_["a"])(e,"NextYearName",""),Object(_["a"])(e,"FloatingButtonOptions",{}),Object(_["a"])(e,"RoleId",""),e},mounted:function(){},watch:{PageInfo:function(){this.LoadingFlag=!1;var e=this.PageInfo,t=Object.keys(e).length;if(t>0){var a=e.PagePermissionFlag;a||this.$router.push("/access-denied"),this.PageTitle=e.PageTitle,this.PageDescription=e.PageDescription,this.FloatingButtonOptions=e.FloatingButtonOptions;var n=parseInt(e.CurrentJciYearId);this.JciYearCode=n;var i=parseInt(e.CurrentJciYearName);this.YearName=i;var o=this.$session.get("CurrentYearId");o=1,o=void 0==o?0:o,this.CurrentYearId=o;var r=this.$session.get("RoleId");r=void 0==r?"":r,this.RoleId=r;var s=(new Date).toISOString().slice(0,10);this.FromDate=s,this.ToDate=s,this.getJciYearCodeOptions(),this.getZoneCodeOptions()}},EventCodeOptions:function(){this.EventCodeOptionsLoading=!1},ZoneCode:function(){var e=this.ZoneCode;this.LomCode="",e>0&&this.getLomCodeOptions()},ZoneCodeOptions:function(){this.ZoneCodeOptionsLoading=!1},LomCodeOptions:function(){this.LomCodeOptionsLoading=!1},JciYearCode:function(){var e=this.JciYearCode;this.EventCode="",e>0&&this.getEventCodeOptions()}},methods:{validate:function(){this.$refs.form2.validate()&&(this.snackbar=!0)},hideAddRecordPrompt:function(){this.addRecordPrompt=!1},resetForm:function(){this.search="",this.rows=[],this.selected=[]},resetValidation:function(){this.$refs.form2.resetValidation()},previewData:function(e){var t=Object.keys(e).length;if(t>0){var a="/members/subscription/assign",n=e.LomPaymentId,i={id:n};this.pageRedirect(i,a)}else{var o="Kindly select one lom to preview";this.toast("error",o)}},refreshPageData:function(){this.LoadingFlag=!0,this.resetForm();var e="api/menu-details/show",t={UserInterface:1,Module:"natcon_payment",Action:"list"};this.getPageDetails("PageInfo",{},e,t)},getJciYearCodeOptions:function(){var e="JciYearCode",t="JciYearCodeOptions",a="api/jci-year/options",n={UserInterface:1,LomCode:3,ZoneCode:2};this.getSelectBoxOptions(e,t,n,a)},getZoneCodeOptions:function(){var e=this.JciYearCode;if(""!=e){this.ZoneCode="",this.ZoneCodeOptionsLoading=!0;var t="ZoneCode",a="ZoneCodeOptions",n="api/year-wise-lom/zone-options",i={UserInterface:2,YearCode:e};this.getSelectBoxOptions(t,a,i,n)}else{var o="";""==e&&(o+="Year should not be empty. "),this.toast("error",o)}},getEventCodeOptions:function(){this.EventCode="",this.EventCodeOptionsLoading=!0;var e="EventCode",t="EventCodeOptions",a="api/jci-program/options",n={UserInterface:1,Year:this.JciYearCode};this.getSelectBoxOptions(e,t,n,a)},getLomCodeOptions:function(){var e=this.JciYearCode,t=this.ZoneCode;if(""!=e&&""!=t){this.LomCodeOptionsLoading=!0;var a="LomCode",n="LomCodeOptions",i="api/year-wise-lom/lom-options",o={UserInterface:1,YearCode:e,ZoneCode:t};this.getSelectBoxOptions(a,n,o,i)}else{var r="";""==e&&(r+="Year should not be empty. "),""==t&&(r+="Zone should not be empty. "),this.toast("error",r)}},getYearCodeOptions:function(e,t){if(""!=e&&""!=t){this.LoadingFlag=!0;var a=e,n=t,i="api/jci-year/options",o={UserInterface:1};this.getSelectBoxOptions(a,n,o,i)}},searchForm:function(){var e=this.$refs.form2.validate(),t=this.FromDate,a=this.ToDate;if(e&&""!=t&&""!=a){this.SearchFlag=!0,this.tableData1=[],this.zone={},this.lom={};var n=I.apiURL,i=this.$session.get("token");i=void 0==i?0:i;var o=n+"api/jci-program/registration/lists",r={UserInterface:1,Zone:this.ZoneCode,Lom:this.LomCode,Event:this.EventCode,PaymentId:this.PaymentId,FromDate:this.FromDate,ToDate:this.ToDate},s=this,l="",d="",c=0;this.$http({url:o,method:"POST",data:r,headers:{"Content-Type":"application/json",Authorization:"Bearer "+i},onUploadProgress:function(e){this.uploadPercentage=parseInt(Math.round(e.loaded/e.total*100))}.bind(this)}).then((function(e){s.SearchFlag=!1,l=e.data.output,c=e.data.flag,d=e.data.records;var t=e.data.options;e.data.success,e.data.error,s.tableColumns1=t.TableHeader,s.tableOptions1=t.TableOptions,1==c?(s.tableData1=d,s.toast("success",l)):s.sweetAlert("error",l,!1)})).catch((function(e){s.SearchFlag=!1}))}else{var u="";e||(u+="Kindly fill the required fields. "),""==t&&(u+="From Date should not be empty. "),""==a&&(u+="To Date should not be empty. "),this.sweetAlert("error",u,!1)}},hidetransferEventPrompt:function(){this.transferEventPrompt=!1},transferToOtherEvent:function(e){var t=Object.keys(e).length;if(t>0)this.selectedData=e,this.transferEventPrompt=!0;else{var a="Kindly select one member to edit";this.toast("error",a)}}},beforeMount:function(){this.refreshPageData()}},U=N,M=(a("8b4a"),Object(R["a"])(U,P,O,!1,null,null,null));t["default"]=M.exports},c73b:function(e,t,a){"use strict";var n=a("ade3"),i=(a("caad"),a("c7cd"),a("d81d"),a("b0c0"),a("8cd0"),a("f2e7")),o=a("fe6c"),r=a("f40d"),s=a("a293"),l=a("58df");t["a"]=Object(l["a"])(o["a"],i["a"],r["a"]).extend({name:"v-speed-dial",directives:{ClickOutside:s["a"]},props:{direction:{type:String,default:"top",validator:function(e){return["top","right","bottom","left"].includes(e)}},openOnHover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes:function(){var e;return e={"v-speed-dial":!0,"v-speed-dial--top":this.top,"v-speed-dial--right":this.right,"v-speed-dial--bottom":this.bottom,"v-speed-dial--left":this.left,"v-speed-dial--absolute":this.absolute,"v-speed-dial--fixed":this.fixed},Object(n["a"])(e,"v-speed-dial--direction-".concat(this.direction),!0),Object(n["a"])(e,"v-speed-dial--is-active",this.isActive),e}},render:function(e){var t=this,a=[],n={class:this.classes,directives:[{name:"click-outside",value:function(){return t.isActive=!1}}],on:{click:function(){return t.isActive=!t.isActive}}};if(this.openOnHover&&(n.on.mouseenter=function(){return t.isActive=!0},n.on.mouseleave=function(){return t.isActive=!1}),this.isActive){var i=0;a=(this.$slots.default||[]).map((function(t,a){return!t.tag||"undefined"===typeof t.componentOptions||"v-btn"!==t.componentOptions.Ctor.options.name&&"v-tooltip"!==t.componentOptions.Ctor.options.name?(t.key=a,t):(i++,e("div",{style:{transitionDelay:.05*i+"s"},key:a},[t]))}))}var o=e("transition-group",{class:"v-speed-dial__list",props:{name:this.transition,mode:this.mode,origin:this.origin,tag:"div"}},a);return e("div",n,[this.$slots.activator,o])}})},f40d:function(e,t,a){"use strict";var n=a("2b0e");t["a"]=n["default"].extend({name:"transitionable",props:{mode:String,origin:String,transition:String}})}}]);
//# sourceMappingURL=chunk-29ef911c.b47b2513.js.map