MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/sites.artinside.com.br/paliar/themes/admin/views/fragments/table-enrolment.php
<table class="table table-striped table-advance table-hover">

    <?php if($enrolment):?>
    <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 ($enrolment 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 == 0):?>
            <td><span class="badge badge-pill label-mini white-text bg-info">Pré Matriculado</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>