File: /home/artinside/sites.artinside.com.br/paliar/themes/admin/views/fragments/table-enrolment-2.php
<table class="table table-striped table-advance table-hover">
<?php if($newsletter):?>
<thead>
<tr>
<th><i class="fa fa-code"></i> Matrícula </th>
<th class="hidden-phone"><i class="fa fa-calendar"></i> Data</th>
<th><i class="fa fa-user"></i> Aluno </th>
<th><i class="fa fa-user"></i> Curso </th>
<th><i class=" fa fa-edit"></i> Status</th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($newsletter as $enrol):?>
<tr>
<td><b>[#<?= $enrol->id?>]</b></td>
<td class="hidden-phone"><?= date_fmt($enrol->created_at, "d/m/Y")?></td>
<td><?= $enrol->client()->name?></td>
<td><?= $enrol->course()->title?></td>
<?php if($enrol->status == 5):?>
<td><span class="badge badge-pill label-mini white-text bg-warning">Inscrito</span></td>
<?php endif; ?>
<td><a class="btn btn-info btn-sm" href="<?= url("/admin/enrolment/invoice/{$enrol->id}"); ?>"><i class="fal fa-search"></i></a></td>
</tr>
<?php endforeach;
else:?>
<tr>
<td class="text-center font-medium">Não existem Matrículas abertas no Momento</td>
</tr>
<?php endif;?>
</tbody>
</table>