@extends('front.layouts.main') @section('content')

{{@$gcompany->company_name}}

{{Form::open(['route'=>['report-template.update',$report_template->id],'method'=>'PUT','id'=>'editReportTemp','data-parsley-validate'=>""])}}

Template Name :

{{ $errors->first('template_name', ':message') }}

Weather Report

has_weather_reports) checked @endif>

Report Capture Time

{{ Form::select('morning',@$time_slots,$capture_time['0'],['id'=>'reporttime','class'=>"form-group-input",'data-parsley-error-message'=>'Please enter Template Name'])}}
{{ Form::select('noon',@$time_slots,$capture_time['1'],['id'=>'reporttime','class'=>"form-group-input",'data-parsley-error-message'=>'Please enter Template Name'])}}
{{ Form::select('after_noon',@$time_slots,$capture_time['2'],['id'=>'reporttime','class'=>"form-group-input",'data-parsley-error-message'=>'Please enter Template Name'])}}

Wind Speed -

wind_speed_hr == 'Miles') checked @endif>
wind_speed_hr == 'Km') checked @endif>

Precipitation -

parcipitation == 'Millimeters') checked @endif>
parcipitation == 'Inches') checked @endif>

Temperature -

temperature == 'Celcius') checked @endif>
temperature == 'Fahrenheit') checked @endif>

Report Layout

has_hours == 1)checked @endif>
has_notes == 1)checked @endif>
has_notes == 1)display:block; @else display:none; @endif> @php $i =0; @endphp
@if($report_template->has_notes && count($notes) > 0 ) @foreach($notes as $note)
@php $i++; @endphp @endforeach @else
@endif
has_questions == 1)checked @endif>
has_questions == 1)display:block; @else display:none; @endif> @php $i =0; @endphp
@if($report_template->has_questions) @foreach($questions as $question) @if($question)
{{ Form::select('data['.$i.'][question_categories]',@$question_categories,$question->question_category_id,['id'=>'question_categories','class'=>"form-group-input",'data-parsley-error-message'=>'Please enter Template Name'])}}
@endif @php $i++; @endphp @endforeach @else
{{ Form::select('data['.$i.'][question_categories]',@$question_categories,@$question->question_category_id,['id'=>'question_categories','class'=>"form-group-input",'data-parsley-error-message'=>'Please enter Template Name'])}}
@endif
{{Form::close()}} @endsection @section('js') @endsection