Refine public documentation and code comments
This commit is contained in:
parent
d7fb2b4413
commit
0a482afe9d
16 changed files with 195 additions and 628 deletions
|
|
@ -49,7 +49,7 @@ function labelStatus(string $s): string
|
|||
|
||||
function fivFelvText(array $a): string
|
||||
{
|
||||
// adapte selon tes colonnes réelles (chez toi ça marche déjà côté liste)
|
||||
// Les photos publiques sont privilégiées pour le document imprimable.
|
||||
$fiv = (string)($a['fiv'] ?? '');
|
||||
$felv = (string)($a['felv'] ?? '');
|
||||
if ($fiv === '' && $felv === '') {
|
||||
|
|
@ -67,7 +67,7 @@ function fivFelvText(array $a): string
|
|||
if ($felv === '1') {
|
||||
return 'FELV+';
|
||||
}
|
||||
// fallback : si tu stockes déjà du texte
|
||||
// Accepte également une valeur déjà enregistrée sous forme de texte.
|
||||
return trim($fiv . ' ' . $felv);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue