I am looking for a way to show only the first data of each record that my table has.
I have a table called detalle_cuota
where:
- insert the amount of each quota
- the amounts according to the amount of fees that you say you will have the course
- every 3 records an increase of 20% of the previous amount.
The problem is that when I am going to process the first payment, I need to automatically see the first amount of the fees belonging to that course.
These are the tables:
What I want to do is to appear on the form when processing the first payment, the amount 1 and if it is paid to change something paid. And so on, the amounts that the student has to pay will come out to me.
Something like this should be my form.
Ex: Course: FOOD, FIRST PAY: 44,000,
Ex: Course: PASTRY, FIRST PAYMENT: 66,000
Ex: Course: FOOD, SECOND PAYMENT: 44,000