439
edits
(→Implementing the change of price in the Dolibarr interface: Added paths of template files for Dolibarr 3.2 and 3.1) |
|||
| Line 408: | Line 408: | ||
== Implementing the change of price in the Dolibarr interface == | == Implementing the change of price in the Dolibarr interface == | ||
Unluckily there is not (yet) any hooking context to modify how lines of products/services are printed, thus the only thing you can do is directly edit the '''template file''' | Unluckily there is not (yet) any hooking context to modify how lines of products/services are printed, thus the only thing you can do is directly edit the '''template file''' and manually put inside your code to load your custom field and print it the way you want using HTML formatting, for our example: | ||
* For Dolibarr 3.3 and above, edit the file '''htdocs/core/tpl/objectline_view.tpl.php''' | * For Dolibarr 3.3 and above, edit the file '''htdocs/core/tpl/objectline_view.tpl.php''' | ||
edits