@extends('master.admin') @push('header.scripts') @stop @push('footer.scripts') @role(['superadmin', 'admin']) @endrole @stop @section('content')

Team Detail - {{ $team->name }}
{!! csrf_field() !!}

Team Detail
@role('superadmin') Edit @if($team->active == '0') Activate Team @endif @endrole

{{us_datetime_format($team->creation_date)}}

{{{ ($team->active == '1')?'Accepted':'Acceptance Pending' }}}

{{$team->teams_category_name}}

{{$team->team_type_name}}

{{$team->average_pace}}

{{$team->volunteer_option_name}}

@role(['superadmin', 'admin'])  HRS  MINS @endrole @role(['team-captain']) @if($check_team_captain)  HRS @else @if($team->course_hours > 0 || $team->course_minutes > 0) {{$team->course_hours}} HRS {{$team->course_minutes}} MINS @endif @endif @endrole

{{$team->captain_first_name .' '.$team->captain_last_name}}

@role('superadmin', 'admin')
team_roster_complete == '1')?'checked':'' }}} value="1" />
bib_number:'unassigned' }}}' >
@if($team->bib_number == '0' || $team->bib_number == '') @else @endif
@endrole @role('team-captain') @if($check_team_captain)
team_roster_complete == '1')?'checked':'' }}} value="1" />

{{{ ($team->bib_number > 0 && $team->bib_number != '')?$team->bib_number:'unassigned' }}}

@if($team->bib_number > 0 && $team->bib_number != '' && !empty($team->start_time) && $team->start_time != '00:00:00') {{$team->start_time}} @else unassigned @endif

@endif @endrole

{{ $runners_count }}

{{ $volunteers }}

{{ $drivers }}

{{{ ($team->volunteers_paid == '1')?'Yes':'' }}} {{{ ($team->volunteers_paid == '0')?'No':'' }}} {{{ ($team->volunteers_paid == '2')?'N/A':'' }}}

@if($team->id == 761 || $team->id == 1144 || $team->id == 1240 || $team->id == 1242 || $team->id == 1318)
Individuals
@if($team->id == 1144) @endif @if($team->id == 761) @endif @foreach($teammates as $teammate) @if($team->id == 1144) @role('superadmin', 'admin')
Date First Name Last Name Registration Type Email AddressBib NoFamily Member 1 Family Member 2 Family Member 3
{{ date('m/d/Y h:i a', strtotime($teammate->user_updated_at)) }} {{ $teammate->user_first_name }} {{ $teammate->user_last_name }} {{ $teammate->member_cat_name }} {{ $teammate->user_email }} {{ $teammate->user_address.', '.$teammate->user_city.', '.$teammate->user_state.' '.$teammate->user_zipcode }}