* Manage STOCK_MUST_BE_ENOUGH_FOR_(PROPAL|ORDER|INVOICE) with new attribute stockable_product
* Use static properties for product types. Controle product type service.
* simpler condition for STOCK_MUST_BE_ENOUGH_FOR_PROPOSAL
* Add hook manager support for appending custom filter clauses across various SQL queries.
* Add hook manager support for custom SQL filters across multiple modules.
* Remove obsolete test code from api_proposals.class.php
* Remove unnecessary blank lines in card.php
* Remove unnecessary blank lines in card.php
* Remove unused object initialization and 'boxcode' parameter in product class
* Update api_proposals.class.php
* Initialize hooks for order API access
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix#35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)
* Fix#35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)
* Fix#35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)
* Fix#35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)
* Fix#35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)
* Update commonobject.class.php
* Refactor checkActiveProductInLines method
* Fix comment formatting in commonobject.class.php
* Update commonobject.class.php
---------
Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add dol_buildurl with examples of use
* add dol_buildurl with examples of use
* add dol_buildurl with examples of use
* add dol_buildurl with examples of use
* wip
* wip
* add more example
* add more example
* add more example
* add more example
* add more example
* add more example
* add more example
* add example
* add example
* add example
* add example
* add example
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* stay in the same area even we are on other area in other tab
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* add example
* add example
* add example
* add example
* add example
* add example
add example
add example
add example
add example
* add example
* add example
add example
add example
add example
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* fix
* wip
* wip
* clean code
* Add getContacts method to retrieve contact information
* Implement getContacts method for proposals
Added a method to retrieve contacts associated with a proposal, including access checks and data cleaning.
* Implement getContacts method for invoices
Added a method to retrieve contacts associated with a specific invoice, including access checks and error handling.
* Update api_proposals.class.php
* Update api_invoices.class.php
* Update api_interventions.class.php
* Update api_interventions.class.php
* Add method to set invoice as draft
* Return contacts directly instead of cleaned data
* Return raw contacts instead of cleaned data
* Combine external and internal contacts in order list
Merge external and internal contacts for orders.
* Change return type from Object to array in API doc
Updated return type in API documentation for contact information.
* Change return type in api_orders.class.php docblock
Updated return type in docblock to reflect array return.
* Change return type from Object to array in API doc
* Update api_orders.class.php
* Update api_interventions.class.php
* Update api_proposals.class.php
* Update api_orders.class.php
* Update api_interventions.class.php
* Update api_interventions.class.php
* Update api_interventions.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
* add country and custom code in fetch line
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* contact deletion in api_orders class for internal and external
* Update api_orders.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fix CI
* fix
* Qual: Fix newly appeard phan notices
# Qual: Fix newly appeard phan notices
Fix notices that appearce sin a previous phan report - some of these
notices are masked by the current baseline.
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic.france@free.fr>
* fix: divided by zero with customer packaging
* fix: divided by zero with customer packaging
* fix: divided by zero with customer packaging
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Add thirdparty search on api list
this change allow to seach element with filter on thirdparty (ex : list of bill of with name of thidparty)
* Update api_orders.class.php
* Update api_invoices.class.php
* Update api_contracts.class.php
* Update api_shipments.class.php
* Update api_interventions.class.php
* Update api_projects.class.php
* Update api_tickets.class.php
* Update api_tickets.class.php
* Update api_projects.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>