{{ Form::open(array('url' => url('brackets/matchups/' . $info['matchup']->id . '/assign-association'), 'style' => 'font-size: 10pt; position: relative; padding-top: 0.25em;', 'id' => 'assign_association_form')) }} {{ Form::hidden('matchup_id', $info['matchup']->id) }} {{ Form::hidden('bracket_id', $info['bracket']->id) }} {{ Form::hidden('redirect', '/activities/' . strtolower($info['bracket']->activity) . '/brackets?div=' . $info['bracket']->division) }}
{{ $info['bracket']->division }} {{ Helpers::getActivityName($info['bracket']->activity) }} - {{ $info['round_type']->name }} Round ({{ $info['round_group'] }})
{{ $info['loa_full_policy'] }}

Host School: {{ $info['host']->team_name }}
Local Association: {{ $info['host']->loa_name }}
{{ $info['contest']->away_team_name }}
{{ $info['contest']->home_team_name }}

Start: {{ Helpers::formatDateTime('%BRACKET_MATCHUP%', strtotime($info['event']->start_at), $info['event']->time_zone) }}


Current Assignments ({{ count($info['assignments']) }})
Matchup ID# {{ $info['matchup']->id }}
@if (count($info['assignments']) < 1) There are currently no officials associations assigned to this contest. Use the form below to assign an officials association to this playoff contest. @else @foreach ($info['assignments'] as $assignment) is_half_fee) ? 'data-half-fee="1"' : null }}> @if ($assignment->is_allow_meals) @else @endif @if ($assignment->is_allow_miles) @else @endif @endforeach
Association # Position Rate Game Assign B L D Meals Miles Mileage Other Total
{{ $assignment->officials_association->short_name }} {{ $assignment->number }} {{ $assignment->officials_fee->position }} @if ($assignment->is_half_fee) ${{ number_format($assignment->officials_fee->amount / 2, 2) }} @else ${{ number_format($assignment->officials_fee->amount, 2) }} @endif ${{ number_format($assignment->game_fee, 2) }} ${{ number_format($assignment->assign_fee, 2) }}{{ $assignment->breakfast }} {{ $assignment->lunch }} {{ $assignment->dinner }} ${{ number_format($assignment->meals_fee, 2) }}{{ $assignment->breakfast }} {{ $assignment->lunch }} {{ $assignment->dinner }} ${{ number_format($assignment->meals_fee, 2) }}{{ $assignment->miles }} ${{ number_format($assignment->mileage_fee, 2) }}{{ $assignment->miles }} ${{ number_format($assignment->mileage_fee, 2) }}${{ number_format($assignment->other_fee, 2) }} ${{ number_format($assignment->total_amount, 2) }}
@endif

Add New Assignment
{{ Form::label('officials_association', 'Association', array('style' => 'font-weight: bold;')) }} {{ Form::select('officials_association', $info['association_options'], $info['suggested_oa_id'])}}

{{ Form::label('officials_fee', 'Officials\'s Fee', array('style' => 'font-weight: bold;')) }} (More information below)

Position:  
Amount:  
Apply:  
Year:   


{{ Form::label('number', 'Number of Officials', array('style' => 'font-weight: bold;')) }} {{ Form::select('number', $info['number_options'], $info['suggested_number'], array('style' => '')) }} From this association, how many spots are assigned?

{{ Form::label('is_allow_meals', 'Allow Meal Claims', array('style' => 'font-weight: bold;')) }} {{ Form::checkbox('is_allow_meals', true, $info['suggested_allow_meals'], array('style' => 'vertical-align: middle;')) }} Check to allow the Commissioner to input/edit meal claims: breakfast, lunch, and/or dinner.

{{ Form::label('is_allow_miles', 'Allow Mileage', array('style' => 'font-weight: bold;')) }} {{ Form::checkbox('is_allow_miles', true, $info['suggested_allow_miles'], array('style' => 'vertical-align: middle;')) }} Check to enable mileage reimbursement, un-check to not reimburse any mileage.

{{ Form::label('officials', 'Official(s)', array('style' => 'font-weight: bold;')) }} {{ Form::text('officials', null, array('style' => 'width: 250px;')) }} Name(s) of the assigned official(s)

{{ Form::label('staff_notes', 'Notes', array('style' => 'font-weight: bold; float: left; margin-right: 4px;')) }} {{ Form::textarea('staff_notes', $info['suggested_staff_notes'], array('style' => 'height: 4em; width: 90%;')) }} {{ Form::close() }}