

<?php $__env->startSection('title'); ?>
    إدارة
    <?php if(isset($room->name)): ?>
        <?php echo e($room->name); ?>

    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
    <!--**********************************
                                Content body start
                            ***********************************-->
    <?php echo $__env->make('massages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- row -->
    <div class="container-fluid container-fluid-traning bg-white">
        <!--**********************************Tabs Start***********************************-->
        <div class="d-flex flex-wrap align-items-center mb-3">
            <?php if(Auth::user()->role == 0): ?>
            <div class="mb-3 ms-auto">
                <div class="card-tabs style-1 mt-3 mt-sm-0">
                    <ul class="nav nav-tabs" role="tablist">
                        <li class="nav-item">
                            <a class="nav-link <?php if(Auth::user()->role == 0): ?> active <?php endif; ?>" href="javascript:void(0);" data-bs-toggle="tab" id="is-attendance-tab" data-bs-target="#is-attendance" role="tab">الدروس المنجزة</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link <?php if(Auth::user()->role == 1||Auth::user()->role == 3): ?> active <?php endif; ?> " href="javascript:void(0);" data-bs-toggle="tab" id="Wait-attendancw-tab" data-bs-target="#wait-attendance" role="tab"> الدروس المتبقية</a>
                        </li>
                    </ul>
                </div>
            </div>
            <?php endif; ?>
            
        </div>
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                <?php if(Auth::user()->role == 0 || Auth::user()->role == 1): ?>
                    <?php echo $__env->make('lessons.tables.is-attendance', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php elseif(Auth::user()->role == 0 || Auth::user()->role == 3): ?>
                    <?php echo $__env->make('lessons.tables.wait-attendance', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </div>
        </div>
    </div>

    <!--**********************************
                                Content body end
                    ***********************************-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/lessons/attendance-list.blade.php ENDPATH**/ ?>