@if (is_null($info['action']))
{{ $info['staff']->getDisplayName() }}
| Staff ID |
First |
Middle |
Last |
Email |
Role |
Status |
| {{ $info['staff']->id }} |
{{ $info['staff']->first_name }} |
{{ $info['staff']->middle_name }} |
{{ $info['staff']->last_name }} |
{{ $info['staff']->email }} |
{{ $info['staff']->role }} |
{{ ($info['staff']->is_retired) ? 'Hidden' : 'Visible' }} |
School Contact?
@if ($info['staff']->is_on_school_contacts)
{{ $info['roles'][$info['staff']->role] }}
@else
- -
@endif
AP Staff Records:
@if (count($info['ap_staffs']) < 1)
0
@elseif (count($info['ap_staffs']) == 1)
1 staff listing
@else
{{ count($info['ap_staffs']) }} staff listings
@endif
Email Duplicates:
@if (count($info['other_sss']) < 1)
0
@elseif (count($info['other_sss']) == 1)
1 potential duplicate record
@else
{{ count($info['other_sss']) }} potential duplicate records
@endif
| AP Staff ID |
AP ID |
Year |
Activity |
Level |
Role |
Status |
@if (count($info['ap_staffs']) > 0)
@foreach ($info['ap_staffs'] as $ap_staff)
| {{ $ap_staff->id }} |
{{ $ap_staff->activity_program }} |
{{ $ap_staff->ap->school_year }} |
{{ $ap_staff->ap->activity }} |
{{ $ap_staff->level }} |
{{ $info['roles'][$ap_staff->role] }} |
{{ ($ap_staff->is_retired) ? 'Hidden' : 'Visible' }} |
@endforeach
@else
| No activity program listing for this school staff record |
@endif
@elseif (Helpers::strEqual($info['action'], 'merge'))
@if (count($info['other_sss']) < 1)
There Are No Duplicates to Merge
There were no potential duplicates found for {{ $info['staff']->getDisplayName() }}.
How Duplicates Are Found:
- School staff with matching names
- School staff with matching primary email address
- Any school staff with an alternate email address matching this school staff's primary email address or any alternate email addresses
Click the Cancel button near the top of this dialog box to return to the staff member's information.
@else
Are You Sure You Want to Merge?
@if (count($info['other_sss']) == 1)
There is {{ count($info['other_sss']) }} other school staff record that is a potential duplicate.
@else
There are {{ count($info['other_sss']) }} other school staff records that are potential duplicates.
@endif
What This Does:
- The school staff record with ID number {{ $info['staff']->id }} will be the primary record (this record)
- The duplicate record you choose will be absorbed into the primary record
- The duplicate record will then be deleted
@if (count($info['other_sss']) > 1)
There are {{ count($info['other_sss']) }} other school staff records that are potential duplicates of {{ $info['staff']->getDisplayName() }}. You will need to merge the other duplicate records into this primary record one at a time.
@endif
You can cancel this action and return to the staff member's information by clicking the Cancel button near the top of this dialog box. Select the duplicate record from the list below and click that row's Merge link.
| Staff ID |
First |
Middle |
Last |
Email |
Role |
Merge |
@foreach ($info['other_sss'] as $other_ss)
| {{ $other_ss->id }} |
{{ $other_ss->first_name }} |
{{ $other_ss->middle_name }} |
{{ $other_ss->last_name }} |
{{ $other_ss->email }} |
{{ $info['roles'][$other_ss->role] }} |
Merge |
@endforeach
@endif
@elseif (Helpers::strEqual($info['action'], 'merge-staff'))
Verify Merge
Ensure the information appears correct, click the Merge button at the bottom to confirm.
Retain This Information
| Staff ID |
First |
Middle |
Last |
Email |
Role |
Status |
| {{ $info['staff']->id }} |
{{ $info['staff']->first_name }} |
{{ $info['staff']->middle_name }} |
{{ $info['staff']->last_name }} |
{{ $info['staff']->email }} |
{{ $info['staff']->role }} |
{{ ($info['staff']->is_retired) ? 'Hidden' : 'Visible' }} |
Merge From This Information
| Staff ID |
First |
Middle |
Last |
Email |
Role |
Status |
| {{ $info['other_ss']->id }} |
{{ $info['other_ss']->first_name }} |
{{ $info['other_ss']->middle_name }} |
{{ $info['other_ss']->last_name }} |
{{ $info['other_ss']->email }} |
{{ $info['other_ss']->role }} |
{{ ($info['other_ss']->is_retired) ? 'Hidden' : 'Visible' }} |
To merge all data into the primary staff contact record for {{ $info['staff']->getDisplayName() }}, click the Merge button below. You can cancel this action and return to the staff member's information by clicking the Cancel button near the top of this dialog box.
@elseif (Helpers::strEqual($info['action'], 'delete'))
Are You Sure You Want to Delete?
Are you sure you want to delete this staff member?
What This Does:
- The school staff record with ID number {{ $info['staff']->id }} will be deleted
@if (count($info['ap_staffs']) > 0)
- Every activity program listing (total of {{ count($info['ap_staffs']) }} records) will be removed
@else
- No activity program staff listings will be affected
@endif
- {{ $info['staff']->getDisplayName() }} will no longer appear on your staff listing
This cannot be undone. Once you delete {{ $info['staff']->getDisplayName() }} from your school staff list, they cannot be reinstated or recovered easily.
This will not remove the staff member's OSAA website access. To remove user access, go to your My Account page and click the School Users sub-tab. User access can be removed from that page.
If you are sure you want to remove {{ $info['staff']->getDisplayName() }} from your school staff list, click the Delete button below. You can cancel this action and return to the staff member's information by clicking the Cancel button near the top of this dialog box.
@elseif (Helpers::strEqual($info['action'], 'cancel'))
| Staff ID |
First |
Middle |
Last |
Email |
Role |
Status |
| {{ $info['staff']->id }} |
{{ $info['staff']->first_name }} |
{{ $info['staff']->middle_name }} |
{{ $info['staff']->last_name }} |
{{ $info['staff']->email }} |
{{ $info['staff']->role }} |
{{ ($info['staff']->is_retired) ? 'Hidden' : 'Visible' }} |
School Contact?
@if ($info['staff']->is_on_school_contacts)
{{ $info['roles'][$info['staff']->role] }}
@else
- -
@endif
AP Staff Records:
@if (count($info['ap_staffs']) < 1)
0
@elseif (count($info['ap_staffs']) == 1)
1 staff listing
@else
{{ count($info['ap_staffs']) }} staff listings
@endif
Email Duplicates:
@if (count($info['other_sss']) < 1)
0
@elseif (count($info['other_sss']) == 1)
1 potential duplicate record
@else
{{ count($info['other_sss']) }} potential duplicate records
@endif
| AP Staff ID |
AP ID |
Year |
Activity |
Level |
Role |
Status |
@if (count($info['ap_staffs']) > 0)
@foreach ($info['ap_staffs'] as $ap_staff)
| {{ $ap_staff->id }} |
{{ $ap_staff->activity_program }} |
{{ $ap_staff->ap->school_year }} |
{{ $ap_staff->ap->activity }} |
{{ $ap_staff->level }} |
{{ $info['roles'][$ap_staff->role] }} |
{{ ($ap_staff->is_retired) ? 'Hidden' : 'Visible' }} |
@endforeach
@else
| No activity program listing for this school staff record |
@endif
@else
Unknown action.
@endif