Difference between revisions of "Script rebuild merge pdf.php"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
= Syntax/Syntaxe/Sintaxis = | = Syntax/Syntaxe/Sintaxis = | ||
− | To build/merge PDF for invoices with at least one payment in a date range: | + | To build/merge PDF for invoices with at least one payment in a date range, use parameter filter=payments: |
<source lang="bash"> | <source lang="bash"> | ||
− | + | rebuild_merge_pdf.php filter=payments dateafter datebefore [lang=langcode] | |
</source> | </source> | ||
− | To build/merge PDF for invoices | + | To build/merge PDF for invoices in a date range: |
<source lang="bash"> | <source lang="bash"> | ||
− | + | rebuild_merge_pdf.php filter=date dateafter datebefore [lang=langcode] | |
</source> | </source> | ||
To build/merge PDF for all invoices, use filter=all | To build/merge PDF for all invoices, use filter=all | ||
<source lang="bash"> | <source lang="bash"> | ||
− | + | rebuild_merge_pdf.php filter=all | |
</source> | </source> | ||
To build/merge PDF for invoices with no payments, use filter=nopayment | To build/merge PDF for invoices with no payments, use filter=nopayment | ||
<source lang="bash"> | <source lang="bash"> | ||
− | + | rebuild_merge_pdf.php filter=nopayment | |
</source> | </source> | ||
− | To exclude credit notes, use | + | To exclude credit notes, use |
<source lang="bash"> | <source lang="bash"> | ||
− | filter=nocreditnote | + | rebuild_merge_pdf.php filter=nocreditnote |
</source> | </source> | ||
− | To exclude replacement invoices, use | + | To exclude replacement invoices, use |
<source lang="bash"> | <source lang="bash"> | ||
− | filter=noreplacement | + | rebuild_merge_pdf.php filter=noreplacement |
</source> | </source> | ||
− | To exclude deposit invoices, use | + | To exclude deposit invoices, use |
<source lang="bash"> | <source lang="bash"> | ||
− | filter=nodeposit | + | rebuild_merge_pdf.php filter=nodeposit |
</source> | </source> | ||
Revision as of 18:38, 17 November 2011
Feature/Fonction/Funcionalidad
This script is used to build one PDF that contains several PDF.
Ce script fabrique un fichier PDF à partir d'autres fichiers PDF.
Este script crea un fichero PDF a partir de otros ficheros PDF.
Localisation/Localización
- /dolibarr/htdocs/scripts/invoices/rebuild_merge_pdf.php
Syntax/Syntaxe/Sintaxis
To build/merge PDF for invoices with at least one payment in a date range, use parameter filter=payments:
rebuild_merge_pdf.php filter=payments dateafter datebefore [lang=langcode]
To build/merge PDF for invoices in a date range:
rebuild_merge_pdf.php filter=date dateafter datebefore [lang=langcode]
To build/merge PDF for all invoices, use filter=all
rebuild_merge_pdf.php filter=all
To build/merge PDF for invoices with no payments, use filter=nopayment
rebuild_merge_pdf.php filter=nopayment
To exclude credit notes, use
rebuild_merge_pdf.php filter=nocreditnote
To exclude replacement invoices, use
rebuild_merge_pdf.php filter=noreplacement
To exclude deposit invoices, use
rebuild_merge_pdf.php filter=nodeposit
Example:
rebuild_merge_pdf.php filter=payments 20080101 20081231 lang=fr_FR
rebuild_merge_pdf.php filter=all lang=it_IT