<?= $this->extend('client/layout/main') ?>
<?= $this->section('content') ?>
<h3 class="mb-3"><?= lang('App.my_services') ?></h3>
<div class="card p-3">
<table class="table">
    <thead><tr><th><?= lang('App.name') ?></th><th><?= lang('App.renewal_date') ?></th><th><?= lang('App.status') ?></th></tr></thead>
    <tbody>
    <?php foreach ($services as $s): ?>
        <tr>
            <td><?= esc($s['name']) ?></td>
            <td><?= esc($s['renewal_date']) ?></td>
            <td><?= lang('App.' . $s['status']) ?></td>
        </tr>
    <?php endforeach; ?>
    </tbody>
</table>
<?= $pager->links() ?>
</div>
<?= $this->endSection() ?>
