Hi Ario;
Checking the checkbox on the right says not to pay a specific invoice. You can then click update and the invoice will disappear.
Here is what to do:
SELECT * from payment order by id desc limit 1;
Make sure this looks right before proceding.
If you want to check the line items:
SELECT amount, trans_id, transdate
from acc_trans
WHERE entry_id IN (select entry_id from payment_links where payment_id = (select max(id) from payment));
If that shows what you expect then:
DELETE FROM acc_trans WHERE entry_id IN (select entry_id from payment_links where payment_id = (select max(id) from payment));
DELETE FROM payment_links where payment_id = (select max(id) from payment);
DELETE FROM payment where id = (select max(id) from payment);
Naturally do this in a transaction and make sure the results seem sound before committing.
Best Wishes,
Chris Travers
PS, you may find cash/vouchers/payments more to your liking than the single payment interface. Just make sure to approve the payment batches.