@if (auth()->user()->level == 'Owner') @endif
Manage Members
Tampilkan
baris.
@php use App\Helpers\Encryption; $no = $member->first(); // dd($member); @endphp @forelse ($member as $row) @php $count = App\Models\DeviceID::where('member_id', $row->member_id)->count(); $str = strlen($row->deviceid->serial === null ? $row->serial : $row->deviceid->serial) / 2; @endphp @if ($row->game->serial == 'Yes') @else @endif @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 @empty @endforelse
No Game LICENSE Serial Max Devices Duration Expired Status Action
{{ ($member->currentPage() - 1) * $member->perPage() + $loop->iteration }} {{ $row->game->game }}
{{ $row->member_id }}
{{ $row->deviceid->serial === null ? $row->serial : $row->deviceid->serial }}
1/1{{ $count }}/{{ $row->device_id }} {{ $row->durasi }} {{ $row->durasi > 1 ? 'Days' : 'Day' }} {{ $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
Data not found
{{ $member->links() }}
@script @endscript