Registration Details
{{ $info->header }}
@if (count($info->teams) > 0)
@foreach ($info->teams as $i => $team)
{{ $team->name }}
- Mascot
- {{ $team->mascot }}
- School Name
- {{ $team->school->name }}
@if (!is_null($team->school2))
- Coop
- {{ $team->school2->name }}
@endif
- Classification
- {{ $team->classification }}
@if (!is_null($team->location))
- Location
- {{ $team->location }}
@endif
@if (!is_null($team->colors))
- Colors
- {{ $team->colors }}
@endif
@if (!is_null($team->supt))
- Superintendent
- {{ $team->supt->name }}
@endif
@if (!is_null($team->prin))
- Principal
- {{ $team->prin->name }}
@endif
@if (!is_null($team->ad))
- Athletic Director
- {{ $team->ad->name }}
@endif
- Number of Coaches
-
{{ $team->coach_count }}
- Head Coach
- {{ $team->coaches[0]->name }}
@if ($team->coach_count > 1)
- Assistant
@if ($team->coach_count == 2)
Coach
@else
Coaches
@endif
@for ($j = 1; $j < $team->coach_count; $j++)
@endfor
-
@foreach ($team->coaches as $j => $asst_coach)
@if ($j > 0 and !is_null($asst_coach))
@if ($j + 1 < $team->coach_count)
{{ $asst_coach->name }}
@else
{{ $asst_coach->name }}
@endif
@endif
@endforeach
@endif
@if (count($team->choreographers) > 0)
-
@if (count($team->choreographers) == 1)
Choreographer
@else
Choreographers
@endif
@for ($j = 0; $j < count($team->choreographers); $j++)
@endfor
-
@if (count($team->choreographers) == 1)
{{ $team->choreographers[0] }}
@else
{{ $team->choreographers[0] }}
{{ $team->choreographers[1] }}
@endif
@endif
@if (!is_null($team->routine_theme))
- Routine Theme
- {{ $team->routine_theme }}
@endif
- Team Photo?
-
@if (file_exists(public_path() . '/' . $team->photo))
Uploaded
@else
No Team Photo
@endif
- Roster Size
-
{{ $team->player_count }}
- Number of Alternates
-
{{ count($team->alternates) }}
- Total Roster Size
-
{{ intval($team->player_count) + intval(count($team->alternates)) }}
- Created At
-
{{ date('m/d/Y g:ia', strtotime($team->entry->created_at)) }}
- Updated At
-
{{ date('m/d/Y g:ia', strtotime($team->entry->updated_at)) }}
-
Roster
@for ($j = 0; $j < $team->player_count + count($team->alternates); $j++)
@endfor
-
@if (count($team->players) > 0)
@foreach ($team->players as $player)
@if ($player->is_captain)
(C)
@endif
{{ $player->name }}, {{ $player->grade }}
@endforeach
@foreach ($team->alternates as $alternate)
Alt: {{ $alternate->name }}, {{ $alternate->grade }}
@endforeach
@endif
@endforeach
@endif