class([
'badge',
'badge-success'=>($status === 'active'),
'badge-warning'=>($status === 'inactive'),
'badge-danger'=>($status === 'cancelled'),
])->except(['status','substatus']) }}>{{ $slot->isNotEmpty() ? $slot : strtoupper($status) }} @if($slot->isEmpty() && (! in_array($status,['active','cancelled'])) && isset($substatus) && $substatus)[{{ strtoupper($substatus) }}] @endif