@extends('layouts.report') @section('page_title') {{ $info['bracket']->school_year }}-{{ substr($info['bracket']->school_year + 1, 2, 2) }} OSAA {{ $info['bracket']->division }} {{ Helpers::getActivityName($info['bracket']->activity) }} State Championship School Reimbursements @stop @section('style') @stop @section('jquery_init') @stop @section('body')
{{ $info['bracket']->school_year }}-{{ substr($info['bracket']->school_year + 1, 2, 2) }} OSAA {{ $info['bracket']->division }} {{ Helpers::getActivityName($info['bracket']->activity) }} State Championship School Reimbursements
@foreach ($info['school_objects'] as $index => $school_object) @foreach ($school_object->items as $sub_index => $item) @if ($sub_index == 0) @else @endif @endforeach @endforeach
School Round Date(s) Location Miles Rate × Mileage # Rate Per Diem Sub-Total
{{ $school_object->school->short_name}} {{ $item->round }} @foreach ($item->dates as $date_index => $date) {{ date('n/j', strtotime($date)) }}@if ($date_index + 1 < count($item->dates)),@endif @endforeach @if ($item->days_span != $item->days_played) ({{ $item->days_span }}|{{ $item->days_played}}) @else ({{ $item->days_played }}) @endif {{ $item->location }} {{ $item->miles }} ${{ number_format($item->mileage_rate, 2) }} {{ $item->multiplier }} ${{ number_format($item->mileage_payment, 2) }} {{ $item->people }} ${{ number_format($item->person_rate, 2) }} ${{ number_format($item->people_payment, 2) }} ${{ number_format($item->sub_total, 2) }}
{{ $school_object->school->name }} ${{ number_format($school_object->record->amount, 2) }}
{{ $info['bracket']->school_year }}-{{ substr($info['bracket']->school_year + 1, 2, 2) }} OSAA {{ $info['bracket']->division }} {{ Helpers::getActivityName($info['bracket']->activity) }} State Championship School Reimbursements - Summary
@foreach ($info['school_objects'] as $index => $school_object) @if ($index == 19)
School Total
{{ $school_object->school->name }} ${{ number_format($school_object->record->amount, 2) }}
@endif @endforeach
School Total
Total ${{ number_format($sum, 2) }}

@stop