"; // 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 ''; } ?>
0) : ?>
Obligatoire
Obligatoire demande en cours
nbrCols; $j++) { $champsCol = $champsCols[$j]; $w = $formulaire->nbrCols == 4 ? "24%" : "33%"; $colspan = ""; $skipCol = false; if (!empty($champsCol[$i]) && $champsCol[$i]->tailleColumn > 1) { $colspan = 'colspan="' . $champsCol[$i]->tailleColumn . '"'; if (!empty($champsCols[$j - 1][$i]) && $champsCol[$i]->id == $champsCols[$j - 1][$i]->id) { $skipCol = true; } } //if($skipCol)continue; ?>
"> 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 ''; } ?>
partial('reservation/formulaire/listingpartial', array('formulaire' => $formulaire, 'source' => 'champs_formulaires')); ?>