Loading module/Application/src/Service/OffreFormationService.php +3 −1 Changes for module/Application/src/Service/OffreFormationService.php: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -229,8 +229,10 @@ class OffreFormationService extends AbstractEntityService $offresComplementaires[$v->getId()]['etape'] = $v; if ($v->getSource() == $source) { $offresComplementaires[$v->getId()]['reconduction'] = (in_array($v->getCode(), $codesEtapeN1)) ? 'oui' : 'non'; $offresComplementaires[$v->getId()]['reconductionFait'] = (in_array($v->getCode(), $codesEtapeN1)) ? 'oui' : 'non'; } else { $offresComplementaires[$v->getId()]['reconduction'] = 'non'; $offresComplementaires[$v->getId()]['reconduction'] = 'oui'; $offresComplementaires[$v->getId()]['reconductionFait'] = 'non'; } } Loading module/Application/view/application/offre-formation/reconduction.phtml +8 −0 Changes for module/Application/view/application/offre-formation/reconduction.phtml: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -93,11 +93,19 @@ $this->headScript()->offsetSetFile(100, $this->basePath('/js/reconduction-offre. echo "info"; } ?>"> <?php if ($ec['reconduction'] == 'oui'): ?> <?php if ($ec['reconductionFait'] == 'oui'): ?> <th><input title="Formation déjà reconduite pour l'année prochaine" type="checkbox" class="checkbox-formation" disabled="disabled" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/> <span class="label label-warning" style="margin:0 auto;">Reconduit</span> </th> <?php else: ?> <th><input title="Formation non reconductible" type="checkbox" class="checkbox-formation" disabled="disabled" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/> <span class="label label-warning" style="margin:0 auto;">Non reconductible</span> </th> <?php endif; ?> <?php else: ?> <th><input type="checkbox" class="checkbox-formation" checked="checked" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/></th> Loading Loading
module/Application/src/Service/OffreFormationService.php +3 −1 Changes for module/Application/src/Service/OffreFormationService.php: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -229,8 +229,10 @@ class OffreFormationService extends AbstractEntityService $offresComplementaires[$v->getId()]['etape'] = $v; if ($v->getSource() == $source) { $offresComplementaires[$v->getId()]['reconduction'] = (in_array($v->getCode(), $codesEtapeN1)) ? 'oui' : 'non'; $offresComplementaires[$v->getId()]['reconductionFait'] = (in_array($v->getCode(), $codesEtapeN1)) ? 'oui' : 'non'; } else { $offresComplementaires[$v->getId()]['reconduction'] = 'non'; $offresComplementaires[$v->getId()]['reconduction'] = 'oui'; $offresComplementaires[$v->getId()]['reconductionFait'] = 'non'; } } Loading
module/Application/view/application/offre-formation/reconduction.phtml +8 −0 Changes for module/Application/view/application/offre-formation/reconduction.phtml: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -93,11 +93,19 @@ $this->headScript()->offsetSetFile(100, $this->basePath('/js/reconduction-offre. echo "info"; } ?>"> <?php if ($ec['reconduction'] == 'oui'): ?> <?php if ($ec['reconductionFait'] == 'oui'): ?> <th><input title="Formation déjà reconduite pour l'année prochaine" type="checkbox" class="checkbox-formation" disabled="disabled" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/> <span class="label label-warning" style="margin:0 auto;">Reconduit</span> </th> <?php else: ?> <th><input title="Formation non reconductible" type="checkbox" class="checkbox-formation" disabled="disabled" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/> <span class="label label-warning" style="margin:0 auto;">Non reconductible</span> </th> <?php endif; ?> <?php else: ?> <th><input type="checkbox" class="checkbox-formation" checked="checked" name="etape[]" value="<?= $ec['etape']->getId(); ?>"/></th> Loading