Line 23:
Line 23:
If you add a delay (nb of days), only invoice with due date < today + delay are included.
If you add a delay (nb of days), only invoice with due date < today + delay are included.
+
+
The emails sent will looks like this by default:
+
<pre>
+
List of unpaid invoices
+
+
This list contains only invoices for third parties you are linked to as a sales representative.
+
+
Invoice FA1303-0017 : 100 euros : The great company
+
+
Total = 100
+
</pre>
+
+
However you can set option SCRIPT_EMAIL_UNPAID_INVOICES_HEADER and SCRIPT_EMAIL_UNPAID_INVOICES_FOOTER to change content of email that is before
+
and after list of invoices (html accepted).
= Tables used/Tables utilisées/Tablas utilizadas =
= Tables used/Tables utilisées/Tablas utilizadas =