@extends('layouts.personal') @section('meta')
{{ __("Date") }} | {{ __("Time In") }} | {{ __("Time Out") }} | {{ __("Total Hours") }} | {{ __("Status (In/Out)") }} |
---|---|---|---|---|
{{ $v->date }} | @php if($v->timein != null) { if ($tf == 1) { echo e(date('h:i:s A', strtotime($v->timein))); } else { echo e(date('H:i:s', strtotime($v->timein))); } } @endphp | @php if($v->timeout != null) { if ($tf == 1) { echo e(date('h:i:s A', strtotime($v->timeout))); } else { echo e(date('H:i:s', strtotime($v->timeout))); } } @endphp | @isset($v->totalhours) @if($v->totalhours != null) @php if(stripos($v->totalhours, ".") === false) { $h = $v->totalhours; } else { $HM = explode('.', $v->totalhours); $h = $HM[0]; $m = $HM[1]; } @endphp @endif @if($v->totalhours != null) @if(stripos($v->totalhours, ".") === false) {{ $h }} hr @else {{ $h }} hr {{ $m }} mins @endif @endif @endisset | @if($v->status_timein != '' && $v->status_timeout != '') {{ $v->status_timein }} / {{ $v->status_timeout }} @elseif($v->status_timein == 'Late In') {{ $v->status_timein }} @else {{ $v->status_timein }} @endif |