I have two more questions to answer, then I am ready to use the simple invoice.
1. How do delete the decimals in the quantity field? In the database the quantity type is float. I have tried to change it to Int, but it didn´t work.
2. How do I get a date of payment - invoice date + 30 days? I have a custom field row for the date of payment, but I have to count and write it by myself. Is it possible to get an automatic date?
re 2 - refer ./modules/invoices/template.php $invoice contains the main invoice details - and $invoice['date'] will be in YYYY-MM-DD format - so you should be able to do $invoice['date']
Thank you, item 1 works fine now, but I have still problems with item 2.
The file template.php does not have any $invoice['date'] variable. Do I have to define both the invoice['date'] and the invoice['new_date'] variables myself. The invoice['date'] variable ought to be defined somewhre else?