PageSourceSearch

https://schools.uabinfosol.com/2666.f5ccb809642b582d.js

js uabinfosol.com collected 2026-10-01 23:51:32 UTC 24,573 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvex=self.webpackChunkvex||[]).push([[2666],{42666:(B,P,n)=>{n.r(P),n.d(P,{BoardPayOnlineComponent:()=>nt});var D=n(70274),O=n(86648),x=n(96354),I=n(64058),y=n(47677),i=n(89417),u=n(15241),E=n(82765),p=n(60177),f=n(99631),k=n(99213),g=n(88834),A=n(82798),j=n(86600),U=n(26450),L=n(9183),$=n(67575),G=n(30450),b=n(32102),t=n(54438),R=n(51188),N=n(95416),w=n(34006),K=n(47038),W=n(21651),H=n(84730),X=n(43568);const Y=["otherAmount"],J=["payMonths"];function z(r,_){if(1&r&&(t.j41(0,"div",3)(1,"div"),t.nrm(2,"img",4),t.k0s(),t.j41(3,"div",5)(4,"p",6),t.EFF(5),t.k0s(),t.j41(6,"p",7),t.EFF(7),t.k0s(),t.j41(8,"p",7),t.EFF(9),t.k0s()()()),2&r){const e=t.XpG();t.R7$(2),t.FS9("src",e.school_photo,t.B4B),t.R7$(3),t.JRh(e.school.name),t.R7$(2),t.Lme("",e.school.address,"",e.school.place?", "+e.school.place:"",""),t.R7$(2),t.Lme("",e.school.phone_num1,"",e.school.phone_num2?", "+e.school.phone_num2:"","")}}function Q(r,_){1&r&&(t.j41(0,"mat-error"),t.EFF(1,"Please enter father's mobile no. !"),t.k0s())}function Z(r,_){1&r&&(t.j41(0,"mat-error"),t.EFF(1,"Mobile no. must be 10 digits !"),t.k0s())}function q(r,_){1&r&&(t.j41(0,"mat-error"),t.EFF(1,"Please enter only digits !"),t.k0s())}function tt(r,_){if(1&r){const e=t.RV6();t.j41(0,"tr")(1,"td",17),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td")(6,"button",18),t.bIt("click",function(){const o=t.eBV(e).$implicit,d=t.XpG(2);return t.Njj(d.selectStudent(o.student_id))}),t.EFF(7,"Pay"),t.k0s()()()}if(2&r){const e=_.$implicit;t.R7$(2),t.Lme("[",e.sr_no,"] ",e.student_name,""),t.R7$(2),t.JRh(e.classandsec)}}function et(r,_){if(1&r){const e=t.RV6();t.j41(0,"div",8)(1,"form",9),t.bIt("ngSubmit",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.searchStudent())}),t.j41(2,"mat-form-field",10)(3,"mat-label"),t.EFF(4,"Mobile No."),t.k0s(),t.nrm(5,"input",11),t.j41(6,"button",12),t.nrm(7,"mat-icon",13),t.k0s(),t.DNE(8,Q,2,0,"mat-error",14)(9,Z,2,0,"mat-error",14)(10,q,2,0,"mat-error",14),t.k0s()(),t.j41(11,"div")(12,"table",15)(13,"thead")(14,"tr")(15,"th"),t.EFF(16,"Name"),t.k0s(),t.j41(17,"th"),t.EFF(18,"Class"),t.k0s(),t.j41(19,"th"),t.EFF(20,"Pay"),t.k0s()()(),t.j41(21,"tbody"),t.DNE(22,tt,8,3,"tr",16),t.k0s()()()()}if(2&r){const e=t.XpG();t.R7$(),t.Y8G("formGroup",e.searchForm),t.R7$(7),t.Y8G("ngIf",e.searchForm.get("mobile_no").hasError("required")),t.R7$(),t.Y8G("ngIf",e.searchForm.get("mobile_no").hasError("minlength")||e.searchForm.get("mobile_no").hasError("maxlength")),t.R7$(),t.Y8G("ngIf",e.searchForm.get("mobile_no").hasError("pattern")),t.R7$(12),t.Y8G("ngForOf",e.students)}}function st(r,_){if(1&r&&(t.j41(0,"p",38)(1,"span",23),t.EFF(2,"Stream : "),t.k0s(),t.EFF(3),t.k0s()),2&r){const e=t.XpG(3);t.R7$(3),t.SpI("",e.student.stream_name," ")}}function at(r,_){if(1&r&&(t.j41(0,"div",36)(1,"div"),t.nrm(2,"img",37),t.k0s(),t.j41(3,"div")(4,"p",38)(5,"span",23),t.EFF(6,"Name : "),t.k0s(),t.EFF(7),t.k0s(),t.j41(8,"p",38)(9,"span",23),t.EFF(10,"Class : "),t.k0s(),t.EFF(11),t.k0s(),t.DNE(12,st,4,1,"p",39),t.j41(13,"p",38)(14,"span",23),t.EFF(15,"Father's Name : "),t.k0s(),t.EFF(16),t.k0s(),t.j41(17,"p",38)(18,"span",23),t.EFF(19,"Mother's Name : "),t.k0s(),t.EFF(20),t.k0s()()()),2&r){const e=t.XpG(2);t.R7$(2),t.FS9("src",e.student_photo,t.B4B),t.R7$(5),t.E5c("[",e.student.sr_no,"] ",e.student.first_name," ",e.student.last_name," "),t.R7$(4),t.Lme("",e.student.class_name,"-",e.student.division_name," "),t.R7$(),t.Y8G("ngIf",e.student.stream_name),t.R7$(4),t.SpI("",e.student.fathers_name," "),t.R7$(4),t.SpI("",e.student.mothers_name," ")}}function ot(r,_){if(1&r){const e=t.RV6();t.j41(0,"mat-checkbox",40,41),t.bIt("change",function(){const o=t.eBV(e).index,d=t.XpG(2);return t.Njj(d.addMonth(o))}),t.EFF(2),t.k0s()}if(2&r){const e=_.$implicit;t.Y8G("value",e.month_id)("checked",e.checked)("disabled",e.disabled),t.R7$(2),t.JRh(e.month_short_name)}}function it(r,_){if(1&r){const e=t.RV6();t.j41(0,"form",19),t.bIt("ngSubmit",function(){t.eBV(e);const s=t.XpG();return t.Njj(s.generateToken())}),t.DNE(1,at,21,9,"div",20),t.j41(2,"div",21),t.EFF(3," Board Fee "),t.k0s(),t.j41(4,"div",22)(5,"div",23),t.EFF(6,"Select Months"),t.k0s(),t.j41(7,"div",24),t.EFF(8),t.k0s(),t.j41(9,"div",25)(10,"mat-checkbox",26),t.bIt("change",function(s){t.eBV(e);const o=t.XpG();return t.Njj(o.toggleMonths(s.checked))}),t.EFF(11,"Select All"),t.k0s()(),t.j41(12,"div",27),t.DNE(13,ot,3,4,"mat-checkbox",28),t.k0s()(),t.j41(14,"div",29)(15,"div",30),t.EFF(16),t.k0s(),t.j41(17,"div",31)(18,"div",23),t.EFF(19,"Payable Amou
1nt"),t.k0s(),t.j41(20,"div",32),t.nrm(21,"mat-icon",33),t.j41(22,"div",34),t.EFF(23),t.k0s()(),t.j41(24,"button",35),t.EFF(25,"Pay"),t.k0s()()()()}if(2&r){const e=t.XpG();t.Y8G("formGroup",e.form),t.R7$(),t.Y8G("ngIf",e.student),t.R7$(7),t.JRh(e.selectedMonths),t.R7$(2),t.Y8G("checked",e.isAllMonthsSelectd),t.R7$(3),t.Y8G("ngForOf",e.months),t.R7$(2),t.Y8G("ngClass",""!=e.payment_msg?"flex items-center justify-center":""),t.R7$(),t.SpI(" ",e.payment_msg," "),t.R7$(7),t.JRh(e.form.get("payable_amount").value),t.R7$(),t.Y8G("disabled",""!=e.payment_msg)}}let nt=(()=>{class r{constructor(e,a,s,o,d,m,M,v,c){this.router=e,this.activeRoute=a,this.fb=s,this.snackbar=o,this.dialog=d,this.loader=m,this._studentApp=M,this.checkoutService=v,this.payOnlineService=c,this.isAllMonthsSelectd=!1,this.isSomneMonthsSelected=!0,this.defaultUserPlaceholder="assets/img/user_placeholder.png",this.defaultImagePlaceholder="assets/img/image_placeholder.png",this.school_photo=this.defaultImagePlaceholder,this.payment_msg="",this.today=new Date,this.isEditPadiAdvAmt=!1,this.isEditManualFine=!1,this.isPayDetailsShow=!1,this.isEditOtherAmount=!1,this.selectedMonths=[],this.isAllHeadSelected=!0,this.isShowAdvanceReceived=!1,this.isShowAdvance=!1,this.isShowOther=!1,this.isShowFeeHeadWise=!1,this.isFilexibleReceiptDate=!1,this.isShowManualFine=!1,this.isRepeatReceiptDate=!1,this.isShowExtraConcession=!1,this.isUncheckExtraConcession=!1,this.notifyMerchantHandler=(l,h)=>{console.log("MERCHANT NOTIFY LOG",l,h),"APP_CLOSED"==l&&window.location.reload()},this.transactionStatusHandler=l=>{sessionStorage.setItem("transactionStatus",JSON.stringify(l)),l={...l,remark:this.form.get("remark").value},this.payOnlineService.saveTransactionStatus(l).subscribe(h=>{"TXN_SUCCESS"==l.STATUS&&1==h.status?this.save():window.location.href="payment-status"})},this._studentApp.getStudentModulePermission({current_path:"get-fee",sub_module_id:0}).subscribe(l=>{this.feeSetting=l.data.app_permission_value},l=>{console.error("Error loading field permissions:",l)})}ngOnInit(){this.schoolName=this.activeRoute.snapshot.paramMap.get("school"),this.studentId=this.activeRoute.snapshot.paramMap.get("studentId")||"",this.studentId?this.payOnlineService.getToken(this.schoolName,this.studentId).pipe((0,D.H)(o=>(this.token=o.token,this.school=o.school,this.school_photo=o.school.school_photo_url?o.school.school_photo_url:this.defaultImagePlaceholder,sessionStorage.setItem("school",JSON.stringify(o.school)),this.payOnlineService.getStudents(o.token,{student_id:this.studentId})))).subscribe(o=>{sessionStorage.setItem("student",JSON.stringify(o)),this.student_photo=o.student_photo_url?o.student_photo_url:this.defaultUserPlaceholder,this.getStudent(o)}):this.payOnlineService.getToken(this.schoolName).subscribe(o=>{this.token=o.token,this.school=o.school,this.school_photo=o.school.school_photo_url?o.school.school_photo_url:this.defaultImagePlaceholder}),this.searchForm=this.fb.group({mobile_no:["",[i.k0.required,i.k0.maxLength(10),i.k0.minLength(10),i.k0.pattern("^[0-9]*$")]]}),this.formInit();let e=String(this.today.getDate()).padStart(2,"0"),a=String(this.today.getMonth()+1).padStart(2,"0"),s=this.today.getFullYear();this.todayDate=s+"-"+a+"-"+e}searchStudent(){if(this.searchForm.invalid)return;let e=this.searchForm.get("mobile_no").value;this.payOnlineService.getStudents(this.token,{"student_registration.contact_no_sms":e}).subscribe(a=>{this.students=a})}selectStudent(e){this.router.navigate(["/board-pay-online",this.schoolName,e])}formInit(){this.form=this.fb.group({student_id:["",[i.k0.required]],fee_structure_id:["",[i.k0.required]],vehicle_id:[""],route_id:[""],destination_id:[""],fee_type:["all"],receipt_date:[this.todayDate,i.k0.required],receipt_no:[""],pay_mode:[""],bank_id:[""],transaction_date:[""],transaction_no:[""],months:[[],i.k0.required],is_add_advance_amount:[""],advance_amount:[""],is_add_manual_fine:[""],manual_fine:[""],fee_details:this.fb.array([]),grand_total:["0"],paid_advance_amount:[""],discount:[""],payable_amount:["0"],paid_amount:["0"],due_amount:["0"],advance_received:[""],fee_detail_months:[""],remark:[""],is_less_extra_concession:[""],extra_concession:[""]}),this.payModes=[],this.months=[],this.banks=[],this.feeDetails=[],this.form.get("payable_amount").valueChanges.subscribe(e=>{e?(this.form.get("paid_amount").setValidators([i.k0.required,i.k0.min(1)]),this.isShowAdvance||this.form.get("paid_amount").addValidators(i.k0.max(e))):(this.form.get("paid_amount").clearValidators(),this.form.get("paid_amount").setValidators([i.k0.required]))}),this.form.get("paid_amount").valueChanges.subscribe(e=>{this.updatePaidAmount(),this.amount=e})}getStudent(e){e={...e,token:this.token},this.payment_msg="",this.student=e,e.is_board=1,this.form.controls.student_id.setValue(e.student_id),this.loader.show(),this.payOnlineService.getStudentFeeManualCollectionDetail
1s(e).subscribe(a=>{this.loader.hide(),"success"==a.type?(this.payModes=(a=a.data).pay_modes,this.banks=a.banks,this.feeDetails=a.fee_details,this.defaultSelectedMonths=a.selected_months.split(","),this.form.controls.months.setValue(a.selected_months.split(",")),(0,O.H)(a.months).pipe((0,x.T)((s,o)=>(s.disabled=!this.defaultSelectedMonths.includes(s.month_id)&&!this.defaultSelectedMonths.includes(s.month_id+1)&&o>1,s.checked=!!this.defaultSelectedMonths.includes(s.month_id),s)),(0,I.$)()).subscribe(s=>{this.months=s}),this.form.controls.receipt_no.setValue(a.receipt_no),this.form.controls.advance_amount.setValue(a.advance_amt),this.form.controls.fee_structure_id.setValue(a.structure_id),this.form.controls.vehicle_id.setValue(e.vehicle_id),this.form.controls.route_id.setValue(e.route_id),this.form.controls.destination_id.setValue(e.destination_id),this.form.controls.extra_concession.setValue(a.extra_concession),Number(a.extra_concession)>0?this.form.controls.is_less_extra_concession.setValue(!this.isUncheckExtraConcession):(this.form.controls.is_less_extra_concession.disable(),this.form.controls.extra_concession.disable()),this.form.controls.fee_detail_months.setValue(this.feeDetails),this.form.controls.receipt_date.setValue(this.todayDate),1==a.isShowManualFine&&(this.isShowManualFine=!0),(0,O.H)(this.payModes).pipe((0,y.I)(s=>s.fee_payment_mode_type.toLowerCase().includes("online"))).subscribe(s=>{s&&this.form.controls.pay_mode.setValue(s.fee_payment_mode_id)}),this.generateFeeHeadsFormArray()):(this.payment_msg=a.msg,this.formInit(),this.fee_details=this.fb.array([]),this.snackbar.open(a.msg,null,{duration:3e3,panelClass:["bg-red-500"]}))},a=>{this.payment_msg=a.error.messages.erro,this.formInit(),this.fee_details=this.fb.array([]),this.snackbar.open(a.error.messages.error,null,{duration:3e3,panelClass:["bg-red-500"]})})}generateFeeHeadsFormArray(){this.fee_details=this.fb.array([]);let e=this.form.controls.months.value,a=this.months.filter(l=>this.form.controls.months.value.includes(l.month_id));this.selectedMonths=a.map(l=>l.month_short_name);let s=this.form.controls.fee_type.value,o=0;this.form.controls.manual_fine.value&&(o=parseInt(this.form.controls.manual_fine.value));let d=0;this.isShowOther&&this.otherAmount.nativeElement.value&&(d=parseInt(this.otherAmount.nativeElement.value));let m=0;this.feeDetails.forEach(l=>{let h={is_checked:[!1],fee_head_id:[l.fee_head_id],fee_head_name:[l.fee_head_name]},S=0,F=0;l.months.forEach(C=>{e.includes(C.month_id)&&(2==l.fee_head_id&&this.isEditManualFine?(S+=o,F+=0,o-=o):5==l.fee_head_id&&this.isEditOtherAmount?(S+=d,F+=0,d-=d):(S+=C.amount,F+=C.concession))}),h.amount=S,h.concession=F,h.discount=0,h.paid_advance=0,h.payable_head=S-F-0-0,h.amount>0&&(s<=4&&l.fee_head_id==s||0==s&&l.fee_head_id>4||"all"==s)&&(h.is_checked=[!0],this.fee_details.push(this.fb.group(h)),m+=h.payable_head)}),this.form.get("is_less_extra_concession").value&&(m-=this.form.get("extra_concession").value),this.form.controls.grand_total.setValue(m);let M=this.form.controls.paid_advance_amount.value;this.form.controls.discount.setValidators([i.k0.min(0),i.k0.max(m-M)]);let v=0;this.form.controls.discount.value&&(v=this.form.controls.discount.value);let c=m-v;this.form.controls.payable_amount.setValue(c),this.form.controls.paid_amount.setValue(c),this.form.controls.due_amount.setValue(this.form.controls.payable_amount.value-this.form.controls.paid_amount.value),this.fee_details.value.length>0&&(this.isAllHeadSelected=!0),this.form.setControl("fee_details",this.fee_details)}addMonth(e){let a=this.form.get("months").value,s=this.payMonths.get(e);if(s.checked){a.includes(s.value)||a.push(s.value);let o=this.payMonths.get(e+1);o&&(o.disabled=!1)}else this.payMonths.forEach((o,d)=>{d>=e&&(o.checked=!1,a.includes(o.value)&&a.splice(a.indexOf(o.value),1)),d>e&&(o.disabled=!0)});0==a.length&&this.dialog.open(u.D,{data:{type:"error",message:"Please select at least one month !"}}),this.isAllMonthsSelectd=a.length===this.payMonths.length,this.generateFeeHeadsFormArray()}updateHeadWiseGrandTotal(){let e=0;this.form.controls.fee_details.value.forEach(d=>{d.is_checked&&(e+=d.payable_head)}),this.form.get("is_less_extra_concession").value&&(e-=this.form.get("extra_concession").value),this.form.controls.grand_total.setValue(e),0==e&&(this.form.controls.discount.setValue("0"),this.form.controls.paid_advance_amount.setValue("0"));let a=this.form.controls.paid_advance_amount.value;this.form.controls.discount.setValidators([i.k0.min(0),i.k0.max(e-a)]);let s=0;this.form.controls.discount.value&&(s=this.form.controls.discount.value);let o=e-a-s;this.form.controls.payable_amount.setValue(o),this.form.controls.paid_amount.setValue(o),this.form.controls.due_amount.setValue(this.form.controls.payable_amount.value-this.form.controls.paid_amount.value)}updateDiscount(){let e=this.form.controls.grand_total.value,a=this.form.controls.paid_advance_amount.value,s=0;this.form.controls.discount.value&&(s=parseInt(this.form.controls.discount.value)),s>0?this.form.controls.remark.setValidators([i.k0.required]):this.form.controls.remark.clearValidators();let o=e-a-s;o>0?(this.form.controls.payable_amount.setValue(o),this.form.controls.paid_amount.setValue(o),this.form.controls.due_amount.setValue(this.form.controls.payable_amount.value-this.form.controls.paid_amount.value)):(this.form.controls.payable_amount.setValue(0),this.form.controls.paid_amount.setValue(0),this.form.controls.due_amount.setValue(0))}updateAdvancePaidAmount(){let s=this.form.controls.grand_total.value-this.form.controls.paid_advance_amount.value;this.form.controls.discount.setValidators([i.k0.min(0),i.k0.max(s)]);let o=0;this.form.controls.discount.value&&(o=this.form.controls.discount.value),s-=o,s>0?(this.form.controls.payable_amount.setValue(s),this.form.controls.paid_amount.setValue(s),this.form.controls.due_amount.setValue(this.form.controls.payable_amount.value-this.form.controls.paid_amount.value)):(this.form.controls.payable_amount.setValue(0),this.form.controls.paid_amount.setValue(0),this.form.controls.due_amount.setValue(0))}updatePaidAmount(){let e=this.form.controls.payable_amount.value,a=this.form.controls.paid_amount.value,s=e-a,o=a-e;s>0?(this.form.controls.due_amount.setValue(s),this.isShowAdvanceReceived=!1):o>0&&this.isShowAdvance?(this.form.controls.advance_received.setValue(o),this.isShowAdvanceReceived=!0):(this.form.controls.advance_received.setValue(0),this.form.controls.due_amount.setValue(0),this.isShowAdvanceReceived=!1,this.isShowAdvance||this.form.controls.paid_amount.setValue(e))}isAddAdvanceAmt(e){let a=this.form.controls.grand_total.value,s=0;e?(this.isEditPadiAdvAmt=!0,s=this.form.controls.advance_amount.value,this.form.controls.paid_advance_amount.setValidators([i.k0.min(0),i.k0.max(s)])):(this.isEditPadiAdvAmt=!1,s=0,this.form.controls.paid_advance_amount.clearValidators()),this.form.controls.paid_advance_amount.setValue(s);let o=a-s;this.form.controls.discount.setValidators([i.k0.min(0),i.k0.max(o)]),o-=this.form.controls.discount.value,this.form.controls.payable_amount.setValue(o),this.form.controls.paid_amount.setValue(o),this.form.controls.due_amount.setValue(this.form.controls.payable_amount.value-this.form.controls.paid_amount.value)}isAddManualFine(e){e?this.isEditManualFine=!0:(this.isEditManualFine=!1,this.form.controls.manual_fine.setValue(""),this.updateManualFine())}updateManualFine(){this.generateFeeHeadsFormArray()}isAddOtherAmount(e){e?this.isEditOtherAmount=!0:(this.isEditOtherAmount=!1,this.otherAmount.nativeElement.value="",this.updateOtherAmount())}updateOtherAmount(){this.generateFeeHeadsFormArray()}isLessExtraConcession(e){let a=this.form.get("extra_concession").value,s=this.form.get("grand_total").value;e?s-=a:s+=+a,this.form.get("grand_total").setValue(s);let o=0;this.form.get("discount").value&&(o=this.form.get("discount").value);let d=0;this.form.get("paid_advance_amount").value&&(d=this.form.get("paid_advance_amount").value);let m=s-o-d;this.form.get("payable_amount").setValue(m),this.form.get("paid_amount").setValue(m)}changePaymode(e){this.isPayDetailsShow=1!=e}toggleMonths(e){this.isAllMonthsSelectd=e;let a=[];e?this.payMonths.forEach(s=>{s.checked=!0,s.disabled=!1,a.push(s.value)}):(a=[],this.payMonths.forEach((s,o)=>{s.checked=!1,o>0&&(s.disabled=!0)})),0==a.length&&this.dialog.open(u.D,{data:{type:"error",message:"Please select at least one month !"}}),this.form.get("months").setValue(a),this.generateFeeHeadsFormArray()}changeFeeType(){this.generateFeeHeadsFormArray()}updateCheckedHeadStatus(){this.isAllHeadSelected=this.fee_details.controls.every(e=>e.controls.is_checked.value)}someHeadSelected(){if(null!=this.fee_details)return this.fee_details.controls.filter(e=>e.controls.is_checked.value).length>0&&!this.isAllHeadSelected}selectAllHead(e){this.isAllHeadSelected=e,null!=this.fee_details&&this.fee_details.controls.forEac
1h(a=>{a.controls.is_checked.setValue(e)})}generateToken(){if(0==this.feeSetting)return void this.dialog.open(u.D,{data:{type:"error",message:"This service is disable, Please contact to school Admin !"},panelClass:["w-full","sm:w-1/2","md:w-1/3"]});if(!this.school.payment_gateway)return void this.dialog.open(u.D,{data:{type:"error",message:"You have not payment gateway, Please contact to school admin !"},panelClass:["w-full","sm:w-1/2","md:w-1/3"]});if(this.form.invalid)return void this.dialog.open(u.D,{data:{type:"error",message:"Provide correct data in input fields !"},panelClass:["w-full","sm:w-1/2","md:w-1/3"]});this.loader.show();let e=new Date,a=String(e.getDate()).padStart(2,"0"),s=String(e.getMonth()+1).padStart(2,"0"),o=e.getFullYear(),d=String(e.getHours()).padStart(2,"0"),m=String(e.getMinutes()).padStart(2,"0"),M=String(e.getSeconds()).padStart(2,"0"),v=String(e.getMilliseconds());if(this.order_id=`${this.schoolName}_${this.student.school_id}_${this.student.student_id}_${o+s+a+d+m+M+v}`,"atom"===this.school.payment_gateway){let c=this.student.fathers_email;this.student.fathers_email||(c=this.school.email),this.payOnlineService.getAtomToken({token:this.token,order_id:this.order_id,amount:this.amount,period:this.form.get("months").value,user_email:c,user_contact_number:this.student.contact_no_sms,fee_structure_type:1}).subscribe(l=>{this.loader.hide(),"SUCCESS"==l.responseDetails.txnMessage||"OTS0000"==l.responseDetails.txnStatusCode?this.payAtomPayment(l.atomTokenId,l.mid,c,this.student.contact_no_sms,l.decResponseKey):(this.loader.hide(),this.dialog.open(u.D,{data:{message:l.responseDetails.txnDescription,type:"error"}}))},l=>{this.loader.hide()})}else"paytm"===this.school.payment_gateway&&this.payOnlineService.getPaytmToken({token:this.token,order_id:this.order_id,amount:this.amount,period:this.form.get("months").value,fee_structure_type:1}).subscribe(c=>{this.loader.hide(),"0000"==c.body.resultInfo.resultCode||"0002"==c.body.resultInfo.resultCode?this.startPayment(c.body.txnToken,c.mid,this.order_id,this.amount):(this.loader.hide(),this.dialog.open(u.D,{data:{message:c.body.resultInfo.resultMsg,type:"error"}}))},c=>{this.loader.hide()})}save(){let e={...this.form.value,token:this.token};this.payOnlineService.saveFeeCollection(e).subscribe(a=>{this.formInit(),this.student={},this.payModes=[],this.months=[],this.banks=[],this.feeDetails=[],this.isEditPadiAdvAmt=!1,this.isEditManualFine=!1,this.isPayDetailsShow=!1,this.isEditOtherAmount=!1,this.selectedMonths=[],this.isAllHeadSelected=!1,this.isAllMonthsSelectd=!1,this.isSomneMonthsSelected=!1,this.generateFeeHeadsFormArray(),window.location.href="payment-status"},a=>{this.snackbar.open(a.error.messages.error,null,{duration:3e3,panelClass:["bg-red-500"]})})}payAtomPayment(e,a,s,o,d){window.openPay&&window.openPay(e,a,s,o,d)}startPayment(e,a,s,o){this.checkoutService.init({data:{orderId:s,amount:o,token:e,tokenType:"TXN_TOKEN"},merchant:{mid:a,name:this.school.name,redirect:!1},flow:"DEFAULT",handler:{notifyMerchant:this.notifyMerchantHandler,transactionStatus:this.transactionStatusHandler}}),this.subs=this.checkoutService.checkoutJsInstance$.subscribe(d=>console.log(d),d=>console.log(d))}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}static{this.\u0275fac=function(a){return new(a||r)(t.rXU(R.Ix),t.rXU(R.nX),t.rXU(i.ze),t.rXU(N.UG),t.rXU(w.bZ),t.rXU(K.U),t.rXU(W.A),t.rXU(H._o),t.rXU(X.N))}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["vex-board-pay-online"]],viewQuery:function(a,s){if(1&a&&(t.GBs(Y,5),t.GBs(J,5)),2&a){let o;t.mGM(o=t.lsd())&&(s.otherAmount=o.first),t.mGM(o=t.lsd())&&(s.payMonths=o)}},standalone:!0,features:[t.aNF],decls:4,vars:3,consts:[["class","bg-slate-200 p-2 mb-2 flex items-center gap-3",4,"ngIf"],["class","p-4",4,"ngIf"],["class","p-4",3,"formGroup","ngSubmit",4,"ngIf"],[1,"bg-slate-200","p-2","mb-2","flex","items-center","gap-3"],[1,"object-cover","rounded-full","mb-1","w-12","h-12",3,"src"],[1,"flex-1"],[1,"m-0","text-lg","sm:text-xl","uppercase"],[1,"m-0","text-xs","sm:text-sm","uppercase"],[1,"p-4"],[3,"formGroup","ngSubmit"],[1,"w-full"],["type","text","formControlName","mobile_no","matInput",""],["mat-mini-fab","","color","primary","matSuffix",""],["svgIcon","mat:search"],[4,"ngIf"],[1,"table","table-bordered"],[4,"ngFor","ngForOf"],[1,"text-left"],["mat-flat-button","","color","primary",3,"click"],[1,"p-4",3,"formGroup","ngSubmit"],["class","bg-gray-100 p-2 rounded-md mb-2 flex items-center gap-3",4,"ngIf"],[1,"flex","p-3","bg-cyan-50","justify-center","text-xl","border-1","rounded-sm","border-solid","border-black"],[1,"col-span-12","sm:col-span-6","md:col-span-4","hidden"],[1,"font-bold"],[1,"p-1","rounded","bg-gray-100"],[1,"flex","justify-end","mt-2"],[3,"checked","change"],[1,"grid","grid-cols-4","md:grid-cols-6"],["class","p-3",3,"value","checked","disabled","change",4,"ngFor","ngForOf"],[1,"flex","md:justify-around","justify-between","p-3"],[1,"text-green-400","flex","justify-center","font-bold","py-5",3,"ngClass"],[1,"py-6","text-center"],[1,"font-bold","bg-gray-100","my-2","rounded-sm","flex","items-center","p-2","justify-between"],["svgIcon","mat:currency_rupee",1,"w-5","h-5"],[1,"text-xl"],["mat-raised-button","","color","primary",3,"disabled"],[1,"bg-gray-100","p-2","rounded-md","mb-2","flex","items-center","gap-3"],[1,"object-cover","rounded","mb-1","w-24","h-24",3,"src"],[1,"m-0","text-xs","
1sm:text-sm"],["class","m-0 text-xs sm:text-sm",4,"ngIf"],[1,"p-3",3,"value","checked","disabled","change"],["payMonths",""]],template:function(a,s){1&a&&(t.DNE(0,z,10,6,"div",0)(1,et,23,5,"div",1)(2,it,26,9,"form",2),t.nrm(3,"paytm-checkout")),2&a&&(t.Y8G("ngIf",s.school),t.R7$(),t.Y8G("ngIf",!s.studentId),t.R7$(),t.Y8G("ngIf",s.studentId))},dependencies:[p.MD,p.YU,p.Sq,p.bT,i.YN,i.qT,i.me,i.BC,i.cb,b.RG,b.rl,b.nJ,b.TL,b.yw,i.X1,i.j4,i.JD,f.fS,f.fg,k.m_,k.An,g.Hl,g.$z,g.$0,A.Ve,j.Sy,E.g7,E.So,U.tP,G.mV,$.PO,L.D6]})}}return r})()},47677:(B,P,n)=>{n.d(P,{I:()=>x});var D=n(39974),O=n(54360);function x(y,i){return(0,D.N)(function I(y,i,u){const E="index"===u;return(p,f)=>{let k=0;p.subscribe((0,O._)(f,g=>{const A=k++;y.call(i,g,A,p)&&(f.next(E?A:g),f.complete())},()=>{f.next(E?-1:void 0),f.complete()}))}}(y,i,"value"))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.