<div class="bg-white px-4 pb-4 sm:p-4 sm:pb-4">
    <?php if (isset($component)) { $__componentOriginal71c6471fa76ce19017edc287b6f4508c = $component; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('table'); ?>
<?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([]); ?>
         <?php $__env->slot('title', null, []); ?> 
            <p class="mt-1 text-sm font-normal text-gray-500"><?php echo e($titulo); ?> en el sistema.</p>
         <?php $__env->endSlot(); ?>
         <?php $__env->slot('head', null, []); ?> 
            <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $columnas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <th scope="col" class="px-6 py-3">
                   <?php echo e($item); ?>

                </th>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!--[if ENDBLOCK]><![endif]-->
         <?php $__env->endSlot(); ?>
         <?php $__env->slot('body', null, []); ?> 
            <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $historial; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr class="bg-white border-b hover:bg-orange-100">
                    <!--[if BLOCK]><![endif]--><?php if($tipo == 'producto'): ?>
                        <th scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap">
                            <?php echo e(moneda($item->precio_venta)); ?>

                        </th>
                        <td class="px-6 py-4">
                            <?php echo e($item->fecha); ?>

                        </td>
                    <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
                    <!--[if BLOCK]><![endif]--><?php if($tipo == 'cliente'): ?>
                        <th scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap">
                            <?php echo e($item->monto); ?>

                        </th>
                        <td class="px-6 py-4">
                            <?php echo e($item->fecha); ?>

                        </td>
                    <?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
                </tr> 
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!--[if ENDBLOCK]><![endif]-->
         <?php $__env->endSlot(); ?>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal71c6471fa76ce19017edc287b6f4508c)): ?>
<?php $component = $__componentOriginal71c6471fa76ce19017edc287b6f4508c; ?>
<?php unset($__componentOriginal71c6471fa76ce19017edc287b6f4508c); ?>
<?php endif; ?>
    <div class="mt-2">
        <?php echo e($historial->links()); ?>

    </div>
</div><?php /**PATH /home/superma2/public_html/resources/views/livewire/historial.blade.php ENDPATH**/ ?>