Commit 7c03cbbb authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Modification des documents/gardes pour le cas des soutenances rejetées

parent 8d766138
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ Journal des modifications
- [FIX] Utilisation de l'état ETABLISSEMENT pour le feu vert des soutenances plutôt que VALIDE
- Ajout d'une mention de l'envoi à tous les responsables de structure lorsque aucun responsable de site n'a été trouvé.
- Ajout du rapport technique dans les documents de la présoutenance (s'il y a au moins une visio de déclarée)
- Modification des conditions d'affichage des documents de présoutenance pour le cas des soutenances rejetées
- Modification du template d'avis de soutenance.

3.0.10
-----
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ return [
                                'type' => Segment::class,
                                'may_terminate' => true,
                                'options' => [
                                    'route' => '/avis-soutenance',
                                    'route' => '/rapport-technique',
                                    'defaults' => [
                                        'controller' => PresoutenanceController::class,
                                        'action' => 'rapport-technique',
+38 −41
Original line number Diff line number Diff line
@@ -22,12 +22,6 @@ use Soutenance\Entity\Proposition;
    body {
        font-size: 9pt;
    }

    span.warning {
        font-weight: bold;
        color: darkred;
    }

    img {
        height:2.5cm;
    }
@@ -38,70 +32,37 @@ use Soutenance\Entity\Proposition;
    h2 {
        font-size: large;
    }

    table {
        width:100%;
    }

    table.recapitulatif {
        border:solid 1px black;
    }

    table.recapitulatif td.head {
        font-weight: bold;
        width: 33.3%
    }

    table.composition {
        border-collapse: collapse;
    }

    table.composition th{
        border-bottom:solid 2px black;
    }

    table.composition td{
        border-bottom:solid 1px gray;
    }

    table.composition tbody tr {
        border-bottom: 1px gray solid ;
    }

    table.informations {
    }

    table.informations td.head {
        width: 50%
    }

    table.informations td.info {
        text-align: right;
    }

    table.validation {
        border-collapse: collapse;
    }

    table.validation th{
        border-bottom:solid 2px black;
    }

    table.validation td{
        border-bottom:solid 1px gray;
        margin: 1rem;
    }

    span.to-complete {
        background-color: pink;
        color: darkred;
    }

    div.signature {
        position:relative;
        /*top: 80%;*/
        left:500px;
    }

</style>
<!-- SECTION DU LOGO DE LA COMUE -------------------------------------------------------------------------------------->

@@ -143,6 +104,7 @@ use Soutenance\Entity\Proposition;

    <br/>


<p>
    <strong>
    <?php if ($informations->getDoctorant() !== null): ?>
@@ -308,13 +270,48 @@ use Soutenance\Entity\Proposition;
    </table>


<br/>

    <!-- Avis finale -------------------------------------------------------------------------------------------------->

    <table class='jury'>
        <tr>
            <th colspan='3'>
                Avis de soutenance
            </th>
        </tr>
    </table>

    <table>
        <tr>
            <td>
                &#9744; Avis favorable <br/>
                &#9744; Avis défavorable <br/>
            </td>
            <td style="border:solid black 1px;">
                <br/>
                <br/>
                Motivation en cas d'avis défavorable : <br/>
                <?php for($i = 0 ; $i < 8 ; $i++) : ?>
                    <br/>
                <?php endfor; ?>
            </td>
        </tr>
    </table>


    <br/>
    <br/>
    <br/>

    <!-- Signature ---------------------------------------------------------------------------------------------------->




<table>
    <tr>
        <td width="50%"></td>
        <td width="10%"></td>
        <td>
            Fait à ................., le ........................<br/>
            Pour le Président et p.o.<br/>
+26 −8
Original line number Diff line number Diff line
@@ -235,16 +235,21 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr

    <?php endif; ?>

    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE) : ?>
    <?php  /** DOCUMENTS DE FIN DE PREPARATION DE SOUTENANCE **/ ?>

    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE OR $proposition->getEtat()->getCode() === Etat::REJETEE) : ?>

    <br/><br/>

    <!-- En cas de thèses rejetées ne faire afficher que la génération de l'avis de soutenances ----------------------->
    <div class="panel panel-info box">
        <div class="panel-heading">
            <h2>Génération des documents associés à la soutenance</h2>
        </div>
        <div class="panel-body">

            <!-- Partie adresse du lieu de soutenance ----------------------------------------------------------------->
            <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE) : ?>
            <div class="row">
                <div class="col-md-8">
                    <?php if ($proposition->getAdresse() === null) : ?>
@@ -257,7 +262,6 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                        <?php echo $proposition->getAdresse(); ?>
                    <?php endif; ?>
                </div>

                <div class="pull-right">
                    <br/>
                    <br/>
@@ -270,14 +274,16 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                        Modifier l'adresse
                    </a>
                    <?php endif; ?>

                </div>
            </div>
        <?php endif; ?>

            <br/><br/>

            <p>
                 <?php if ($canGenererDocument) : ?>
            <!-- Partie adresse du lieu de soutenance ----------------------------------------------------------------->
            <div class="row">
                <div class="col-md-12">
                    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE AND $canGenererDocument) : ?>
                        <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::procesVerbalSoutenanceAction() */ ?>
                                href="<?php echo $this->url('soutenance/presoutenance/proces-verbal-soutenance', ['these' => $these->getId()], [], true); ?>"
                                class="btn btn-primary action"
