@extends('layouts.app') @section('title', 'Edit State Office') @section('content')

Current Officer: {{ $stateOffice->getOfficerName() }} @if ($stateOffice->user_id) @endif

@if ($stateOffice->user_id) Officer Photo @endif @php if ($stateOffice->user) { $firstName = $stateOffice->user->first_name ?? ''; $lastName = $stateOffice->user->last_name ?? ''; $email = $stateOffice->user->email ?? ''; $typeAhead = $firstName.' '.$lastName.' ('.$email.')'; } else { $typeAhead = ''; } @endphp
@method('put') @csrf
@error('user_id') {{ $message }} @enderror
@error('is_vetted') {{ $message }} @enderror

To Assign Officer:
To assign a member to a state office seat, search for their name in the Search User field. When it populates in the drop-down click on it and select their vetted status. Then click Save Office

To Update Officer:
If you are updating a state officer you will first need to delete the current officer's name and then search for the new officer. Click the new officer's name when it appears in the drop-down, select their vetted status and then click Save Office.

To Delete Officer:
If you are deleteing a state officer without replacing them all you need to do is click the Remove Officer button.

@csrf @method('delete')
@endsection @push('styles') @endpush @push('scripts') @endpush