MINI MINI MANI MO
<?php $__env->startSection("content"); ?>
<h1>Asistencia a la sesión No. <?php echo e($sesion->sesion); ?>
<br><?php echo e(Date::parse($sesion->date)->format('d')); ?> de
<?php echo e(Date::parse($sesion->date)->format('F')); ?>,
<?php echo e(Date::parse($sesion->date)->format('Y')); ?></h1>
<table>
<thead>
<tr>
<th>No.</th>
<th>Diputada/o</th>
<th>Partido</th>
<th>Sentido</th>
</tr>
</thead>
<tbody>
<?php $i=1; ?>
<?php $__currentLoopData = $sesion->asistencias->sortBy('id'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($i++); ?></td>
<td style="text-align: left;">
<?php if(isset($item->diputado->apaterno)): ?> <?php echo e($item->diputado->apaterno); ?> <?php endif; ?> <?php if(isset($item->diputado->amaterno)): ?> <?php echo e($item->diputado->amaterno); ?> <?php endif; ?> <?php if(isset($item->diputado->nombres)): ?> <?php echo e($item->diputado->nombres); ?> <?php endif; ?>
</td>
<td>
<img src="<?php echo e(asset("storage/img/partidos/".$item->partido->emblema)); ?>" height="30">
</td>
<td>
<?php if($item->asistencia == 1): ?>
Asistencia
<?php else: ?>
Inasistencia justificada
<?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 /var/www/html/sistemas/saplxi/resources/views/pages/asistencias/show.blade.php ENDPATH**/ ?>
OHA YOOOO