@@ -285,7 +291,9 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                        >
                            <span class="glyphicon glyphicon-list-alt"></span>Générer le procès verbal
                        </a>
                    <?php endif; ?>

                    <?php if ($canGenererDocument) : ?>
                        <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::avisSoutenanceAction() */ ?>
                                href="<?php echo $this->url('soutenance/presoutenance/avis-soutenance', ['these' => $these->getId()], [], true); ?>"
                                class="btn btn-primary action"
@@ -293,8 +301,9 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                        >
                            <span class="glyphicon glyphicon-list-alt"></span>Générer l'avis de soutenance
                        </a>
                    <?php endif; ?>

                    <?php if ($proposition->hasVisio()) : ?>
                    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE AND $canGenererDocument AND $proposition->hasVisio()) : ?>
                     <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::rapportTechniqueAction() */ ?>
                             href="<?php echo $this->url('soutenance/presoutenance/rapport-technique', ['these' => $these->getId()], [], true); ?>"
                             class="btn btn-primary action"
@@ -304,7 +313,7 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                     </a>
                    <?php endif; ?>


                    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE AND $canGenererDocument) : ?>
                         <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::convocationsAction() */ ?>
                                    href="<?php echo $this->url('soutenance/presoutenance/convocations', ['these' => $these->getId()], [], true); ?>"
                                    class="btn btn-primary action"
@@ -312,6 +321,14 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                            >
                                <span class="glyphicon glyphicon-list-alt"></span>Générer les convocations
                        </a>
                    <?php endif; ?>
                </div>
            </div>

            <!-- Partie envoi des convocations ------------------------------------------------------------------------>
            <div class="row">
                <div class="col-md-12">
                    <?php if ($proposition->getEtat()->getCode() === Etat::VALIDEE AND $canGenererDocument) : ?>
                    <a  <?php /** @see \Soutenance\Controller\PresoutenanceController::envoyerConvocationAction() */ ?>
                            href="<?php echo $this->url('soutenance/presoutenance/envoyer-convocation', ['these' => $these->getId()], [], true); ?>"
                            class="btn btn-info action"
@@ -319,7 +336,8 @@ $canSimulerRemonter = $this->isAllowed(PresoutenancePrivileges::getResourceId(Pr
                        <span class="glyphicon glyphicon-send"></span>Envoyer les convocations
                    </a>
                    <?php endif; ?>
            </p>
                </div>
            </div>
        </div>
    </div>
    <?php endif; ?>