Line 1:
Line 1:
+
<!-- BEGIN origin interlang links -->
+
<!-- You can edit this section but do NOT remove these comments
+
Links below will be automatically replicated on translated pages by PolyglotBot -->
+
[[fr:Module_Concat_PDF_FR]]
+
[[es:Módulo_Concat_PDF]]
+
<!-- END interlang links -->
+
[[Category:Complementary modules]]
[[Category:Complementary modules]]
[[Category:ConcatPDF]]
[[Category:ConcatPDF]]
−
{{TemplateDocDev}}
+
[[Category:NLTechno]]
+
{{TemplateDocDevEn}}
{{TemplateDocUser}}
{{TemplateDocUser}}
= Informations =
= Informations =
{{TemplateModuleInfo
{{TemplateModuleInfo
−
|editor=NLTechno ([http://www.nltechno.com www.nltechno.com])
+
|modulename=concatpdf
−
|web={{LinkToPluginDownloadDoliStore|keyword=concatpdf}}
+
|editor=DoliCloud
+
|web=[https://www.dolicloud.com www.dolicloud.com]
+
|webbuy={{LinkToPluginDownloadDoliStore|keyword=concatpdf}}
|status=stable
|status=stable
|prerequisites=
|prerequisites=
−
|minversion=3.2.0
+
|minversion=16.0.0
|note=
|note=
}}
}}
Line 15:
Line 25:
= Features =
= Features =
Allow to merge some PDF documents to the generated PDF files. For examle, to add your conditions and terms into the PDF of an order, or to add a catalog of product into commercial proposals PDFs.
Allow to merge some PDF documents to the generated PDF files. For examle, to add your conditions and terms into the PDF of an order, or to add a catalog of product into commercial proposals PDFs.
+
+
Objects that are supported:
+
* Customer proposals
+
* Customer orders
+
* Customer invoices
+
* Supplier proposals
+
* Supplier orders
+
* Supplier invoices
+
* Contracts
= Prerequisites =
= Prerequisites =
−
Dolibarr 3.2.0 or more.
+
+
The PDF document you want to concat can be any PDF version until 1.7.
= Installation =
= Installation =
Line 27:
Line 47:
'''Setup page specific to module:'''
'''Setup page specific to module:'''
−
Into the setup page dedicated to module, add file system paths where you store the PDF you want to include into generated documents.
+
Into the setup page dedicated to module, you will see name of directory where to store you PDF to concat. You will also have an upload form to upload from this screen the PDF you want to include into generated documents.
+
+
<div class="divforimgcentpercent">
+
[[File:Screen shot concatpdf 2.png]]
+
</div>
−
[[File:Screen shot concatpdf 2.png|400px]]
+
Check also that option "Protection of generated pdf (Enabling NOT recomanded, disable feature of PDF mass generation)" is disabled into '''Setup - PDF'''.
+
+
'''Other options'''
+
+
* You can also enable the option to concat several files in the setup page of module.
+
+
* You can also set the option '''CONCATPDF_PRESELECTED_MODELS''' to have a particular pdf document preselected by default into the combo box (and so automatically added).
+
+
Syntax to use is: CONCATPDF_PRESELECTED_MODELS='''proposal''':filename1,filename2;...;'''supplier_order''':filename4...
+
+
Note that filenamex is name of PDF file without ".pdf". Note also that keyword to use is :
+
'''proposal''' for proposals
+
'''order''' for sale orders
+
'''invoice''' for invoices
+
'''supplier_proposal''' for proposals
+
'''supplier_order''' for purchase orders
+
'''supplier_invoice''' for supplier invoices
= Usage =
= Usage =
+
If you made previous step, you see a new combo list into page of element (invoice, proposal or order) with all submitted PDF documents to merge.
+
+
<div class="divforimgcentpercent">
+
[[File:Screen shot concatpdf.png]]
+
</div>
+
Before clicking on button "Generate" to build a PDF document, select your static PDF file to add.
Before clicking on button "Generate" to build a PDF document, select your static PDF file to add.
−
Addition is done at the end of the generated PDF.
+
Addition is done at the end of the new generated PDF.
= Development =
= Development =
{{TemplateModNLTechnoEn}}
{{TemplateModNLTechnoEn}}