<div class="row mb-3">
    <div class="col-xl-3 col-md-6 col-6">
    <?php if (isset($component)) { $__componentOriginal88210b161ac9da424ac08c0f17c4d197 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal88210b161ac9da424ac08c0f17c4d197 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard-card','data' => ['title' => 'Today\'s Attendance','value' => ''.e($total_present ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_present > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--success)','icon' => 'fas fa-file-alt','iconColor' => 'text-success']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Today\'s Attendance','value' => ''.e($total_present ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_present > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--success)','icon' => 'fas fa-file-alt','iconColor' => 'text-success']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $attributes = $__attributesOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $component = $__componentOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__componentOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
    </div>

    <!-- pending homework -->
    <div class="col-xl-3 col-md-6 col-6">
    <?php if (isset($component)) { $__componentOriginal88210b161ac9da424ac08c0f17c4d197 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal88210b161ac9da424ac08c0f17c4d197 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard-card','data' => ['title' => 'Today\'s Late Attendance','value' => ''.e($total_late ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_late > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-invoice-dollar','iconColor' => 'text-primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Today\'s Late Attendance','value' => ''.e($total_late ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_late > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-invoice-dollar','iconColor' => 'text-primary']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $attributes = $__attributesOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $component = $__componentOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__componentOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
    </div>
<div class="col-xl-3 col-md-6 col-6">
    <?php if (isset($component)) { $__componentOriginal88210b161ac9da424ac08c0f17c4d197 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal88210b161ac9da424ac08c0f17c4d197 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard-card','data' => ['title' => 'Yesterday Attendance','value' => ''.e($yesterday_present ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($yesterday_present > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-alt','iconColor' => 'text-primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Yesterday Attendance','value' => ''.e($yesterday_present ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($yesterday_present > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-alt','iconColor' => 'text-primary']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $attributes = $__attributesOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $component = $__componentOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__componentOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
</div>
<div class="col-xl-3 col-md-6 col-6">
    <?php if (isset($component)) { $__componentOriginal88210b161ac9da424ac08c0f17c4d197 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal88210b161ac9da424ac08c0f17c4d197 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard-card','data' => ['title' => 'Total Students','value' => ''.e($total_students ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_students > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-invoice-dollar','iconColor' => 'text-primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Total Students','value' => ''.e($total_students ?? 0).'','trendClass' => 'text-success','trendIcon' => ''.e($total_students > 0 ? 'fa fa-arrow-up' : 'fa fa-arrow-down').'','trendText' => 'Since last month','borderColor' => 'var(--blue)','icon' => 'fas fa-file-invoice-dollar','iconColor' => 'text-primary']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $attributes = $__attributesOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__attributesOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal88210b161ac9da424ac08c0f17c4d197)): ?>
<?php $component = $__componentOriginal88210b161ac9da424ac08c0f17c4d197; ?>
<?php unset($__componentOriginal88210b161ac9da424ac08c0f17c4d197); ?>
<?php endif; ?>
</div>















































</div>


<?php /**PATH /var/www/html/EdueasyCollege/resources/views/layouts/teacher-dashboard.blade.php ENDPATH**/ ?>