@if (Session::has('success'))
{{ Session::get('success') }}
@endif @if ($info['action'] == 0 or $info['action'] == 5) @if ($info['action'] !== 5)

LOA ID# = {{ $info['loa']->id }}

{{ $info['loa']->name }}

@endif

Current Commissioner

OAU ID# Name Email Mobile Since
{{ $info['loa_user']->oau->id }} {{ $info['cmsh']->name }} {{ $info['cmsh']->email }} @if (is_null($info['cmsh']->phone) or $info['cmsh']->phone === false) - - @else {{ Helpers::displayCombinedPhone($info['cmsh']->phone->number) }} @endif {{ date('n/j/Y', strtotime($info['loa_user']->oau->created_at)) }}

OSAA Website User Information

@if (is_null($info['user_login'])) @else @endif
User ID# Created Last Login Previous Login Reset
{{ $info['loa_user']->user->id }} {{ date('n/j/Y g:ia', strtotime($info['loa_user']->user->created_at)) }}Never - - - -{{ date('n/j/Y g:ia', strtotime($info['user_login']->last_login_at)) }} {{ date('n/j/Y g:ia', strtotime($info['user_login']->previous_login_at)) }} {{ ($info['user_login']->is_need_reset) ? 'Yes' : 'No' }}


Edit Contact Information Recover Password Set Password Replace Commissioner
@if ($info['action'] !== 5)
@endif {{-- Edit Contact Information --}} @elseif ($info['action'] == 1) Cancel Save

Edit Commissioner Contact Information

Field Value
{{ Form::label('commissioner_first_name', 'First Name', array('style' => 'font-weight: bold;')) }} {{ Form::text('commissioner_first_name', $info['loa_user']->user->first_name, array('style' => 'width: 100px;')) }}
{{ Form::label('commissioner_last_name', 'Last Name', array('style' => 'font-weight: bold;')) }} {{ Form::text('commissioner_last_name', $info['loa_user']->user->last_name, array('style' => 'width: 100px;')) }}
{{ Form::label('commissioner_email', 'Email', array('style' => 'font-weight: bold;')) }} {{ Form::text('commissioner_email', $info['loa_user']->user->email, array('style' => 'width: 250px;')) }}
{{ Form::label('commissioner_mobile', 'Mobile', array('style' => 'font-weight: bold;')) }} {{ Form::text('commissioner_mobile', $mobile, array('style' => 'width: 125px;', 'data-format' => 'phone')) }}

Do not use this form to replace the commissioner. Click Save to commit changes to the database.
{{-- Recover Password --}} @elseif ($info['action'] == 2) Cancel Recover Password

Recover Password

This will set the commissioner's password to a randomly generated password. The commissioner will then be sent an automated email with instructions on how to log into the OSAA website with their new, temporary password. The commissioner will have to change their password once they successfully log in with the password included in the notification email. You will be blind copied on the email.

This is the same process as if the user clicked the "I forgot my account information" link on the login form.

If you are sure you want to wipe out the commissioner's existing password and send them an email with a new, temporary password, click the Recover Password button.

{{-- Set Password --}} @elseif ($info['action'] == 3) Cancel Set Password

Set Password

{{ Form::label('new_commissioner_password', 'New Password', array('style' => 'font-weight: bold; margin-right: 8px;')) }} {{ Form::text('new_commissioner_password', 'Welcome1', array('style' => 'width: 125px;')) }}

This will set the commissioner's password to the password you type in above. The commissioner will then be sent an automated email with instructions on how to log into the OSAA website with their new password. The commissioner will not have to change their password. You will be blind copied on the email.

To manually set this commissioner's password, type in a new password and click the Set Password button.

{{-- Replace Commissioner --}} @elseif ($info['action'] == 4) Cancel Replace Commissioner

Replace the Current Commissioner With a New Commissioner

New Commissioner
{{ Form::label('new_commissioner_first_name', 'First Name', array('style' => 'font-weight: bold;')) }} {{ Form::text('new_commissioner_first_name', null, array('style' => 'width: 100px;')) }}
{{ Form::label('new_commissioner_last_name', 'Last Name', array('style' => 'font-weight: bold;')) }} {{ Form::text('new_commissioner_last_name', null, array('style' => 'width: 100px;')) }}
{{ Form::label('new_commissioner_email', 'Email', array('style' => 'font-weight: bold;')) }} {{ Form::text('new_commissioner_email', null, array('style' => 'width: 250px;')) }}
{{ Form::label('new_commissioner_mobile', 'Mobile', array('style' => 'font-weight: bold;')) }} {{ Form::text('new_commissioner_mobile', null, array('style' => 'width: 125px;', 'data-format' => 'phone')) }}
{{ Form::label('new_commissioners_password', 'Password', array('style' => 'font-weight: bold;')) }} {{ Form::text('new_commissioners_password', 'Cmsh2018', array('style' => 'width: 125px;')) }}
Existing User
{{ Form::label('existing_commissioner_id', 'User ID', array('style' => 'font-weight: bold;')) }} {{ Form::text('existing_commissioner_id', null, array('style' => 'width: 100px;')) }}


Input the new commissioner's information, or just provide an existing User ID to be assigned as the commissioner.

{{-- Unknown --}} @else Unknown action. @endif