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

<?php $__env->startSection('content'); ?>
<div class="container py-3">
    <div class="row justify-content-center">
        <div class="col-lg-10">
            <div class="card shadow-sm border-0">
                <div class="card-header bg-dark text-white fw-bold">
                    INGRESOS PENDIENTES DE ANULACION
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover table-sm align-middle">
                            <thead>
                                <tr>
                                    <th class="text-center">ITEM</th>
                                    <th class="text-center">SERIE-NUMERO</th>
                                    <th class="text-center">CODIGO</th>
                                    <th>MOTIVO DE ANULACION</th>
                                    <th class="text-center">ACCION</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__empty_1 = true; $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $it): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                    <tr>
                                        <td class="text-center"><?php echo e($loop->iteration); ?></td>
                                        <td class="text-center"><?php echo e($it->serie); ?>-<?php echo e($it->numero); ?></td>
                                        <td class="text-center"><?php echo e($it->codigo); ?></td>
                                        <td><?php echo e($it->motivo_anulacion); ?></td>
                                        <td class="text-center">
                                            <a href="<?php echo e(route('admin.ingreso-anular.edit', $it->id)); ?>" class="btn btn-sm btn-outline-danger" title="Autorizar anulacion">
                                                <i class="fas fa-ban"></i>
                                            </a>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                    <tr>
                                        <td colspan="5" class="text-center text-muted">No hay ingresos pendientes de anulacion.</td>
                                    </tr>
                                <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\laragon\www\seminario\resources\views/Caja/ingreso_anular/index.blade.php ENDPATH**/ ?>