I’m trying to combine a bunch of tables that show all account activity (invoices, payments, withdrawals, etc.). It is a database that keeps track of students school fees. The problem is that on the invoice I have several lines because they have several different fees to pay. But when I try to show a payment, it doubles it up. On the invoice screen there is a payment button that you click on to go to payments and enter the invoice that it is paying which in some cases might be only partial payment.
So I had an Elementary fee for $35 and a Student Council fee for $5, then the student made a payment of $30. But when I try to put them together, it puts the $30 payment on each invoice line, so it comes out as a $60 total payment.
I need HELP!!!