Loading module/Application/src/Filter/FloatFromString.php +1 −1 Changes for module/Application/src/Filter/FloatFromString.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ class FloatFromString extends AbstractFilter public function filter($value) { if ($value === '') return null; if ($value === '' || $value === null) return null; if (false !== strpos($value, '/')) { [$f1, $f2] = explode('/', $value); Loading module/Application/src/Filter/StringFromFloat.php +1 −1 Changes for module/Application/src/Filter/StringFromFloat.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class StringFromFloat extends AbstractFilter $res = Util::formattedFloat($value); if (!$show0Digits) { $res = str_replace(',00', '', $res); $res = str_replace(',00', '', $res ?? ''); } return $res; Loading module/PieceJointe/src/Service/PieceJointeService.php −1 Changes for module/PieceJointe/src/Service/PieceJointeService.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -200,7 +200,6 @@ class PieceJointeService extends AbstractEntityService $result = []; foreach ($lpjf as $pjf) { $pj = $pjf->getPieceJointe(); $pj->annee = $pjf->getAnnee(); //Gérer les cas où plusieurs PJ sont éligible mais sans date d'archive, on prend la première uniquement. if (!array_key_exists($pj->getType()->getId(), $result)) { $result[$pj->getType()->getId()] = $pj; Loading Loading
module/Application/src/Filter/FloatFromString.php +1 −1 Changes for module/Application/src/Filter/FloatFromString.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ class FloatFromString extends AbstractFilter public function filter($value) { if ($value === '') return null; if ($value === '' || $value === null) return null; if (false !== strpos($value, '/')) { [$f1, $f2] = explode('/', $value); Loading
module/Application/src/Filter/StringFromFloat.php +1 −1 Changes for module/Application/src/Filter/StringFromFloat.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class StringFromFloat extends AbstractFilter $res = Util::formattedFloat($value); if (!$show0Digits) { $res = str_replace(',00', '', $res); $res = str_replace(',00', '', $res ?? ''); } return $res; Loading
module/PieceJointe/src/Service/PieceJointeService.php −1 Changes for module/PieceJointe/src/Service/PieceJointeService.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -200,7 +200,6 @@ class PieceJointeService extends AbstractEntityService $result = []; foreach ($lpjf as $pjf) { $pj = $pjf->getPieceJointe(); $pj->annee = $pjf->getAnnee(); //Gérer les cas où plusieurs PJ sont éligible mais sans date d'archive, on prend la première uniquement. if (!array_key_exists($pj->getType()->getId(), $result)) { $result[$pj->getType()->getId()] = $pj; Loading