@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
| School |
Round |
Date(s) |
Location |
Miles |
Rate |
× |
Mileage |
# |
Rate |
Per Diem |
Sub-Total |
@foreach ($info['school_objects'] as $index => $school_object)
@foreach ($school_object->items as $sub_index => $item)
@if ($sub_index == 0)
|
{{ $school_object->school->short_name}}
|
@else
|
@endif
{{ $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) }} |
@endforeach
| {{ $school_object->school->name }} |
${{ number_format($school_object->record->amount, 2) }} |
@endforeach
{{ $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
| School |
Total |
@foreach ($info['school_objects'] as $index => $school_object)
|
{{ $school_object->school->name }}
|
${{ number_format($school_object->record->amount, 2) }}
|
@if ($index == 19)
| School |
Total |
@endif
@endforeach
| Total |
${{ number_format($sum, 2) }} |
@stop