Commit Graph

8 Commits

Author SHA1 Message Date
alain.cisirika
edc077c1a4 FIX #36624 SQL syntax error when adding line to intervention 2025-12-12 15:15:56 +02:00
Charlène Benke
3ddbcf8d9e Continue Implement new title line addition for subtotals on interventional (#36376)
* 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
2025-11-24 19:47:07 +01:00
Charlène Benke
b45ee47907 NEW : add product_type field on fichinter (preparing subtotal) (#36196)
* 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>
2025-11-19 15:27:26 +01:00
Frédéric FRANCE
24bd6d918a clean code (#35183)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-02 22:46:55 +02:00
yannis
2418489d1c Fix typo 2025-03-03 17:08:04 +01:00
yannis
3519174adf Added retrieving extraparams for some object lines 2025-03-03 16:57:32 +01:00
Laurent Destailleur
b45811b356 Removed not used property 2024-10-24 01:26:53 +02:00
William Mead
5f7f0b2e3c Qual isolate FichinterLigne class to separate file (#30784)
* Moved FichinterLigne class to separate file

* Fixed class properties PHPDoc

* Updated PHPDoc

* Fixed author id usage

* Fixed user author id

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-29 17:39:17 +02:00