Commit graph

25 commits

Author SHA1 Message Date
Laurent Destailleur
ad4ceba536 Automated merge from 23.0 to develop 2026-07-15 02:06:09 +02:00
Laurent Destailleur
967897f763 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-07-15 01:26:14 +02:00
Laurent Destailleur
4f27660d6d Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-07-15 01:15:01 +02:00
ATM-NicolasV
e26839247b
FIX: situation invoice mode setup uses a 3-value select instead of a yes/no toggle (#39098)
INVOICE_USE_SITUATION is a 3-state flag (0=off, 1=cumulative/legacy, 2=progressive;
see the comment in admin/invoice.php), but the situation setup page
(admin/invoice_situation.php) exposed it through a yes/no toggle. Through
ajax_constantonoff the toggle can only write 0 or 1 and deletes the constant when
turned off (dolibarr_del_const), so mode 2 could neither be selected nor preserved.

Replace the toggle with a 3-value select that writes the literal value via
dolibarr_set_const (FormSetup 'select' never calls dolibarr_del_const), with a
warning box explaining the two modes. INVOICE_USE_SITUATION_CREDIT_NOTE stays a
yes/no toggle (it is a genuine boolean).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 17:24:07 +02:00
Laurent Destailleur
6f5cb7e418 Automated merge from 23.0 to develop 2026-04-28 11:30:13 +02:00
Laurent Destailleur
6891c9a398 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-04-28 11:30:10 +02:00
Laurent Destailleur
3c89b7062b Fix CI 2026-04-28 11:29:42 +02:00
Laurent Destailleur
13ca9e441e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-28 11:28:05 +02:00
Laurent Destailleur
1c6ae609b7 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-04-28 11:27:34 +02:00
Laurent Destailleur
dfe6f5f5cb Fix CI 2026-04-28 11:22:58 +02:00
Laurent Destailleur
8a93c6215e Trans 2026-04-26 22:20:27 +02:00
Laurent Destailleur
440241f7a3 Fix setup of situation invoice 2026-04-26 21:15:49 +02:00
Frédéric FRANCE
f48d3d6e41
fix unexisting picto (#34076)
* fix unexisting picto

* fix unexisting picto
2025-05-07 11:18:37 +02:00
Frédéric FRANCE
29b3880e6c
add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
ldestailleur
8dbd59a71b Look and feel v23 - Add an arrow back to module page 2025-08-09 20:44:30 +02:00
Lucas Marcouiller
0aa629cfe0
fix change some conf->global to getdolglobal (#36874)
* fix change some conf->global to getdolglobal

* revert some changes

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-16 02:55:21 +01:00
Laurent Destailleur
254c15fae1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-09 15:55:41 +01:00
thomas-Ngr
9374a31b33
Fix const INVOICE_USE_RETAINED_WARRANTY (#30533)
* Fix const INVOICE_USE_RETAINED_WARRANTY being set as -1 when it should be empty

* fix missing translation

* fix missing translation

* Manage update for INVOICE_USE_RETAINED_WARRANTY

* use native setAsSelect() form function
2024-11-07 05:14:07 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
099dbd9c1e
Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable

* Update phan baseline

* Fix (Possibly)UndeclaredGlobalVariable (2)

* Qual: Fix notices for htdocs/admin/*

# Qual: Fix notices for htdocs/admin/*

Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
Alexandre SPANGARO
96afcaa476
Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Alexandre SPANGARO
aa0c182e6d
Situation invoice #29897 - Uniformize language key (#30115) 2024-06-22 15:58:07 +02:00
atm-lena
8363d610de
llxHeader CSSBody - admin part 1 (#29930)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 14:53:14 +02:00
Laurent Destailleur
16336a66ad Rename french module name into english 2024-05-13 10:45:20 +02:00
Laurent Destailleur
ec1b8284c9 Rename files to use an english name 2024-03-10 15:52:29 +01:00
Renamed from htdocs/admin/facture_situation.php (Browse further)