<?php $__env->startSection('title', 'Administracion'); ?>

<?php $__env->startSection('content'); ?>
    <div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center gap-2 mb-4">
        <div>
            <h1 class="h3 mb-1">Administracion</h1>
            <p class="text-muted-brand mb-0">Seleccione el modulo que desea administrar.</p>
        </div>
    </div>

    <div class="row g-3">
        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'users'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Personal</div>
                    <div class="small text-secondary">Listado de usuarios</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'sitios'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Sitios</div>
                    <div class="small text-secondary">Listado de Sitios de embarcaciones</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'embarcaciones'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Embarcaciones</div>
                    <div class="small text-secondary">Listado de embarcaciones existentes</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'bienes'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Bienes</div>
                    <div class="small text-secondary">Inventario de bienes</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'precios-por-bien'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Precios por Bien</div>
                    <div class="small text-secondary">Registro historico de precios y utilidad por bien</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'dependencias'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Dependencias</div>
                    <div class="small text-secondary">Catalogo de dependencias de la empresa</div>
                </div>
            </a>
        </div>

        <?php if(auth()->user()?->isAdmin() || auth()->user()?->isGestor()): ?>
            <div class="col-12 col-md-6 col-lg-4">
                <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.barcode-generator')); ?>">
                    <div class="card-body">
                        <div class="fw-semibold text-dark">Generador de Codigo de Barras</div>
                        <div class="small text-secondary">Genera etiquetas para bienes con codigo ABS</div>
                    </div>
                </a>
            </div>
        <?php endif; ?>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'tallas-uniformes'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Tallas de Uniforme</div>
                    <div class="small text-secondary">Listado de tallas de uniformes del personal</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'registros-stock'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Registro de Stock</div>
                    <div class="small text-secondary">Movimientos y observaciones de stock</div>
                </div>
            </a>
        </div>

        <div class="col-12 col-md-6 col-lg-4">
            <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'operaciones'])); ?>">
                <div class="card-body">
                    <div class="fw-semibold text-dark">Historial de Operaciones</div>
                    <div class="small text-secondary">Consulta de operaciones del sistema de Almacen</div>
                </div>
            </a>
        </div>

        <?php if(auth()->user()?->isAdmin() || auth()->user()?->isGestor()): ?>
            <div class="col-12 col-md-6 col-lg-4">
                <a class="card card-soft h-100 text-decoration-none" href="<?php echo e(route('administracion.crud.index', ['entity' => 'solicitudes-bienes'])); ?>">
                    <div class="card-body">
                        <div class="fw-semibold text-dark">Solicitudes de Bienes</div>
                        <div class="small text-secondary">Historial de solicitudes generadas desde Ship Market</div>
                    </div>
                </a>
            </div>
        <?php endif; ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\almacen2\resources\views/administracion/index.blade.php ENDPATH**/ ?>