{{ __('gm_ban_appeals_page')['ban_appeals'] }}

{{ __('gm_ban_appeals_page')['filter_labels']['all'] }}: {{ $allBanAppeals }} {{ __('gm_ban_appeals_page')['filter_labels']['approved'] }}: {{ $allApprovedBanAppeals }} {{ __('gm_ban_appeals_page')['filter_labels']['closed'] }}: {{ $allClosedBanAppeals }} {{ __('gm_ban_appeals_page')['filter_labels']['unread'] }}: {{ $allUnreadMessages }} {{ __('gm_ban_appeals_page')['filter_labels']['delivered'] }}: {{ $allRespondedMessages }}
{{ __('gm_ban_appeals_page')['refresh'] }}
@forelse ($banAppeals as $banAppeal) @if ($banAppeal->account) @php $unseenMessages = $banAppeal->getUnseenMessagesForGm(); $playerUnseenMessages = $banAppeal->getUnseenMessagesForPlayer(); @endphp @forelse ($banAppeal->messages->take(-1) as $message) @empty @endforelse @if ($banAppeal->ban) @else @endif @endif @empty @endforelse
# {{ __('gm_ban_appeals_page')['table_headers']['account'] }} {{ __('gm_ban_appeals_page')['table_headers']['message'] }} {{ __('gm_ban_appeals_page')['table_headers']['ban_date'] }} {{ __('gm_ban_appeals_page')['table_headers']['by_reason'] }} {{ __('gm_ban_appeals_page')['table_headers']['date'] }} {{ __('gm_ban_appeals_page')['table_headers']['status'] }} {{ __('gm_ban_appeals_page')['table_headers']['actions'] }}
{{ $banAppeal->id }} {{ optional($banAppeal->account)->username }} {{ $message->created_at->format('H:i:s d/m/Y') }}
{!! $message->message !!}
{{ $banAppeal->ban->unbandate == $banAppeal->ban->bandate ? __('gm_ban_appeals_page')['permanent'] : date('H:i:s d/m/y') }} {{ $banAppeal->ban->bannedby ? : 'server' }}
{{ $banAppeal->ban->banreason }}
Unknown Unknown
Unknown
{{ $banAppeal->created_at->format('H:i:s d/m/Y') }} @if ($banAppeal) @switch ($banAppeal->status) @case('pending') @if ($unseenMessages > 0) {{ __('gm_ban_appeals_page')['unseen'] }} {{ $unseenMessages }} {{ __('gm_ban_appeals_page')['messages'] }} @elseif ($playerUnseenMessages > 0) {{ __('gm_ban_appeals_page')['delivered'] }} {{ $playerUnseenMessages }} {{ __('gm_ban_appeals_page')['messages'] }} @elseif ($banAppeal->editedBy) {{ __('gm_ban_appeals_page')['responded_by'] }} {{ $banAppeal->editedBy->username }} @else {{ __('gm_ban_appeals_page')['pending'] }} @endif @break @case('closed') {{ __('gm_ban_appeals_page')['closed'] }} @break @case('approved') {{ __('gm_ban_appeals_page')['unbanned'] }} @break @endswitch @else {{ __('gm_ban_appeals_page')['unbanned'] }} @endif {{ __('gm_ban_appeals_page')['respond'] }}
{{ $banAppeals->links() }}