Commit Graph

798 Commits

Author SHA1 Message Date
ldestailleur
611cc510d7 Fix CI 2025-04-08 14:12:08 +02:00
ldestailleur
5cc439da79 Fix CI 2025-04-08 13:51:35 +02:00
ldestailleur
54eb9f21e8 Clean code. Public pages must use the common header 2025-04-08 13:14:37 +02:00
ldestailleur
6a6d7e5b5a Debug v22 2025-04-08 12:02:07 +02:00
MDW
8669993ecf Qual: Fix phan notices (compta/prel..fichinter) (#33485)
* Qual: Fix phan notices (asset..compta/paiement)

* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
ldestailleur
461cf5616e Clean code. WIP To manage permission on extrafields. 2025-03-18 14:55:37 +01:00
Jakub Stříbrný
890b24b17a Add hook when printing button for new card (#33408)
* Add hook for print New Card Button in societe/contact.php

If we use canvas on contact module, we need to add canvas into the URL of the "create" button.

* Add hook for print new card button in societe list

To be able to use contact canvas when clicking on create new contact from thirdparty list.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-12 20:41:39 +01:00
MDW
a0f71fbe76 Qual: Fix phan notices (core/lib) (#33379)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols

* Qual: Fix phan notices (core/lib)
2025-03-11 01:43:54 +01:00
Laurent Destailleur
7fe80dcf81 Update company.lib.php
Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
2025-02-21 18:15:50 +01:00
Laurent Destailleur
45ec0a5bbe Merge branch 'develop' into isInSEPA 2025-02-21 16:07:32 +01:00
ldestailleur
cabd8a680e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-18 10:25:53 +01:00
Laurent Destailleur (aka Eldy)
9d61b20ecd Fix php stan 2025-02-18 10:24:00 +01:00
Amael-PE
17dbddb78c FIX pre-commit error 2025-02-14 21:10:42 +01:00
Amael-PE
757aec629f New Create isInSEPA function 2025-02-14 21:03:16 +01:00
Laurent Destailleur (aka Eldy)
62e441ad3d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-12 22:51:21 +01:00
Laurent Destailleur (aka Eldy)
a1ce8272ac Fix warning 2025-02-12 22:46:09 +01:00
Laurent Destailleur (aka Eldy)
a45a86a812 Fix sql syntax error on empty filter 2025-01-27 09:48:13 +01:00
Laurent Destailleur (aka Eldy)
48be055227 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-24 15:26:10 +01:00
Laurent Destailleur (aka Eldy)
fbe4ccd0e2 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-24 15:25:51 +01:00
MDW
a35d502409 Fix: Correct key for position of extrafield 2025-01-24 10:55:49 +01:00
Laurent Destailleur
8f2dd9fb7d Update company.lib.php 2025-01-23 01:48:10 +01:00
Alexandre SPANGARO
a8fe17688f Fix pre-commit 2025-01-22 02:46:47 +01:00
Alexandre SPANGARO
87dbb1f445 Translate "Emailing" line 2345 2025-01-22 02:38:41 +01:00
Laurent Destailleur
4bae510cfc Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-21 19:15:19 +01:00
Laurent Destailleur (aka Eldy)
7a8d4e2507 Debug v21 2025-01-21 14:08:52 +01:00
Laurent Destailleur (aka Eldy)
f6f38aebb4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-15 13:02:21 +01:00
Laurent Destailleur (aka Eldy)
cf62921762 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-15 13:01:03 +01:00
Laurent Destailleur (aka Eldy)
c58016c2cf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-15 12:46:26 +01:00
Laurent Destailleur (aka Eldy)
e37b6fac4d Fix pb in output of label of email 2025-01-09 20:26:22 +01:00
Laurent Destailleur (aka Eldy)
802562a575 Fix regression after a fix 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
429f5db55a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-09 14:09:33 +01:00
Laurent Destailleur (aka Eldy)
58e42656c0 Fix regression after a fix 2025-01-09 13:54:25 +01:00
Alexandre SPANGARO
54c3470ed1 CI 2024-12-18 23:21:34 +01:00
Alexandre SPANGARO
c92e7c337f NEW Accountancy - Show subledger account in thirdparty 2024-12-18 22:17:12 +01:00
Alexandre SPANGARO
c6a7d8cef1 NEW Accountancy - Show subledger account in thirdparty 2024-12-18 09:19:48 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
Laurent Destailleur
e9e1175134 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-19 04:04:10 +01:00
Laurent Destailleur
93b11038d5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-19 03:44:50 +01:00
Thomas C.
976399c2d9 fix (#31683) 2024-11-16 10:57:03 +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
Laurent Destailleur
059e7875d0 css 2024-10-24 19:36:10 +02:00
Laurent Destailleur
046166f483 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-14 21:38:12 +02:00
Regis Houssin
7b81cccc55 FIX uniformize and check delete contact action (#31384)
* FIX uniformize and check delete contact action

* FIX syntax error

* FIX missing private contact checking

* FIX missing show errors

* FIX missing "oldcopy" for trigger

* FIX missing private contact filter in selectcontact
2024-10-14 16:45:46 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Laurent Destailleur
a255e9b5c8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-13 20:58:40 +02:00
Ferran Marcet
b2c59aa934 Fix: Does not filter correctly by project contacts (#31340)
* Fix: Grand total correction

* Fix: Does not filter correctly by project contacts
2024-10-13 20:31:23 +02:00
Laurent Destailleur
21c1c02ef8 FIX #31360 delete contact when using pgsql. 2024-10-13 17:13:24 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Noé Cendrier
22729516fe NEW Add mode Customer price + level price (#31091)
* NEW: customer price and level price together

* NEW: translation

* FIX: If a price per customer exist

* FIX: do not use default price if the customer price and level price option is active

* Don't display the price level amount if the customer price is known

* FIX: double check and php cs correction

* FIX: vatrate call

* FIX: get_htmloutput_msg call

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
2024-09-25 23:18:16 +02:00