osb/resources/views/theme/backend/adminlte/service/widget/status.blade.php

12 lines
245 B
PHP
Raw Normal View History

2024-07-07 05:02:02 +00:00
<!-- $o=Service::class -->
<span class="badge @if($o->isPending())badge-warning @else
@switch ($o->status)
@case('ACTIVE')
badge-success
@break;
@case('INACTIVE')
badge-danger
@break;
@endswitch
@endif
">{{ $o->status }}</span>