<div class="widget stacked">
	<div class="widget-content">
		<div class="shortcuts">
            <?php
                $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='19' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){
            ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
    			<a href="V_cotizaciones.php" class="shortcut <?php echo $cotizacion;?>">
                    <i class="shortcut-icon fa-solid fa-file-pen"></i>
    				<span class="shortcut-label">
                        <strong> <?php if($negocio_neg_id=='2' or $negocio_neg_id=='7') { ?>PEDIDOS<?php } else {?> COTIZACIONES <?php } ?></strong>
                    </span>
    			</a>
            </div>
            <?php } ?>

            <?php
                $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='20' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){
            ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
    			<a href="V_ventas.php" class="shortcut <?php echo $ventas;?>">
                    <i class="shortcut-icon fa-solid fa-file-circle-plus"></i>
    				<span class="shortcut-label"><strong>DOCUMENTOS</strong></span>
    			</a>
            </div>
            <?php } ?>

            <?php if ($tipo_soft<>'2')  { ?>
            <?php if ($tienda_online=='si') { ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_cotizaciones_online.php" class="shortcut <?php //echo $cotizacion_online;?>">
                    <i class="shortcut-icon fa-solid fa-cart-arrow-down"></i>
                    <span class="shortcut-label">
                        <strong> PEDIDOS ONLINE </strong>
                    </span>
                </a>
            </div>
            <?php } ?>
            <?php if ($negocio_neg_id=='5') { ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_reservas.php" class="shortcut <?php //echo $reservas;?>">
                    <i class="shortcut-icon fa-solid fa-ticket"></i>
                    <span class="shortcut-label">
                        <strong> RESERVAS </strong>
                    </span>
                </a>
            </div>
            <?php } ?>

            <?php
                $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='22' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){
            ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_cartera.php" class="shortcut <?php echo $cartera;?>">
                    <i class="shortcut-icon fa-solid fa-briefcase "></i>
                    <span class="shortcut-label"><strong>CARTERA</strong></span>
                </a>
            </div>
            <?php } ?>

            <?php
                $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='23' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){
            ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_garantias.php" class="shortcut <?php echo $garantias;?>" >
                    <i class="shortcut-icon fa-solid fa-award"></i>
                    <span class="shortcut-label"><strong>GARANTIAS</strong></span>
                </a>
            </div>
            <?php } ?>

            <?php
               /* $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='24' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){*/
            ?>
          <!--  <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_abonos.php" class="shortcut <?php echo $abonos;?>" >
                    <i class="shortcut-icon icon-search"></i>
                <span class="shortcut-label">ABONOS X ADELANTADO</span>
                </a>
            </div> -->
            <?php //} ?>

            <?php
                $permi1=mysqli_query($con,"SELECT * from permiso where modulo_mod_id ='21' and usuario_usu_id='$usu_id'") or die(mysqli_error($con));
                $permi1=mysqli_fetch_array($permi1);
                  if($permi1['per_visualizar']=='Activo'){
            ?>

            <?php
            $can=mysqli_query($con,"SELECT * FROM modulo  where  mod_id='21' and estado='Activo' ") or die(mysqli_error($con)); 
            $to=mysqli_fetch_array($can);
            if($to>0)
            { ?>
            <div class="col-lg-6 col-md-12 col-sm-2 col-xs-4" >
                <a href="V_facturacion_periodica.php" class="shortcut <?php //echo $periodica;?>">
                    <i class="shortcut-icon icon-calendar"></i>
                    <span class="shortcut-label"><strong>FACTURACION PERIODICA</strong></span>
                </a>
            </div>
            <?php  }  } } ?>
		</div> <!-- /shortcuts -->	
	</div> <!-- /widget-content -->
</div> <!-- /widget -->
