@extends('layouts.seller') @section('content')
{!! Form::model($result, ['route' => ['seller.checklist.update', $result->id], 'method' => 'POST', 'id' => 'ajaxSave', 'files' => true]) !!}
{!! Form::label('name', __('checklist.task_name'), ['class' => 'control-label mb-2']) !!} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => __('checklist.please_insert_name')]) !!}
{!! Form::label('day_type', __('checklist.day'), ['class' => 'control-label mb-2']) !!}
{!! Form::select('day_type', getWeekDayFullNames(), null, ['class' => 'form-control caledar-select']) !!}
{!! Form::label('start_time', __('checklist.start'), ['class' => 'control-label mb-2']) !!} {!! Form::text('start_time', null, ['class' => 'form-control t-picker']) !!}
{!! Form::label('end_time', __('checklist.end'), ['class' => 'control-label mb-2']) !!} {!! Form::text('end_time', null, ['class' => 'form-control t-picker']) !!}
{!! Form::label('date', __('checklist.date'), ['class' => 'control-label mb-2']) !!}
{!! Form::text('task_date',dateFormat($result->task_date,SHOW_DATE), ['class' => 'form-control datepicker-input']) !!}
{!! Form::label('priority', __('checklist.priority'), ['class' => 'control-label mb-2']) !!}
    @foreach(checklistPriority() as $priorityKey => $priorityVal)
  • @endforeach
{!! Form::label('execution_type', __('checklist.execution_type'), ['class' => 'control-label mb-2']) !!}
    @foreach(checklistExecutionType() as $execKey => $execVal)
  • @endforeach
{!! Form::label('task_type', __('checklist.task_type'), ['class' => 'control-label mb-2']) !!}
    @foreach(checklistTaskType() as $taskKey => $taskVal)
  • @endforeach
{!! Form::label('checklist_category_id', __('checklist.category'), ['class' => 'control-label mb-2']) !!} {!! Form::select('category', $category, $result->checklist_category_id, ['class' => 'form-control']) !!}
{!! Form::label('employee', __('checklist.employee'), ['class' => 'control-label mb-2']) !!} {!! Form::select('employee', $employee, $result->employee_id, ['class' => 'form-control']) !!}
{!! Form::label('detail', __('checklist.details', ['class' => 'control-label mb-2'])) !!} {!! Form::textarea('detail', null, ['class' => 'form-control', 'size' => '10x10', 'placeholder' => __('checklist.please_explain')]) !!}
  • {{--
  • --}}
{!! Form::close() !!}
@endsection