{{ Form::model($project, ['route' => ['projects.update', $project->id], 'method' => 'PUT',
'enctype' => 'multipart/form-data', 'id' => 'create_project_forms',
'class' => 'create_project_forms']) }}
{{ csrf_field() }}
{{ Form::label('project_name', __('Project Name'), ['class' => 'form-label']) }}
*
{{ Form::text('project_name', null, ['class' => 'form-control', 'required'=>'required','readonly'=> $check_contask < 2 ? false : true ]) }}
{{Form::hidden('freeze_statuss',$project->freeze_status,
array('class'=>'form-control','id'=>'freeze_status'))}}
{{Form::label('country',__('Country'),array('class'=>'form-label')) }}
*
{{Form::label('state',__('State'),array('class'=>'form-label')) }}
*
{{Form::label('city',__('City'),array('class'=>'form-label')) }}
*
{{Form::text('city',null,array('class'=>'form-control', 'placeholder'=>'Enter city',
'required'=>'required',
'oninput'=>'alphaOnly(this)'))}}
{{Form::label('zip',__('Zip Code'),array('class'=>'form-label')) }}
*
{{Form::text('zip',$project->zipcode,array('class'=>'form-control','id'=>'zip',
'required'=>'required', 'minlength'=>5,'placeholder'=>'Enter zip code'))}}
{{Form::label('latitude',__('Latitude'),array('class'=>'form-label')) }}
{{-- * --}}
{{Form::text('latitude',null,array('class'=>'form-control',
'id'=>'latitude','placeholder'=>'Enter latitude'))}}
{{Form::label('longitude',__('Longitude'),array('class'=>'form-label')) }}
{{-- * --}}
{{Form::text('longitude',null,array('class'=>'form-control',
'id'=>'longitude','placeholder'=>'Enter longitude'))}}
{!! Form::textarea('otheraddress', null, ['class'=>'form-control','rows'=>'6',
'placeholder'=>'Other Address Details']) !!}
{{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }}
*
{{ Form::date('start_date', null, ['class' => 'form-control',
'placeholder'=>'Enter start date',
'required'=>'required']) }}
{{ Form::label('end_date', __('End Date'), ['class' => 'form-label']) }}
*
{{ Form::date('end_date', null, ['class' => 'form-control',
'placeholder'=>'Enter end date','required'=>'required']) }}
{{ Form::label('estimated_days', __('Estimated Days'),['class' => 'form-label']) }}
{{ Form::text('estimated_days', null, ['class' => 'form-control',
'placeholder'=>'Enter estimated days' ,'readonly'=>true]) }}
{{ Form::label('Users', __('Manager'), ['class' => 'form-label']) }}
{{-- * --}}
{{ Form::label('project_image', __('Project Image'), ['class' => 'form-label']) }}
@if($project->project_image != null)
@php $prologo = Utility::get_file('projects/'); @endphp

@endif
{{ Form::label('status', __('Status'), ['class' => 'form-label']) }}
*
{{ Form::label('report_time', __('Report Time'), ['class' => 'form-label']) }}
*
{{Form::label('non_working_days',__('non_working_days'),['class'=>'form-label'])}}
@php
$non_working_days = array(
'1' => 'Monday',
'2' => 'Tuesday',
'3' => 'Wednesday',
'4' => 'Thursday',
'5' => 'Friday',
'6' => 'Saturday',
'0' => 'Sunday'
);
@endphp
@php $non_working_days_set=explode(',',$project->non_working_days); @endphp
{!! Form::select('non_working_days[]', $non_working_days, $non_working_days_set,
array('id' => 'non_working_days','class' => 'form-control chosen-select
get_non_working_days','multiple'=>'true','placeholder'=>'Select non working days'))
!!}
{{--
This field is required --}}
@if($project->micro_program == 1)
@endif
{{Form::close()}}