@extends('templates.app') @section('container')
No. | Nama | Tanggal | Visit In | Visit Out | Status | Actions |
---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $kun->user->name ?? '-' }} | {{ $kun->tanggal ?? '-' }} |
@if ($kun->visit_in)
@php
setlocale(LC_TIME, 'id_ID.UTF-8');
$visit_in = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $kun->visit_in);
$new_visit_in = $visit_in->locale('id')->isoFormat('dddd, D MMM YYYY HH:mm:ss');
@endphp
{{ $new_visit_in }}
Keterangan : {{ $kun->keterangan_in ?? '-' }} @else - @endif |
@if ($kun->visit_out)
@php
setlocale(LC_TIME, 'id_ID.UTF-8');
$visit_out = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $kun->visit_out);
$new_visit_out = $visit_out->locale('id')->isoFormat('dddd, D MMM YYYY HH:mm:ss');
@endphp
{{ $new_visit_out }}
Keterangan : {{ $kun->keterangan_out ?? '-' }} @else + Visit Out @endif |
{{ $kun->status ?? '-' }} |