Commit Graph

145227 Commits

Author SHA1 Message Date
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
HENRY Florian
add1b28a76 fix: when tobill field is displayes SQL Error (#31358) 2024-10-11 16:02:48 +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
atm-lucas
1e64870a9e NEW - Add a new hook on order list (#31315)
* Add a new hook on order list

* pr correction
2024-10-11 15:53:43 +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
aa849f548f FIX default visiblity 2024-10-11 11:29:03 +02:00
Laurent Destailleur
0ad3de31f4 FIX default visiblity 2024-10-11 11:28:40 +02:00
Ferran Marcet
786905a6c8 Fix: Does not filter correctly by project contacts 2024-10-10 09:16:32 +02:00
Juanjo Menent
f1cd746f7b Merge branch '20.0up' into 20.0 2024-10-10 09:11:58 +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
37e9d4b69e FIX #31015 2024-10-09 23:53:05 +02:00
Laurent Destailleur
36b3485c7f Fix CSS 2024-10-09 18:15:42 +02:00
Laurent Destailleur
46671adf1c Fix css 2024-10-09 18:15:02 +02:00
John BOTELLA
42ce0321b1 Clean code and fix artifact 2024-10-09 10:53:26 +02:00
John BOTELLA
901ce66f48 Clean code and fix artifact 2024-10-09 10:51:36 +02:00
John BOTELLA
7c0e47ccda fix phan 2024-10-09 10:05:53 +02:00
John BOTELLA
35ffdda5e4 fix phan 2024-10-09 09:57:37 +02:00
John BOTELLA
ebc518271b fix phan 2024-10-09 09:29:58 +02:00
John BOTELLA
0dfda86cc0 fix phan 2024-10-09 09:28:06 +02:00
John BOTELLA
b79fa55a99 fix phan 2024-10-09 09:22:26 +02:00
John BOTELLA
1a909f82f8 Fix duplicate head print in first page of line loop display 2024-10-09 09:12:31 +02:00
John BOTELLA
9ace804209 Clean useless lines 2024-10-09 09:06:24 +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
Ferran Marcet
ee4776d64e Fix: Grand total correction (#31303) 2024-10-09 01:49:07 +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
John BOTELLA
377d211535 Merge branch '20.0' of https://github.com/Dolibarr/dolibarr into fix_v20_pdf_space_lost_with_images 2024-10-08 22:44:58 +02:00
John BOTELLA
498e1473aa Rebuild Cyan PDF MODEL 2024-10-08 22:44:36 +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
Ferran Marcet
3697d7f2aa Fix: Grand total correction 2024-10-07 15:55:13 +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