Commit Graph

137711 Commits

Author SHA1 Message Date
Laurent Destailleur
33da02bbcd FIX Maxi debug edit/delete accounting tnasaction 2024-09-23 20:16:39 +02:00
Laurent Destailleur
fc1aaaddb9 Add country flag for country MF (Saint Martin France) 2024-09-23 15:42:43 +02:00
Mohamed DAOUD
6bb679c632 fix inventory det (#31097) 2024-09-23 15:04:16 +02:00
Lucas Marcouiller
8e43a83880 Fix checknbpostsforspecificip to prevent sql error (#31096)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-09-23 15:03:07 +02:00
Frédéric FRANCE
a82410706c fix phpstan (#31088)
* fix phpstan

* fix phpstan
2024-09-23 15:01:02 +02:00
Laurent Destailleur
f0824ebeac Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 13:06:56 +02:00
Laurent Destailleur
c6554aa935 PERF Reduce nb of requests into num_public_holiday 2024-09-23 13:02:43 +02:00
Laurent Destailleur
534d052ab5 Look and feel v21 2024-09-23 12:49:31 +02:00
Laurent Destailleur
6a6b97dc92 Fix CSS 2024-09-23 12:46:29 +02:00
John BOTELLA
5470ad0128 FIX : Ergonomy : edge detection for dropdown (#31023)
* Fix edge detection for dropdown

* add missing class

* Dropdown fix for md too

* Fix any js handled event must start with a log

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 04:02:32 +02:00
sonikf
a5dc3e0170 NEW: Public and private note options in thirdparty list (#31062)
* NEW: Public and private note options in thirdpary list

* fix phan

* fix notes size
2024-09-23 03:42:35 +02:00
MDW
158de3d54a Qual: Fix Plugin ParamMatchRegexPlugin when classname is variable (#30970)
# Qual: Fix Plugin ParamMatchRegexPlugin when classname is variable

Fix a case where the plugin throws an undefined variable because the
classname in the php source is variable
2024-09-23 03:36:17 +02:00
HENRY Florian
706f80ce84 NEW: add recuring supplier invoice on supplier tab (#30949)
* NEW: add recuring supplier invoice on supplier tab #30945

* add translation

* add translation

* add translation

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 03:35:17 +02:00
William Mead
7bf0596f3c Qual isolate expense report line class to separate file (#30953)
* Moved expense report line class to separate file. Updated requires. Added contributor details.

* Updated PHPDoc

* Fixed PHPDoc
2024-09-23 03:34:00 +02:00
MDW
5e02bec9df Qual: Fix getTooltipContentArray typing hints (#31081)
* Qual: Fix getTooltipContentArray typing hints

# Qual: Fix getTooltipContentArray typing hints

This defines the aray type for all getTooltipContentArray occurences

* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Lucas Marcouiller
03a1f0fcf8 New add post protection in company/new.php (#31059)
* New add post  protection in company/new.php

* fix CI

* Update new.php

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 03:22:42 +02:00
Charlène Benke
70d87496e8 NEW Add Unit price on supplier order stat product (#31055)
* Add Unit price on supplier order stat product

* Update commande_fournisseur.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 03:19:44 +02:00
Mohamed DAOUD
ef39801dc7 Add lang parameter to getObjectsInCateg function (#31070)
* add lang parameter to getObjectsInCateg

* fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 02:41:29 +02:00
ptibogxiv
a8d5e5907e ADD subscription by first day of quarter (#31085)
* Update member.php

* Update subscription.php

* Update paymentok.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 02:30:06 +02:00
Laurent Destailleur
053f799ef2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 02:25:10 +02:00
Laurent Destailleur
74ad35dcac FIX #31076 Bad position of hooks 2024-09-23 02:24:43 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* 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

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
Laurent Destailleur
ffeb471bab Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 01:58:18 +02:00
Laurent Destailleur
d0ecd94148 Add Quarter 2024-09-23 01:52:07 +02:00
MDW
2bf3729f8a Qual: Fix copyright fixer (#31072)
* Qual: Fix copyright fixer

# Qual: Fix copyright fixer

Enable actual file write, disable debug message

* Fix: ci/missing global $conf in chargessociales
2024-09-23 01:30:21 +02:00
MDW
7b4c4d772c Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086)
* Qual: Fix Array of tabs typing hints

# Qual: Fix Array of tabs typing hints

Fixed same typing hints accross several files

* Qual: Fix pdf.lib.php, project.lib.php and related files

# Qual: Fix pdf.lib.php, project.lib.php and related files

Fix most phan notices for pdf.lib.php and project.lib.php.
And fixed some items in other files in the process

* Qual: Fix notifications commande/card advtarget.tpl fichinter/card societe/card supplier_proposal/card

* Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

# Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

Fix notices in the files for the classes above and other files to accomodate
these changes/fixes
2024-09-23 00:37:30 +02:00
MDW
038e1e8f05 Qual: Exclude lessc.class.php from phpstan (#31078)
# Qual: Exclude lessc.class.php from phpstan

'lessc' is considered an external analysis and can be
excluded from analysis (>400 less phpstan notices).
2024-09-23 00:26:10 +02:00
Mohamed DAOUD
6ce09ce68d Add town and country as an optionnal column in Partnership list (#31057)
* add town country partnership list

* Update partnership_list.php

* Update partnership_list.php
2024-09-20 18:12:32 +02:00
Lucas Marcouiller
9ecfe2609b Fix add ip field by adding it in module builder recruitement candidature fields (#31060)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-09-20 18:10:56 +02:00
lvessiller-opendsi
45c32ac9a6 NEW payment term and mode on creating third-party (#31067) 2024-09-20 18:05:53 +02:00
Lucas Marcouiller
632d1832a9 Fix bad request with no token in contrat/card.php (#31064)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-09-20 17:51:33 +02:00
William Mead
8c14d2d20f Fixed usage of null with select products method (#31066) 2024-09-20 17:49:40 +02:00
Lucas Marcouiller
768c9de064 Qual create button to factorize services buttons in contrat/card.php (#31063)
* Qual create button to factorize services buttons in contrat/card.php

* Fix Ci

* fix ci

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-09-20 17:37:27 +02:00
Laurent Destailleur
9387c66f85 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 17:35:28 +02:00
Laurent Destailleur
55383bbf62 Fix phan 2024-09-20 17:34:48 +02:00
Frédéric FRANCE
13d4d96dfc fix phpstan (#31061)
* fix phpstan

* fix phpstan
2024-09-20 17:25:39 +02:00
Laurent Destailleur
c8a1ac578d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 16:09:24 +02:00
Laurent Destailleur
bc9746891d NEW Can change the type of a social contribution if no payment 2024-09-20 16:09:06 +02:00
Laurent Destailleur
a6a77f8939 Fix js syntax error 2024-09-20 04:42:28 +02:00
Laurent Destailleur
84e5f5e7b4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 02:51:59 +02:00
Laurent Destailleur
401c9898bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-20 02:46:03 +02:00
Laurent Destailleur
87adbbb769 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-20 02:39:55 +02:00
omogenot
a7dcfab8a2 NEW : Update warehouse product list to add another sorting option (#30971)
* Update warehouse product list to add another sorting option

Add the ability to sort product list by average buying price to identify high cost laying products in stock.

* Fix variable typo

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:24:24 +02:00
William Mead
ae59ed2c97 Moved currency rate class to separate file. Updated requires. Added contributor details. (#30974) 2024-09-20 02:21:18 +02:00
Frédéric FRANCE
aaa3c8336e fix phpstan (#31006)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:20:33 +02:00
MDW
6fb924e90b Qual: Update baseline for phan (because of fixes) (#31008)
# Qual: Update baseline for phan (because of fixes)

Several fixes to the code (mostly related to phpstan notices) also
fixed several phan notices which are removed from the baseline
with this change.
2024-09-20 02:19:52 +02:00
Frédéric FRANCE
f6776541b6 Fix ignored phpstan (#31009)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 02:19:05 +02:00
Frédéric FRANCE
32a85608f6 fix phpstan (#31010)
* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:18:08 +02:00
MDW
4c7bcaa980 Qual: Fix argument mismatch for form_attach_new_file (#31014)
# Qual: Fix argument mismatch for form_attach_new_file

Use null instead of '' to match the argument type for form_attach_new_file.
2024-09-20 02:14:31 +02:00
John BOTELLA
0eca5dea23 New unbilled btn for supplier order (#31016)
* New unbilled btn for supplier order

* change comment

* Factor code
2024-09-20 02:14:04 +02:00