2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/modulebuilder
Mathieu Schiffmann b9946cef4a NEW #33506 Add a constant to apply a ratio to resize images in ODT templates (#33543)
* CLOSE #33506 add a constant holding the ratio to resize images in ODT templates

A new Dolibarr constant 					MAIN_DOC_ODT_IMAGE_RATIO
is taken in consideration for ODT templates.
This constant holds a number that is multiplied when computing the size of images in ODT templates.
All doc_generic_*_odt_modules.php files have been updated to call the setImage Method with a new parameter $ratio
The method setImage in the file odt.php has been modified to have a new parameter $ratio and use it to compute the image size

* FIX #33506 wrong branch

some other files needed to be changed in the develop branch

* FIX #33506 PR errors fixed

* FIX #33506 codesniffer errors fixed

* QUAL #33506 completed method comment
2025-03-24 16:41:00 +01:00
..
2024-11-19 21:02:05 +01:00
2025-02-27 11:40:42 +01:00

Module Builder

This is a module to provide embedded tools to develop your own application/features inside Dolibarr ERP CRM software. It provides tools for module developers to kickstart their project and give an hands-on sample of which features Dolibarr has to offer for module development.

If you don't need to develop your own module/application, you just don't need this.

After enabling this module, you should find features to generate or edit modules/application from menu Home - Tools - Module builder

Documentation

Module tutorial

Dolibarr development