<?php if (!is_null($status)): ?>
    <?php if ($status == "Out"): ?>
        <span class="badge-dot badge-brand mr-1"></span>Out
    <?php elseif ($status == 'In'): ?>
        <span class="badge-dot badge-success mr-1"></span>In
    <?php elseif ($status == 'Expired'): ?>
        <span class="badge-dot badge-danger mr-1"></span>Expired
    <?php endif; ?>

<?php endif; ?>