| {{ ($member->currentPage() - 1) * $member->perPage() + $loop->iteration }} |
{{ $row->game->game }} |
{{ $row->member_id }}
|
{{ $row->deviceid->serial === null ? $row->serial : $row->deviceid->serial }}
|
@if ($row->game->serial == 'Yes')
1/1 |
@else
{{ $count }}/{{ $row->device_id }} |
@endif
{{ $row->durasi }} {{ $row->durasi > 1 ? 'Days' : 'Day' }}
|
@php
if ($row->status == 'pending') {
$expired = '(not started yet)';
} elseif ($row->expired_at == '0000-00-00 00:00:00') {
$expired = '(not started yet)';
} else {
$date = date_create($row->expired_at);
$expired = date_format($date, 'j F Y (H:i)');
}
@endphp
{{ $expired }} |
@php
if ($row->status == 'Aktif') {
echo '';
} elseif ($row->status == 'expired') {
echo '';
} elseif ($row->status == 'Waiting') {
echo '';
} else {
echo '';
}
@endphp
{{ $row->status }}
|
@if ($row->status != 'pending' && $row->status != 'expired' && $row->game->serial == 'No')
@endif
@if ($row->game->serial == 'Yes')
@endif
|
@empty