Changes

m
no edit summary
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
 
|modulename=concatpdf
 
|modulename=concatpdf
|editor=NLTechno
+
|editor=DoliCloud
|web=[http://www.nltechno.com www.nltechno.com]
+
|web=[https://www.dolicloud.com www.dolicloud.com]
 
|webbuy={{LinkToPluginDownloadDoliStore|keyword=concatpdf}}
 
|webbuy={{LinkToPluginDownloadDoliStore|keyword=concatpdf}}
 
|status=stable
 
|status=stable
 
|prerequisites=
 
|prerequisites=
|minversion=3.2.0
+
|minversion=16.0.0
 
|note=
 
|note=
 
}}
 
}}
Line 17: 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 31: Line 49:  
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.
 
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.
   −
[[File:Screen shot concatpdf 2.png|400px]]
+
<div class="divforimgcentpercent">
 +
[[File:Screen shot concatpdf 2.png]]
 +
</div>
 +
 
 +
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...
   −
With Dolibarr 3.4 or higher, check also that option "Protection of generated pdf (Enabling NOT recomanded, disable feature of PDF mass generation)" is disabled into '''Setup - PDF'''.
+
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.
 
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.
   −
[[File:Screen shot concatpdf.png|400px]]
+
<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.