Commit Graph

11575 Commits

Author SHA1 Message Date
Lucas Marcouiller
d9ee8a3838 Fix dol_dir_list_in_database to use filters for db (#31835)
* Fix dol_dir_list_in_database to use filters as an Universal Search String

* fix CI

* fix Ci

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 14:36:48 +01:00
Frédéric FRANCE
ec91ed2af9 test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
Lucas Marcouiller
6b27108775 Fix bad values for dropdown css (#31824)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-14 23:26:18 +01:00
Alexis Thietard
8c9a1c2bfc fix #24780 change default isolation method in dol_clone (#29391)
This fixes serialization error when attempting to update a custom field value.
This change is made globally because the previous native = 0 default isolation
method is labeled as `deprecated` in the code and therefore shouldn't be used
anymore.

Signed-off-by: Alexis Thietard <alexis.thietard@rtone.fr>
2024-11-13 23:42:07 +01:00
Laurent Destailleur
1f00485763 Doc 2024-11-13 16:14:26 +01:00
Laurent Destailleur
062c769cc3 Rename MAIN_USE_FULL_TEXT_INDEXATION into MAIN_SAVE_FILE_CONTENT_AS_TEXT 2024-11-13 00:01:18 +01:00
Frédéric FRANCE
836bb71303 fix customreports.lib.php (#31771)
* fix customreports.lib.php

* Update commondict.class.php

* Update ctyperesource.class.php

* fix

* CommonDict is not a business class

* Update ctyperesource.class.php

* Update ctyperesource.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 03:38:38 +01:00
Laurent Destailleur
07c3690bb7 FIX the style not visible in combo using autocomplete 2024-11-12 01:26:08 +01:00
Laurent Destailleur
40aca2803f Add std deviation in custom report 2024-11-11 21:51:51 +01:00
Laurent Destailleur
9b68d78fe5 Debug v21 2024-11-11 18:53:16 +01:00
lvessiller-opendsi
6c9c177763 NEW VAT by state (#31628)
* NEW VAT by state

* Fix global conf in looad tva function

* Fix load vat rates in memory

* Revert fk_tva column in state dict and load_tva function

* NEW vat rate with department in dict

* Fix isset not nullable

* Fix order VAT rate desc to set as default
2024-11-11 17:57:32 +01:00
Laurent Destailleur
18b334bdf1 Clean code 2024-11-11 15:39:58 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Laurent Destailleur
8ccab8a5fa Doc 2024-11-11 14:45:30 +01:00
Laurent Destailleur
8d62713eff Fix warning 2024-11-10 18:31:40 +01:00
Laurent Destailleur
7e8fff6cb0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-10 18:28:05 +01:00
Laurent Destailleur
4d29fd4beb More complete fix for #31746 2024-11-10 18:23:17 +01:00
Frédéric FRANCE
940324f76d fix dol_time_plus_duree with unit egal mn instead i (#31746)
* fix dol_time_plus_duree with unit egal mn instead i

* Update date.lib.php
2024-11-10 18:15:57 +01:00
Laurent Destailleur
607f2708fc Rename variables to avoid confusion between id and scale. 2024-11-10 18:09:18 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
c093f0c27e Debug v21 2024-11-10 01:10:49 +01:00
Laurent Destailleur
576df86eac NEW Add field to store text content of files 2024-11-09 13:28:50 +01:00
Laurent Destailleur
e1a7681565 Can index with docling 2024-11-09 03:20:15 +01:00
Laurent Destailleur
ec7ea921d4 Debug v21 2024-11-08 18:45:56 +01:00
Pichi1966
b6945d0c27 Fix function num_between_day in date.lib.php in Dev code v21 (#31732)
When debugging Asset Module, I discovered that function num_between_day is returning 0 when $timestampStart equals (==) $timestampEnd and $lastday == 1
Normally it has to return
0 if $lastday = 0
1 if $lastday = 1
2024-11-08 14:46:44 +01:00
Pichi1966
9ae591d662 FIX getCurrentPeriodOfFiscalYear in accounting.lib.php with wrong period used (#31731)
FIX function getCurrentPeriodOfFiscalYear

This one was returning the bad period when a FY period was not already defined. It was using the actual year instead of the year of $fromtime to return a created FY period.
2024-11-08 14:46:13 +01:00
Frédéric FRANCE
5cf3074d28 clean phpstan baseline (#31725)
* clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 14:41:01 +01:00
Laurent Destailleur
77efa1b760 Fix phan 2024-11-08 02:34:31 +01:00
Laurent Destailleur
1b7c412787 WIP generic upload files 2024-11-07 19:51:21 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
Laurent Destailleur
865bf1f3e0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-07 05:13:28 +01:00
Frédéric FRANCE
4f777f58dc fix ecmfile tooltip (#30993)
* Update ecmfiles.class.php

* Update ecm.lang

* Update ecmfiles.class.php

* add translations

* wip

* wip

* enhance tooltip

* fix

* fix

* fix

* fix ajaxtooltip

* fix picto

* fix picto

* fix sql

* tooltip

* tooltip

* test
2024-11-07 05:07:41 +01:00
Laurent Destailleur
665477c6fb Rename substituion key __MEMBER_CIVILITY__ 2024-11-07 05:05:29 +01:00
Laurent Destailleur
507d400a56 Fix substition key 2024-11-07 05:03:59 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Laurent Destailleur
00b9943069 Rename var to make debug easier 2024-11-06 15:15:55 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +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
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Frédéric FRANCE
0349f5b513 fix unable to resolve template T (#31680) 2024-11-04 12:24:18 +01:00
MDW
f4ff437026 Qual: Fix phan/phpstan notices in class files (part 4) (#31598)
* Qual: Fix phan notices for DolibarrModules.class

* Qual: Fix notices for classes actioncomm..task.class.php

* fixup! Qual: Fix notices for classes actioncomm..task.class.php

* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Mohamed DAOUD
057581aaf7 NEW Add Filter Assistance for Filling Filters Field (#31646)
* work on report page

* add translation

* optimize the query

* fix

* fix trans

* Update customreports.php

* Update customreports.php

* Update customreports.php

* fix phan
2024-10-30 21:29:41 +01:00
Regis Houssin
26e89a7760 FIX this constant break the dictionary admin without Multicompany (#31638) 2024-10-30 21:10:49 +01:00
Laurent Destailleur
eaf92c9fa4 FIX better regex to detect substitution key 2024-10-30 19:53:40 +01:00
Laurent Destailleur
c34ea09c2c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-30 18:17:59 +01:00
Laurent Destailleur
590ef86f40 Warning 2024-10-30 18:09:26 +01:00