@section('page_title') OSAA - Eligibility @stop @section('page_sub_title') Student Eligibility @stop @section('scripts') @parent @stop @section('jquery_init') // Table row highlighter function colorRows () { $('table').each(function () { var i = 0; $('tbody tr:visible', $(this)).each(function () { if (i % 2 == 0) { $(this).addClass('odd'); } else { $(this).removeClass('odd'); } i = i + 1; }); }); } colorRows(); // Success bar $('.success_bar').animate({ 'top' : 32, 'background-color' : 'rgba(176, 255, 190, 1.0)'}, 1600, 'easeOutQuad', function () { $(this).delay(6000).fadeOut(4000); $(this).hover(function () { $(this).stop(true).css('opacity', '1.0'); }, function () { $(this).fadeOut(4000); }) }); // Buttons $('.close_button') .button({'icons':{'primary':'ui-icon-circle-close'}}) .css({'font-size':'9pt'}); /* * Help button */ $('.help_button') .button({'icons':{'primary':'ui-icon-help'}}) .css({'font-size':'9pt', 'margin-right':'10px'}); /* * Primer button */ $('.primer_button') .button({'icons':{'primary':'ui-icon-person'}}) .css({'font-size':'9pt', 'margin-right':'10px'}); // Search features function searchTerm(search) { $('#results').empty(); $('
') .attr('data-searching', 1) .addClass('ui-widget-overlay ui-front') .appendTo('body'); $('
').appendTo('body') .attr('data-searching', 1) .css('width', '225px') .css('height', '170px') .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 ui-di buttons') .html('
Searching...

Getting results from the database...
'); 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 Parents Help Close @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'))) @endif {{-- Errors --}} @if (Session::has('errors'))
@foreach ($errors->all() as $error) {{ $error }} @endforeach
@endif
@if (Auth::user()->isDACChair() or count($info['dac_waivers']) > 0)

Pending DAC Waivers

@if (count($info['dac_waivers']) > 0) @foreach ($info['dac_waivers'] as $waiver)
{{ $waiver->student->getDisplayName() }}
{{ $waiver->waiver->id }}
{{ $waiver->waiver_status->slug }}
{{ $waiver->received_at }}
{{ $waiver->school->name }}
{{ $waiver->school_year->slug }} {{ $waiver->waiver_type->slug }}
@endforeach
@else No schools in your league have submitted an eligibility request to your DAC.

@endif @endif

Search


@if (Auth::user()->isOsaaUser()) @endif
Search by ID, status, type, year, student name, or school.

New Eligibility Request for {{ intval(Helpers::getCurrentYear()) }}-{{ substr(intval(Helpers::getCurrentYear()) + 1, 2, 2) }}


Administrators use this section to create a new Student Eligibility Request Form. You will need to provide the following information:
  • Student Information - including name, date of birth, parent/guardian, address, etc.
  • Waiver Type - type of eligibility waiver (see OSAA Handbook, Rule 8)
  • 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 --}} @if ($info['limit_future'])
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)
{{ $waiver->student->getDisplayName() }}
{{ $waiver->waiver->id }}
{{ $waiver->waiver_status->slug }}
@if (!Helpers::strIsEmpty($waiver->data->flagged_for_pete))
@endif
{{ $waiver->received_at }}
{{ $waiver->school->name }}
{{ $waiver->school_year->slug }} {{ $waiver->waiver_type->slug }}
@endforeach
@endif

Pending

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)
{{ $waiver->student->getDisplayName() }}
{{ $waiver->waiver->id }}
{{ $waiver->waiver_status->slug }}
@if (!Helpers::strIsEmpty($waiver->data->internal_notes))
@endif
{{ $waiver->received_at }}
{{ $waiver->school->name }}
{{ $waiver->school_year->slug }} {{ $waiver->waiver_type->slug }}
@endforeach
@endif


@endif @stop