<?php $__env->startSection('content'); ?>
    <!-- APP MAIN ==========-->
    <main id="app-main" class="app-main">
        <div class="wrap">
            <section class="app-content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="widget p-lg">
                            <h4 class="m-b-lg">Detalles Clientes y Ventas</h4>
                            <table class="table supervisor-history-table">

                                <thead>
                                <tr class="visible-lg">
                                    <th>Nombres</th>
                                    <th>Credito</th>
                                    <th>Valor</th>
                                    <th>Saldo</th>
                                    <th>Cuota</th>
                                    <th></th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><span class="value"><?php echo e($client->name); ?> <?php echo e($client->last_name); ?></span></td>
                                        <td><span class="value"><?php echo e($client->credit_id); ?></span></td>
                                        <td><span class="value"><?php echo e($client->amount_neto); ?></span></td>
                                        <td><span class="value"><?php echo e(($client->summary_total)); ?></span></td>
                                        <td><span class="value"><?php echo e($client->number_index); ?>/<?php echo e($client->payment_number); ?></span></td>
                                        <td>
                                            <a href="<?php echo e(url('supervisor/menu/history')); ?>/<?php echo e($client->credit_id); ?>" class="btn btn-info btn-xs">Ver</a>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </tbody></table>
                                <footer class="widget-footer">
                                    <p><b>Falta cobrar </b> <span class="text-primary"><?php echo e($total_rest); ?></span> de <span class="text-success"><?php echo e($total_credit); ?></span></p>
                                </footer>
                        </div><!-- .widget -->
                        <div class="col-lg-12 text-right">
                            <a href="<?php echo e(url('supervisor/review/')); ?>/<?php echo e($id_wallet); ?>" class="btn btn-inverse"><i class="fa fa-arrow-left"></i> Regresar</a>
                        </div>
                    </div>
                </div><!-- .row -->
            </section>
        </div>
    </main>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/naciszrf/public_html/prestamos/resources/views/submenu/history/index.blade.php ENDPATH**/ ?>