Setup Other: Difference between revisions

Jump to navigation Jump to search
Line 62: Line 62:
* MAIN_INPUT_DESC_HEIGHT => Number of lines in input area of product lines when editing invoices, proposals, orders, ...
* MAIN_INPUT_DESC_HEIGHT => Number of lines in input area of product lines when editing invoices, proposals, orders, ...


== PDF Options ==
== Module Tiers ==
* MAIN_DISABLE_FORCE_SAVEAS => If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser.
* SOCIETE_DISABLE_PROSPECTS => Remove all menu and features related to prospects
 
* MAIN_DISABLE_PDF_COMPRESSION => Disable PDF compression.
 
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Hide all information about VAT on generated documents.
 
* MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files.
 
* MAIN_INVERT_SENDER_RECIPIENT =>  Invert sender and recipient in some PDF.
 
* MAIN_PROFIDx_IN_ADDRESS => Show the professional ID number x in address on PDF documents. You must replace x by 1,2,3 or 4.


== Commercial proposal module ==
== Commercial proposal module ==
Line 105: Line 95:
== Foundation module ==
== Foundation module ==
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.
== PDF Options ==
* MAIN_DISABLE_FORCE_SAVEAS => If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser.
* MAIN_DISABLE_PDF_COMPRESSION => Disable PDF compression.
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Hide all information about VAT on generated documents.
* MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files.
* MAIN_INVERT_SENDER_RECIPIENT =>  Invert sender and recipient in some PDF.
* MAIN_PROFIDx_IN_ADDRESS => Show the professional ID number x in address on PDF documents. You must replace x by 1,2,3 or 4.

Navigation menu