@extends('layouts.report') @section('page_title') OSAA Playoff Officials Reimbursement Report @stop @section('style') @stop @section('jquery_init') $('tbody tr.info td') .css({'border' : 'none'}); @stop @section('body') @foreach ($info['association_objects'] as $association_object)
{{ $association_object->association->name }} Reimbursements for {{ $association_object->association->sport }} Playoff Officials {{ $info['school_year'] }}-{{ substr(intval($info['school_year']) + 1, 2, 2) }}
@foreach ($association_object->records as $record) @endforeach
# Subt. Act. Div. Rnd. Date Time Teams # Officials Rate Game Fee Assign B L D Meals Miles Mileage Other Total
#{{ $record->assignment_number }} @if (is_null($record->cmsh_verified_at)) Never @else {{ date('n/j', strtotime($record->cmsh_verified_at)) }} @endif @if (!Helpers::strContains('b', $record->assignment_number)) {{ $record->bracket->activity }} @endif @if (!Helpers::strContains('b', $record->assignment_number)) {{ $record->bracket->division }} @endif @if (!Helpers::strContains('b', $record->assignment_number)) @if (Helpers::strEqual($record->bracket->activity, array('VBL', 'BBX', 'GBX')) and Helpers::strEqual($record->round->round_type, array('QF', 'SF', 'F', 'S', 'SC', 'C'))) Final-Site ({{ $record->round->round_type }}) @else {{ $record->round_type->slug }} @endif @endif @if (!Helpers::strContains('b', $record->assignment_number)) {{ date('n/j', strtotime($record->event->start_at)) }} @endif @if (!Helpers::strContains('b', $record->assignment_number)) {{ Helpers::formatDateTime('%SCHEDULE%', strtotime($record->event->start_at)) }} @endif @if (!Helpers::strContains('b', $record->assignment_number)) {{ $record->contest->away_team_name }} @ {{ $record->contest->home_team_name }} @endif {{ $record->number }} × {{ $record->officials_fee->position }} @if (!$record->is_half_fee) ${{ number_format($record->officials_fee->amount, 2) }} @else ${{ number_format($record->officials_fee->amount / 2, 3) }} @endif ${{ number_format($record->game_fee, 2) }} ${{ number_format($record->assign_fee, 2) }} {{ $record->breakfast }} {{ $record->lunch }} {{ $record->dinner }} ${{ number_format($record->meals_fee, 2) }} {{ $record->miles }} ${{ number_format($record->mileage_fee, 2) }} ${{ number_format($record->other_fee, 2) }} ${{ number_format($record->total_amount, 2) }}
@if (!Helpers::strIsEmpty($record->notes)) Notes: {{ $record->notes }} @endif @if (!Helpers::strIsEmpty($record->officials)) Officials: {{ $record->officials }} @endif
{{ $association_object->association->name }} @if ($association_object->unverified > 0) ({{ $association_object->unverified }} Unsubmitted) @endif ${{ number_format($association_object->totals->game_fees, 2) }}
Game
${{ number_format($association_object->totals->assign_fees, 2) }}
Assign
${{ number_format($association_object->totals->meals_fees, 2) }}
Meals
${{ number_format($association_object->totals->mileage_fees, 2) }}
Mileage
${{ number_format($association_object->totals->other_fees, 2) }}
Other
${{ number_format($association_object->totals->total_fees, 2) }}
Total


