{{-- resources/views/admin/competitors/national_records.blade.php --}} @extends('admin.layouts.app') @section('content')
Daftar rekor yang dipegang oleh kompetitor/pesaing dari luar daerah atau internasional.
| Current Record Holder | Mark | Discipline | Record History (Previous) |
|---|---|---|---|
|
@if($mainAthlete->photo)
{{ $mainAthlete->name }}
@php $countries = config('countries'); @endphp
@if(isset($countries[$mainAthlete->country_code])) {{ $countries[$mainAthlete->country_code]['flag'] }} @endif
{{ $mainAthlete->country_code }}
{{ $current->date ? $current->date->format('d M Y') : '-' }}
{{ $current->competition_name }}
|
{{ $current->result_mark }}
@foreach($current->performanceRemarks as $remark)
@if(str_starts_with($remark->code, 'NR') || $remark->code == 'NU18R')
{{ $remark->code }}
@endif
@endforeach
|
{{ $discipline->name }}
@if($discipline->gender == 'male')
PUTRA (MALE)
@elseif($discipline->gender == 'female')
PUTRI (FEMALE)
@else
CAMPURAN (MIX)
@endif
|
@if($histories && $histories->count() > 0)
@foreach($histories as $h)
@if($h && $h->competitor) {{-- [PERBAIKAN] menjadi competitor --}}
@if($h->competitor->photo)
{{ $h->result_mark }} oleh {{ $h->competitor->name }}
{{ $h->date ? $h->date->format('M Y') : '' }} • {{ Str::limit($h->competition_name, 35) }}
Tidak ada riwayat rekor lama
@endif
|
|
Belum ada data Rekor Nasional untuk kategori {{ $age }} |
|||