{{ $title }} @foreach ($fields as $field) {!! $al_report->label($field) !!} {{ $al_actual_report->$field }} @foreach (AppHelper::options('al_report_terms') as $k => $v)
Warning: Undefined variable $k in /var/www/html/pruthvi/resources/views/al_report/create_textarea_section.blade.php on line 13

Warning: Undefined variable $term in /var/www/html/pruthvi/resources/views/al_report/create_textarea_section.blade.php on line 14
@if ($k == $term) @if($field=='vegetable_garden_type') {!! Form::select('vegetable_garden_type[]', AppHelper::Options('hep_garden_types'), request()->vegetable_garden_type, ['class' => 'mr-3','style' => 'width: 160px','readonly' => $readonly, 'placeholder' => 'Select Garden Type', 'multiple' => true, 'id' => 'vegetable_garden_type']) !!} @elseif($field=='vegetables') {!! Form::select('vegetables[]', AppHelper::Options('al_hep_vegetable_seed_names'), request()->vegetables, ['class' => 'mr-3', 'style' => 'width: 160px','readonly' => $readonly, 'placeholder' => 'Select Vegetables Grown', 'multiple' => true, 'id' => 'vegetables']) !!} @else {!! Form::textarea($field, old($field, $value), ['cols' => 2, 'rows' => 3,'id' => "report[$k][$field]",'readonly' => $readonly, 'placeholder' => 'In Term-3 Report only']) !!} @endif @if ($errors->has($field))
{{ $errors->first($field) }}
@endif @else {!! Form::textarea(null, $value, ['cols' =>2, 'rows' => 3,'disabled' => true]) !!} @endif @endforeach @endforeach