@extends('layouts.default') @section('meta') Edit Employee Attendance | Workday Time Clock @endsection @section('styles') @endsection @section('content')

{{ __('Edit Attendance') }}

@if ($errors->any())
{{ __('There were some errors with your submission') }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if($a->timeout != null)
@else
@endif @if($a->timeout != null)
@isset($a->timein) @php if($tf == 1) { $t_in = date("h:i:s A",strtotime($a->timein)); } else { $t_in = date("H:i:s",strtotime($a->timein)); } $t_in_date = date("m/d/Y",strtotime($a->timein)); @endphp @endisset
@else
@isset($a->timein) @php if($tf == 1) { $t_in = date("h:i:s A",strtotime($a->timein)); } else { $t_in = date("H:i:s",strtotime($a->timein)); } $t_in_date = date("m/d/Y",strtotime($a->timein)); @endphp @endisset
@endif @if($a->timeout != null)
@php if($tf == 1) { $t_out = date("h:i:s A",strtotime($a->timeout)); } else { $t_out = date("H:i:s",strtotime($a->timeout)); } $t_out_date = date("m/d/Y",strtotime($a->timeout)); @endphp
@else
@isset($a->timeout) @php if($tf == 1) { $t_out = date("h:i:s A",strtotime($a->timeout)); } else { $t_out = date("H:i:s",strtotime($a->timeout)); } $t_out_date = date("m/d/Y",strtotime($a->timeout)); @endphp @endisset
@endif
@endsection @section('scripts') @endsection