Commit graph

12 commits

Author SHA1 Message Date
Laurent Destailleur
5130a49591 Fix test on permissions 2026-07-20 10:52:14 +02:00
Laurent Destailleur
dc3f3e15e8 Merge 2026-06-12 19:25:23 +02:00
w3houde
4ee7657dca
Fix #35815 initHooks on payment document.php pages (#38707)
compta/paiement/document.php and fourn/paiement/document.php expose
$hookmanager via the @var docblock but never call initHooks, so the
include of core/actions_linkedfiles.inc.php and the rest of the page
can't run any custom-module hook context.

Add an initHooks() right after loadLangs, mirroring the pattern used
by commande/document.php (orderdocument, globalcard). Use
paymentdocument / paymentsupplierdocument for the two pages.

Signed-off-by: Dolicraft <contact@dolicraft.com>
Co-authored-by: Dolicraft <contact@dolicraft.com>
2026-06-12 00:05:38 +02:00
Laurent Destailleur
48ea593afd Clean code 2026-03-29 16:36:23 +02:00
Laurent Destailleur
cd3454450b Clean code 2026-03-29 15:40:18 +02:00
Laurent Destailleur
808a3f820c Debug v23 2026-02-16 01:22:21 +01:00
Frédéric FRANCE
3c597c263d
clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +02:00
MDW
dd418533d7
Qual: Update PHPdoc - $page is a url, not an int 2025-01-27 13:24:31 +01:00
Laurent Destailleur
7e8e7a24c3 Debug v23 2026-02-16 00:50:53 +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
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
atm-lucas
0fe6380480
NEW - Can add documents on a payment (#29660)
* missing attached files on payment of a customer invoice

* ending and fix preview

* fatal

* FIX commit

* travis and pre-commit failed

* Fix test failed

* Fix all test failed

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 20:19:57 +02:00