31,003
edits
m (→Invoice module) |
m (→Global options) |
||
| Line 76: | Line 76: | ||
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Hide all information about VAT on generated documents. | * MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Hide all information about VAT on generated documents. | ||
* MAIN_OPTIMIZE_SPEED => Use some speed enhancements, | * MAIN_OPTIMIZE_SPEED => Use some speed enhancements. | ||
If value of constant has bit 0 set, Dolibarr will use the minifying and compressed version of javascript. Apache server must be configured to have the line | |||
<source lang="ini"> | |||
AddType text/javascript .jgz | |||
AddEncoding gzip .jgz | |||
</source> | |||
* 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_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. | ||