Hi,
I am generating recurring invoices from template. I need to put automatically time period “invoice for month: January” or “invoice for period 1/1/2022 31/1/2022”
Is it possible?
Thanks,
Mario
I have not resolved but I have made some progress and I write here hoping that some one can reply.
Dolibarr documentation is missing and it is a pity because most people will assume that Dolibarr has not this feature and it is not true.
Basically I have found that I can add an extrafield and this extrafield can be computed. And you can easily put your php code to compute the value.
Problem:
- I put the calculated field in invoice template form because I want it only to be generated in invoices from template
- For now I put only a strval(55) just to check if it is working. The “55” string appears as a new field in the template list but as an empty field in the template form.
- The string does not appear in generated invoice from template
- I need also to know how the sql table for invoice templates is named.
Thanks,
Mario