@extends('app') {{-- Web site Title --}} @section('title') Workman Attendance Summary :: @parent @stop @section('content')
@include('partials.nav')

Workman

{{$workman->name}} | {{$workman->employee_code}}

Attendance Summary

@foreach($data as $attendance) @endforeach
ATTENDANCE DATE IN TIME OUT TIME WORKING HOURS IN ADDRESS OUT ADDRESS View Logs
{{date('d M Y', strtotime($attendance->attendance_date))}} {{date('h:i A', strtotime($attendance->in_time))}} {{date('h:i A', strtotime($attendance->out_time))}} {{$attendance->working_time}} @if($attendance->in_address) {{$attendance->in_address['geo_address']}} @endif @if($attendance->out_address) {{$attendance->out_address['geo_address']}} @endif

Workman selfie images

@foreach($attendanceLogs as $log) @if($log->photo)
your image

{{date('d M Y H:i:s', strtotime($log->created_at))}}

@endif @endforeach

{{$workman->name}}

Workman code:

{{$workman->employee_code}}

Manager:

{{$workman->hod ? $workman->hod->name : '-'}}

Location:

{{$workman->location ? $workman->location->name : '-'}}

Email ID:

{{$workman->email}}

Contact No.:

{{$workman->mobile}}

@if(count($workmen))

Team Members

@foreach($workmen as $emp)
@if($emp->image) your image @else @endif
{{$emp->name}}
{{$emp->employee_code}}
@endforeach
@endif
@endsection @section('css') @endsection {{-- Scripts --}} @section('scripts') @parent @endsection