<?php $__env->startSection('intitule'); ?>
    <h5 class="font-weight-medium text-uppercase mb-0">PROCLAMER ICI LES RESULTATS SEMESTRIELS... </h5>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('breadcrumb'); ?>
    <li class="breadcrumb-item active" aria-current="page">Insertion notes</li>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/libs/dropzone/dist/min/dropzone.min.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('dist/css/dropify.min.css')); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/libs/select2/dist/css/select2.min.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('main'); ?>
    <div class="row justify-content-center mt-4" style="min-height: calc(85vh - 60px)">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-header p-4"
                    style="background-color: <?php echo e(Session::get('RESULTAT_DATA')['RESULTAT_COULEUR_ETAB1']); ?>; color: <?php echo e(Session::get('RESULTAT_DATA')['RESULTAT_COULEUR_TEXT1']); ?>;">
                    <h4 class="mb-0 text-white">Veuillez sélectionner les données s'il vous plait.</h4>
                </div>
                <div class="card-body">
                    <form class="form-horizontal" id="submit" method="post"
                        action="<?php echo e(route('resultats.listeSemestriel')); ?>">
                        <?php echo csrf_field(); ?>
                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Semestre</label>
                            <div class="col-md-6">
                                <select class="form-select mr-sm-2 p-2" id="semestre" name="semestre">
                                    <option>Sélectionner le semestre</option>
                                    <option value="1">1</option>
                                    <option value="2">2</option>
                                    <option value="3">3</option>
                                    <option value="4">4</option>
                                    <option value="5">5</option>
                                    <option value="6">6</option>
                                </select>
                                <div class="invalid-feedback">

                                </div>
                            </div>
                        </div>

                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Niveau formation</label>
                            <div class="col-md-6">
                                <select class="form-select mr-sm-2 p-2" id="formation" name="formation">
                                    <?php $__currentLoopData = $data['formations']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $formation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($formation->id); ?>"><?php echo e($formation->niveauFormation); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>


                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Filière</label>
                            <div class="col-md-6">
                                <select class="select2 p-2" id="filiere" name="idFiliere" style="width: 100%">
                                    <option>Selectionner la filière</option>
                                    <?php $__currentLoopData = $data['filieres']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $filiere): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($filiere->idFiliere); ?>">
                                            <?php echo e($filiere->intituleFilieres); ?>(<?php echo e($filiere->sigleFilieres); ?>)</option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                                <div class="invalid-feedback">
                                    La filière est requise
                                </div>
                            </div>
                        </div>
                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Année Académique en
                                cours</label>
                            <div class="col-md-6">
                                <select class="form-select mr-sm-2 p-2" id="acadYear" name="acadYear">
                                    <option value="<?php echo e(Session::get('RESULTAT_DATA')['RESULTAT_YEAR']->annee_acad); ?>">
                                        <?php echo e(Session::get('RESULTAT_DATA')['RESULTAT_YEAR']->periode); ?></option>
                                </select>
                            </div>
                        </div>
                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Type de délibération</label>
                            <div class="col-md-6">
                                <select class="form-select mr-sm-2 p-2" id="delibType" name="delibType">
                                    <option value="2">Première délibération (%)+Décision</option>
                                </select>
                            </div>
                        </div>
                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Délibération complete ?
                                :</label>
                            <div class="col-md-6">
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input " type="radio" name="fulldeliberation"
                                        id="fulldeliberation2" value="YES" checked>
                                    <label class="form-check-label" for="fulldeliberation2">Oui</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input " type="radio" name="fulldeliberation"
                                        id="fulldeliberation1" value=NO">
                                    <label class="form-check-label" for="fulldeliberation1">Non</label>
                                </div>
                            </div>
                        </div>
                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for="" class="control-label text-md-end col-md-3">Envoyer mail à l'étudiant ?
                                :</label>
                            <div class="col-md-6">
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input " type="radio" name="maildeliberation"
                                        id="maildeliberation2" value="YES">
                                    <label class="form-check-label" for="maildeliberation2">Oui</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input " type="radio" name="maildeliberation"
                                        id="maildeliberation1" value="NO" checked>
                                    <label class="form-check-label" for="maildeliberation1">Non</label>
                                </div>
                            </div>
                        </div>

                        <div class="mb-3 pb-3 row border-bottom align-items-center">
                            <label for=""
                                class="control-label text-md-end col-md-3 align-self-start align-self-start">Choisir un
                                fichier</label>
                            <div class="col-md-6">
                                <input type="file" id="input-file-now" class="dropify" data-max-file-size="2M"
                                    data-fv-field="fichierexcel" name="file"
                                    accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" />
                            </div>
                        </div>
                        <div class="form-actions">
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="row justify-content-center">

                                        <button type="submit" class="col-3 col-md-1 col-sm-2 me-3 btn btn-success"> <i
                                                class="fa fa-check"></i> Submit</button>
                                        <button type="reset" class="col-4 col-md-2 col-sm-3 col-lg-1 me-3 btn "
                                            style="background-color: #e4e7ea">Cancel</button>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <script src="<?php echo e(asset('assets/libs/dropzone/dist/min/dropzone.min.js')); ?>"></script>
    <script src="<?php echo e(asset('dist/js/dropify.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/libs/select2/dist/js/select2.full.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/libs/select2/dist/js/select2.min.js')); ?>"></script>
    <script src="<?php echo e(asset('dist/js/pages/forms/select2/select2.init.js')); ?>"></script>
    <script>
        $(() => {
            $('.dropify').dropify();
            $('#submit').submit((e) => {
                if (![checkValidation('#semestre'),
                        checkValidation('#filiere'),
                        checkValidation('#acadYear'),
                        checkValidation('#formation'),
                        checkValidation('#delibType')

                    ].every(value => value === true)) {
                    e.preventDefault();
                }
            });
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/africawebstudent/public_html/aws/results/resources/views/resultats/semestriel.blade.php ENDPATH**/ ?>