Script rebuild merge pdf.php

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search

Feature/Fonction/Funcionalidad

En verysmall.png This script is used to build one PDF that contains several PDF.

Fr verysmall.png Ce script fabrique un fichier PDF à partir d'autres fichiers PDF.

Es verysmall.png 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:
Usage:   rebuild_merge_pdf.php filter=payments dateafter datebefore [lang=langcode]
To build/merge PDF for invoices ina date range:
Usage:   rebuild_merge_pdf.php filter=date dateafter datebefore [lang=langcode]
To build/merge PDF for all invoices, use filter=all
Usage:   rebuild_merge_pdf.php filter=all
To build/merge PDF for invoices with no payments, use filter=nopayment
Usage:   rebuild_merge_pdf.php filter=nopayment
To exclude credit notes, use filter=nocreditnote
To exclude replacement invoices, use filter=noreplacement
To exclude deposit invoices, use filter=nodeposit

Example: rebuild_merge_pdf.php filter=payments 20080101 20081231 lang=fr_FR
Example: rebuild_merge_pdf.php filter=all lang=it_IT

Tables used/Tables utilisées/Tablas utilizadas