Username | Total Device | Limit Device | Subscription | Expired subscription | Action | {{--Action | --}}|
---|---|---|---|---|---|---|---|
{{ $user->username }} | {{ $user->email }} | {{ $user->total_device }} | {{ $user->limit_device }} | @php if ($user->is_expired_subscription) { $badge = 'danger'; } else { $badge = 'success'; } @endphp {{ $user->active_subscription }} | @php if ($user->is_expired_subscription) { echo '-'; } else { if ($user->active_subscription == 'active') { echo $user->subscription_expired; } else { echo '-'; } } @endphp |