{{-- resources/views/public/athlete_detail_history.blade.php --}}

🏆 Riwayat Kompetisi

@forelse($featuredAthlete->performanceHistories->sortByDesc('date') as $history) @empty @endforelse
Tanggal Kejuaraan Nomor Catatan Posisi Lokasi
{{ $history->date->format('d M Y') }} {{ $history->competition_name }} @if($history->rankingCategory) {{ $history->rankingCategory->code }} @elseif(Str::contains(strtolower($history->competition_name), 'pon')) PON @elseif(Str::contains(strtolower($history->competition_name), 'sea games')) Regional @endif {{ $history->discipline->name }} {{ $history->result_mark }} @if($history->discipline->unit_symbol) {{ $history->discipline->unit_symbol }} @endif @if($history->place == 1) 1 @elseif($history->place == 2) 2 @elseif($history->place == 3) 3 @else #{{ $history->place ?? '-' }} @endif @php $countryData = config('countries.' . $history->country_code); $flag = $countryData['flag'] ?? '🏳️'; $countryName = $countryData['name'] ?? $history->country_code; @endphp {{ $flag }} {{ $history->venue }}
Belum ada data kompetisi.
Menampilkan 0 - 0 dari 0 data