{{ __('information.guild.title', ['name' => $guild->Name]) }}
{{ __('information.guild.itempoints', ['points' => $guild->ItemPoints]) }}
{{ __('information.guild.master', [
'name' => $guild->getGuildMembers->where('Permission', -1)->pluck('CharName')->first()
]) }}
| {{ __('information.guild.table.char') }} | {{ __('information.guild.table.level') }} | Authority | {{ __('information.guild.table.join') }} | {{ __('information.guild.table.gp') }} | {{ __('information.guild.table.itempoints') }} |
|---|---|---|---|---|---|
|
|
{{ $member->CharLevel }} | @php $authorityNames = [ 1 => ['name' => 'Guild Master', 'color' => '#28a745'], // أخضر 2 => ['name' => 'Deputy Commander', 'color' => '#007bff'], // أزرق 4 => ['name' => 'War Admin', 'color' => '#ffc107'], // أصفر 8 => ['name' => 'Production Admin', 'color' => '#17a2b8'], // سماوي 16 => ['name' => 'Training Admin', 'color' => '#6c757d'], // رمادي 32 => ['name' => 'Military Engineer', 'color' => '#dc3545'], // أحمر 0 => ['name' => 'Member', 'color' => 'white'] // أسود ]; $authority = $authorityNames[$member->SiegeAuthority] ?? ['name' => 'Member', 'color' => '#000000']; @endphp {{ $authority['name'] }} | {{ $member->JoinDate }} | {{ number_format($member->GP_Donation, 0, ',', '.') }} | {{ $member->getCharItemPoints->ItemPoints }} |