
<table >
    <thead>
        <tr>
            <th>رقم </th>
            <th>اسم المتدرب </th>
            <th>نوع الاختبار</th>
            <th> تاريخ رفع الاختبار</th>
            <th> درجة الطالب</th>
            <th>درجة الإختبار</th>

        </tr>
    </thead>
    <tbody>
        <?php if(isset($exams)): ?>
        <?php $__currentLoopData = $exams; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $exam): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php $__currentLoopData = $exam->uploaded; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr class="odd" role="row">
                    <td>
                         <?php if(isset($student)): ?>
                            <?php echo e($loop->iteration); ?>

                        <?php endif; ?>
                    </td>
                    <td>
                        <?php if(isset($student->subscribe->student->name)): ?>
                            <?php echo e($student->subscribe->student->name); ?>

                        <?php endif; ?>
                       
                    </td>
                    
                    <td>
                        <?php if(isset($student->exam)): ?>
                        <?php if($student->exam->type ==0): ?>
                            قبلي
                            <?php elseif($student->exam->type==1): ?>
                            بعدي
                            <?php else: ?>
                            اجتياز
                            <?php endif; ?>
                        <?php endif; ?>
                    </td>
                    <td> 
                        <?php if(isset($student->created_at)): ?>
                        
                    <?php endif; ?>
                    </td>
                    <td> 
                        <?php if(isset($student->totalMark)): ?>
                        <?php echo e($student->totalMark); ?>

                    <?php endif; ?>
                    </td>
                    <td> 
                        <?php if(isset($student->questionMark)): ?>
                        <?php echo e($student->questionMark); ?>

                    <?php endif; ?>
                    </td>
                    
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </tbody>
</table><?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/exports/exam-student.blade.php ENDPATH**/ ?>