Hello, I'm developing an invoice template for a company and I've been trying to figure out how to calculate the total remainder of a customer. For example if the customer has some unpaid invoices I want the total of the unpaid amount to appear in the new invoice.
I looked inside the crabe template (_tableau_versements and _tableau_tot) but I cannot seem to understand what's going on. I tried generating an invoice using the crabe template as well, but the remainder doesn't show up.
Your help is very much appreciated.
I looked inside the crabe template (_tableau_versements and _tableau_tot) but I cannot seem to understand what's going on. I tried generating an invoice using the crabe template as well, but the remainder doesn't show up.
Your help is very much appreciated.