Commit Graph

9399 Commits

Author SHA1 Message Date
Laurent Destailleur
ce01e1d95f Debug v23 2025-11-27 00:05:04 +01:00
Alexandre SPANGARO
236d45547b FIX Invoice - Problem with deposit line on Type of operation (#36378) 2025-11-24 15:08:01 +01:00
MDW
4f5c32973f Qual: Improve type hints and cache arrays in html.form.class.php (#36384)
* Qual: Improve type hints and cache arrays in html.form.class.php

- Added detailed type hints for cache arrays
- Fixed a typo in the comment for the 'num' property
- Ensured consistent type casting for integer values in cache arrays

(fixes phpstan notices)

* Qual: Add type casting in donation modules

Following cache type improvement:
- Added type casting in donation modules
2025-11-24 15:05:55 +01:00
MDW
9db4c30918 Qual: Add automatic_activation property (DolibarrModules) (#36386)
* Qual: Add automatic_activation property (DolibarrModules)

- Add `automatic_activation` property to store country-specific activation reasons
- Add public to class constants (PSR-2/php-cs-fixer)

* Qual: Simplify $module_activation test in admin.lib.php

The test for $module_activation has been simplified after declaring the property in DolibarrModules.
2025-11-24 15:05:05 +01:00
Laurent Destailleur
c8e12d9cb9 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:44 +01:00
iLLixM
852f9eeb77 FIX #36368 - avoid overlaying of EPC-QR Code and payment information (#36369)
* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

The position of an EPC-QR code on an invoice is adjusted based on information about payments already made.
The EPC-QR code is only displayed on invoices if a balance remains due.

* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

place EPC-QR Code on left-hand side of invoice PDF

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-23 03:44:55 +01:00
Laurent Destailleur
f96905c1f0 Fix CI 2025-11-23 03:19:11 +01:00
Laurent Destailleur
6904df8a45 Fix CI 2025-11-23 03:05:28 +01:00
tcesar
1875d07bb2 New Adding the possibility to import the extrafields of warehouse (#36349)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 23:52:31 +01:00
Laurent Destailleur
18c30daf11 Debug v23 2025-11-20 17:04:53 +01:00
Laurent Destailleur
900646a848 CSS 2025-11-20 15:05:13 +01:00
Laurent Destailleur
0bfd72a995 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-20 12:00:49 +01:00
tcesar
b485556c3a FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 11:00:04 +01:00
tcesar
7b08aab461 FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 10:56:08 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
kkhelifa-opendsi
548bb94e4f NEW: Rework of the management of the card and fields on the web portal (#36076)
* NEW: Rework of the management of the card and fields on the web portal

* Correction pre-commit check

* Correction affichage logo login

* Ajout hook

* Ajout params fonction FormWebPortal::convertAllLink()

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction travis

* Correction travis

* Correction travis

* Correction travis

* Correction

* Fix get options of sellist by AJAX in webportal scope

* Correction pre-commit

* Correction pre-commit

* Add hook and change hook name for viewImage controller

* Correction phan

* Corrections

* Corrections
2025-11-19 15:14:53 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Frédéric FRANCE
8d459e469d clean code (#36260)
* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test
2025-11-18 11:41:28 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
Laurent Destailleur
db7b669d2a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 11:47:27 +01:00
Laurent Destailleur
9c85cb4be4 WIP LNE 2025-11-14 11:47:05 +01:00
Lucas Marcouiller
81e5e0a3cb New import profile for leave requests (#36244)
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
2025-11-13 17:53:06 +01:00
Frédéric FRANCE
593926125a clean code (#36241)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-13 16:26:31 +01:00
Laurent Destailleur
9ec8762307 Fix CI 2025-11-12 21:33:35 +01:00
Laurent Destailleur
7fe7bfa7bb Doc 2025-11-12 19:45:09 +01:00
Laurent Destailleur
5bc299922c Debug v23 2025-11-12 19:37:19 +01:00
Laurent Destailleur
05c624f1cd WIP 2025-11-12 17:25:40 +01:00
Laurent Destailleur
71d129c70a Debug v23 2025-11-12 16:02:03 +01:00
Frédéric FRANCE
8cb1af4fcb clean code (#36233)
* clean code

* Update html_cerfafr.modules.php

* Update interface_50_modEventOrganization_EventOrganization.class.php
2025-11-12 15:32:29 +01:00
Laurent Destailleur
392fb33587 Tipo 2025-11-12 15:29:42 +01:00
Laurent Destailleur
9e7fedfec5 Debug v23 2025-11-12 15:03:31 +01:00
Laurent Destailleur
ad165e3712 Clean permissions 2025-11-12 12:55:21 +01:00
Laurent Destailleur
cc7f297b47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-11 01:00:27 +01:00
Laurent Destailleur
73cc0c1701 WIP LNE 2025-11-11 00:59:51 +01:00
Laurent Destailleur
7b842b5028 Manage position of captcha modules. Fix responsive of setup page. 2025-11-10 00:28:38 +01:00
Frédéric FRANCE
ca0052e82d clean code (#36176)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-08 19:29:54 +01:00
Laurent Destailleur
6976d4a011 Fix phpunit test export 2025-11-08 18:09:48 +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
Alexandre SPANGARO
5e69bb3b3d FIX Invoice Situation - Octopus - Show remaintopay at bottom (#36121) 2025-11-06 17:22:49 +01:00
Alexandre SPANGARO
025dda60dd FIX Invoice Situation - Octopus - Column offset for amounts greater than 5 digits (#36124) 2025-11-06 17:22:31 +01:00
Alexandre SPANGARO
5c54b86786 FIX Invoice Situation - Octopus - Shipping block overlap issue (#36122) 2025-11-06 17:11:32 +01:00
Alexandre SPANGARO
af4630c456 Typo (#36123) 2025-11-06 17:11:02 +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
Laurent Destailleur
d763a46fd3 Fix picto of modules 2025-11-02 14:26:46 +01:00
Laurent Destailleur
7f7518b389 Move status of modules 2025-11-02 14:21:29 +01:00
MDW
2de1724786 Qual: Fix donation notices (#36058)
* Qual: Fix missing abstract isEnabled for ModeleDon

# Qual: Fix missing abstract isEnabled for ModeleDon

* Qual: Fix donation list fields

# Qual: Fix donation list fields

Fixes PhanTypeMismatchProperty issues in don/list.php by typecasting and
adding d.ref field to query & using it.

* Fix: Fix call to ModeleDon::write_file

- Refactored write_file method in don.class.php to extraneous parameters
- Removed PhanParamTooMany warning from baseline.txt

* Qual: Remove duplicate assignment in list.php

Removed redundant assignment of projectstatic.id.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-02 12:58:12 +01:00
MDW
073426d97e Qual: Fix multiple phan notices, update baseline (#36022)
* Qual: Fix phan notice with copy of attribute

* Qual: Fix phan notices with cast and updated param definition

* Qual: Fix phan notice with cast

* Qual: Update parameter type hint in utf8_check function

The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).

* Qual: Update User parameter type to nullable in call_trigger methods

The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.

* Qual: Update phan baseline

* Qual: phpstan compatible type

* Qual: Add missing type hints for phan

- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure

* Qual: Update field configuration for backward compatibility

Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 17:47:28 +01:00
Pierre Ardoin
9c66964104 NEW Add user permission for create/edit/delete supplier prices (#35940)
* Add copyright notice for Pierre Ardoin

* Update permissions for supplier prices management

* Add permissions for supplier purchase prices

* Enhance supplier price permissions

Added advanced permission checks for supplier price management.

* fix tabs&spaces

* fix tab@spaces

* Remove unnecessary blank lines in price_suppliers.php

* Remove unauthorized access checks for supplier prices

Removed access control checks for unauthorized supplier price creation and editing.

* Remove unnecessary blank line in price_suppliers.php

* Refactor user permission checks for supplier prices

replace $usercanwritesupplierprice with $usercancreate

* Refactor edit and remove links for supplier prices

* Update price_suppliers.php
2025-11-01 03:27:25 +01:00
Frédéric FRANCE
e00559b242 fix CI after file rename (#36021)
* fix CI after file rename

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:12:58 +01:00
Laurent Destailleur
ee2db13af7 Trans 2025-10-30 17:45:20 +01:00