MINI MINI MANI MO
<?php $__env->startSection("content"); ?>
<?php if($ini->categoria == "Iniciativa"): ?>
<div style="font-size: 1em; color: rgb(128,0,72); text-align: center; ">
<b>Votación del Decreto No.<?php echo e($iniciativa->num_decreto); ?></b>
</div>
<br>
<span style="font-size: 0.9em; color: rgb(128,0,72); text-align: justify;">
<?php echo e($iniciativa->nombre_decreto); ?>
</span>
<p style="border-bottom: rgb(135,135,135) dotted 1px;">
<table>
<thead>
<tr>
<th>Sentido del voto</th>
<th>Cantidad</th>
</tr>
</thead>
<tr>
<td>A favor</td>
<td><?php echo e($iniciativa->favor->count()); ?></td>
</tr>
<tr>
<td>En contra</td>
<td><?php echo e($iniciativa->contra->count()); ?></td>
</tr>
<tr>
<td>Abstención</td>
<td><?php echo e($iniciativa->abstencion->count()); ?></td>
</tr>
<tr>
<td>Sin registro</td>
<td><?php echo e($iniciativa->sinRegistro->count()); ?></td>
</tr>
</table>
<br>
<?php else: ?>
<div style="font-size: 1em; color: rgb(128,0,72); text-align: center; ">
<b>Votación del Acuerdo No.<?php echo e($iniciativa->num_decreto); ?></b>
</div>
<br>
<span style="font-size: 0.8em; color: rgb(128,0,72); text-align: justify;">
<?php echo e($iniciativa->nombre_acuerdo); ?>
</span>
<p style="border-bottom: rgb(135,135,135) dotted 1px;">
<?php if($iniciativa->acuerdo): ?>
<?php endif; ?>
<table>
<thead>
<tr>
<th>Sentido del voto</th>
<th>Cantidad</th>
</tr>
</thead>
<tr>
<td>A favor</td>
<td><?php echo e($iniciativa->favor->count()); ?></td>
</tr>
<tr>
<td>En contra</td>
<td><?php echo e($iniciativa->contra->count()); ?></td>
</tr>
<tr>
<td>Abstención</td>
<td><?php echo e($iniciativa->abstencion->count()); ?></td>
</tr>
<tr>
<td>Sin registro</td>
<td><?php echo e($iniciativa->sinRegistro->count()); ?></td>
</tr>
</table>
<br>
<?php if($iniciativa->comisiones != ''): ?>
<?php if($iniciativa->documento): ?>
<?php if($iniciativa->categoria == "Iniciativa"): ?>
<button
onclick="window.open('http://www.legislativoedomex.gob.mx/documentos/asuntos/iniciativas/<?php echo e($iniciativa->documento); ?>')">
<i class="far fa-file-pdf"></i> Iniciativa
</button>
<?php endif; ?>
<?php endif; ?>
<?php if($iniciativa->decreto): ?>
<?php if($iniciativa->categoria == "Iniciativa"): ?>
<button
onclick="window.open('http://www.legislativoedomex.gob.mx/documentos/asuntos/iniciativas/<?php echo e($iniciativa->decreto); ?>')">
<i class="far fa-file-pdf"></i> Decreto
</button>
<?php endif; ?>
<?php if($iniciativa->categoria == "Punto de Acuerdo"): ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
</p>
<?php endif; ?>
<table>
<thead>
<tr>
<th>No.</th>
<th>Diputada/o</th>
<th>Partido</th>
<th>Sentido</th>
</tr>
</thead>
<tbody>
<?php $i=1; ?>
<?php $__currentLoopData = $votacion; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($i++); ?></td>
<td style="text-align: left;">
<?php echo e($item->diputado->apaterno); ?> <?php echo e($item->diputado->amaterno); ?> <?php echo e($item->diputado->nombres); ?>
</td>
<td>
<?php if(isset($item->partidos->emblema)): ?>
<img src="<?php echo e(asset("storage/img/partidos/".$item->partidos->emblema )); ?>" height="30">
<?php else: ?>
<img src="<?php echo e(asset("storage/img/partidos/".$item->diputado->partido->emblema )); ?>" height="30">
<?php endif; ?>
</td>
<td>
<?php if($item->voto == 1): ?>
A favor
<?php endif; ?>
<?php if($item->voto == 2): ?>
En contra
<?php endif; ?>
<?php if($item->voto == 3): ?>
Abstención
<?php endif; ?>
<?php if($item->voto == 4): ?>
Ausente
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("layout.pages.app", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/legislaedomex/public_html/saplxi/resources/views/asuntosparlamentarios/pages/votaciones/votacion.blade.php ENDPATH**/ ?>
OHA YOOOO