<?php if(isset(config('status.' . $status)[$value])): ?>
    <small>
        <span class="badge bg-<?php echo e(config('status.' . $status)[$value]['class']); ?> rounded-pill">
            <?php if(isset(config('status.' . $status)[$value]['icon'])): ?>
                <em class="fa fa-check"></em>
            <?php else: ?>
                <?php echo e(config('status.' . $status)[$value]['name']); ?>

            <?php endif; ?>
        </span>
    </small>
<?php endif; ?>
<?php /**PATH /var/www/html/bwdbhims/himsapi/resources/views/components/option-view.blade.php ENDPATH**/ ?>