<!DOCTYPE html>
<html lang="ES-es">
    <head>
        <?php echo $__env->make('layout.includes.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </head>
    <body class="pushable"  style="overflow :hidden">
        
        <!--start sidebar-->
        <?php if(Auth::guard("usuario")->user()->id_rol == 1): ?>
            <?php echo $__env->make('layout.includes.sidebar-admin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php elseif(Auth::guard("usuario")->user()->id_rol == 2): ?>
            <?php echo $__env->make('layout.includes.sidebar-ventas', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php elseif(Auth::guard("usuario")->user()->id_rol == 3): ?>
            <?php echo $__env->make('layout.includes.sidebar-almacen', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php elseif(Auth::guard("usuario")->user()->id_rol == 4): ?>
            <?php echo $__env->make('layout.includes.sidebar-ventas-almacen', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>    
        <?php endif; ?>
        
        <!--end sidebar-->

        <!--start pusher-->
        <div class="pusher" id="pusher" style="visibility:hidden">
            <!--start navbar--> 
            <?php echo $__env->make('layout.includes.navbar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <!--end navbar--> 

            <!--start content--> 
            <div class="ui equal width left aligned padded grid stackable centered">

                <div class="row">

                    <?php echo $__env->yieldContent('content'); ?>

                </div>        
            </div>

            <!--end content--> 

        </div>
        <!--end pusher-->

        <!--start page loader-->
        <div id="loader">
            <div class="ui active dimmer" style="position: fixed;">
                <div class="ui big text loader ">Cargando...</div>
            </div>
        </div>
        <!--end page loader-->

        <!--start ajax loader-->
        <div class="ui disabled inverted dimmer ajax" id="ajax_loader" style="position: fixed;">
            <div class="ui large loader"></div>
        </div>
        <!--end ajax loader-->

        <!--start content scripts-->
        <?php echo $__env->yieldContent('scripts'); ?>
        <!--end content scripts-->
                            

        <!--start footer-->
        <?php echo $__env->make('layout.includes.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <!--end footer-->

    </body>
</html>