Commit Graph

138212 Commits

Author SHA1 Message Date
Laurent Destailleur
5ef2bc2cfb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-11 19:42:12 +02:00
Laurent Destailleur
a45af7e4c4 Fix responsive 2024-10-11 19:41:31 +02:00
Laurent Destailleur
f06bb0b6d6 Trans 2024-10-11 19:10:05 +02:00
MDW
c9690393bc Fix undefined global varialbe user/card.php (#31353)
# Fix undefined global varialbe user/card.php

Fix a few issues, one of which noticed in V21 UI.

Also notified by phan:
```
htdocs\user\card.php:626 PhanUndeclaredGlobalVariable Global variable $mesgs is undeclared
htdocs\user\card.php:2967 PhanUndeclaredGlobalVariable Global variable $soc is undeclared

```
2024-10-11 16:05:37 +02:00
MDW
9c20e93860 Fix: Cope with undevined country key in search array. (#31354)
# Fix: Cope with undefined country key in search array

Fix:
```
htdocs\partnership\partnership_list.php:533 PhanUndeclaredProperty Reference to undeclared property \Partnership->login
htdocs\partnership\partnership_list.php:793 PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs\core\class\html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
```
2024-10-11 16:04:46 +02:00
Lucas Marcouiller
9bece8c380 New datastructure for webhok_target (#31363)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-10-11 15:56:45 +02:00
Laurent Destailleur
6abb94ffd8 css 2024-10-11 14:04:07 +02:00
Laurent Destailleur
7ec900d1de comment 2024-10-11 12:24:45 +02:00
Laurent Destailleur
0ad3de31f4 FIX default visiblity 2024-10-11 11:28:40 +02:00
Yannis Hoareau
42089e3542 New: add configuration to choose if holiday are updated at the end of month (#29438)
* New setting for holiday updates

* FIX: holidays accounting at the end of taken month: log consumption for every request + update translations

* FIX: holidays accounting at the end of taken month: update conf name

* FIX: holidays accounting at the end of taken month: refactor monthly cron update

* FIX: holidays accounting at the end of taken month: update conf translation

* FIX: holidays accounting at the end of taken month: initialize holiday array + delete duplicate code

* New setting for holiday updates

* FIX: holidays accounting at the end of taken month: log consumption for every request + update translations

* FIX: holidays accounting at the end of taken month: update conf name

* FIX: holidays accounting at the end of taken month: refactor monthly cron update

* FIX: holidays accounting at the end of taken month: update conf translation

* FIX: holidays accounting at the end of taken month: initialize holiday array + delete duplicate code

* FIX: holidays accounting at the end of taken month: clean code

* FIX: holidays accounting at the end of taken month: empty now used on variables

* FIX: holidays accounting at the end of taken month: resolve not casted var in sql request

* FIX: holidays accounting at the end of taken month: now using only dolibarr functions

* FIX: holidays accounting at the end of taken month: fix php-stan and rework casting to int

* FIX: holidays accounting at the end of taken month: fix php-stan and rework casting to int (2)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Yannis Hoareau <93135242+JustRaosha@users.noreply.github.com>
2024-10-10 00:13:36 +02:00
Laurent Destailleur
8c74ff6e58 QUAL Suffix table name to have them created on module install 2024-10-09 02:04:55 +02:00
Frédéric FRANCE
94f74d2056 add db tables for product attribute variant (#31221)
* add db tables for product attribute variant

* rename files
2024-10-09 01:58:04 +02:00
UltraViolet33
615d13d815 Fix: complete fix for #31117 (#31300)
* Fix: complete fix for #31117
Use getSommePaiement(), getSumCreditNotesUsed() and getSumDepositsUsed() to get already paid amount of invoice
to display correct invoice status

* fix for PHPStan

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:55:38 +02:00
Alexandre SPANGARO
6fe1adec7d NEW Accountancy - Add general account on thirdparty - Code customer part (#31294)
* NEW Accountancy - Add general account on thirdparty - SQL Part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* Fix Phan

* Use isModEnabled

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-09 01:51:12 +02:00
Mohamed DAOUD
1ea380c5c2 Code Update For Migration of llx_categorie_bank content into llx_categorie (#31306)
* move category_bank to categorie

* fix

* fix cast

* fix phpunit
2024-10-09 01:48:05 +02:00
UltraViolet33
c0035cdf60 Fix set tiers as customer on online propal signature (#31316)
* fix set tiers as customer on online propal signature

* use setAsCustomer instead of set_as_client

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:06:23 +02:00
Mohamed DAOUD
ae206bcc22 fix stars (#31317) 2024-10-09 01:00:34 +02:00
Laurent Destailleur
33aabd271c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-09 00:17:03 +02:00
Laurent Destailleur
67156d03ca Fix phpunit 2024-10-09 00:13:56 +02:00
Laurent Destailleur
49be27e95c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-08 23:58:43 +02:00
Laurent Destailleur
1f5f38a968 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 23:54:40 +02:00
Laurent Destailleur
14dec516a3 FIX Vat code is lost when updating lines in POS 2024-10-08 23:51:51 +02:00
Laurent Destailleur
496b4e3b66 Enhancement for textbrowser 2024-10-08 21:00:22 +02:00
Laurent Destailleur
8ba82ecfa0 Enhancement for textbrowser 2024-10-08 20:58:09 +02:00
Laurent Destailleur
efe6571e16 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 20:49:01 +02:00
Laurent Destailleur
21eb8e585f Fix detection of text browser with w3m 2024-10-08 20:48:37 +02:00
Laurent Destailleur
e79292cb19 Enhance vat edition 2024-10-08 09:59:46 +02:00
Laurent Destailleur
a204862c24 Fix module builder 2024-10-07 22:54:51 +02:00
Laurent Destailleur
a4b0947729 Fix phan 2024-10-07 15:46:49 +02:00
Laurent Destailleur
13af557597 Enable cache 2024-10-07 15:45:17 +02:00
MDW
bde0f0d794 Qual: Fix ci (phpstan notice) (#31301)
# Qual: Fix ci (phpstan notice)

While fixing the ci notice, also fixed the array definitions
which fixes both phan notices and phpstan notices seen on cti.
Removed the exception for phan on this file
2024-10-07 15:44:06 +02:00
John BOTELLA
7faa9bad67 Fix 20.0 Action buttion url autocomplete (button dropdown part04) (#31266)
* Fix dol get action buttion url autocomplette

* change mailto

* change mailto

* Remove anonymous function

* Remove anonymous function

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 15:42:17 +02:00
Laurent Destailleur
728ca6a2e6 Prepare 20.0.1 20.0.1 2024-10-07 15:28:48 +02:00
Laurent Destailleur
f5262ceefa Prepare 20.0.1 2024-10-07 15:25:19 +02:00
Laurent Destailleur
a7db9f8b75 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-07 15:23:41 +02:00
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Laurent Destailleur
b07cc82058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-07 15:17:49 +02:00
Laurent Destailleur
94ed718782 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-10-07 15:15:01 +02:00
Laurent Destailleur
40965b63b5 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-10-07 15:13:17 +02:00
Laurent Destailleur
3391d3db05 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-10-07 15:12:00 +02:00
Mikko Virtanen
0811ff5f07 FIX dolFICalculatePaymentReference for Finland in functions_fi.lib.php (#31281)
* Update functions_fi.lib.php

Fix calculation from some base numbers

* Update functions_fi.lib.php
2024-10-07 14:52:12 +02:00
sonikf
35e01459f8 NEW: PDF Add shipping address in sales orders (#31293)
* Add shipping address

* Add shipping address

* Show shipping address in sales orders

* Add shipping address option in sales orders

* fix pre-commit

* fix phan

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)

* fix php-stan (8.2)

* fix phan php-stan (8.2)

* fix phan php-stan (8.2)
2024-10-07 14:50:01 +02:00
Laurent Destailleur
92c848d5bc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-07 14:40:53 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
ptibogxiv
d5d7d484a8 NEW get member by thirdparty account (#31296)
* NEW get member by thirdparty account

* Update api_members.class.php

* Update api_members.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-07 14:20:27 +02:00
jyhere
5f83eb2552 FIX : shippings $file_list is always empty because path is incorrect (#31299) 2024-10-07 14:15:02 +02:00
MDW
f4c91d5bb6 Qual: Fix phan/phpstan notices (#31297)
# Qual: Fix phan/phpstan notices

Fix several phan and phpstan notices.
2024-10-07 14:07:24 +02:00
Laurent Destailleur
9b378d74af Look and feel v21 2024-10-07 12:40:50 +02:00
Laurent Destailleur
5ef619eae3 FIX look and feel v20 2024-10-07 12:02:37 +02:00
Laurent Destailleur
2737f713d9 Debug v21 2024-10-07 11:58:32 +02:00