Commit e2e71508 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

certains rendu utilisait ? plutôt que :

parent 92e4894e
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ class ChampAsResultHelper extends AbstractHelper
    static public function render_checkbox(Champ $champ, ?string $reponse, bool $displayLibelle=true): string
    {
        $texte = "<div data-champ-type='" . Champ::TYPE_CHECKBOX . "' data-empty='false'>";
        if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> ";
        if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> ";
        $texte .= ($reponse === null)?"Non":"Oui";
        $texte .= "</div>";
        return $texte;
@@ -187,7 +187,7 @@ class ChampAsResultHelper extends AbstractHelper
    static public function render_periode(Champ $champ, ?string $reponse, bool $displayLibelle=true): string
    {
        $texte = "<div data-champ-type='" . Champ::TYPE_PERIODE . "' data-empty='false'>";
        if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> ";
        if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> ";
        $texte .= $reponse;
        $texte .= "</div>";
        return $texte;