dolibarr/htdocs/fichinter
Charlène Benke d1e0efc466
NEW Add getcontacts on api of interventional and proposal (#35589)
* 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>
2025-10-04 20:01:57 +02:00
..
admin Standardize code 2025-08-10 03:22:19 +02:00
class NEW Add getcontacts on api of interventional and proposal (#35589) 2025-10-04 20:01:57 +02:00
stats Qual: Fix phan notices (compta/prel..fichinter) (#33485) 2025-03-19 15:21:48 +01:00
tpl NEW dol_sort_array can be used with 2 sorting criteria. 2025-09-15 19:28:38 +02:00
agenda.php Fix CI warnings 2025-08-07 14:38:30 +02:00
card-rec.php QUAL: Removed deprecated properties user_valid, user->creation, 2025-09-21 14:58:38 +02:00
card.php Update project selection with additional parameters (#35542) 2025-09-29 23:19:04 +02:00
contact.php verify if file exists before trying to include (#35548) 2025-09-29 20:42:44 +02:00
document.php Standardize code 2025-08-07 13:42:11 +02:00
index.php NEW implement box on product and interventional index page (#34629) 2025-07-18 03:01:36 +02:00
list.php UIUX - More intuitive select table (#35485) 2025-09-28 01:21:40 +02:00
note.php Standardize code 2025-08-07 13:42:11 +02:00