<?php $__env->startSection('title'); ?>
    <?php echo e(config('app.name')); ?>

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

<?php $__env->startSection('header'); ?>
    <h1 class="w3-center">Menú</h1>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="w3-content">
    <h4 class="w3-center">Bienvenido <?php echo e(Auth::user()->email); ?></h4>
    <div class="w3-margin">
        <div class="w3-row-padding">
            <div class="w3-col s12 m4 l4">
                <a href="<?php echo e(route('erc.recibos.create')); ?>">
                    <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                        <h2><span class="fa fa-plus fa-5x"></span></h2>
                        <h2>Generar</h2>
                    </div>
                </a>
            </div>

            <div class="w3-col s12 m4 l4">
                <div class="w3-card-4 w3-round">
                    <a href="<?php echo e(route('erc.recibos.index')); ?>">
                        <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                            <h2><span class="fa fa-receipt fa-5x"></span></h2>
                            <h2>Recibos</h2>
                        </div>
                    </a>
                </div>
            </div>

            <div class="w3-col s12 m4 l4">
                <div class="w3-card-4 w3-round">
                    <a href="<?php echo e(route('erc.recibos.cartera', ['filtro' => '1'])); ?>">
                        <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                            <h2><span class="fa fa-coins fa-5x"></span></h2>
                            <h2>Cartera</h2>
                        </div>
                    </a>
                </div>
            </div>
        </div>
        <br>
        <div class="w3-row-padding">
            <div class="w3-col s12 m4 l4">
                <a href="<?php echo e(route('erc.usuarios.profile', Auth::user())); ?>">
                    <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                        <h2><span class="fa fa-user fa-5x"></span></h2>
                        <h2>Perfil</h2>
                    </div>
                </a>
            </div>

            <div class="w3-col s12 m4 l4">
                <div class="w3-card-4 w3-round">
                    <a href="<?php echo e(route('erc.usuarios.index')); ?>">
                        <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                            <h2><span class="fa fa-users fa-5x"></span></h2>
                            <h2>Usuarios</h2>
                        </div>
                    </a>
                </div>
            </div>

            <div class="w3-col s12 m4 l4">
                <div class="w3-card-4 w3-round">
                    <a href="<?php echo e(route('logout')); ?>"
                        onclick="event.preventDefault();
                        document.getElementById('logout-form').submit();">
                        <div class="w3-card-4 w3-center w3-padding w3-round w3-text-grey w3-hover-theme">
                            <h2><span class="fa fa-sign-out-alt fa-5x"></span></h2>
                            <h2>Salir</h2>
                        </div>
                    </a>
                    <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;"><?php echo e(csrf_field()); ?></form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>