@php $logo_path=\App\Models\Utility::get_file('/'); @endphp {{ Form::model($task, ['route' => ['projects.tasks.update',[$project->id, $task->id]], 'id' => 'edit_task', 'method' => 'POST']) }}
@if(Utility::plancheck()['enable_chatgpt'] == 'on')
@endif
{{ Form::label('title', __('Task name'),['class' => 'form-control-label']) }} {{ Form::text('title', null, ['class' => 'form-control','required'=>'required']) }}
{{ Form::label('milestone_id', __('Milestone'),['class' => 'form-control-label']) }}
{{ Form::label('description', __('Description'),['class' => 'form-control-label']) }} {{__('This textarea will autosize while you type')}} {{ Form::textarea('description', null, ['class' => 'form-control','rows'=>'3','data-toggle' => 'autosize']) }}
{{ Form::label('estimated_hrs', __('Estimated Hours'),['class' => 'form-control-label']) }} {{__('Total hrs of project ').$hrs['total'].__(' & allocated total ').$hrs['allocated'].__(' hrs in other tasks')}} {{ Form::number('estimated_hrs', null, ['class' => 'form-control','required' => 'required','min'=>'0','maxlength' => '8']) }}
{{ Form::label('priority', __('Priority'),['class' => 'form-control-label']) }} {{__('Set Priority of your task')}}
{{ Form::label('start_date', __('Start Date'),['class' => 'form-control-label']) }} {{ Form::date('start_date', null, ['class' => 'form-control']) }}
{{ Form::label('end_date', __('End Date'),['class' => 'form-control-label']) }} {{ Form::date('end_date', null, ['class' => 'form-control']) }}
{{__('Below users are assigned in your project.')}}
@foreach($project->users as $user)

{{ $user->name }}

{{ $user->email }}

@php $usrs = explode(',',$task->assign_to); @endphp
@endforeach
{{ Form::hidden('assign_to', null) }}
{{ Form::button(__('Update'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}