@if (Helpers::strEqual($association_object->association->sport, 'Football')) The OSAA will reimburse mileage at the rate of 75¢ per mile up to 60 miles round trip and 50¢ per mile for 61 or more miles round trip. A minimum of $5 per official is allowed. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Each reimbursement record includes a $1.50 assigning fee. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is December 12. @elseif (Helpers::strEqual($association_object->association->sport, 'Volleyball')) The OSAA will reimburse mileage at the rate of 50¢ per mile with a minimum of $5 per official. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Line judge assignments for the same contest and officials association are included with that assignment's primary reimbursement record which lists the higher officials game fee rate. Round trip miles for the initial arrival at the final tournament site and for the return home are included in one assignment record, nominally a semi-final contest assignment. Similarly, meal claims for the tournament at the final-site will be input by OSAA staff into one assignment to reimburse meal expenses, if any, for the entire tournament at the final-site. Each reimbursement record includes a $1.50 assigning fee, except for assignments at the final-site. In which case one, single assigning fee of $1.50 will be added to one assignment during the tournament. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is November 14. @elseif (Helpers::strEqual($association_object->association->sport, 'Soccer')) The OSAA will reimburse mileage at the rate of 50¢ per mile with a minimum of $5 per official. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Fourth official assignments for the same contest and officials association are included with that assignment's primary reimbursement record which lists the higher officials game fee rate. Each reimbursement record includes a $1.50 assigning fee. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is November 16. @elseif (Helpers::strEqual($association_object->association->sport, 'Basketball')) The OSAA will reimburse mileage at the rate of 50¢ per mile with a minimum of $5 per official. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Round trip miles for the initial arrival at the final tournament site and for the return home are included in one assignment record, nominally the last assignment for finals. Similarly, meal claims for the tournament at the final-site will be input by OSAA staff into one assignment to reimburse meal expenses, if any, for the entire tournament at the final-site. Each reimbursement record includes a $1.50 assigning fee, except for assignments at the final-site. In which case one, single assigning fee of $1.50 will be added to one assignment during the tournament. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is April 1. @elseif (Helpers::strEqual($association_object->association->sport, 'Wrestling')) The OSAA will reimburse mileage at the rate of 50¢ per mile with a minimum of $5 per official. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Each reimbursement record includes a $1.50 assigning fee. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is April 1. @else The OSAA will reimburse mileage at the rate of 50¢ per mile with a minimum of $5 per official. The OSAA assumes the minimum mileage for each assignment unless otherwise entered by the commissioner. Each reimbursement record includes a $1.50 assigning fee. Where meal claims are allowed, receipts are not required and the rates are as follows: breakfast - $8, lunch - $10, dinner - $15. When the OSAA determines that lodging is necessary, complimentary rooms will be provided based on two officials per room. If an official wishes not to share a room, there will be no reimbursement for lodging expenses. In these cases, the official is responsible for their own reservations and are not eligible for the OSAA discounted rates. The deadline for submitting expenses is July 1. @endif

@endforeach
Summary
@foreach ($info['association_objects'] as $index => $association_object) @endforeach
Association Records Un-Subt. Contests Game Fee Assign Meals Miles Mileage Other Total
{{ $association_object->association->name }} {{ count($association_object->records) }} {{ $association_object->unverified }} {{ $association_object->contest_count }} ${{ number_format($association_object->totals->game_fees, 2) }} ${{ number_format($association_object->totals->assign_fees, 2) }} ${{ number_format($association_object->totals->meals_fees, 2) }} {{ $association_object->totals->miles }} ${{ number_format($association_object->totals->mileage_fees, 2) }} ${{ number_format($association_object->totals->other_fees, 2) }} ${{ number_format($association_object->totals->total_fees, 2) }}
{{ count($info['association_objects']) }} Officials Associations {{ $info['grand_totals']->records }} {{ $info['grand_totals']->unverified }} {{ count($info['grand_totals']->contests) }} / {{ $info['bracketed_contests'] }} ${{ number_format($info['grand_totals']->game_fees, 2) }} ${{ number_format($info['grand_totals']->assign_fees, 2) }} ${{ number_format($info['grand_totals']->meals_fees, 2) }} {{ $info['grand_totals']->miles }} ${{ number_format($info['grand_totals']->mileage_fees, 2) }} ${{ number_format($info['grand_totals']->other_fees, 2) }} ${{ number_format($info['grand_totals']->total_fees, 2) }}
@stop