PageSourceSearch

https://portal.uerm.edu.ph/apps/student-central/js/526.ba1d7eb2.js

js uerm.edu.ph collected 2026-09-25 01:39:25 UTC 14,169 bytes, 1 lines download raw bytes

1(globalThis["webpackChunkuerm_quasar_boilerplate"]=globalThis["webpackChunkuerm_quasar_boilerplate"]||[]).push([[526],{3526:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>ne});var l=a(1758),s=a(8790),n=a(9104),r=a(4972),i=a.n(r);const o={class:"row"},d={class:"col-12 col-md q-ml-md q-mb-xl"},u={key:0,class:"fit flex flex-center"},c={key:1},m={class:"text-center"},p={class:"text-center"},h={class:"text-center"},k={class:"text-center"},b={class:"text-center"},y={class:"text-right"},g={class:"text-right"},L={class:"text-right"},f={class:"col-12 col-md-3 q-ml-md"},x={class:"text-center"},v={class:"text-right"},w={class:"row justify-between items-center"},F={key:0,class:"row justify-center items-center bg-blue-4"},_={class:"row justify-between items-center"},D={key:0},O={class:"row q-ma-xl"},A={class:"col-12 col-md-8"},C={class:"text-center"},E={class:"text-right"},P={class:"col-12 col-md-2 q-ml-md"},T={key:1},q={class:"text-green-9 text-weight-bold"},S={class:"text-black"},N=["href"],R={class:"row justify-end"};function W(e,t,a,r,W,I){const V=(0,l.g2)("q-spinner-hourglass"),X=(0,l.g2)("q-card-section"),$=(0,l.g2)("q-card"),Q=(0,l.g2)("q-markup-table"),H=(0,l.g2)("q-btn"),Y=(0,l.g2)("q-spinner-puff"),B=(0,l.g2)("q-inner-loading"),M=(0,l.g2)("q-dialog"),U=(0,l.g2)("router-link"),j=(0,l.g2)("q-input"),z=(0,l.g2)("q-spinner-gears"),G=(0,l.g2)("q-form"),K=(0,l.gN)("close-popup");return(0,l.uX)(),(0,l.CE)(l.FK,null,[(0,l.Lk)("div",o,[(0,l.Lk)("div",d,[W.loading?((0,l.uX)(),(0,l.CE)("div",u,[(0,l.bF)(V,{color:"primary",size:"150px"})])):((0,l.uX)(),(0,l.CE)(l.FK,{key:1},[0==this.ledgerData?((0,l.uX)(),(0,l.Wv)($,{key:0,class:"text-primary q-pa-xl"},{default:(0,l.k6)((()=>[(0,l.bF)(X,{class:"text-h4 text-weight-bold text-uppercase text-center"},{default:(0,l.k6)((()=>t[9]||(t[9]=[(0,l.eW)(" No Ledger available ")]))),_:1})])),_:1})):((0,l.uX)(),(0,l.CE)("div",c,[(0,l.bF)(Q,{class:"my-sticky-header-table"},{default:(0,l.k6)((()=>[t[10]||(t[10]=(0,l.Lk)("thead",{class:"bg-primary"},[(0,l.Lk)("tr",{class:"text-uppercase"},[(0,l.Lk)("th",{class:"text-white"},"School Year"),(0,l.Lk)("th",{class:"text-white"},"Semester"),(0,l.Lk)("th",{class:"text-white"},"Transaction Date"),(0,l.Lk)("th",{class:"text-white"},"Particular"),(0,l.Lk)("th",{class:"text-white"},"Reference"),(0,l.Lk)("th",{class:"text-white"},"Debit"),(0,l.Lk)("th",{class:"text-white"},"Credit"),(0,l.Lk)("th",{class:"text-white"},"Balance")])],-1)),(0,l.Lk)("tbody",null,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(W.ledgerData,((e,t)=>((0,l.uX)(),(0,l.CE)("tr",{key:t},[(0,l.Lk)("td",m,(0,s.v_)(e.sY),1),(0,l.Lk)("td",p,(0,s.v_)(e.semster),1),(0,l.Lk)("td",h,(0,s.v_)(e.dateTrans),1),(0,l.Lk)("td",k,(0,s.v_)(e.item),1),(0,l.Lk)("td",b,(0,s.v_)(e.reference),1),(0,l.Lk)("td",y,(0,s.v_)(I.formatLedgerCurrency(e.debit)),1),(0,l.Lk)("td",g,(0,s.v_)(I.formatLedgerCurrency(e.credit)),1),(0,l.Lk)("td",L,(0,s.v_)(I.formatLedgerCurrency(this.remainingBalance=e.balance)),1)])))),128))])])),_:1})]))],64))]),(0,l.Lk)("div",f,[(0,l.bF)($,null,{default:(0,l.k6)((()=>[(0,l.bF)(X,null,{default:(0,l.k6)((()=>[(0,l.bF)($,{class:"col-12 bg-yellow-8 text-black text-weight-bold balances"},{default:(0,l.k6)((()=>[(0,l.bF)(X,null,{default:(0,l.k6)((()=>t[11]||(t[11]=[(0,l.eW)(" OUTSTANDING BALANCE ")]))),_:1}),(0,l.bF)(X,{class:"row justify-end text-h5"},{default:(0,l.k6)((()=>[(0,l.eW)((0,s.v_)(I.outstandingBalance()),1)])),_:1})])),_:1})])),_:1}),(0,l.bF)(X,null,{default:(0,l.k6)((()=>[(0,l.bF)(H,{color:"green-8",icon:"payments",label:"PAYMENT",class:"payment-fixed-width full-width",href:"https://hub.uerm.edu.ph/apps/epayments/#/academe",target:"_blank"})])),_:1}),0!==W.schedule.length?((0,l.uX)(),(0,l.Wv)($,{key:0,class:"bg-blue-grey-2 q-ma-md"},{default:(0,l.k6)((()=>[(0,l.bF)(X,null,{default:(0,l.k6)((()=>[(0,l.bF)(X,{class:"text-center bg-primary text-white"},{default:(0,l.k6)((()=>t[12]||(t[12]=[(0,l.eW)(" PAYMENT SCHEDULE ")]))),_:1}),(0,l.bF)(X,null,{default:(0,l.k6)((()=>[(0,l.bF)(Q,null,{default:(0,l.k6)((()=>[t[13]||(t[13]=(0,l.Lk)("thead",{class:"bg-yellow-8 text-black"},[(0,l.Lk)("tr",{class:"text-uppercase"},[(0,l.Lk)("th",null,"SCHEDULE"),(0,l.Lk)("th",{class:"text-right"},"TOTAL")])],-1)),(0,l.Lk)("tbody",null,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(W.schedule,((e,t)=>
1((0,l.uX)(),(0,l.CE)("tr",{key:t},[(0,l.Lk)("td",x,(0,s.v_)(e.month),1),(0,l.Lk)("td",v,(0,s.v_)(I.formatCurrency(e.sCHED_TOTAL)),1)])))),128))])])),_:1})])),_:1})])),_:1})])),_:1})):(0,l.Q3)("",!0),(0,l.bF)(X,null,{default:(0,l.k6)((()=>[t[15]||(t[15]=(0,l.eW)(" Now Available, ")),t[16]||(t[16]=(0,l.Lk)("b",null,"CREDIT CARD",-1)),t[17]||(t[17]=(0,l.eW)(" payment option for tuition fees. ")),(0,l.Lk)("div",null,[t[14]||(t[14]=(0,l.Lk)("p",{class:"row text-primary text-weight-bold q-mt-md"},[(0,l.eW)(" UERM ePayments: "),(0,l.Lk)("a",{href:"https://hub.uerm.edu.ph/apps/epayments/#/academe",target:"_blank"}," https://hub.uerm.edu.ph/apps/epayments")],-1)),(0,l.bF)(H,{label:"Other Payment Option",color:"white","text-color":"primary",class:"q-mt-md text-weight-bold full-width",onClick:t[0]||(t[0]=e=>I.openPaymentOption())}),(0,l.bF)(H,{label:"VIEW OR",color:"yellow-8","text-color":"black",class:"q-mt-md full-width",onClick:t[1]||(t[1]=e=>I.openStudentOR())})])])),_:1})])),_:1})])]),(0,l.bF)(M,{modelValue:W.paymentOption,"onUpdate:modelValue":t[2]||(t[2]=e=>W.paymentOption=e),"full-height":"","full-width":"",maximized:""},{default:(0,l.k6)((()=>[(0,l.bF)($,{class:"fit"},{default:(0,l.k6)((()=>[(0,l.bF)(X,{class:"bg-primary text-white"},{default:(0,l.k6)((()=>[(0,l.Lk)("div",w,[t[18]||(t[18]=(0,l.Lk)("span",{class:"text-body1 text-uppercase"}," OTHER PAYMENT OPTION ",-1)),(0,l.Lk)("span",null,[(0,l.bo)((0,l.bF)(H,{icon:"fa fa-times",color:"red"},null,512),[[K]])])])])),_:1}),W.paymentLoading?(0,l.Q3)("",!0):((0,l.uX)(),(0,l.CE)("div",F,[W.paymentOption?((0,l.uX)(),(0,l.Wv)(X,{key:0,class:"q-pa-none",style:{height:"92.4vh"}},{default:(0,l.k6)((()=>t[19]||(t[19]=[(0,l.Lk)("img",{src:i(),style:{height:"92.4vh"}},null,-1)]))),_:1})):(0,l.Q3)("",!0)])),(0,l.bF)(B,{showing:W.paymentLoading},{default:(0,l.k6)((()=>[(0,l.bF)(Y,{size:"100px",color:"primary"}),t[20]||(t[20]=(0,l.Lk)("span",{class:"q-pt-md text-overline"},"FETCHING DATA ...",-1))])),_:1},8,["showing"])])),_:1})])),_:1},8,["modelValue"]),(0,l.bF)(M,{modelValue:W.paymentDetailsDialog,"onUpdate:modelValue":t[5]||(t[5]=e=>W.paymentDetailsDialog=e),"full-width":""},{default:(0,l.k6)((()=>[(0,l.bF)($,{class:"fit"},{default:(0,l.k6)((()=>[(0,l.bF)(X,{class:"bg-primary text-white text-weight-bold"},{default:(0,l.k6)((()=>[(0,l.Lk)("div",_,[t[21]||(t[21]=(0,l.Lk)("span",{class:"text-body1 text-uppercase"}," PAYMENT DETAILS ",-1)),(0,l.Lk)("span",null,[(0,l.bo)((0,l.bF)(H,{icon:"fa fa-times",color:"red"},null,512),[[K]])])])])),_:1}),W.paymentDetailsLoading?((0,l.uX)(),(0,l.CE)("div",T,[(0,l.bF)(X)])):((0,l.uX)(),(0,l.CE)("div",D,[(0,l.bF)(X,{class:"full-width q-pa-none"},{default:(0,l.k6)((()=>[(0,l.Lk)("div",O,[(0,l.Lk)("div",A,[(0,l.bF)(Q,null,{default:(0,l.k6)((()=>[t[22]||(t[22]=(0,l.Lk)("thead",{class:"bg-yellow-8 text-black"},[(0,l.Lk)("tr",{class:"text-uppercase"},[(0,l.Lk)("th",null,"SCHEDULE"),(0,l.Lk)("th",{class:"text-right"},"TOTAL")])],-1)),(0,l.Lk)("tbody",null,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(W.schedule,((e,t)=>((0,l.uX)(),(0,l.CE)("tr",{key:t},[(0,l.Lk)("td",C,(0,s.v_)(e.month),1),(0,l.Lk)("td",E,(0,s.v_)(I.formatCurrency(e.sCHED_TOTAL)),1)])))),128))])])),_:1})]),(0,l.Lk)("div",P,[t[26]||(t[26]=(0,l.eW)(" Now Available, ")),t[27]||(t[27]=(0,l.Lk)("b",null,"CREDIT CARD",-1)),t[28]||(t[28]=(0,l.eW)(" payment option for tuition fees. ")),(0,l.Lk)("div",null,[t[23]||(t[23]=(0,l.Lk)("div",{class:"row q-mt-md text-primary text-weight-bold"}," INSTRUCTION: ",-1)),t[24]||(t[24]=(0,l.Lk)("ol",{type:"1"},[(0,l.Lk)("li",null,[(0,l.eW)("Click "),(0,l.Lk)("b",null,"PAYMENT ORDER"),(0,l.eW)(" button")]),(0,l.Lk)("li",null,[(0,l.eW)(" In the "),(0,l.Lk)("b",null,"NEW PAYMENT ORDER"),(0,l.eW)(" box, enter the amount to pay ")]),(0,l.Lk)("li",null,[(0,l.eW)(" Click the "),(0,l.Lk)("b",null,"SAVE PAYMENT ORDER"),(0,l.eW)(" to create Transaction ID. ")]),(0,l.Lk)("li",null,[(0,l.eW)("Click "),(0,l.Lk)("b",null,"Proceed to Payment Portal.")])],-1)),t[25]||(t[25]=(0,l.Lk)("div",{class:"row text-primary text-weight-bold"},[(0,l.eW)(" RAMPAY PORTAL link: "),(0,l.Lk)("a",{href:"https://uerm.edu.ph/apps/rampay/"}
1," https://bit.ly/3AF97vi")],-1)),(0,l.bF)(U,{to:"/students/transactions/payment-orders"},{default:(0,l.k6)((()=>[(0,l.bF)(H,{label:"Payment Order History",color:"primary",class:"q-mt-md full-width text-white"})])),_:1}),(0,l.bF)(H,{label:"Other Payment Option",color:"white","text-color":"primary",class:"q-mt-md text-weight-bold full-width",onClick:t[3]||(t[3]=e=>I.openPaymentOption())}),(0,l.bF)(H,{label:"VIEW OR",color:"yellow-8","text-color":"black",class:"q-mt-md full-width",onClick:t[4]||(t[4]=e=>I.openStudentOR())})])])])])),_:1})])),(0,l.bF)(B,{showing:W.paymentDetailsLoading},{default:(0,l.k6)((()=>[(0,l.bF)(Y,{size:"100px",color:"primary"}),t[29]||(t[29]=(0,l.Lk)("span",{class:"q-pt-md text-overline"},"FETCHING DATA ...",-1))])),_:1},8,["showing"])])),_:1})])),_:1},8,["modelValue"]),(0,l.bF)(M,{modelValue:W.paymentOrderPrompt,"onUpdate:modelValue":t[8]||(t[8]=e=>W.paymentOrderPrompt=e),persistent:"","transition-show":"slide-down","transition-duration":"500"},{default:(0,l.k6)((()=>[(0,l.bF)($,{style:{"min-width":"350px"}},{default:(0,l.k6)((()=>[(0,l.bF)(X,{class:"bg-green-9 text-white"},{default:(0,l.k6)((()=>t[30]||(t[30]=[(0,l.Lk)("div",{class:"text-h6"},"NEW PAYMENT ORDER",-1)]))),_:1}),(0,l.bF)(X,{class:"q-pt-md"},{default:(0,l.k6)((()=>[(0,l.bF)(G,{onSubmit:t[7]||(t[7]=(0,n.D$)((e=>I.savePaymentOrder()),["prevent"])),method:"posts",class:"q-gutter-md"},{default:(0,l.k6)((()=>[(0,l.bF)(j,{type:"text",square:"",outlined:"",modelValue:W.paymentOrder,"onUpdate:modelValue":t[6]||(t[6]=e=>W.paymentOrder=e),label:"Please enter amount to pay",class:"q-mt-md",color:"green-9",rules:[I.validateNumber],required:""},null,8,["modelValue","rules"]),(0,l.bF)($,{class:"relative-position card-example",flat:""},{default:(0,l.k6)((()=>[(0,l.bF)(X,null,{default:(0,l.k6)((()=>[(0,l.bF)(n.eB,{appear:"","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"},{default:(0,l.k6)((()=>[(0,l.bo)((0,l.Lk)("div",q,[(0,l.eW)(" YOUR TRANSACTION ID: "+(0,s.v_)(this.savePaymentOrderData.transactionid)+" ",1),t[34]||(t[34]=(0,l.Lk)("br",null,null,-1)),t[35]||(t[35]=(0,l.Lk)("br",null,null,-1)),(0,l.Lk)("div",S,[t[31]||(t[31]=(0,l.Lk)("b",null,"NOTE: ",-1)),t[32]||(t[32]=(0,l.eW)(" Click ")),(0,l.Lk)("a",{href:`https://uerm.edu.ph/apps/rampay/payments/index/${this.savePaymentOrderData.transactionid}`},"here",8,N),t[33]||(t[33]=(0,l.eW)(" to Proceed to Payment Portal "))])],512),[[n.aG,W.showSimulatedReturnData]])])),_:1})])),_:1}),(0,l.bF)(B,{showing:W.visible},{default:(0,l.k6)((()=>[(0,l.bF)(z,{size:"80px",color:"green-9"})])),_:1},8,["showing"])])),_:1}),(0,l.Lk)("div",R,[(0,l.bo)((0,l.bF)(H,{flat:"",label:"Close",showing:W.showSimulatedReturnData=!1},null,8,["showing"]),[[K]]),(0,l.bF)(H,{type:"submit",color:"green-9",label:"Save Payment Order"})])])),_:1})])),_:1})])),_:1})])),_:1},8,["modelValue"])],64)}a(239);var I=a(1271),V=a(9746),X=a(6980);const $={name:"LedgerPage",data(){var e=I.A.getItem("access_token");if(null!=e)var t=(0,V.B)(e);const a=[];let l;const s=!1,n=!1;return{studentDecryptData:t,ledgerData:a,paymentOrderPrompt:!1,paymentDetailsDialog:!1,paymentDetailsLoading:!1,paymentOrder:"",remainingBalance:l,visible:s,loading:!0,showSimulatedReturnData:n,savePaymentOrderData:"",paymentOption:!1,paymentLoading:!1,isValid:!0,schedule:[]}},methods:{async getLedger(){const e=await this.$store.dispatch("ledger/getLedger");"Access token is not whitelisted."===e.error||"Access token is required."===e.error||"Access token is invalid or expired."===e.error?(localStorage.removeItem("access_token"),this.$router.push("/")):setTimeout((()=>{this.ledgerData=e,this.loading=!1}),1e3)},openPaymentDetails(){this.paymentDetailsDialog=!0,this.paymentDetailsLoading=!0,setTimeout((()=>{this.paymentDetailsLoading=!1}),3e3)},async paymentSchedule(){const e=await this.$store.dispatch("payments/paymentSchedule");this.schedule=e},async savePaymentOrder(){const e={amount:this.paymentOrder},t=await this.$store.dispatch("payments/savePaymentOrder",e);0!==t&&this.getPaymentOrderHistory()},formatDate(e){const t=new Date(e),a=t.getFullYear(),l=String(t.getMonth()+1).padStart(2,"0"),s=String(t.getDate()).padStart(2,"0");return`${a}-${l}-${s}`},formatLedgerCurrency(e){return`${Number(e).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")}`},formatCurrency(e){return`₱${Number(e).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")}`},async getPaymentOrderHistory(){const e={studentno:this.student.sn},t=await this.$store.dispatch("payments/getPaymentOrderHistory",e);this.visible=!0,setTimeout((()=>{this.visible=!1,this.showSimulatedReturnData=!0,this.savePaymentOrderData=t[0]}),2e3)},openPaymentOption(){this.paymentOption=!0,this.paymentLoading=!0,setTimeout((()=>{this.paymentLoading=!1}),1e3)},openStudentOR(){this.$router.push("/students/student-or")},outstandingBalance(){return void 0===this.remainingBalance||null===this.remainingBalance?"0.00":this.remainingBalance.toLocaleStr
1ing("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})},validateNumber(e){const t=/^(\d+|\d+\.\d*|\.\d+)$/;return!!t.test(e)||"Please enter a valid number."}},created(){this.getLedger(),this.paymentSchedule()},computed:{...(0,X.L8)({student:["users/userAccount"]})}};var Q=a(2807),H=a(3194),Y=a(3316),B=a(4189),M=a(7410),U=a(857),j=a(6384),z=a(2156),G=a(9035),K=a(1097),J=a(9200),Z=a(7837),ee=a(5792),te=a(8672),ae=a(8582),le=a.n(ae);const se=(0,Q.A)($,[["render",W],["__scopeId","data-v-25edc9a3"]]),ne=se;le()($,"components",{QSpinnerHourglass:H.A,QCard:Y.A,QCardSection:B.A,QTooltip:M.A,QMarkupTable:U.A,QBtn:j.A,QDialog:z.A,QInnerLoading:G.A,QSpinnerPuff:K.A,QForm:J.A,QInput:Z.A,QSpinnerGears:ee.A}),le()($,"directives",{ClosePopup:te.A})},4972:(e,t,a)=>{e.exports=a.p+"img/payment.5e6c7c4d.jpeg"}}]);

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.