@if(!empty($time_slot->getSubjectLead()))
Linked to:
{!! $time_slot->getSubjectLead()->fullname !!}
{!! $time_slot->getSubjectLead()->address->short() !!}
@endif
@foreach($time_slot->notes as $note)
@endforeach
{!! Form::model($time_slot, ['route' => ['worklog.update', $time_slot->id], 'files' => true]) !!}
@method('PATCH')
@include('staff.worklog.form')
@php
$no_note_state = true;
$no_note_staff = true;
$note_required = false;
$note_placeholder = 'Write a short description of the work that will or has been carried out';
$note_default_type = array_flip(config('enum.note_types'))['task'];
$note_type_description = '
Select
task_done if the work you described above is completed.
Select
task if there are still things outstanding.
Select
note if there wasen’t anything done or to do.';
@endphp
{!! Form::hidden('author_id', auth()->user()->id) !!}
@include('staff.notes.form')
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection
@section('script')
@include('staff.notes.script')
@include('staff.worklog.script')
@endsection