@extends('layouts.page') @section('title') Program Add Participants @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('program_new.participants.add', [$program->id, $type])]) !!}
Participants
@include ('common.search', ['search_url' => null])
@foreach ($new_participants as $participant) @if($participant->person) @else @endif @if ($participant->project) @else @endif @endforeach
Sno Participant Project Organization State District
{{ $i++ }} {{ $participant->person->fullname() }}{{ $participant->full_name }}{{ $participant->project->full_code }} @if (!$participant->project->organization || is_string($participant->project->organization)) {{ $participant->project->organization }} @else {{ $participant->project->organization->organization_name }} @endif {{ AppHelper::dropdown($participant->project->state, 'states') }} {!! EasyForm::viewDependent('district','', $participant->project->district, AppHelper::options('districts'), $participant->project->state) !!} {{ $participant->code }}
@if ($status == 'available_for_selection')
Note: Participants will be listed after SC makes "Available for Section"
@endif
{{ Form::close() }}
@endsection