{{ Form::open(array('url' => '/schools/' . $info['school']->id . '/staff/edit-certifications',
'method' => 'POST',
'style' => 'font-size: 10pt; line-height: 1.15em;')) }}
{{ Form::hidden('school_staff_id', $info['school_staff']->id) }}
Use this form to edit the certification information for {{ $info['school_staff']->getDisplayName() }}. Dates must be in M/D/Y format, click a text-box and use the date-picker. The expiration date for some courses will be automatically calculated. When you are finished, click the Save & Update button to save your entries and update the certification records for this staff.
| Course | Completion Date | Validity | Expiration Date | |
|---|---|---|---|---|
| @if (Helpers::strEqual($course->short_name, 'Other')) {{ $info['other_label'] }} @else {{ $course->short_name }} @endif | @if (Helpers::strEqual($course->slug, 'HEADS-UP')) {{ Form::text($course->column, (!is_null($info['certification_record']->{ $course->column })) ? date('n/j/Y', strtotime($info['certification_record']->{ $course->column })) : null, array('style' => 'width: 100px;', 'data-date-picker' => 'true', 'readonly' => true, 'disabled' => true)) }} @else {{ Form::text($course->column, (!is_null($info['certification_record']->{ $course->column })) ? date('n/j/Y', strtotime($info['certification_record']->{ $course->column })) : null, array('style' => 'width: 100px;', 'data-date-picker' => 'true')) }} @endif |
@if (Helpers::strEqual($course->slug, 'HEAT'))
Quadrennial (Football Coaches: Annual) @elseif (Helpers::strEqual($course->slug, 'SPIRIT')) Annual (Through Membership Year) @else {{ str_replace('Current', 'Varries', $course->frequency) }} @endif |
@if (Helpers::strEqual($course->frequency, array('Once'))) {{ Form::text('expiration_' . $index, 'Never', array('style' => 'width: 100px;', 'readonly' => true, 'disabled' => true)) }} @elseif (Helpers::strEqual($course->frequency, array('Current'))) {{ Form::text($course->column . '_expires', (!is_null($info['certification_record']->{ $course->column . '_expires' })) ? date('n/j/Y', strtotime($info['certification_record']->{ $course->column . '_expires' })) : null, array('style' => 'width: 100px;', 'data-date-picker' => true)) }} @else {{ Form::text('expiration_' . $index, (!is_null($info['certification_record']->{ $course->column . '_expires' })) ? date('n/j/Y', strtotime($info['certification_record']->{ $course->column . '_expires' })) : null, array('style' => 'width: 100px;', 'readonly' => true, 'disabled' => true)) }} @endif |
|