');
var data = { term : search };
// Get search results
var jqxhr = $.ajax(
{
type : 'POST',
url : '{{ url('/forms/eligibility/search') }}',
data : data,
dataType : 'html'
})
.done(function (data)
{
$('[data-searching]').remove();
var results = $.parseJSON(data);
var waivers = results.results;
if (waivers.length == 0)
{
$('#results').html('No waivers matched your search.');
return;
}
$.each(waivers, function(index, waiver)
{
var html = '
' + waiver.student + '
';
html += '
' + waiver.id + '
';
html += '
' + waiver.status + '
';
html += '
' + waiver.school + '
';
html += '
' + waiver.year + ' ' + waiver.type + '
';
$('')
.addClass('item')
.attr('data-id', waiver.id)
.appendTo('#results')
.html(html);
});
$('.item')
.hover(function ()
{
$(this).addClass('item_hover');
}, function ()
{
$(this).removeClass('item_hover');
})
.click(function()
{
window.open('{{ url('/forms/eligibility') }}/' + $(this).attr('data-id'), '_blank');
});
})
.fail(function (jqXHR, status, error)
{
var response = jqXHR.responseText;
var errorData = $.parseJSON(response);
//console.log(errorData);
alert("There was an error while searching.\n\n" + errorData.error.message + "\n\nThis page will be reloaded.");
location.reload();
});
}
$('#search').keypress(function(e)
{
if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 12))
{
$('.search_button').click();
}
})
$('.search_button')
.button({'icons':{'primary':'ui-icon-search'}})
.css({'font-size':'8pt'})
.click(function(event)
{
event.preventDefault();
var search = $('#search').val();
if (search == '')
{
alert("You didn't type in any search criteria.");
return;
}
searchTerm(search);
});
@if (Auth::check() and !Auth::User()->isOsaaUser() and count($info['users_schools']) > 0)
$('#search').val('{{ str_replace('\'', '\\\'', $info['users_schools']->first()->name) }}');
searchTerm('{{ str_replace('\'', '\\\'', $info['users_schools']->first()->name) }}');
@endif
$('.login_button')
.button({'icons':{'primary':'ui-icon-person'}})
.css({'font-size':'8pt'});
$('.next_button')
.button({'icons':{'secondary':'ui-icon-play'}})
.css({'font-size':'8pt'})
.click(function ()
{
var button = $(this);
var school_id = $('#school').val();
window.location = "{{ url('/forms/eligibility/new') }}?school=" + school_id;
});
$('.item')
.hover(function ()
{
$(this).addClass('item_hover');
}, function ()
{
$(this).removeClass('item_hover');
})
.click(function()
{
window.open('{{ url('/forms/eligibility') }}/' + $(this).attr('data-id'), '_blank');
});
// However over viewable record
$('tbody tr')
.hover(function ()
{
$(this).css({'background-color' : '#b0dcff',
'cursor' : 'pointer'});
},
function()
{
$(this).css({'background-color' : '',
'cursor' : 'auto'});
})
.click(function ()
{
var waiver_id = $(this).attr('data-waiver-id');
window.open('{{ url('/forms/eligibility/') }}/' + waiver_id, '_blank');
});
$('[data-action="search_help"]').on('click', function(event)
{
$('')
.appendTo('body')
.css({'z-index':'2000 !important'})
.dialog(
{
draggable : false,
resizable : false,
height : 725,
width : 650,
modal : true,
title : 'Searching for Eligibilities',
open : function ()
{
var dialog_object = $(this);
dialog_object.html("");
var jqxhr = $.ajax(
{
type : 'GET',
url : '{{ url('/forms/eligibility/search-help') }}',
dataType : 'html'
})
.done(function (returned_data)
{
dialog_object.html(returned_data);
})
.fail(function (jqXHR, status, error)
{
var response = jqXHR.responseText;
var errorData = $.parseJSON(response);
//console.log(errorData);
alert ("There was an error looking up help information.\n\nThis page will be reloaded.");
location.reload();
})
.complete(function ()
{
});
},
close : function ()
{
var dialog_object = $(this);
$(dialog_object).remove();
}
});
});
@if (Auth::check() and Helpers::strEqual(Auth::User()->email, array('gibbyr@osaa.org', 'amerilynr@osaa.org', 'kristiep@osaa.org', 'peterw@osaa.org')))
$('#report_menu')
.menu()
.css({'font-size' : '9pt'})
.hide()
$(document).click(function(event)
{
$('#report_menu').hide();
});
$('.report_menu_button')
.button({'icons' : {'secondary' : 'ui-icon-triangle-1-s'}})
.css({'font-size' : '9pt', 'margin-right' : '10px'})
.click(function(event)
{
event.preventDefault();
event.stopPropagation();
var menu = $('#report_menu');
menu
.show()
.position({'my' : 'left top',
'at' : 'left bottom',
'of' : '.report_menu_button'});
});
@endif
@stop
@section('page_functions')
@if (Auth::check() and Helpers::strEqual(Auth::User()->email, array('gibbyr@osaa.org', 'amerilynr@osaa.org', 'kristiep@osaa.org', 'peterw@osaa.org')))
Reports
@endif
For ParentsHelpClose
@stop
@section('main_content')
{{-- Success Bar --}}
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
@if (Auth::check() and Helpers::strEqual(Auth::User()->email, array('gibbyr@osaa.org', 'amerilynr@osaa.org', 'kristiep@osaa.org', 'peterw@osaa.org')))
Enrollment Records - student's academic history by semester/trimester
Additional Correspondence* - some eligibility waivers require additional information or correspondence that will need to be uploaded as a separate file and attached to the request (letters, transcripts, etc.)
Affirmation Signatures - in order for your request to be submitted, you must read and agree to an affirmation statement (school administrator and student's parent/guardian or host-family)
Future Eligibility Notice for Waivers Prior to {{ $info['start_date'] }}
Hardship requests involving future eligibility will not be considered by the Executive Director, Executive Board, or District Athletic Committee. The student must actually be in an ineligible status before any hardship request will be considered except for Age and/or Fifth Year waivers.
@endif
Create a New Eligibility Request Form
@if (!isset($info['member_schools']) or count($info['member_schools']) < 1)
You do not have access to this form.
Your account is not linked to any school with administrative privileges.
Please refer to OSAA Website Help for instructions on linking your account to a school.
@else
School
* Additional Correspondence
Types of additional correspondence include:
Transcripts
- Current high school
- Previous high school
School Records
- Attendance records
- Letter authorizing release of school records to OSAA
Letter of Explanation
- Student and parent or guardian
- School representative
- Other letters as relevant
Age & Fifth Year Information/Documentation
- Gap in student's academic progress
- Credit deficiency
- Classes needed to graduate
- Individualized Educational Program (IEP)
- Student's disability per ADA
@endif
@if (Auth::check() and Helpers::strEqual(Auth::User()->email, array('gibbyr@osaa.org', 'amerilynr@osaa.org', 'kristiep@osaa.org', 'peterw@osaa.org')))
Received & Pending Requests
Awaiting Inspection
These waivers have been submitted and need to be inspected by OSAA staff.
A yellow flag, , indicates the form needs Pete's attention.
@if (count($info['waiver_objects']['received']) < 1)
There are no waivers needing inspection.
@else
@foreach ($info['waiver_objects']['received'] as $waiver)
These waivers are awaiting an internal decision or waiting for a notification to be sent.
A green flag, , indicates that Pete has made an internal decision.
@if (count($info['waiver_objects']['pending']) < 1)
There are no pending waivers needing a decision.
@else
@foreach ($info['waiver_objects']['pending'] as $waiver)