MINI MINI MANI MO
<?php $__env->startSection('content'); ?>
<h1>Decretos aprobados por la "LXI" Legislatura</h1>
<p>Responsable de la información: <a href="http://www.secretariadeasuntosparlamentarios.gob.mx/"
target="_blank"><b>Secretaría de Asuntos Parlamentarios</b></a></p>
<a href="sesiones">
<div class="asuntos">Sesiones</div>
</a>
<a href="iniciativas">
<div class="asuntos">Iniciativas</div>
</a>
<a href="puntosdeacuerdo">
<div class="asuntos">Puntos de acuerdo</div>
</a>
<a href="minutas">
<div class="asuntos">Minutas del H. Congreso de la Unión</div>
</a>
<a href="convenios">
<div class="asuntos">Convenios</div>
</a>
<a href="convocatorias">
<div class="asuntos">Convocatorias</div>
</a>
<div style="clear: both;"></div>
<!-- ASUNTOS -->
<div>
<?php if(isset($arc->path)): ?>
<div style="padding: 5px 20px; margin: 25px auto; width: 1030px !important;">
<a href="../storage/documentos/informativos/<?php echo e($arc->path); ?>" target="_blank"
class="btn" style="position: relative; float: right; ">
<button style="background-color: rgb(128,0,72)">
<i class="far fa-file-pdf"></i>
listado
</button>
</a>
</div>
<div style="clear: both;"></div>
<?php endif; ?>
<div style="padding: 5px 20px; margin: 25px auto; background: linear-gradient( 40deg, rgb(250,250,250,1.00) 0%, rgb(225,225,225,1.00) 100% ); border-bottom: rgb(128,0,72) solid 5px; <?php if(explode('/', url()->previous())[3] == "asuntosparlamentarios"): ?> width: 1030px !important; <?php endif; ?>">
<?php $__currentLoopData = $iniciativas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(isset($item->iniciativa->folio)): ?>
<div style="border: rgb(100,100,100) solid 1px; padding: 5px 15px; margin: 10px auto; background:linear-gradient( 50deg, rgb(235,235,235,1.00) 0%, rgb(255,255,255,1.00) 65% ); <?php if(explode('/', url()->previous())[3] == "asuntosparlamentarios"): ?> width: 1000px !important; <?php endif; ?>">
<p style="border-bottom: rgb(135,135,135) dotted 1px;">
<span style="font-size: 0.9em;"> No. <?php echo e($item->iniciativa->folio); ?></span><br>
<i class="fas fa-user-circle"></i> Autor: <b><?php echo e($item->iniciativa->autor); ?></b><br>
<span style="color: black;"><i class="fas fa-scroll"></i><?php echo e($item->iniciativa->iniciativa); ?> </span><br>
<span style="font-size: 0.9em; color: rgb(128,0,72); text-align: left;"><i
class="far fa-calendar-alt"></i> Fecha de presentación:
<?php echo e(Date::parse($item->iniciativa->presentada)->format('d')); ?> de <?php echo e(Date::parse($item->iniciativa->presentada)->formatLocalized('%B')); ?>,
<?php echo e(Date::parse($item->iniciativa->presentada)->format('Y')); ?> </span><br>
<?php if($item->iniciativa->comisiones != ''): ?>
<span
style="font-size: 0.9em; font-weight: 300; color: rgb(0,0,0); text-align: left; line-height: 110%;">
<?php if(json_decode($item->iniciativa->comisiones) != null): ?>
<?php if(json_decode($item->iniciativa->comisiones)[0] != 53): ?>
<span
style="font-size: 0.9em; font-weight: 300; color: rgb(100,100,100,1.0); text-align: left; line-height: 110%; text-transform: uppercase;">Turnada a:</span><br>
<?php endif; ?>
<?php $__currentLoopData = json_decode($item->iniciativa->comisiones); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $data = app('\App\Http\Controllers\MCG\ComisionesController'); ?><?php echo e($data->ComisionNombre($value)); ?>.<br>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<?php if($item->iniciativa->comisiones != 'Dispensa'): ?>
<span
style="font-size: 0.9em; font-weight: 300; color: rgb(100,100,100,1.0); text-align: left; line-height: 110%; text-transform: uppercase;">Turnada a:</span><br>
<?php endif; ?>
<?php echo e($item->iniciativa->comisiones); ?>
<?php endif; ?>
</span>
<?php if($item->iniciativa->status): ?>
<?php if($item->iniciativa->status == 'Aprobada'): ?>
<span style="font-size: 0.9em; font-weight: bolder; color: <?php if ($item->iniciativa->status == 'Aprobada') {
echo 'rgb(0,120,0)';
} else {
echo 'rgb(35,35,35)';
} ?>; text-align: left;">
<?php if($item->iniciativa->status == 'Aprobada'): ?>
<i class='fas fa-check-circle'></i>
<?php endif; ?>
<?php if($item->iniciativa->status == 'Aprobada'): ?>
<b><?php echo e($item->iniciativa->status); ?></b>
<br>
<i class="far fa-calendar-alt"></i> Fecha de aprobación: <?php echo e(Date::parse($item->iniciativa->decretos[0]->fecha_decreto)->format('d')); ?>
de <?php echo e(Date::parse($item->iniciativa->decretos[0]->fecha_decreto)->formatLocalized('%B')); ?>,
<?php echo e(Date::parse($item->iniciativa->decretos[0]->fecha_decreto)->format('Y')); ?>
<?php endif; ?>
</span>
<br>
<?php else: ?>
<span style="font-size: 0.9em; font-weight: bolder; color:rgb(35,35,35); text-align:left; ">
<b><?php echo e($item->iniciativa->status); ?></b>
</span>
<br>
<?php endif; ?>
<?php else: ?>
<span style="font-size: 0.9em; font-weight: bolder; color:rgb(35,35,35); text-align:left; ">
<b>En estudio</b>
</span>
<br>
<?php endif; ?>
<?php if($item->iniciativa->documento): ?>
<a href="../storage/documentos/asuntos/iniciativas/<?php echo e($item->iniciativa->documento); ?>" target="_blank"
class="btn">
<button>
<i class="far fa-file-pdf"></i>
Iniciativa
</button>
</a>
<?php endif; ?>
<?php if(count($item->iniciativa->votacion) && $item->iniciativa->status != "En estudio"): ?>
<button
onclick="location.href='<?php echo e(asset("asuntosparlamentarios/votacion/".base64_encode(base64_encode($item->iniciativa->id)))); ?>'"><i
class="fas fa-poll"></i> Votación
</button>
<?php endif; ?>
<?php endif; ?>
<?php if($item->iniciativa->decretos): ?>
<hr>
<span style="font-size: 0.9em;"><?php echo e($item->nombre_decreto); ?> </span><br>
<a href="../storage/documentos/asuntos/decretos/<?php echo e($item->decreto); ?>" target="_blank"
class="btn">
<button>
<i class="far fa-file-pdf"></i>
Decreto <?php echo e($item->num_decreto); ?>
</button>
</a>
<hr>
<?php endif; ?>
</div>
<?php else: ?>
<b><?php echo e($item); ?></b><br>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?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/iniciativas/decretos.blade.php ENDPATH**/ ?>
OHA YOOOO