"; // var_dump($config->deplacerChampsFormulaires, $formulaire->idType); // echo ""; ?>
deplacerChampsFormulaires == 1 && $formulaire->idType == 1) { // echo $this->partial('reservation/formulaire/globalbordergenerator', array('champsCols'=> $champsCols, 'size' => $size, 'formulaire' => $formulaire, 'source' => 'champs_formulaires', "type" => $newCadreOrEdit)); echo ''; } ?>"> styleCss !== '') { // for js var $css = json_decode($champsCol[$i]->styleCss); if ($css !== null && $css !== "") $cssTdsById[$i . "-" . $j] = $css; else $hasBorder = false; } $class = $champsCol[$i]->active ? "btn-bleu" : "btn-gris"; if ($champsCol[$i]->obligatoireDemande == 1) { $class = "btn-orange"; } elseif ($champsCol[$i]->obligatoire == 1) { $class = "btn-red"; } if ($champsCol[$i]->tailleColumn > 1) { $class = "btn-light-bleu"; } if ($champsCol[$i]->idType == 8 || $champsCol[$i]->idType == 9) { //checkbox $class .= " width-100"; } else { $class .= " width-100"; } echo ''; if ($champsCol[$i]->idType == 8 || $champsCol[$i]->idType == 9) { echo ''; } if ($config->deplacerChampsFormulaires == 1 && $formulaire->idType == 1 && !$hasBorder) { // infosDeplacerChamps $extraData = 'data-type="' . $champsCol[$i]->idType . '" '; $extraData .= 'data-column="' . $champsCol[$i]->column . '" '; $extraData .= 'data-tailleColumn="' . $champsCol[$i]->tailleColumn . '" '; $extraData .= 'data-row="' . $champsCol[$i]->row . '" '; $extraData .= 'data-tailleRow="' . $champsCol[$i]->tailleRow . '" '; echo ''; } echo ''; $hasActions = !empty($actionsChamps[$champsCol[$i]->id]) ? '1' : '0'; if (!$hasBorder) { // infosSuppChamps echo ''; } } else { echo ''; echo ''; } ?> |