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

Réordonnancement des colonnes du VH des entretiens professionnels sous forme tabulaire

parent 60b5e1e5
Loading
Loading
Loading
Loading
+1 −1
Changes for documentation/release/3.2.5.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Version 3.2.5 (XX/XX/2023)
---
- Modification de Unicaen/Aide (css)
- Filtrage de la liste des agents pour les supérieur·es et les autorités comme pour les responsables de structures

- Réordonnancement des colonnes du VH des entretiens professionnels sous forme tabulaire

Modification en BD
---
+2 −2
Changes for module/Application/view/application/index/partial/entretien.phtml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ $this->headTitle("Campagne d'entretien professionnel " . $campagne->getAnnee() )
        <span class="badge"> <?php echo count($finalises); ?> </span>
    </h2>

    <?php echo $this->entretienProfessionnelArray($finalises, ['id' => 'complet']); ?>
    <?php echo $this->entretienProfessionnelArray($finalises, ['affichages' => ['annee' => false], 'id' => 'complet']); ?>
<?php endif; ?>


@@ -70,7 +70,7 @@ $this->headTitle("Campagne d'entretien professionnel " . $campagne->getAnnee() )
        <span class="badge"> <?php echo count($encours); ?> </span>
    </h2>

    <?php echo $this->entretienProfessionnelArray($encours, ['id' => 'encours']); ?>
    <?php echo $this->entretienProfessionnelArray($encours, ['affichages' => ['annee' => false], 'id' => 'encours']); ?>
<?php endif; ?>

<?php if (!empty($obligatoires)) : ?>
+12 −12
Changes for module/EntretienProfessionnel/src/EntretienProfessionnel/View/Helper/partial/entretien-professionnel-array.phtml: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -77,18 +77,18 @@ if (isset($options['affichages']) AND isset($options['affichages']['width'])) $w
<table class="table table-condensed table-hover datatable" id="<?php echo $options['id']; ?>" style="margin:1rem 0;">
    <thead>
    <tr>
        <?php if ($displayAnnee) : ?>
            <th style="min-width:9rem;"> Année </th>
        <?php endif; ?>
        <?php if ($displayStructure) : ?>
            <th> Structure </th>
        <?php endif; ?>
        <?php if ($displayAgent) : ?>
            <th> Agent </th>
        <?php endif; ?>
        <?php if ($displayResponsable) : ?>
            <th> Responsable </th>
        <?php endif; ?>
        <?php if ($displayAnnee) : ?>
            <th style="min-width:9rem;"> Année </th>
        <?php endif; ?>
        <?php if ($displayStructure) : ?>
            <th> Structure </th>
        <?php endif; ?>
        <?php if ($displayDate) : ?>
            <th style="width:15rem;"> Date</th>
        <?php endif; ?>
@@ -115,6 +115,12 @@ if (isset($options['affichages']) AND isset($options['affichages']['width'])) $w
        $canConvoquer = $this->isAllowed(EntretienproPrivileges::getResourceId(EntretienproPrivileges::ENTRETIENPRO_CONVOQUER));
        ?>
    <tr>
        <?php if ($displayAgent) : ?>
            <td> <?php echo $entretien->getAgent()->getDenomination(); ?> </td>
        <?php endif; ?>
        <?php if ($displayResponsable) : ?>
            <td> <?php echo $entretien->getResponsable()->getDenomination(); ?> </td>
        <?php endif; ?>
        <?php if ($displayAnnee) : ?>
            <td> <?php echo $entretien->getCampagne()->getAnnee(); ?> </td>
        <?php endif; ?>
@@ -132,12 +138,6 @@ if (isset($options['affichages']) AND isset($options['affichages']['width'])) $w
                <?php endif; ?>
            </td>
        <?php endif; ?>
        <?php if ($displayAgent) : ?>
            <td> <?php echo $entretien->getAgent()->getDenomination(); ?> </td>
        <?php endif; ?>
        <?php if ($displayResponsable) : ?>
            <td> <?php echo $entretien->getResponsable()->getDenomination(); ?> </td>
        <?php endif; ?>
        <?php if ($displayDate) : ?>
            <td>
                <?php echo $entretien->getDateEntretien()->format('d/m/Y H:i'); ?>