<?php $__env->startSection('tituloPlantilla', 'Panel'); ?>

<?php $__env->startSection('cssPlantilla'); ?>

    <!-- Iconly -->
    <link rel="stylesheet" href="<?php echo e(asset('vendor/daite/coopdigital/src/public/librerias/iconly/css/iconly.css')); ?>">

    <!-- Font Awesome v5.15.4 -->
    <link rel="stylesheet" href="<?php echo e(asset('vendor/daite/coopdigital/src/public/librerias/font-awesome/5.15.4/css/fontawesome.css')); ?>">

    <!-- Apex Charts v3.35.1 -->
    <link rel="stylesheet" href="<?php echo e(asset('vendor/daite/coopdigital/src/public/librerias/apexcharts/3.35.1/css/apexcharts.css')); ?>">

    <!-- CSS -->
    <link
    rel="stylesheet"
    href="<?php echo e(asset('vendor/daite/coopdigital/src/public/css/vista/diseños/tablaRegistrosDialogo.css')); ?>"
    />
    <link
    rel="stylesheet"
    href="<?php echo e(asset('vendor/daite/coopdigital/src/public/css/vista/panel/inicio.css')); ?>"
    />

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

<?php $__env->startSection('contenidoPlantilla'); ?>

    <div class="page-heading">
        <h3>Resumen</h3>
    </div>

    <div class="page-content">

        <section class="row">

            <div class="col-12 col-lg-12">

                <?php echo csrf_field(); ?>

                <div class="row">
                    <div class="col-6">
                        <div class="row">
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.cuentas')); ?>?tipoCuenta=APORTES" id="cuentasAportes">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-donate"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Aportes</h6>
                                                <h6 class="font-extrabold mb-0" id="aportes">
                                                    <?php echo e(number_format($resumen->aportes??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.cuentas')); ?>?tipoCuenta=AHORROS" id="cuentasAhorros">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-piggy-bank"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Ahorros</h6>
                                                <h6 class="font-extrabold mb-0" id="ahorros">
                                                    <?php echo e(number_format($resumen->ahorros??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.certificados')); ?>">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-check-circle"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Certificados</h6>
                                                <h6 class="font-extrabold mb-0" id="certificados">
                                                    <?php echo e(number_format($resumen->certificados??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </div>
                    <div class="col-6">
                        <div class="row">
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.prestamos')); ?>">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-hand-holding-usd"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Préstamos</h6>
                                                <h6 class="font-extrabold mb-0" id="prestamos">
                                                    <?php echo e(number_format($resumen->prestamos??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.facturas')); ?>">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-file-invoice-dollar"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Facturas</h6>
                                                <h6 class="font-extrabold mb-0" id="facturas">
                                                    <?php echo e(number_format($resumen->facturas??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                            <a class="col-6 col-lg-4 col-md-6" href="<?php echo e(route('panel.lineasCredito')); ?>">
                                <div class="card">
                                    <div class="card-body px-3 py-4-5">
                                        <div class="row">
                                            <div class="col-md-4">
                                                <div class="stats-icon">
                                                    <i class="fas fa-balance-scale"></i>
                                                </div>
                                            </div>
                                            <div class="col-md-8">
                                                <h6 class="text-muted font-semibold">Línea Crédito</h6>
                                                <h6 class="font-extrabold mb-0" id="lineasCredito">
                                                    <?php echo e(number_format($resumen->linea_credito??0, 2)); ?></h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </div>
                    <h5>Deudas y Balance de Cuentas</h5>
                    <div id="chart" style="min-height: 365px;"></div>
                    <h5>Balance Pendiente</h5>
                    <div class="col-12 col-lg-12 col-md-12">
                        <div class="card">
                            <div class="card-body px-3 py-4-5">
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="row">

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Capital:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->capital??0, 2)); ?></div>
                                                </div>
                                            </div>

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Interés:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->interes??0, 2)); ?></div>
                                                </div>
                                            </div>

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Comisión:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->comision??0, 2)); ?></div>
                                                </div>
                                            </div>

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Seguros:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->seguros??0, 2)); ?></div>
                                                </div>
                                            </div>

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Mora:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->mora??0, 2)); ?></div>
                                                </div>
                                            </div>

                                            <div class="col-6">
                                                <div class="row">
                                                    <div class="col-6">Pen. Fecha:</div>
                                                    <div class="col-6">
                                                        <?php echo e(number_format($balancePendiente->total??0, 2)); ?></div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

        </section>

    </div>

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

<?php $__env->startSection('jsPlantilla'); ?>

    <!-- Apex Charts v3.35.1 -->
    <script src="<?php echo e(asset('vendor/daite/coopdigital/src/public/librerias/apexcharts/3.35.1/js/apexcharts.js')); ?>"></script>
    <!-- JavaScript -->
    <script src="<?php echo e(asset('vendor/daite/coopdigital/src/public/js/utilidades/herramientas.js')); ?>"></script>
    <script src="<?php echo e(asset('vendor/daite/coopdigital/src/public/js/vista/panel/inicio.js')); ?>"></script>

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

<?php echo $__env->make('coopdigital::diseños.plantilla', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\aplicaciones\clientes\cooperativas\coopdespertar\vendor\daite\coopdigital\src/views/panel/inicio.blade.php ENDPATH**/ ?>