Commit f3d367da authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction affichage de la feuille de route de l'intervenant dans la gestion...

Correction affichage de la feuille de route de l'intervenant dans la gestion des agréments par lots. Suppression de la modal box ajax (pas adaptée) au profit de l'ouverture de la fiche dans un nouvel onglet.
parent 1cdbf636
Loading
Loading
Loading
Loading
+11 −6
Changes for module/Application/view/application/agrement/saisir-lot.phtml: 11 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -42,9 +42,10 @@ $tid = uniqid('agrements-lot-');
                        <td class="structure"><?= $wie->getStructure() ?></td>
                    <?php endif; ?>
                    <td class="intervenant">
                    <?php
                    echo $this->intervenant($wie->getIntervenant())->renderLink();
                    ?>
                        <a target="_blank"
                           href="<?= $this->url('intervenant/voir', ['intervenant' => 'code:' . $wie->getIntervenant()->getCode()]); ?>">
                            <?= $wie->getIntervenant() ?>
                        </a>
                    </td>
                    <?php if ($needAction): ?>
                        <td style="text-align:center">
@@ -57,8 +58,12 @@ $tid = uniqid('agrements-lot-');
        </table>
        <?php if ($needAction): ?>
            <div style="text-align:right">
            <button class="btn btn-default btn-xs" type="button" onclick="$('#<?= $tid ?> :checkbox').prop('checked', true);">Tout sélectionner</button>
            <button class="btn btn-default btn-xs" type="button" onclick="$('#<?= $tid ?> :checkbox').prop('checked', false);">Ne rien sélectionner</button>
                <button class="btn btn-default btn-xs" type="button"
                        onclick="$('#<?= $tid ?> :checkbox').prop('checked', true);">Tout sélectionner
                </button>
                <button class="btn btn-default btn-xs" type="button"
                        onclick="$('#<?= $tid ?> :checkbox').prop('checked', false);">Ne rien sélectionner
                </button>
            </div>
        <?php endif; ?>
    </div>
@@ -71,7 +76,7 @@ $tid = uniqid('agrements-lot-');
            echo '<br />';
            echo $this->formSubmit($form->get('submit')->setAttributes([
                'class' => 'btn btn-primary',
            'value' => 'Agréer'
                'value' => 'Agréer',
            ]));
        }
        echo $this->form()->closeTag();