').appendTo('body')
.css('width', '250px')
.css('height', '180px')
.css('text-align', 'center')
.css('padding', '0.5em')
.position({my : "center center", at : "center center", of : window})
.addClass('ui-dialog ui-widget ui-widget-content ui-corner-all ui-front')
.html('
Calculating Reimbursements...

Please wait while reimbursements are calculated, this may take a while to process...
');
$(this).parents('form').submit();
});
// Activity sports view report button
$('#activity_sports_form .view_button')
.button()
.css({'font-size':'9pt'})
.click(function ()
{
var button = $(this);
var form = $(this).parents('form');
var url = button.attr('data-href');
url += '?' + form.serialize();
window.open(url);
});
/*
* School summary report button
*/
$('.school_summary_botton')
.button()
.css({'font-size':'8pt'})
.click(function ()
{
var button = $(this);
var season = button.attr('data-season');
var url = '{{ url('/reimburse/season') }}/' + season + '/school-detail';
window.open(url);
});
/*
* Season summary report button
*/
$('.season_summary_botton')
.button()
.css({'font-size':'8pt','margin-right':'25px'})
.click(function ()
{
var button = $(this);
var season = button.attr('data-season');
var url = '{{ url('/reimburse/season') }}/' + season + '/summary?csv=true';
window.open(url);
});
/*
* Season summary report button (PDF version)
*/
$('.season_summary_pdf_botton')
.button()
.css({'font-size':'8pt','margin-right':'25px'})
.click(function ()
{
var button = $(this);
var season = button.attr('data-season');
var url = '{{ url('/reimburse/season') }}/' + season + '/summary';
window.open(url);
});
@stop
@section('page_functions')
Close
@stop
@section('main_content')
{{-- Success Bar --}}
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
{{-- Errors --}}
@if (Session::has('errors'))
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
Team Sports
{{ Form::open(array('url' => url('/reimburse/calculate/team'),
'method' => 'POST',
'id' => 'team_sports_form')) }}
Team Sport
{{ Form::label('sport', 'Select', array('style' => 'font-weight: bold;')) }}
{{ Form::select('sport', $info['team_sports'], null, array('id' => 'sport')) }}
Division
{{ Form::label('division', 'Select', array('style' => 'font-weight: bold;')) }}
{{ Form::select('division', reset($info['team_sport_divisions']), null, array('id' => 'division')) }}
Options
Missing Addresses
View Bracket
Calculate
View Report
{{ Form::close() }}
Individual Sports
{{ Form::open(array('url' => url('/reimburse/calculate/individual'),
'method' => 'POST',
'files' => true,
'id' => 'individual_sports_form')) }}
Individual Sport
{{ Form::label('individual_sport', 'Select', array('style' => 'font-weight: bold;')) }}
{{ Form::select('individual_sport', $info['individual_sports'], null, array('id' => 'individual_sport')) }}
File to Upload
{{ Form::label('upload_file', 'Data File', array('style' => 'font-weight: bold;')) }}
{{ Form::file('upload_file', array('style' => '')) }}
Options
Calculate
View Report
{{ Form::close() }}
Activities
{{ Form::open(array('url' => url('/reimburse/calculate/activity'),
'method' => 'POST',
'files' => true,
'id' => 'activity_sports_form')) }}
Activity
{{ Form::label('activity_sport', 'Select', array('style' => 'font-weight: bold;')) }}
{{ Form::select('activity_sport', $info['activity_sports'], null, array('id' => 'activity_sport')) }}
File to Upload
{{ Form::label('upload_file', 'Data File', array('style' => 'font-weight: bold;')) }}
{{ Form::file('upload_file', array('style' => '')) }}
Options
Calculate
View Report
{{ Form::close() }}
Season Information
@foreach (array('F' => 'Fall', 'W' => 'Winter', 'S' => 'Spring') as $season_slug => $season_name)
{{ $season_name }} Status
Summary Report:
CSV
PDF
School Detail Report:
PDF
| Activity |
6A |
5A |
4A |
3A |
2A |
1A |
@foreach ($info['season_activities'][$season_slug] as $activity_slug)
| - - | |
@endforeach
@endforeach

@stop