From e4e2e06306c64057b296f33332d1fa06130a00ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 3 Nov 2025 01:32:15 +0100 Subject: [PATCH] clean code (#36071) * clean code * Update blockedlog_list.php --------- Co-authored-by: Laurent Destailleur --- htdocs/blockedlog/admin/blockedlog_list.php | 1 + htdocs/compta/resultat/index.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index be9b1175c2f..27e643d217b 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -37,6 +37,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; * @var Conf $conf * @var DoliDB $db * @var HookManager $hookmanager + * @var Societe $mysoc * @var Translate $langs * @var User $user * diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php index c136f70f7e4..644e64adfa1 100644 --- a/htdocs/compta/resultat/index.php +++ b/htdocs/compta/resultat/index.php @@ -5,7 +5,7 @@ * Copyright (C) 2014-2016 Ferran Marcet * Copyright (C) 2014 Juanjo Menent * Copyright (C) 2014 Florian Henry - * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2018-2025 Frédéric France * Copyright (C) 2020 Maxime DEMAREST * Copyright (C) 2024 MDW * @@ -1063,7 +1063,7 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { print ''; if ($modecompta == 'CREANCES-DETTES' || $modecompta == 'BOOKKEEPING') { if (isset($decaiss[$case]) && $decaiss[$case] != 0) { - print ''.price(price2num($decaiss[$case], 'MT')).''; + print ''.price(price2num($decaiss[$case], 'MT')).''; if (!isset($totsorties[$annee])) { $totsorties[$annee] = 0; } @@ -1083,7 +1083,7 @@ for ($mois = 1 + $nb_mois_decalage; $mois <= 12 + $nb_mois_decalage; $mois++) { print ''; if ($modecompta == 'CREANCES-DETTES' || $modecompta == 'BOOKKEEPING') { if (isset($encaiss[$case])) { - print ''.price(price2num($encaiss[$case], 'MT')).''; + print ''.price(price2num($encaiss[$case], 'MT')).''; if (!isset($totentrees[$annee])) { $totentrees[$annee] = 0; }