Commit Graph

148952 Commits

Author SHA1 Message Date
Laurent Destailleur
f38eee5e49 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 13:58:40 +01:00
Laurent Destailleur
98382cb0bb Look and feel v23 2025-11-07 13:58:21 +01:00
Laurent Destailleur
87d69d6a0b Look and feel v23 2025-11-07 13:26:14 +01:00
Jessica-creat
3a4b11b824 NEW add timespent API endpoints for projects and tasks add also cascading assignment of contacts to tasks (#35897)
* 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>
2025-11-07 00:09:14 +01:00
Vincent Maury
3284835892 Fix #35428 retained_warranty_date_limit not recorded (#36141)
* 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>
2025-11-06 19:03:20 +01:00
Alexandre SPANGARO
20af12a806 FIX #36090 Accountancy - Inconsistent date on various journal (#36105)
* FIX #36090 Accountancy - Inconsistent date on various journal

* FIX CI

* Update
2025-11-06 17:25:18 +01:00
Alexandre SPANGARO
af4630c456 Typo (#36123) 2025-11-06 17:11:02 +01:00
sonikf
beddd5152a Add missing fk_project (#36128) 2025-11-06 17:10:28 +01:00
Frédéric FRANCE
ccc5707146 phpstan doc (#36129)
* phpstan doc

* Update html.form.class.php
2025-11-06 17:09:52 +01:00
sonikf
dc4a28cd0b NEW Add option to create standalone reception (#36134)
* Enable create menu for standalone reception

* Enable create menu for standalone reception

* Add Reception date

* Add option to create standalone reception

* fix pre-commit
2025-11-06 17:09:36 +01:00
sonikf
88241b30de NEW Add option to create simple standalone shipment of non origin (#35651)
* 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>
2025-11-06 13:13:36 +01:00
Laurent Destailleur
c19f86a4bf Debug v23 2025-11-06 11:44:40 +01:00
Laurent Destailleur
1d2d7f04f2 Debug v23 2025-11-06 11:04:10 +01:00
Laurent Destailleur
2f898ff188 Debug v23 2025-11-06 10:50:31 +01:00
Laurent Destailleur
a1bc0dc27c css 2025-11-06 03:56:06 +01:00
Laurent Destailleur
b7213f0797 CSS 2025-11-06 03:48:31 +01:00
Laurent Destailleur
2e2ba8e144 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-06 03:10:30 +01:00
Laurent Destailleur
50ee4e2d72 CSS 2025-11-06 03:07:06 +01:00
Laurent Destailleur
3107435574 css 2025-11-06 03:03:50 +01:00
labiloute
382bc4e80e FIX: fetch LDAP members in LDAP sync sync_groups_ldap2dolibarr.php (#36117)
* FIX: Add missing left join to filter by extrafields (#36092)

Co-authored-by: Noé <noe@scopen.fr>

* FIX: fetch LDAP members in LDAP sync sync_groups_ldap2dolibarr.php

* Fix boolean parameter casing in fetch method

---------

Co-authored-by: noec764 <58433943+noec764@users.noreply.github.com>
Co-authored-by: Noé <noe@scopen.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-06 02:13:19 +01:00
Charlène Benke
c3f8a2b2e6 NEW add api List VAT (#35920)
* 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>
2025-11-06 02:11:37 +01:00
Charlène Benke
933eeb7474 NEW : Implement listTimespent method in api_projects.class.php (#36093)
* 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
2025-11-06 02:10:53 +01:00
Laurent Destailleur
2c67389686 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-05 23:27:43 +01:00
Laurent Destailleur
19c6fb6f9b Fix categories 2025-11-05 23:27:31 +01:00
Charlène Benke
e5f71cd278 NEW Add contact tab on product service (#35914)
* 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
2025-11-05 22:50:38 +01:00
Laurent Destailleur
19ddd6e13a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-05 22:45:16 +01:00
Laurent Destailleur
5ff71267eb Fix regression 2025-11-05 22:45:05 +01:00
Vincent Maury
ba3603d5c9 NEW Show cron last result and output in info (#36028)
* 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
2025-11-05 22:37:13 +01:00
Jon Bendtsen
31cc6a702a NEW qual fixes on api contract (#36066)
* 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>
2025-11-05 22:35:25 +01:00
Frédéric FRANCE
36e90ab14e clean code (#36103)
* clean code

* Update card.php
2025-11-05 22:31:26 +01:00
Nasser
62eafb914a NEW: Currency for the Democratic Republic of Congo added. (#36104)
* NEW: Currency for the Democratic Republic of Congo added.

* FIX: Capitalize the first letter

* FIX: Adding Unicode.
2025-11-05 22:31:08 +01:00
Frédéric FRANCE
2cd881988e clean code (#36102)
* clean code

* Update bookmark.class.php
2025-11-05 22:26:54 +01:00
Laurent Destailleur
26c79375f1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-05 22:25:42 +01:00
Laurent Destailleur
afd9a21c16 Migration 2025-11-05 22:25:07 +01:00
Frédéric FRANCE
3a8b82ec0e clean workstation setup (#36100)
* clean workstation setup

* clean workstation setup

* clean setup
2025-11-05 22:24:02 +01:00
sonikf
39fa4dd720 New function to set reception date (#36101) 2025-11-05 22:23:24 +01:00
github-actions[bot]
0411367b8a PHPStan > Update baseline (#36108)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-05 22:22:43 +01:00
atm-lena
4e67dd3a81 Payment Mode for Thirdparty : Move tinyint to smallint (#36114)
* M

* Update 22.0.0-23.0.0.sql

* Change mode_reglement type from smallint to integer

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-05 22:19:57 +01:00
Frédéric FRANCE
59789a8f02 add class_element_line (#36115) 2025-11-05 22:18:02 +01:00
Laurent Destailleur
4e001e0fba Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-05 22:16:44 +01:00
Laurent Destailleur
9cc747d020 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-05 22:13:35 +01:00
Laurent Destailleur
f20b847197 Fix output textarea 2025-11-05 22:13:25 +01:00
Laurent Destailleur
ed734ffeb9 Debug v23 2025-11-05 21:45:50 +01:00
Laurent Destailleur
37a0918393 CSS 2025-11-05 21:37:27 +01:00
Laurent Destailleur
4d2aea5ed7 CSS 2025-11-05 21:29:23 +01:00
Laurent Destailleur
6df93d0fb9 Debug v23 2025-11-05 21:24:19 +01:00
Laurent Destailleur
c5cf6f58a6 Doc 2025-11-05 20:47:14 +01:00
Laurent Destailleur
85ceba6b36 Add module name in tooltip 2025-11-05 20:04:49 +01:00
Laurent Destailleur
361a88a1c5 Add field email_sent_counter 2025-11-05 19:43:27 +01:00
Laurent Destailleur
0e3fdfe204 Add option MAIN_SETUP_MODULES_DESC 2025-11-05 15:42:33 +01:00