Line 14:
Line 14:
= Syntax/Syntaxe/Sintaxis =
= Syntax/Syntaxe/Sintaxis =
+
To run the script, go into the directory with script file and just type the php file as a command name:
+
<source lang="bash">
+
rebuild_merge_pdf.php
+
</source>
+
If you get an error "File not found" or "Permission denied", try to launch the command by adding php or php-cli (with or without full path of php command) before the script name
+
<source lang="bash">
+
php rebuild_merge_pdf.php
+
/usr/bin/php-cli rebuild_merge_pdf.php
+
</source>
+
To build/merge PDF for invoices with at least one payment in a date range, use parameter filter=payments (dates should have format YYYYMMDD):
To build/merge PDF for invoices with at least one payment in a date range, use parameter filter=payments (dates should have format YYYYMMDD):
<source lang="bash">
<source lang="bash">