Commit 013f1105 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Changement affichage attestation des formations de source != de EMC2

parent d2ec1229
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -47,15 +47,16 @@ $canHistorique = $this->isAllowed(FormationinstancedocumentPrivileges::getResour
                <br/>
            </div>
            <div class="col-md-5">
                <?php if ($inscription->getSource()->getCode() === HasSourceInterface::SOURCE_LAGAF) : ?>
                <?php if ($inscription->getSource()->getCode() !== HasSourceInterface::SOURCE_EMC2) : ?>
                    <div class="alert alert-warning">
                        <span class="icon icon-information"></span>
                        Formation gérée par LAGAF, pour obtenir votre attestion veuillez contacter
                        <?php if ($mailcontact === null) : ?>
                            la DRH
                        <?php else : ?>
                            <a href="mailto:<?php echo $mailcontact; ?>"><?php echo $mailcontact; ?></a>
                        <?php endif; ?>
                            Formation gérée par <?php echo $inscription->getSource()->getLibelle(); ?>, EMC2 ne peut pas vous fournir d'attestation.
<!--                        Formation gérée par LAGAF, pour obtenir votre attestion veuillez contacter-->
<!--                        --><?php //if ($mailcontact === null) : ?>
<!--                            la DRH-->
<!--                        --><?php //else : ?>
<!--                            <a href="mailto:--><?php //echo $mailcontact; ?><!--">--><?php //echo $mailcontact; ?><!--</a>-->
<!--                        --><?php //endif; ?>
                    </div>
                <?php else : ?>
                    <?php if ($inscription->getInstance()->isEnqueteActive() AND $inscription->getValidationEnquete() === null) : ?>