MINI MINI MANI MO
<?php $__env->startSection("content"); ?>
<h1>Gaceta Parlamentaria</h1>
<div>
<div style="margin: 0px 10px; float: left;"><img src="<?php echo e(asset("storage/img/gaceta.png")); ?>" width="100"></div>
<div style="float: left;">
<p style="line-height: 140%; margin: 5px auto;">No. <?php echo e($gaceta[0]->numero); ?> - Año <?php echo e($gaceta[0]->year); ?><br>
<span style="font-size: 1.5em; font-weight: bolder;"> <?php echo e(Date::parse($gaceta[0]->date)->format('d')); ?> de
<?php echo e(Date::parse($gaceta[0]->date)->formatLocalized('%B')); ?>,
<?php echo e(Date::parse($gaceta[0]->date)->format('Y')); ?></span><br>
Formato:<?php echo e($gaceta[0]->format); ?> </p>
<button onclick="window.open('<?php echo e(asset("storage/documentos/gaceta/".$gaceta[0]->documento)); ?>')"><i class="far fa-file-pdf"></i> Descargar</button>
</div>
<div style="clear: both;"></div>
</div>
<div style="height: 20px; clear: both;"></div>
<h2>Números anteriores</h2>
<?php $__currentLoopData = $gacetas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e(asset("storage/documentos/gaceta/".$item->documento)); ?>" target="_blank">
<div class="bloque_ley">
<div class="icon_pdf"><i class="far fa-file-pdf"></i></div>
<div class="ley_name">
<span style="font-size: 0.8em;">No. <?php echo e($item->numero); ?> - Año <?php echo e($item->year); ?></span><br>
<b> <?php echo e(Date::parse($item->date)->format('d')); ?> de
<?php echo e(Date::parse($item->date)->formatLocalized('%B')); ?>,
<?php echo e(Date::parse($item->date)->format('Y')); ?></b>
</div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<!-- <button onclick="location.href='gacetas'">Números anteriores</button> -->
<a href="gacetaanteriores"><button href="gacetaanteriores" type="button"> Números anteriores </button></a>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("layout.pages.app", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/sistemas/saplxi/resources/views/pages/gaceta/index.blade.php ENDPATH**/ ?>
OHA YOOOO