Payment date of the invoice in the general ledger list

Hello,
I would need the payment date of the invoice in the general ledger list (module accounting) instead of the invoice date or additionally.
Is there a way to set this, or do you have to adapt the code in a query.
In which file can the code be found and what could the change look like.
For many companies, the payment date and not the invoice date is decisive.

Many thanks for your help.
Franz

Hi Franz,
It is not a good idea to intervene directly on the code.
If you want to view other information on the list of invoices, you have to create a module and insert one more hook that retrieves and then displays the information you need.
Here you will find the info to get started

Marcello