Customer is installed
If this in incorrect change their installation state here: customer admin panel
@elseif(empty($time_slot))Book install
{{ $lead->fullname }}
{{ $lead->address->address_line_1 }}
{{ $lead->address->address_line_2 }}
{{ $lead->address->address_line_3 }}
{{ $lead->address->postcode }}
Assign staff
@php
$checked = false;
@endphp
{!! Form::checkbox('attach_staff['.$sta->id.']', $sta->id, $checked,
['id' => 'attach_staff_'.$sta->id, 'class' => 'p-0']) !!}
{!! Form::label('attach_staff_'.$sta->id, $sta->user->name) !!}
Engineer
{!! Form::select('staff_id', $staff_select, null, ['id' => 'staff-select']) !!}
Days ahead {!! Form::number('', 14, ['id' => 'days-ahead']) !!}
{!! Form::number('', 14, ['id' => 'days-ahead']) !!}
Start:
{!! Form::dateTimeLocal('start', null, ['id' => 'start']) !!}
Finish:
{!! Form::dateTimeLocal('end', null, ['id' => 'end']) !!}
@include('admin.customers.notify_fields')
{!! Form::submit('Book', ['class' => 'btn btn-primary']) !!}
Install booked
With {!! $staff->first()->user->name !!}.{!! $time_slot->getWhenLine() !!} @if(!empty($lead))
{!! $lead->fullname !!}
{!! $lead->address->full() !!} @endif