AlbumPopayan.com Forum
Oct 10, 2017 11:22 amTopic id: 01175

miltonmaria
MisNotas.info Interface para pagos

La interface de pagos es un paralelo del script de notas


 
Oct 10, 2017 11:23 amReply: 1

miltonmaria
We need yet the credits php scripts.

So let's see if those can (and should) be called from the MisNotas folder


 
Oct 15, 2017 13:22 pmReply: 2

miltonmaria
A basic methodo interface is already there
http://albumpopayan.com/misnotas

It is again a parallel thing of the grades core code.

Although good, there is still pending the next things

1) Code has to check out if payment has been already done. Otherwise crappy conections can lead to double payments.

2) The all schools view should not allow payments since there is a greater chance of mistype for the teller. It should be only an overview.

3) Remains to be coded the part for the teller and admin to check what payments were done in one month and the total of it.

4) The schools tb should have the value per student of the service (we can call it: deal) for calculation later of payments?


 
Oct 15, 2017 13:29 pmReply: 3

miltonmaria
In todays afternoon session..

The payments are now listed from the latest to the oldest in the list for a single school

For the overall schools view, it is order by schools then by id desc


 
Oct 15, 2017 18:56 pmReply: 4

miltonmaria
Another thing would be to set this payment as a subdomain of MisNotas.info , that is Pagos.MisNotas.info

Quite likely would be that way


 
Oct 16, 2017 10:38 amReply: 5

miltonmaria
About item 1) Now the server side script checks if payment already exists . If so, it returns false and do not adds anything.

This is good since somitimes conections got bad, and there could be more than one payment before this payment for the same service. That would create trouble for the accounting of that. But not now.


 
Oct 16, 2017 10:40 amReply: 6

miltonmaria
The item 2) Well re-thinking there is nothing wrong with the payment that could be done since that view.

However if the teller tell different we can change it to view only mode.

By now, payments can be carried out in the all schools view


 
Oct 21, 2017 09:49 amReply: 7

miltonmaria
Coding the item 3

Now it lists the transactions for the online teller. however still pending to list only regarding a time frame

Watch the time frame is the payments done in a certain month.
Not the concept of the payment. For example a school could pay the September Service in October, that payment for the teller would be listed on October because it happened in October. It is about when payments are done.


 
Oct 21, 2017 12:04 pmReply: 8

miltonmaria
Now the payment interface displays the current day. A handy feature


 
Oct 22, 2017 07:25 amReply: 9

miltonmaria
Switching this interface to this subdomain: http://Pagos.MisNotas.info


 
Oct 23, 2017 07:13 amReply: 10

miltonmaria
Now it requires to be admin or teller to access any of the two functions.

Remains the code to be updated so that the tellers transactions to be restricted not only to the online teller but to a time frame


 
Oct 25, 2017 15:25 pmReply: 11

miltonmaria
Done!


 
Oct 25, 2017 15:27 pmReply: 12

miltonmaria
Remains the price to pay to be computed from the number of students multiplied for the price per student.

This way. A school with the double number of students will have an invoice twice as the smaller school. That is fair because it is about usage.


 

Reply