
<?php $__env->startSection('title', 'List Devoir'); ?>
<?php $__env->startSection('content'); ?>
<div class="pcoded-inner-content">
    <?php echo $__env->make('includes._alert', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="main-body">
        <div class="page-wrapper">
            <div class="page-body">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="card">
                            <div class="card-header mb-0 pb-0">
                                <div class="d-flex justify-content-between">
                                    <h4>Pragramme Devoirs</h4>
                                    <strong style="font-size: 17px"><?php echo e($classe->libelle. ' [ '.ucwords($cutting->cutting->libelle).']'); ?></strong>
                                    <span>
                                        <a href="<?php echo e(route('evaluation.imprim',$classe->id.'_'.$cutting->id)); ?>" target="_blank" class="btn btn-inverse btn-outline-inverse btn-sm py-1 mr-1" title="Return Back"><i class="fas fa-print mx-0"></i></a>
                                        <a href="<?php echo e(route('evaluation.index')); ?>" class="btn btn-inverse btn-outline-inverse btn-sm py-1 ml-1" title="Return Back"><i class="fas fa-reply mx-0"></i></a>
                                    </span>
                                </div>
                            </div>
                            <hr class="mt-0 mx-3">
                            <div class="card-block mx-lg-3 pt-lg-3">
                                <div class="table-responsive">
                                    <table class="table table-bordered nowrap">
                                        <thead>
                                            <tr>
                                                <th scope="col" class="text-center" style="width: 16%">MATIERES</th>
                                                <th scope="col" class="text-center" style="width: 42%">MATIN</th>
                                                <th scope="col" class="text-center" style="width: 42%">APRES MIDI</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php $__currentLoopData = $matters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $matter): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <th scope="col" class="pl-2 my-0" style="padding-top: 27px"><?php echo e($matter['libelle']); ?></th>
                                                <td class="my-0 p-0">
                                                    <table class="m-0 p-0" style="width: 100%">
                                                        <tbody class="m-0 p-0">
                                                            <tr class="m-0">
                                                                <?php $__currentLoopData = $matter['martins']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                    <td class="text-center py-1">
                                                                        <?php echo e(ucwords($item['jour'])); ?><br> 
                                                                        <strong><?php echo e(date('d/m/Y', strtotime($item['date']))); ?></strong><br>
                                                                        <?php echo e($item['debut']); ?> - <?php echo e($item['fins']); ?>

                                                                    </td>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                                <td class="my-0 p-0">
                                                    <table class="m-0 p-0" style="width: 100%">
                                                        <tbody class="m-0 p-0">
                                                            <tr class="m-0">
                                                                <?php $__currentLoopData = $matter['soirs']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                    <td class="text-center py-1">
                                                                        <?php echo e(ucwords($item['jour'])); ?> <br> 
                                                                        <strong><?php echo e(date('d/m/Y', strtotime($item['date']))); ?></strong><br>
                                                                        <?php echo e($item['debut']); ?> - <?php echo e($item['fins']); ?>

                                                                    </td>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<!-- Custom js -->
<script src="<?php echo e(asset('assets/pages/data-table/extensions/colreorder/js/colreorder-custom.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/pcoded.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/vartical-layout.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/jquery.mCustomScrollbar.concat.min.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/educasnsa/public_html/neuroschool/resources/views/pages/devoirs/detail.blade.php ENDPATH**/ ?>