<div class="modal fade modal-fullscreen"  id="ModalEdit" >
    <div class="modal-dialog  modal-xl ">
        <div class="modal-content ">

                <div class="modal-header py-1" style="background-color:#0b440e;">
                    <h4 class="modal-title text-white">Les Candidatures</h4>

                    <button type="button"  class="btn btn-danger" data-dismiss="modal" aria-label="Close">
                      Fermer
                        <span aria-hidden="true">&times;</span></button>
                </div>
                <div class="modal-body">

                <div class="table-responsive">
                    <table id="dtBasicExampleR" class="table table-striped table-bordered table-hover" cellspacing="0"
                        width="100%">
                        <thead>
                            <tr>
                                 <th>Années d'expérience</th>
                                <th>Noms</th>
                                <th>Prenoms</th>
                                <th>Diplomes</th>
                                <th>Domaines d'Etudes</th>
                                <th>Domaines d'Activités</th>
                                <th>Telephones</th>
                                <th>Pays de Résidences</th>
                                <th>Emails</th>
                                <th>Curriculum</th>
                                <th>Status</th>
                                <th>Actions</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $candidature; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td><?php echo e($item->exp_years ?? 'error système'); ?></td>
                                    <td><?php echo e($item->nomCand ?? 'error système'); ?></td>
                                    <td><?php echo e($item->prenomsCand); ?></td>
                                    <td><?php echo e($item->DiplomeCand->nomDiplome ?? 'error système'); ?></td>
                                    <td><?php echo e($item->DomaineEtude->nomEtude ?? 'error système'); ?></td>
                                    <td><?php echo e($item->DomaineActivite->nomActivite ?? 'error système'); ?></td>
                                    <td><?php echo e($item->telephone ?? 'error système'); ?></td>
                                    <td><?php echo e($item->Pays->nomPays ?? 'error système'); ?></td>
                                    <td><?php echo e($item->email  ?? 'error système'); ?></td>
                                    <td>
                                    <a href="<?php echo e(asset('img/' . $item->curriculum)); ?>"><i class="fa fa-file-pdf fa-3x" style="color: #ec270d;"></i></a>
                                     <span class="fw-bold">pdf</span>
                                    </td>
                                    <td>
                                        <?php if($item->status == ''): ?>
                                            NQ
                                        <?php elseif($item->status == 'QUALIFIE'): ?>
                                            <span class="text-success">QUALIFIE</span>
                                        <?php elseif($item->status == 'REJETE'): ?>
                                        <span class="text-danger">REJETE</span>
                                        <?php endif; ?>
                                    </td>
                                    <td>
                                        <div class=" d-flex grid ">
                                            <div class="g-col-4">
                                                <form id="statusForm_<?php echo e($item->id); ?>" action="<?php echo e(route('store', $item->id)); ?>" method="POST" enctype="multipart/form-data">
                                                    <?php echo csrf_field(); ?>
                                                    <input type="checkbox" id="statusCheckbox_<?php echo e($item->id); ?>" value="ok" name="status" onchange="submitForm('<?php echo e($item->id); ?>')" <?php echo e($item->status == 'QUALIFIE' ? 'checked' : ''); ?>/>
                                                    <label for="statusCheckbox_<?php echo e($item->id); ?>"></label>
                                                </form>
                                                <div class="g-col-4">

                                        </div>
                                            </div>
                                            <div class="g-col-4 ml-3">
                                                <div class="deletebtn" type="button" value="<?php echo e($item->id); ?>">
                                                    <i class="fa fa-trash" style="color: #ec270d;"></i>
                                                </div>
                                        </div>
                                    </td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>

                    </table>


</div>


                </div>

        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<?php /**PATH C:\Users\El Anewar\Downloads\Takaback\resources\views/Admin/pages/File_CandidatOffre/editCandidatOffre.blade.php ENDPATH**/ ?>