* Fix incorrect total discount (missing loop after GROUP BY query)
* Make phpcs happy
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix incorrect total discount (missing loop after GROUP BY query)
* Make phpcs happy
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Refactor stock SQL query logic to enhance readability, support hook extensibility, and maintain DRY principles.
* Pass `$object` and `$action` to hookmanager in stock listing queries for improved hook extensibility.
* NEW Accountancy - Add accounting for discounts - Update menu
* NEW Accountancy - Add accounting for discounts - Setup
* NEW Accountancy - Add accounting for discounts - Language
* NEW Accountancy - Add accounting for discounts - Setup
* NEW Accountancy - Add accounting for discounts - Language
* NEW Accountancy - Add accounting for discounts - Function
* FIX CI
* FIX CI
* Fix CI
* FIX CI
* mostly updating fetch with all the fields and adding 2 missing variables
* adding throw RestException numbers, @url and a test for if you try with id=0
* Adding hurl file that do some testing og warehouses API endpoints
* Class for API prevented ever seeing model_pdf in API json
* Check for auth before doing other tests on the request
* New function list Products in warehouse. Work done by defrance, revived by JonB
* API PUT/update now allows for more database fields
* hurl tests for the new list products in warehouse endpoint
* also rejecting warehouse_id in a post
* pre-commit fix api warehouses
* copy paste error from api_usergroup
* Just return the lines, no cleaning needed
* PHAN fixes
* trying to fix PHAN error
* fix api update so it returns error when error, and fix object->update with import_key
* this->db not global db
* Advice from hregis
* Typo this d not dB
* Array of strings
* Changed listProducts in warehouse, uses api_product->get with variables from that
* hurl tests for API warehouses, and the new function get products in warehouse
* some STAN fixes
* more phan fixes
* changes revealed necessary by hurl testing
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* Add color column to llx_usergroup table
* Add color column to llx_usergroup table
* Add color property to user group class
* Add color attribute to user group card
* Add ColorGroup translation to users.lang
* Add ColorGroup translation in French language file
* Fix SQL syntax for adding color column in llx_usergroup
* Fix SQL syntax for adding color column in llx_usergroup
* Fix color column addition in llx_usergroup table
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* donation use captcha setup
* donation use captcha setup
* member use captcha setup
* member use captcha setup
* member use captcha setup
* member use captcha setup
* member use captcha setup
* ticket use captcha setup
* ticket use captcha setup
* clean
* clean
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* add fetchAll in abstract class commondict
* clean code