* qual: Update french texts (comments) to english
* Qual: Update comment to english in card-rec.php and card.php
Translation of comments in the files card-rec.php and card.php.
* Qual: Translate comments to English
* Qual: Translate comments to English
* Fix space into tab
* Fix spelling
* Qual: Translate comments to English
* Update website.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Added a new parameter 'source' to the getContacts method to filter contacts based on their source (internal or external). Updated the method to handle the new parameter appropriately.
propose to add this feature on all getContacts method.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Implement new title line addition for subtotals
Added functionality to handle adding a new title line for the subtotals module, including input processing and document generation.
* Add parameters to addline method in fichinter class
* Add special_code to fichinterligne class
* Update copyright notices in commonsubtotal.class.php
Added copyright notice for Charlene Benke for 2025.
* Remove extra blank line in fichinterligne.class.php
* Change special_code to be an integer in SQL query
* Refactor intervention detail display logic
Refactor code for better readability and maintainability by removing duplicate lines and organizing the logic for displaying intervention details.
* Decode extraparams to get subtotal options
* Change default value of special_code to 0
* add CommonSubtotal usage on fichinter class
* Add 'fichinter' to element check in subtotal_create
* Implement subtotal line addition in card.php
Added functionality to handle subtotal lines in the card.
* Update card.php
* Update permission checks for intervention module
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW : add product_type field on fichinter (preparing subtotal)
Added product_type to SQL queries for fetch, insert, and update methods.
field already present on table, so let start add subtotal on interventionals
* Update fichinterligne.class.php
* Update copyright information in card-rec.php
Updated copyright year and name for Charlie Benke.
* Update fichinterligne.class.php
* Update fichinterligne.class.php
* Update fichinterligne.class.php
* Update fichinterligne.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* 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>
* NEW Add hook initialization for interventions API
the goal is to enhance the search function on the api (by sample add linked contact or user name)
* Clean up whitespace in api_interventions.class.php
* Fix parameter reference in executeHooks call
* Update api_interventions.class.php
* Update action name in API intervention hooks
* Add 'apimethod' to parameters in API hook
* Update api_interventions.class.php
* Update api_interventions.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* intervencions api call dont show the objects relations
Fixes#35362
* feat: add loadlinkedobjects parameter to control linked object loading in interventions API
thank you for the recomendarion @eldy !!!!
* 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>
* Fixed PHPDoc
* Added an array of contact ids to get and index methods
* Adjusted contact_type parameter to empty by default
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>