804 Commits

Author SHA1 Message Date
Francis
5180d59fc3 Update visibility logic for individual and professional lines (#36449)
Hi
It is a long time that I modify my Dolibarr to erase some items which are not interesting for individual customer...
I decided to post my solution !!!
A css class call professionalline to allow to erase some items !
A simple switch show/hide...
Francis
2026-01-16 11:29:41 +01:00
Laurent Destailleur
8149b907a3 Debug v23 2026-01-10 14:06:10 +01:00
Laurent Destailleur
898a2a21bb Debug v23 2025-12-28 00:07:18 +01:00
Laurent Destailleur
14eab317ef Fix formatting and add new line in card.php 2025-12-01 14:08:11 +01:00
Laurent Destailleur
ca30a6d692 Update card.php 2025-12-01 14:07:28 +01:00
Francis
7b2ceaf177 Add default supplier type handling in card.php in creation mode 2025-11-30 12:11:16 +01:00
Francis
190da9cb8c Add default supplier type handling in card.php in creation mode
Hi
By default supplier is a professional in creation mode.
2025-11-30 12:01:46 +01:00
Frédéric France
4a42d5d8bc add more 2025-11-28 19:52:10 +01:00
Laurent Destailleur
f05f5af59e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-18 11:38:31 +01:00
Laurent Destailleur
61a849090b Close #36298 2025-11-18 11:36:45 +01:00
Laurent Destailleur
3badbe94ab Debug v23 2025-11-18 03:12:08 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Regis Houssin
a00ff66f45 FIX member photo and thirdparty logo not deleted in documents directory (#36197)
* FIX member photo with web portal don't need login

* FIX member photo not deleted

* FIX pre-commit

* FIX phan error and uniformize code

* FIX pfffffff pre-commit

* FIX uniformize code

* FIX remove TODO

* FIX change const name

* FIX missing add in ECM during creation

* FIX add user photo in ecm

* FIX phan error
2025-11-11 08:56:33 +01:00
Laurent Destailleur
9d15e4e08e Fix CI 2025-11-09 19:12:24 +01:00
Laurent Destailleur
a71194c4d4 Fix CI 2025-11-09 18:22:38 +01:00
Laurent Destailleur
533c32ff12 CSS 2025-11-09 16:41:14 +01:00
Laurent Destailleur
bd8b081a37 Debug v23 2025-11-09 16:37:11 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Laurent Destailleur
4a19407940 css 2025-11-07 15:52:42 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
Regis Houssin
b6c27f8052 NEW add the option to not synchronize thirdparty <--> member (#36033)
* NEW add possibility to not synchronize thirdparty <--> member

* FIX more simple

* Change getDolGlobalString to getDolGlobalInt

* Change getDolGlobalString to getDolGlobalInt

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-02 13:28:09 +01:00
Laurent Destailleur
4fd6894210 Fix capital when value is 0 2025-10-29 14:32:51 +01:00
Laurent Destailleur
fefc2ef466 CSS 2025-10-17 03:28:23 +02:00
Frédéric FRANCE
1ad2d24a4b fix img_pictos (#35722)
* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos
2025-10-14 19:31:06 +02:00
Frédéric FRANCE
a90c222f73 clean code (#35626)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 00:07:24 +02:00
ldestailleur
54eaa1f106 More spellcheck 2025-09-30 18:30:59 +02:00
Laurent Destailleur
e85c2d70b9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-24 00:56:29 +02:00
ldestailleur
ad830a346e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-23 16:50:17 +02:00
ldestailleur
6ead2839d0 Fix missing several test on permission on actions 2025-09-23 16:41:53 +02:00
ldestailleur
f4d3c63332 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-22 10:50:45 +02:00
Laurent Destailleur
7ef5b4d427 Code comment 2025-09-22 02:39:45 +02:00
Laurent Destailleur
a2640829ca Better sanitization of url and email 2025-09-22 02:38:48 +02:00
ldestailleur
74cc569329 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-15 18:14:11 +02:00
ldestailleur
60f0813520 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-12 23:05:15 +02:00
ldestailleur
8b57bb2e41 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-12 13:30:12 +02:00
ldestailleur
13407fe5ee Prepare code for Loi Finance 2025-09-12 13:29:19 +02:00
Eric - CAP-REL
1f8b5db2c7 exit code must be >= 0 (#35311) 2025-09-12 02:29:23 +02:00
VIAL-GOUTEYRON Quentin
eb3d752047 Fix (ecm): support for custom entity in file operations (#35283)
* fix(ecm): add support for custom entity in file operations

This commit addresses missing support for specifying custom `entity` values during file operations, ensuring proper handling of multi-entity configurations. Changes include:

- Adding an `entity` parameter to the `fetch` method of `EcmFiles` and ensuring proper filtering based on the provided entity.
- Modifying `dol_move`, `deleteFilesIntoDatabaseIndex`, and other file-related functions to support the `entity` parameter.
- Ensuring entity propagation in operations like file indexing, renaming, and deletion.

This resolves issues where operations were limited to the default entity value (`$conf->entity`), improving flexibility and correctness in multi-entity setups.

* fix(ecm): improve code formatting for entity checks

Ensure consistent coding style for entity-related conditions across file operations by adding spacing around `empty()` calls.

This improves code readability and maintains uniformity in the handling of multi-entity configurations within the `EcmFiles` class and related modules.

* fix(ecm): cast entity to int in SQL queries

Ensure `entity` values are explicitly cast to integers in SQL conditions, improving type safety and preventing potential SQL injection vulnerabilities.

This change applies consistent casting in multiple entity-related checks within the `EcmFiles` class to enhance code security and reliability.
2025-09-10 10:59:09 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
ldestailleur
93cc83ec4c Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-04 21:07:09 +02:00
Frédéric FRANCE
bcbcf30959 fix CI v22 (#35227)
* fix CI v22

* Update time.php

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update card.php
2025-09-04 20:58:40 +02:00
ldestailleur
3e2b962c1d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-01 11:40:04 +02:00
Regis Houssin
2840ebeedf FIX wrong country code (#35152) 2025-08-31 11:53:35 +02:00
thomasjulie
997e548a58 NEW We added a hook to allow us to modify the Prospect Customer drop down… (#25635)
* We added a hook to allow us to modify the Prospect Customer drop down list in Third Party

* modification of the hook on third party card and adding hooks on third party list

---------

Co-authored-by: root <root@dolibarr17.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-14 05:06:18 +02:00
Maxime Kohlhaas
43227d215f Fix : missing value in form of new birth field (#34874)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-06 22:18:05 +02:00
Maxime Kohlhaas
edd2f599cc NEW : add company date birth (UI) (#34861)
* NEW : add company date birth (SQL structure)

* NEW : add company date birth (UI)

* Rename date_birth in birth

* Rename date_birth in birth (UI)

* Update societe.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-04 13:50:05 +02:00
ldestailleur
60547fda94 Debug v22 2025-07-19 14:17:59 +02:00
ldestailleur
78689fd180 Better fix for #34702 2025-07-17 19:30:58 +02:00
ldestailleur
1515adf313 Revert "FIX when using THIRDPARTY_CUSTOMERTYPE_BY_DEFAULT and direct link New prospect, New Customer or New Supplier (#34702)"
This reverts commit 870979362e.
2025-07-17 19:30:58 +02:00