{{ $selectedCompany }}

@if (session()->has('success'))
{{ session('success') }}
@endif
@if($programDetail)
@if($profilePhoto)@endif
{!! $programDetail !!}
@endif

Selected Profile Detail


Profile:
{{ $selectedProfile }}
Location:
{{ $selectedLocation }}
Status:
{{ $profileStatus }}
@if($selectedProfileId || $profileQuery) @else @endif @error('profileQuery')
{{ $message }}
@enderror
{{-- Search Dropdown --}} @if(count($profileResults) > 0 || (!empty($profileQuery) && !$selectedProfileId))
    {{-- Existing Profiles --}} @foreach ($profileResults as $profile)
  • {{ $profile->name }}
  • @endforeach {{-- Add New --}} @php $exists = collect($profileResults) ->contains(fn($item) => strtolower(trim($item->name)) === strtolower(trim($profileQuery)) ); @endphp @if(!$exists && !empty(trim($profileQuery)) && !$selectedProfileId )
  • + Add "{{ $profileQuery }}"
  • @endif
@endif
@if($selectedLocationId || $locationQuery) @else @endif @error('locationQuery')
{{ $message }}
@enderror
{{-- Search Dropdown --}} @if(count($locationResults) > 0 || (!empty($locationQuery) && !$selectedLocationId))
    {{-- Existing Locations --}} @foreach ($locationResults as $location)
  • {{ $location->name }}
  • @endforeach {{-- Add New --}} @php $exists = collect($locationResults) ->contains(fn($item) => strtolower(trim($item->name)) === strtolower(trim($locationQuery)) ); @endphp @if( !$exists && !empty(trim($locationQuery)) && !$selectedLocationId )
  • + Add "{{ $locationQuery }}"
  • @endif
@endif