Implements the school fees gestion for a student and a payment table containing a history of all the financial transactions of the system
This commit is contained in:
9
frontend/src/rest/minerval.js
Normal file
9
frontend/src/rest/minerval.js
Normal file
@ -0,0 +1,9 @@
|
||||
import {restGet, restPatch, restPost} from "@/rest/restConsumer.js";
|
||||
|
||||
export async function getCurrentMinerval(userRegNo){
|
||||
return restGet("/minerval/"+userRegNo)
|
||||
}
|
||||
|
||||
export async function editMinerval(updatedMinerval){
|
||||
return restPatch("/minerval", updatedMinerval)
|
||||
}
|
6
frontend/src/rest/payment.js
Normal file
6
frontend/src/rest/payment.js
Normal file
@ -0,0 +1,6 @@
|
||||
import {restPost} from "@/rest/restConsumer.js";
|
||||
|
||||
export async function postPayment(payment){
|
||||
return restPost("/payment", payment)
|
||||
}
|
||||
|
Reference in New Issue
Block a user