Commit 237f8709 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Temp

parent af010da2
Loading
Loading
Loading
Loading
+1 −1
Changes for config/autoload/unicaen-db-import.global.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ return [
                'name' => 'Import_GRADE',
                'source' => [
                    'name'               => 'Grades des agents remonté depuis OCTOPUS',
                    'select'             => 'SELECT ID, C_GRADE AS CODE, LIB_COURT, LIB_LONG, HISTO_DESTRUCTION AS HISTO FROM GRADE',
                    'select'             => 'SELECT ID, C_GRADE AS CODE, LIB_COURT, LIB_LONG, HISTO_DESTRUCTION AS HISTO FROM GRADE WHERE HISTO_DESTRUCTION IS NULL',
                    'connection'         => 'octopus',
                    'source_code_column' => 'ID',
                    'columns'            => ['LIB_COURT', 'LIB_LONG', 'CODE', 'HISTO'],
+8 −0
Changes for module/Application/src/Application/View/Helper/partial/agent-grade.phtml: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -67,11 +67,19 @@ $displayCorrespondance = (isset($options['correspondance']) AND $options['c

            <dt> Corps </dt>
            <dd>
                <?php if ($grade->getCorps() !== null) : ?>
                    <?php echo $grade->getCorps()->getLibelleLong(); ?>
                <?php else : ?>
                    Corps inconnu
                <?php endif; ?>
            </dd>
                <dt> Grade </dt>
                <dd>
                    <?php if ($grade->getGrade() !== null) : ?>
                        <?php echo $grade->getGrade()->getLibelleLong(); ?>
                    <?php else : ?>
                        Grade inconnu
                    <?php endif; ?>
                </dd>
            <dt> Correspondance </dt>
            <dd>
+4 −0
Changes for module/Application/view/application/agent/afficher-statuts-grades.phtml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -28,13 +28,17 @@ $this->headTitle($title)
    <div class="col-md-3">
        <h2> Statuts </h2>
        <?php foreach ($statuts as $statut) : ?>
            <?php if ($statut->estEnCours()) : ?>
                <?php echo $this->agentStatut($statut, ['structure' => true, 'periode' => true, 'temoin' => true]); ?>
            <?php endif; ?>
        <?php endforeach; ?>
    </div>
    <div class="col-md-6">
        <h2> Grades </h2>
        <?php foreach ($grades as $grade) : ?>
            <?php if ($grade->estEnCours()) : ?>
                <?php echo $this->agentGrade($grade, ['structure' => true, 'periode' => true, 'temoin' => true]); ?>
            <?php endif; ?>
        <?php endforeach; ?>
    </div>
</div>