{{$user->user_full_name}} @if(empty($attendance->clock_in_time))
{!! Form::text('attendance[' . $user->id . '][clock_in_time]', null, ['class' => 'form-control date_time_picker', 'placeholder' => __( 'essentials::lang.clock_in_time' ), 'readonly', 'required' ]); !!}
@else {{@format_datetime($attendance->clock_in_time)}}
(@lang('essentials::lang.clocked_in') - {{\Carbon::parse($attendance->clock_in_time)->diffForHumans(\Carbon::now())}}) {!! Form::hidden('attendance[' . $user->id . '][id]', $attendance->id ); !!} @endif
{!! Form::text('attendance[' . $user->id . '][clock_out_time]', null , ['class' => 'form-control date_time_picker', 'placeholder' => __( 'essentials::lang.clock_out_time' ), 'readonly' ]); !!}
{!! Form::select('attendance[' . $user->id . '][essentials_shift_id]', $shifts, !empty($attendance->essentials_shift_id) ? $attendance->essentials_shift_id : null, ['class' => 'form-control', 'placeholder' => __( 'messages.please_select' ) ]); !!} {!! Form::text('attendance[' . $user->id . '][ip_address]', !empty($attendance->ip_address) ? $attendance->ip_address : null, ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.ip_address') ]); !!} {!! Form::textarea('attendance[' . $user->id . '][clock_in_note]', !empty($attendance->clock_in_note) ? $attendance->clock_in_note : null, ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.clock_in_note'), 'rows' => 3 ]); !!} {!! Form::textarea('attendance[' . $user->id . '][clock_out_note]', !empty($attendance->clock_out_note) ? $attendance->clock_out_note : null, ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.clock_out_note'), 'rows' => 3 ]); !!}