Add a crop report
@if ($errors->any())
@endif {!! Form::open(['action' => 'MonthlyCropReportsController@store']) !!}
{!! Form::Label('notes', 'Notes:') !!} {!! Form::text('notes', null, ['class' => 'form-control']); !!}
{!! Form::submit('Submit'); !!} {{ Form::close() }}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
@endif {!! Form::open(['action' => 'MonthlyCropReportsController@store']) !!}
{!! Form::Label('region_id', 'District:') !!}
{!! Form::select('region_id', ['' => '--- Select district ---'] + $regions, null, ['id' => 'region', 'class' => 'form-control']); !!}
{!! Form::Label('station_id', 'Station:') !!}
{!! Form::select('station_id', ['' => '--- Select station ---'] + $stations, null, ['id' => 'station', 'class' => 'form-control']); !!}
{!! Form::Label('observation_date', 'Observation date:') !!}
{!! Form::text('observation_date', null, ['class' => 'date form-control']); !!}
{!! Form::Label('observer', 'Observer:') !!}
{!! Form::text('observer', null, ['class' => 'form-control']); !!}
{!! Form::Label('field', 'Field:') !!}
{!! Form::text('field', null, ['class' => 'form-control']); !!}
{!! Form::Label('crop_id', 'Crop:') !!}
{!! Form::Label('variety', 'Variety:') !!}
{!! Form::text('variety', null, ['id' => 'variety', 'class' => 'form-control']); !!}
{!! Form::Label('sowing_date', 'Sowing date:') !!}
{!! Form::text('sowing_date', null, ['class' => 'date form-control']); !!}
{!! Form::Label('report_year', 'Year:') !!}
{!! Form::select('report_year', $years, null, ['class' => 'form-control']); !!}
{!! Form::Label('report_month', 'Month:') !!}
{!! Form::select('report_month', array('1' => 'January', '2' => 'February', '3' => 'March', '4' => 'April', '5' => 'May', '6' => 'June', '7' => 'July', '8' => 'August', '9' => 'September', '10' => 'October', '11' => 'November', '12' => 'December'), 'mean', ['class' => 'form-control', 'id' => 'month']); !!}
Number of Plants with the Feature of the given Phase
REPLICATIONS
REPLICATIONS
{!! Form::Label('crop_stage_number', 'Crop stage:') !!}
{!! Form::select('crop_stage_number', array('1' => 'stage 1', '2' => 'stage 2'), '1',['id' => 'crop_stage_number', 'class' => 'form-control']); !!}
{!! Form::Label('number_of_plants_1', '1:') !!}
{!! Form::text('number_of_plants_1', null, ['id' => 'plants_1', 'class' => 'form-control', 'size' => 5]); !!}
{!! Form::Label('number_of_plants_2', '2:') !!}
{!! Form::text('number_of_plants_2', null, ['id' => 'plants_2', 'class' => 'form-control', 'size' => 5]); !!}
{!! Form::Label('number_of_plants_3', '3:') !!}
{!! Form::text('number_of_plants_3', null, ['id' => 'plants_3', 'class' => 'form-control', 'size' => 5]); !!}
{!! Form::Label('number_of_plants_4', '4:') !!}
{!! Form::text('number_of_plants_4', null, ['id' => 'plants_4', 'class' => 'form-control', 'size' => 5]); !!}
{!! Form::Label('number_of_plants_total', 'Total:') !!}
{!! Form::text('number_of_plants_total', null, ['id' => 'plants_total', 'class' => 'form-control', 'size' => 5]); !!}
{!! Form::Label('number_of_plants_percent', 'Number of plants percentage:') !!}
{!! Form::text('number_of_plants_percent', null, ['class' => 'form-control', 'size' => 5]); !!}
Field work carried out on the same field
{!! Form::Label('field_work_1', '1:') !!}
{!! Form::text('field_work_1', null, ['class' => 'form-control']); !!}
{!! Form::Label('field_work_2', '2:') !!}
{!! Form::text('field_work_2', null, ['class' => 'form-control']); !!}
{!! Form::Label('field_work_3', '3:') !!}
{!! Form::text('field_work_3', null, ['class' => 'form-control']); !!}
{!! Form::Label('field_work_4', '4:') !!}
{!! Form::text('field_work_4', null, ['class' => 'form-control']); !!}
{!! Form::Label('notes', 'Notes:') !!} {!! Form::text('notes', null, ['class' => 'form-control']); !!}
{!! Form::submit('Submit'); !!} {{ Form::close() }}