Script email unpaid invoices to representatives.php: Difference between revisions

Jump to navigation Jump to search
Line 15: Line 15:
= Syntax/Syntaxe/Sintaxis =
= Syntax/Syntaxe/Sintaxis =
<source lang="bash">
<source lang="bash">
php email_unpaid_invoices_to_representatives.php now
php email_unpaid_invoices_to_representatives.php [test|confirm] [delay]
</source>
</source>
This script send an email to users to remind all unpaid invoices of customers they are sale representative for.
If you choose 'test' mode, no emails are sent.
If you add a delay (nb of days), only invoice with due date < today + delay are included.


= Tables used/Tables utilisées/Tablas utilizadas =
= Tables used/Tables utilisées/Tablas utilizadas =

Navigation menu