MINI MINI MANI MO
<!-- create invoice button-->
<div class="row">
<div class="input-field col s8">
<strong>Comisión No. <?php echo e($comision->sesion); ?></strong>
<h4><?php echo e($comision->iniciativa); ?></h4>
</div>
</div>
<br>
<?php echo Form::open(['route'=>['mcg.asistencias_votaciones_save', base64_encode(base64_encode($comision->id))], 'method'=>'PUT', 'role' => 'form','id' => 'form-asistencia']); ?>
<?php echo Form::close(); ?>
<div class="responsive-table">
<table class="table white border-radius-4 pt-1">
<thead>
<tr>
<th style="width: 10%">
<span>#</span>
</th>
<th style="width: 40%">Diputado</th>
<th style="width: 10%">Partido</th>
<th>Sentido</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $diputados; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $com => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $__currentLoopData = $value; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($item != null): ?>
<tr>
<td><?php echo e($key+1); ?></td>
<td><?php echo e($item->diputado->apaterno); ?> <?php echo e($item->diputado->amaterno); ?> <?php echo e($item->diputado->nombres); ?><br><?php $data = app('\App\Http\Controllers\MCG\ComisionesController'); ?><?php echo e($data->ComisionNombre($com)); ?><br><?php echo e($item->cargo); ?></td>
<td>
<img width="50%"
src="<?php echo e(asset("/storage/img/partidos/".$item->diputado->partido->emblema)); ?>">
</td>
<td>
<div class="row">
<div class="input-field col s8">
<?php
$control[1] == 0 ? $tema = $control[0]: $tema = $control[1]
?>
<?php echo Form::select($item->diputado->name_field, $estatus, $item->diputado->votaciones()->whereIdSesionesComision($comision->id)->whereIdComision($com)->whereTema($tema)->first() ? $item->diputado->votaciones()->whereIdSesionesComision($comision->id)->whereIdComision($com)->whereTema($tema)->first()->voto : 1, ['class' => 'form-control text-uppercase sentido', "form" => "form-asistencia"]); ?>
<div style="display: none;"> <?php echo Form::text($item->diputado->name_field, $com, ['class' => 'form-control text-uppercase', 'placeholder' => 'LXI', 'id' => 'legislatura', 'readonly' => true,"form" => "form-asistencia"]); ?></div>
<div style="display: none;"> <?php echo Form::text($item->diputado->name_field, $item->cargo, ['class' => 'form-control text-uppercase', 'placeholder' => 'LXI', 'id' => 'legislatura', 'readonly' => true,"form" => "form-asistencia"]); ?></div>
<div style="display: none;"> <?php echo Form::text($item->diputado->name_field, $control[1] == 0 ? $control[0]:$control[1],['class' => 'form-control text-uppercase', 'placeholder' => 'LXI', 'id' => 'tema', 'readonly' => true,"form" => "form-asistencia"]); ?></div>
<div style="display: none;"> <?php echo Form::text('tipo', $control[1] == 0 ? '1':'0',['class' => 'form-control text-uppercase', 'placeholder' => 'LXI', 'id' => 'tema', 'readonly' => true,"form" => "form-asistencia"]); ?></div>
</div>
</div>
</td>
</tr>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<div style="display: none;"> <?php echo Form::text('tipo', $control[1] == 0 ? '1':'0',['class' => 'form-control text-uppercase', 'placeholder' => 'LXI', 'id' => 'tema', 'readonly' => true,"form" => "form-asistencia"]); ?></div>
<div class="row">
<div class="col s12">
<button class="btn cyan waves-effect waves-light right" form="form-votaciones"
id="submit">
Guardar
<i class="material-icons right">save</i>
</button>
</div>
</div>
</div>
<?php /**PATH /var/www/html/sistemas/saplxi/resources/views/Administrador/comisiones/votaciones/edit.blade.php ENDPATH**/ ?>
OHA YOOOO