* NEW: PDF add total discount if line discount exists
* NEW: PDF add total discount if line discount exists
* NEW: PDF add discount total if line discount exists
* NEW: PDF add discount total if line discount exists
* NEW: PDF add discount total if line discount exists
* NEW: PDF add discount total if line discount exists
* php doc
* Add missing translation
* fix missing translation
* Fix ajax selectobject with commonobjectline objects
* Clean code : put in another branch
* Parent element defined for CommonObjectLines
* Clean code
* Clean code
* Parent element defined for CommonObjectLines
* Parent element defined for CommonObjectLines
* Clean code
* getElementProperties for commonObjectLines
* Remove changes to split into multiple PRs
* fix mistake in previous commit
* fix mistakes (thanks pre-commit)
* fix mistakes (thanks again pre-commit)
* Update html.form.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Qual: Fix phpstan notices (int expected)
Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
Fix pdf_build_address function to use company address information should the contact information be empty.
This could occurs should a user define a hook that sets the contact object to null from the passed by reference $Parameters['targetcontact']
* ADD: Management of extrafields on customer prices, level prices and default prices
* ADD: sql table for managing extrafields on customer prices, level prices and default prices
* FIX: Add actions to update, add, delete extrafields and display extrafield
* FIX: colspan for customer price table
* ADD: Management of extrafields on customer prices
* FIX: Value and search for price label
* ADD: name in the files
* FIX: *
* FIX: PHP-cs fail
* FIX: comment in english, please
* FIX: variable naming and testing
* FIX: GETPOST array
* FIX: return is an array of strings, object array will be modified as well
* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too
* FIX: do not mess with extrafields code and value
* Update llx_product_customer_price_extrafields.sql
* Update llx_product_price_extrafields.sql
* FIX: whooopsie
* FIX: PHP warnings
---------
Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
* Qual: Fix ticket.class notices
* Do not analyze custom
* Fix: Correct reference to cache (+phpdoc)
* Update baseline, ignore everything in custom
* Qual: Fix notices in files related to ticket class
* NEW 21.0 - tab on recurring invoice card to see the list of invoices generated from this recurring invoice (customer and supplier invoices)
* tab on recurring invoice card: missing url param in $param
* tab on recurring invoice card: stronger typing for phpstan compliance
* tab on recurring invoice card: wrong typing in phpdoc of supplier_invoice_rec_prepare_head