<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <?php echo e(__('Dashboard')); ?>

        </h2>
     <?php $__env->endSlot(); ?>

    <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
        <!-- Stat Cards -->
        <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mt-6">
            <!-- Expired Documents Card -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h4 class="text-sm font-semibold text-gray-500"><?php echo e(__('Documentos Vencidos')); ?></h4>
                    <p class="text-3xl font-bold text-red-600 mt-1"><?php echo e($expiredDocumentsCount); ?></p>
                </div>
            </div>
            <!-- Expiring Soon Card -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h4 class="text-sm font-semibold text-gray-500"><?php echo e(__('Documentos por Vencer (30 días)')); ?></h4>
                    <p class="text-3xl font-bold text-orange-500 mt-1"><?php echo e($expiringSoonCount); ?></p>
                </div>
            </div>
            <!-- Active Employees Card -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h4 class="text-sm font-semibold text-gray-500"><?php echo e(__('Empleados Activos')); ?></h4>
                    <p class="text-3xl font-bold text-green-600 mt-1"><?php echo e($activeEmployeesCount); ?></p>
                </div>
            </div>
            <!-- Operational Vehicles Card -->
            <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                <div class="p-6">
                    <h4 class="text-sm font-semibold text-gray-500"><?php echo e(__('Vehículos Operativos')); ?></h4>
                    <p class="text-3xl font-bold text-blue-600 mt-1"><?php echo e($operationalVehiclesCount); ?></p>
                </div>
            </div>
        </div>

        <div class="mt-6">
            <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('expiring-documents-widget', []);

$key = null;

$key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-485318644-0', null);

$__html = app('livewire')->mount($__name, $__params, $key);

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        </div>

        <div class="mt-6">
            <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('maintenance-status-widget', []);

$key = null;

$key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-485318644-1', null);

$__html = app('livewire')->mount($__name, $__params, $key);

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        </div>

        <div class="mt-6">
            <?php if (isset($component)) { $__componentOriginal620ce13f2825b7aaf686f1261f0f9dde = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal620ce13f2825b7aaf686f1261f0f9dde = $attributes; } ?>
<?php $component = App\View\Components\DocumentTable::resolve(['title' => __('Documentos Vencidos'),'documents' => $expiredDocuments] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('document-table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\DocumentTable::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal620ce13f2825b7aaf686f1261f0f9dde)): ?>
<?php $attributes = $__attributesOriginal620ce13f2825b7aaf686f1261f0f9dde; ?>
<?php unset($__attributesOriginal620ce13f2825b7aaf686f1261f0f9dde); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal620ce13f2825b7aaf686f1261f0f9dde)): ?>
<?php $component = $__componentOriginal620ce13f2825b7aaf686f1261f0f9dde; ?>
<?php unset($__componentOriginal620ce13f2825b7aaf686f1261f0f9dde); ?>
<?php endif; ?>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH D:\Trabajo\Personal\tda-admin-app\resources\views/dashboard.blade.php ENDPATH**/ ?>