{{ $tableId ? 'Update Student Status' : 'Add Student Status' }}

@if($ppoStatus)
@endif
@if($selectedId || $query) @else @endif @error('query')
{{ $message }}
@enderror
@if($results)
    @foreach ($results as $result)
  • {{ $result->studentName }}
  • @endforeach
@endif @if($selectedId)
@if($profilePhoto)@endif
{!! $programDetail !!}
@endif
@if($ppoStatus)
@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
@endif
 
@if($showJobFields)
@error("offered_ctc") {{ $message }} @enderror
@endif @if($showInternshipFields)
@error("stipend") {{ $message }} @enderror
@endif