Sindbad~EG File Manager
<div>
<?php
use Illuminate\Support\Facades\DB;
?>
<br><h3>Cursos realizados por <?php echo e($usuario->name); ?></h3><hr>
<div class="row">
<div class="col-md-12">
<table class="table">
<thead>
<tr>
<th>Reflexiones</th>
<th>Realizado</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $formularios; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $for): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<?php echo e($for->for_nom); ?>
</td>
<td>
<?php
$countrespuesta = DB::table('formularios as fo')
->join('competencias as co','co.formulario_id','fo.id')
->join('interrogantes as in','in.competencia_id','co.id')
->join('respuestas as re','re.interrogante_id','in.id')
->join('users as us','re.usuario_id','us.id')
->where('fo.id',$for->id)->where('re.usuario_id',$usuario->id)->count();
?>
<?php if($countrespuesta): ?>
Reflexión realizada
<?php else: ?>
Reflexión no realizada
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<div class="col-md-12">
<?php echo e($formularios->links()); ?>
</div>
</div>
</div>
<?php /**PATH /var/www/html/eva.sumar.com.py/resources/views/livewire/showreporterias.blade.php ENDPATH**/ ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists