<!-- Modal bulletin promo========================================================= -->
<div class="modal animate__animated animate__fadeInLeft" id="modalBulletinPromo">
    <div onclick="closeForm('modalBulletinPromo')" class="modal-background"></div>
    <div class="modal-card">
        <header class="modal-card-head">
            <p class="modal-card-title">Bulletins</p>
            <button type="button" onclick="closeForm('modalBulletinPromo')" class="delete" aria-label="close"></button>
        </header>
        <section class="modal-card-body">
            <?php if($classe->type == 'Primaire'): ?>
                <div class="buttons columns mx-0 my-1 is-flex is-justify-content-center">
                    <?php if($promo->pivot->bulletin1 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin1); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 1</a>
                    <?php endif; ?>
                    <?php if($promo->pivot->bulletin2 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin2); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 2</a>
                    <?php endif; ?>
                    <?php if($promo->pivot->bulletin3 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin3); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 3</a>
                    <?php endif; ?>
                </div>
            <?php else: ?>
                <div class="buttons columns mx-0 my-1 is-flex is-justify-content-center">
                    <?php if($promo->pivot->bulletin1 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin1); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Semestre 1</a>
                    <?php endif; ?>
                    <?php if($promo->pivot->bulletin2 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin2); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Semestre 2</a>
                    <?php endif; ?>
                </div>
                <div class="buttons columns mx-0 my-1 is-flex is-justify-content-center">
                    <?php if($promo->pivot->bulletin1 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin1); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 1</a>
                    <?php endif; ?>
                    <?php if($promo->pivot->bulletin2 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin2); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 2</a>
                    <?php endif; ?>
                    <?php if($promo->pivot->bulletin3 != null): ?>
                        <a target="_blank" href="<?php echo e($promo->pivot->bulletin3); ?>"
                            class="button pt-2 column is-info is-light is-rounded">Trimestre 3</a>
                    <?php endif; ?>
                </div>
            <?php endif; ?>
        </section>
        <footer class="modal-card-foot">
            <button type="button" onclick="closeForm('modalBulletinPromo')"
                class="button is-info is-light is-rounded">Annuler</button>
        </footer>
    </div>
</div>
<?php /**PATH /home/dide1435/luqman.upschool-sn.com/resources/views//partials/modalBulletinPromo.blade.php ENDPATH**/ ?>