* demande d'ajout timespent
* feat(api): add timespent endpoints for projects and tasks
* add contact to product
* correction prettier
* revert
* feat(api): update timespent endpoints in api_projects and api_tasks
* Update api_projects.class.php
* Remove blank line before docblock in api_tasks.class.php
Removed unnecessary blank line before the docblock for the get contacts method.
* Update api_tasks.class.php
* Clarify return type in api_projects.class.php
Updated return type annotation for contact information array.
* Refine return type in get timespent method
Updated return type annotation for timespent method.
* Return raw contacts instead of cleaned data
* Update api_projects.class.php
* Return contacts array instead of cleaned data
Modified the return value to return the contacts array directly instead of cleaned data.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix#35428 retained_warranty_date_limit not recorded
* Fix#35428 retained_warranty_date_limit not recorded
---------
Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
* Enable create menu for standalone reception
* Enable create menu for standalone reception
* Add Reception date
* Add option to create standalone reception
* fix pre-commit
* NEW Add option to create simple shipment of non origin
* Enable create menu for shipment
* Enable create menu for shipment
* Update sendings.lang
* fix phpstan
* fix syntax
* fix missing line
* Add validation for socid and update note display
* fix project
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW add api List VAT
Enhance getListOfVAT method with SQL filters and pagination.
* Update parameter type for fk_country in docblock
* Ensure integer casting for SQL parameters
Cast variables to integers for SQL query safety.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Implement listTimespent method in api_projects.class.php
Added a new method to retrieve all timespent data with filtering options (with filter, sort, ...)
* Fix comment formatting and improve listTimespent method
* Fix comment formatting and adjust function definition
* Refactor response structure for pagination data
* Initialize obj_ret as an empty array
* Add contact tabs on product
* add contact type for product
* Implement contact management in contact.php
Add contact management functionality for products
* Insert product and service contact types
Added new contact types for products and services.
* Add help URL for product notes
phpstan alert
* Show cron last result and output in info
From now, last output and last result of a cron are only displayed in cron's list, and output isn't very convenient to read
This PR adds last output and last result in cron's info page
* Use dolPrintHTML to output the messages
* QUAL: API contract: RestException update, check if thirdparty exists before creating contract
* using the entity of this contract
* Safer usage of getEntity
* using global ->entity
* testing if create with socid=0 should fail
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>