<?php $__env->startSection('template_title'); ?>
    <?php echo e(__('Detalles') ." ".$factura->factura?? __('Show') . ' ' . __('Factura')); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <section class="content container-fluid">
        <div class="row">
            <div class="col-md-12">
                <div class="card">
                    <div class="card-header" style="display: flex; justify-content: space-between; align-items: center;">
                        <div class="float-left">
                            <span class="card-title"><?php echo e(__('Show')); ?> Factura</span>
                        </div>
                        <div class="float-right">
                            <a class="btn btn-primary btn-sm" href="<?php echo e(route('facturas.index')); ?>"> <?php echo e(__('Regresar')); ?></a>
                        </div>
                    </div>

                    <div class="card-body bg-white">

                        <div class="form-group mb-2 mb20">
                            <strong>Factura:</strong>
                            <?php echo e($factura->factura); ?>

                        </div>
                        <div class="form-group mb-2 mb20">
                            <strong>Nopedido:</strong>
                            <?php echo e($factura->noPedido); ?>

                        </div>
                        <div class="form-group mb-2 mb20">
                            <strong>Proveedor:</strong>
                            <?php echo e($factura->proveedor->nombre); ?>

                        </div>
                        <div class="form-group mb-2 mb20">
                            <strong>Fecha de Alta de Factura:</strong>
                            <?php echo e($factura->fechaAlta); ?>

                        </div>
                        <div class="form-group mb-2 mb20">
                            <strong>Bienes Asignados:</strong>
                            <table class="table table-bordered">
                                <tr>
                                    <td><strong>No. Inventario:</strong></td>
                                    <td><strong>Bien</strong></td>
                                    <td><strong>Marca</strong></td>
                                    <td><strong>Modelo</strong></td>
                                    <td><strong>Serie</strong></td>
                                </tr>
                                <?php $__currentLoopData = $bienes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bien): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><a href="<?php echo e(route('bienes.show', $bien->id)); ?>"><?php echo e($bien->inventario); ?></a></td>
                                        <td><?php echo e($bien->bien); ?></td>
                                        <td><?php echo e($bien->marca); ?></td>
                                        <td><?php echo e($bien->modelo); ?></td>
                                        <td><?php echo e($bien->serie); ?></td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\laravel10\inven\resources\views/factura/show.blade.php ENDPATH**/ ?>