PageSourceSearch

https://schools.uabinfosol.com/2439.05242aee820b2cc9.js

js uabinfosol.com collected 2026-10-01 23:51:11 UTC 13,875 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvex=self.webpackChunkvex||[]).push([[2439],{92439:(ct,C,a)=>{a.d(C,{K:()=>st});var m=a(60177),d=a(89417),f=a(88834),F=a(82765),D=a(86600),S=a(25084),p=a(34006),P=a(32102),E=a(99213),T=a(99631),u=a(59115),$=a(96695),M=a(9183),j=a(5951),I=a(82798),y=a(2042),O=a(26450),V=a(14823),b=a(15083),R=a(21410),v=a(51872),t=a(54438),G=a(49042),N=a(98518),B=a(3871),A=a(47038);const w=["dataTable"];function U(n,_){1&n&&(t.j41(0,"h2",10),t.EFF(1,"Receipt Details"),t.k0s())}function Y(n,_){1&n&&(t.j41(0,"h2",10),t.EFF(1,"Fee Statement"),t.k0s())}function J(n,_){if(1&n&&(t.j41(0,"button",11),t.nrm(1,"mat-icon",12),t.k0s()),2&n){t.XpG();const e=t.sdS(10);t.Y8G("matMenuTriggerFor",e)}}function K(n,_){1&n&&(t.j41(0,"button",13),t.nrm(1,"mat-icon",14),t.k0s())}function W(n,_){if(1&n){const e=t.RV6();t.j41(0,"button",15),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.backToStatement())}),t.nrm(1,"mat-icon",16),t.k0s()}}function L(n,_){if(1&n&&(t.qex(0),t.j41(1,"th",19),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.JRh(e.label)}}function X(n,_){if(1&n&&(t.qex(0),t.DNE(1,L,3,1,"ng-container",6),t.bVm()),2&n){const e=_.$implicit;t.R7$(),t.Y8G("ngIf",e.checked)}}function z(n,_){if(1&n&&(t.qex(0),t.j41(1,"td",26),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=t.XpG().$implicit,i=t.XpG().$implicit,o=t.XpG(2);t.R7$(),t.Y8G("ngClass",o.getDateColorClass(i,e.property)),t.R7$(),t.SpI(" ",i[e.property]," ")}}function Q(n,_){if(1&n&&(t.qex(0),t.j41(1,"td",27),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=t.XpG(2).$implicit;t.R7$(2),t.JRh(e.t_discount)}}function H(n,_){if(1&n&&(t.qex(0),t.j41(1,"td",27),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=t.XpG(2).$implicit;t.R7$(2),t.JRh(e.paid_amount+e.advance_amt)}}function Z(n,_){if(1&n&&(t.qex(0),t.j41(1,"td",27),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=t.XpG(2).$implicit;t.R7$(2),t.JRh(e.payable_amount-e.paid_amount)}}function q(n,_){if(1&n&&(t.qex(0),t.DNE(1,z,3,2,"ng-container",6)(2,Q,3,1,"ng-container",6)(3,H,3,1,"ng-container",6)(4,Z,3,1,"ng-container",6),t.bVm()),2&n){const e=_.$implicit;t.R7$(),t.Y8G("ngIf",e.checked&&"discount"!=e.property&&"paid_amount"!=e.property&&"due_amount"!=e.property),t.R7$(),t.Y8G("ngIf",e.checked&&"discount"==e.property),t.R7$(),t.Y8G("ngIf",e.checked&&"paid_amount"==e.property),t.R7$(),t.Y8G("ngIf",e.checked&&"due_amount"==e.property)}}function tt(n,_){1&n&&(t.j41(0,"span"),t.nrm(1,"mat-icon",28),t.k0s())}function et(n,_){1&n&&(t.j41(0,"span"),t.nrm(1,"mat-icon",29),t.k0s())}const k=n=>({"border-t border-gray-200":n});function nt(n,_){if(1&n){const e=t.RV6();t.j41(0,"tr",22)(1,"td",19),t.EFF(2),t.k0s(),t.DNE(3,q,5,4,"ng-container",20),t.j41(4,"td",19)(5,"div",23)(6,"button",24),t.bIt("click",function(){const s=t.eBV(e).$implicit,r=t.XpG
1(2);return t.Njj(r.viewReceipt(s))}),t.nrm(7,"mat-icon",25),t.k0s(),t.j41(8,"button",24),t.bIt("click",function(){const s=t.eBV(e).$implicit,r=t.XpG(2);return t.Njj(r.printReceipt(s))}),t.DNE(9,tt,2,0,"span",6)(10,et,2,0,"span",6),t.k0s()()()()}if(2&n){const e=_.index,i=t.XpG(2);t.Y8G("ngClass",t.eq3(5,k,e>0)),t.R7$(2),t.JRh(e+1),t.R7$(),t.Y8G("ngForOf",i.columns),t.R7$(6),t.Y8G("ngIf","android"!==i.getDevices),t.R7$(),t.Y8G("ngIf","android"==i.getDevices)}}function it(n,_){if(1&n&&(t.j41(0,"table",17)(1,"thead")(2,"tr",18)(3,"th",19),t.EFF(4,"S.no."),t.k0s(),t.DNE(5,X,2,1,"ng-container",20),t.nrm(6,"th",19),t.k0s()(),t.j41(7,"tbody"),t.DNE(8,nt,11,7,"tr",21),t.k0s()()),2&n){const e=t.XpG();t.R7$(5),t.Y8G("ngForOf",e.columns),t.R7$(3),t.Y8G("ngForOf",e.FeeReceipts)}}function ot(n,_){if(1&n&&(t.j41(0,"tr",22)(1,"td",27),t.EFF(2),t.k0s(),t.j41(3,"td",27),t.EFF(4),t.k0s(),t.j41(5,"td",27),t.EFF(6),t.k0s(),t.j41(7,"td",27),t.EFF(8),t.k0s(),t.j41(9,"td",27),t.EFF(10),t.k0s(),t.j41(11,"td",27),t.EFF(12),t.k0s(),t.j41(13,"td",27),t.EFF(14),t.k0s(),t.j41(15,"td",27),t.EFF(16),t.k0s(),t.j41(17,"td",27),t.EFF(18),t.k0s(),t.j41(19,"td",27),t.EFF(20),t.k0s(),t.j41(21,"td",27),t.EFF(22),t.k0s()()),2&n){const e=_.$implicit,i=_.index;t.Y8G("ngClass",t.eq3(12,k,i>0)),t.R7$(2),t.JRh(i+1),t.R7$(2),t.JRh(e.fee_head_name),t.R7$(2),t.JRh(e.fee_month_name),t.R7$(2),t.JRh(e.fee_collection_amt),t.R7$(2),t.JRh(e.paid_advance),t.R7$(2),t.JRh(e.fee_collection_concession),t.R7$(2),t.JRh(e.discount),t.R7$(2),t.JRh(e.extra_concession),t.R7$(2),t.JRh(e.fee_detail_previous_paid),t.R7$(2),t.JRh(e.fee_collection_head_paid),t.R7$(2),t.JRh(e.due_amount)}}function at(n,_){if(1&n&&(t.j41(0,"div")(1,"table",30,31)(3,"thead")(4,"tr",18)(5,"th",27),t.EFF(6,"S.no."),t.k0s(),t.j41(7,"th",27),t.EFF(8,"Head"),t.k0s(),t.j41(9,"th",27),t.EFF(10,"Month"),t.k0s(),t.j41(11,"th",27),t.EFF(12,"Amount"),t.k0s(),t.j41(13,"th",27),t.EFF(14,"Adv. Adjusted"),t.k0s(),t.j41(15,"th",27),t.EFF(16,"Conce."),t.k0s(),t.j41(17,"th",27),t.EFF(18,"Dis."),t.k0s(),t.j41(19,"th",27),t.EFF(20),t.k0s(),t.j41(21,"th",27),t.EFF(22,"Prev. Paid"),t.k0s(),t.j41(23,"th",27),t.EFF(24,"Paid"),t.k0s(),t.j41(25,"th",27),t.EFF(26,"Due"),t.k0s()()(),t.j41(27,"tbody"),t.DNE(28,ot,23,14,"tr",21),t.j41(29,"tr",32)(30,"th",33),t.EFF(31,"Total"),t.k0s(),t.j41(32,"td",34),t.EFF(33),t.k0s(),t.j41(34,"td",34),t.EFF(35),t.k0s(),t.j41(36,"td",34),t.EFF(37),t.k0s(),t.j41(38,"td",34),t.EFF(39),t.k0s(),t.j41(40,"td",34),t.EFF(41),t.k0s(),t.j41(42,"td",34),t.EFF(43),t.k0s(),t.j41(44,"td",35),t.EFF(45),t.k0s(),t.j41(46,"td",34),t.EFF(47),t.k0s()()()()()),2&n){const e=t.XpG();t.R7$(20),t.JRh(e.receipt.extra_concession_head),t.R7$(8),t.Y8G("ngForOf",e.receipt.fee_collection_details),t.R7$(5),t.JRh(e.collection_total),t.R7$(2),t.JRh(e.paid_advance),t.R7$(2),t.JRh(e.fee_concession),t.R7$(2),t.JRh(e.discount),t.R7$(2),t.JRh(e.extra_concession),t.R7$(2),t.JRh(e.fee_detail_previous_paid),t.R7$(2),t.JRh(e.paid_total),t.R7$(2),t.JRh(e.due_amount)}}function _t(n,_){if(1&n){const e=t.RV6();t.j41(0,"button",36),t.bIt("click",function(o){return o.stopPropagation()}),t.j41(1,"mat-checkbox",37),t.bIt("ngModelChange",function(o){const r=t.eBV(e).$implicit;return t.Njj(r.checked=o)})("click",function(o){return o.stopPropagation()})("change",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onColumnChange())}),t.EFF(2),t.k0s()()}if(2&n){const e=_.$implicit;t.R7$(),t.Y8G("ngModel",e.checked),t.R7$(),t.SpI(" ",e.label," ")}}let st=(()=>{class n{constructor(e,i,o,s,r,h,g){this.student=e,this.dialogRef=i,this.feeService=o,this._export=s,this.settingService=r,this.commonService=h,this.loader=g,this.isViewReceipt=!1,this.receiptFormat=1,this.paid_total=0,this.collection_total=0,this.fee_concession=0,this.discount=0,this.paid_advance=0,this.fee_detail_previous_paid=0,this.extra_concession=0,this.due_amount=0,this.session_start=localStorage.getItem("session_start"),this.session_end=localStorage.getItem("session_end"),this.curr_session=this.session_start+"-"+this.session_end,this.export_type=[],this.school=JSON.parse(localStorage.getItem("school")),this.getDevices=b.Ii.getPlatform(),this.receiptSettings={print_srno_receipt:!0,print_enrollno_receipt:!0,hide_concession_discount:!0,show_dob_on_reciept:!0,reciept_water_mark:!1},this.columns=[{label:"Rec. No.",property:"reciept_no",checked:!0,type:"text"},{label:"Rec. Date",property:"receipt_date",checked:!0,type:"text"},{label:"Created Date",property:"created_at",checked:!0,type:"text"},{label:"Period",property:"period",checked:!0,type:"text"},{label:"Pay Mode",property:"fee_payment_mode_name",checked:!0,type:"text"},{label:"Gross Amt",property:"total_due",checked:!0,type:"text"},{label:"Disc Amt",property:"discount",checked:!1,type:"text"},{label:"Remark",property:"remark",checked:!1,type:"text"},{label:"T Payable Amt",property:"payable_amount",checked:!0,type:"text"},{label:"Paid Amt",property:"paid_amount",checked:!0,type:"text"},{label:"Due Amt",property:"due_amount",checked:!0,type:"text"},{label:"Adv. Amt",property:"advance_amt",checked:!0,type:"text"}],this.settingService.getSetting().subscribe(c=>{c.receipt_format&&(this.receiptFormat=Number(c.receipt_format)),0===Number(c.hide_concession_discount)&&(this.receiptSettings.hide_concession_discount=!1)}),this.settingService.getSettingByName(["print_srno_receipt"]).subscribe(c=>{0===Number(c.print_srno_receipt)&&(this.receiptSettings.print_srno_receipt=!1)}),this.settingService.getSettingByName(["print_enrollno_receipt"]).subscribe(c=>{0===Number(c.print_enrollno_receipt)&&(this.receiptSettings.print_enrollno_receipt=!1)}),this.settingService.getSettingByName(["hide_concession_discount"]).subscribe(c=>{0===Number(c.hide_concession_discount)&&(this.receiptSettings.hide_concession_discount=!1)}),this.settingService.getSettingByName(["show_dob_on_reciept"]).subscribe(c=>{0===Number(c.show_dob_on_reciept)&&(this.receiptSettings.show_dob_on_reciept=!1)}),this.settingService.getSettingByName(["reciept_water_mark"]).subscribe(c=>{1===Number(c.reciept_water_mark)&&(this.receiptSettings.reciept_water_mark=!0)})}ngOnInit(){this.platform=this.commonService.detectPlatform(),this.feeService.getStudentFeestatement
1({student_id:this.student.student_id}).subscribe(e=>{this.FeeReceipts=e.paid_fees})}viewReceipt(e){let i=0,o=0,s=0,r=0,h=0,g=0,c=0,x=0;this.isViewReceipt=!0,this.receipt=e,e.fee_collection_details.forEach(l=>{i+=Number(l.fee_collection_head_paid),o+=Number(l.fee_collection_amt),s+=Number(l.fee_collection_concession),r+=Number(l.discount),h+=Number(l.paid_advance),g+=Number(l.fee_detail_previous_paid),c+=Number(l.extra_concession),x+=Number(l.due_amount)}),this.paid_total=i,this.collection_total=o,this.fee_concession=s,this.discount=r,this.paid_advance=h,this.fee_detail_previous_paid=g,this.extra_concession=c,this.due_amount=x}backToStatement(){this.isViewReceipt=!1,this.receipt=null}printReceipt(e){console.log("receipt:",e),console.log("this.student==:",this.student),console.log("receiptSettings:",this.receiptSettings),console.log("receiptFormat:",this.receiptFormat),"android"===b.Ii.getPlatform()?this._export.printReceipt(this.student,e,this.receiptSettings,1,21):this._export.printReceipt(this.student,e,this.receiptSettings,this.receiptFormat)}exportAsPDF1(){this.loader.show(),setTimeout(()=>{const e=this.dataTable?.nativeElement;if(!e)return console.error("Table not found!"),void this.loader.hide();const i=this.school,o={title:`Fee Reciept (${this.curr_session}) `,schoolName:i.name,address:`${i.address||""} ${i.place||""}, ${i.postal_code||""}`,contacts:[i.phone_num,i.phone_num1,i.email].filter(Boolean).join(" , "),logoUrl:i.school_photo_url};this._export.convertPdfForAndroidFormats3({table:e,docTexts:o,fileName:"Fee Receipt.pdf",orientation:"landscape",format:"a2"}).then(()=>{this.loader.hide()}).catch(s=>{console.error("PDF export failed:",s),this.loader.hide()})},300)}onColumnChange(){this.colspan=1,this.colspan+=this.columns.filter(e=>e.checked&&"bal"!=e.property&&"actions"!=e.property).length}getDateColorClass(e,i){return"receipt_date"!==i&&"created_at"!==i||this.normalizeDate(e.receipt_date)===this.normalizeDate(e.created_at)?"":"receipt_date"===i?"text-red-600":""}normalizeDate(e){if(!e)return"";const i=new Date(e);return isNaN(i.getTime())?"":`${i.getFullYear()}-${String(i.getMonth()+1).padStart(2,"0")}-${String(i.getDate()).padStart(2,"0")}`}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(p.Vh),t.rXU(p.CP),t.rXU(G.G),t.rXU(v._),t.rXU(N.q),t.rXU(B.h),t.rXU(A.U))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["vex-view-fee-statement"]],viewQuery:function(i,o){if(1&i&&t.GBs(w,5),2&i){let s;t.mGM(s=t.lsd())&&(o.dataTable=s.first)}},standalone:!0,features:[t.Jv_([v._,R.a,m.vh]),t.aNF],decls:12,vars:8,consts:[["mat-dialog-title","",1,"flex","items-center","border-b"],["class","m-0 flex-auto uppercase",4,"ngIf"],["mat-icon-button","","color","primary","class","ml-2",3,"matMenuTriggerFor",4,"ngIf"],["class","text-secondary","mat-dialog-close","","mat-icon-button","","type","button",4,"ngIf"],["mat-icon-button","","type","button",3,"click",4,"ngIf"],["class","w-full",4,"ngIf"],[4,"ngIf"],["xPosition","before","yPosition","below"],["addColumns","matMenu"],["mat-menu-item","","class","checkbox-item",3,"click",4,"ngFor","ngForOf"],[1,"m-0","flex-auto","uppercase"],["mat-icon-button","","color","primary",1,"ml-2",3,"matMenuTriggerFor"],["svgIcon","mat:checklist"],["mat-dialog-close","","mat-icon-button","","type","button",1,"text-secondary"],["svgIcon","mat:close"],["mat-icon-button","","type","button",3,"click"],["svgIcon","mat:arrow_back",1,"text-xl"],[1,"w-full"],[1,"border-b","border-gray-300"],[1,"p-1"],[4,"ngFor","ngForOf"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"flex","gap-2"],["type","button","mat-icon-button","","color","primary",3,"click"],["svgIcon","mat:receipt"],[1,"p-1","text-center",3,"ngClass"],[1,"p-1","text-center"],["svgIcon","mat:print"],["svgIcon","mat:share"],["id","exportTable",1,"w-full"],["dataTable",""],[1,"bg-gray-300"],["colspan","3",1,"border-b","border-gray-300"],[1,"p-1","font-bold","text-center"],[1,"p-1","font-bold","text-center","text-black"],["mat-menu-item","",1,"checkbox-item",3,"click"],["color","primary",3,"ngModel","ngModelChange","click","change"]],template:function(i,o){1&i&&(t.j41(0,"div",0),t.DNE(1,U,2,0,"h2",1)(2,Y,2,0,"h2",1)(3,J,2,1,"button",2)(4,K,2,0,"button",3)(5,W,2,0,"button",4),t.k0s(),t.j41(6,"mat-dialog-content"),t.DNE(7,it,9,2,"table",5)(8,at,48,10,"div",6),t.k0s(),t.j41(9,"mat-menu",7,8),t.DNE(11,_t,3,2,"button",9),t.k0s()),2&i&&(t.R7$(),t.Y8G("ngIf",o.isViewReceipt),t.R7$(),t.Y8G("ngIf",!o.isViewReceipt),t.R7$(),t.Y8G("ngIf",!o.isViewReceipt),t.R7$(),t.Y8G("ngIf",!o.isViewReceipt),t.R7$(),t.Y8G("ngIf",o.isViewReceipt),t.R7$(2),t.Y8G("ngIf",!o.isViewReceipt),t.R7$(),t.Y8G("ngIf",o.isViewReceipt),t.R7$(3),t.Y8G("ngForOf",o.columns))},dependencies:[m.MD,m.YU,m.Sq,m.bT,E.m_,E.An,T.fS,f.Hl,f.iY,O.tP,u.Cn,u.kk,u.fb,u.Cp,y.NQ,p.hM,p.tx,p.BI,p.Yi,R.x,j.Wk,P.RG,d.YN,d.BC,d.vS,d.X1,I.Ve,$.Ou,F.g7,F.So,S.X6,D.w0,V.uc,M.D6]})}}return n})()}}]);

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.