
<?php $__env->startSection('content'); ?>


<!-- Responsive Datatable -->
<section id="responsive-datatable">
    <div class="row">
        <div class="col-12">
            <div class="notes">
                <h4 style="margin: 10px"> <?php echo e(trans('general.todays_notes')); ?></h4>
                <div class="card">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th scope="col">#</th>
                            <th scope="col"><?php echo e(trans('general.responsible')); ?></th>
                            <th scope="col"><?php echo e(trans('general.student')); ?></th>
                            <th scope="col"><?php echo e(trans('general.type')); ?></th>
                            <th scope="col"><?php echo e(trans('general.title')); ?></th>
                        </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $notes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $note): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <th scope="row"><?php echo e($loop->iteration); ?></th>
                                <td><?php echo e($note->user->first_name . '' . $note->user->last_name); ?></td>
                                <td><?php echo e($note->student->first_name ." ". $note->student->last_name); ?></td>
                                <td><?php echo e(trans('general.'.$note->type->code)); ?></td>
                                <td><?php echo e($note->type->title); ?></td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
        </div>

        <div class="exams">
            <h4 style="margin: 10px"> <?php echo e(trans('general.todays_exams')); ?></h4>
            <div class="card">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th scope="col">#</th>
                        <th scope="col"><?php echo e(trans('general.responsible')); ?></th>
                        <th scope="col"><?php echo e(trans('general.title')); ?></th>
                        <th scope="col"><?php echo e(trans('general.division')); ?></th>
                        <th scope="col"><?php echo e(trans('general.level')); ?></th>
                        <th scope="col"><?php echo e(trans('general.material')); ?></th>
                    </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $exams; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $exam): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <th scope="row"><?php echo e($loop->iteration); ?></th>
                            <td><?php echo e($note->user->first_name . '' . $note->user->last_name); ?></td>
                            <td><?php echo e($exam->title); ?></td>
                            <td><?php echo e($exam->division->title); ?></td>
                            <td><?php echo e($exam->studyMaterial->level->title); ?></td>
                            <td><?php echo e($exam->studyMaterial->title); ?></td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            </div>
        </div>

        <div class="exams">
            <h4 style="margin: 10px"> <?php echo e(trans('general.todays_work_sheet')); ?></h4>
            <div class="card">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th scope="col">#</th>
                        <th scope="col"><?php echo e(trans('general.responsible')); ?></th>
                        <th scope="col"><?php echo e(trans('general.title')); ?></th>
                        <th scope="col"><?php echo e(trans('general.division')); ?></th>
                        <th scope="col"><?php echo e(trans('general.work_sheet')); ?></th>
                    </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $workSheets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $workSheet): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <th scope="row"><?php echo e($loop->iteration); ?></th>
                            <td><?php echo e($workSheet->user->first_name . '' . $workSheet->user->last_name); ?></td>
                            <td><?php echo e($workSheet->title); ?></td>
                            <td><?php echo e($workSheet->division->title); ?></td>
                           <td> <a class="action-row" target="_blank" title="تحميل" href="https://sama-alashrafia.net/portal/<?php echo e($workSheet->attachments); ?>">
                                <i class="fas fa-cloud-download-alt"></i> تحميل
                                </a>
                           </td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            </div>
    </div>
        </div>
    </div>
</section>
<!--/ Responsive Datatable -->


<?php $__env->startPush('scripts'); ?>

<script src="<?php echo e(url('design')); ?>/app-assets/vendors/js/tables/datatable/jquery.dataTables.min.js"></script>
<script src="<?php echo e(url('design')); ?>/app-assets/vendors/js/tables/datatable/dataTables.bootstrap5.min.js"></script>
<script src="<?php echo e(url('design')); ?>/app-assets/vendors/js/tables/datatable/dataTables.responsive.min.js"></script>
<script src="<?php echo e(url('design')); ?>/app-assets/vendors/js/tables/datatable/responsive.bootstrap5.js"></script>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('header'); ?>


<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/vendors/css/vendors-rtl.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/vendors/css/tables/datatable/dataTables.bootstrap5.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/vendors/css/tables/datatable/responsive.bootstrap5.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/vendors/css/pickers/flatpickr/flatpickr.min.css">



<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/bootstrap-extended.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/colors.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/components.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/themes/dark-layout.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/themes/bordered-layout.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(url('design')); ?>/app-assets/css-rtl/themes/semi-dark-layout.css">


<style>
    table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_desc_disabled:before {
    right: 0.45rem;
}
</style>
<?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\nobalaa-dev\Desktop\New folde2r\portal\resources\views/admin/today-events/today-events-index.blade.php ENDPATH**/ ?>