@extends('templates.app') @section('container')
No. | Nama Pegawai | Shift | Tanggal | Jam Masuk | Telat | Lokasi Masuk | Foto Masuk | Keterangan Masuk | Jam Pulang | Pulang Cepat | Lokasi Pulang | Foto Pulang | Keterangan Pulang | Status Absen | Actions |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $da->User->name }} | {{ $da->Shift->nama_shift }} ({{ $da->Shift->jam_masuk }} - {{ $da->Shift->jam_keluar }}) | {{ $da->tanggal }} | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @else {{ $da->jam_absen }} @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->status_absen == 'Izin Telat') Izin Telat @elseif($da->jam_absen == null) Belum Absen @else @if($jam <= 0 && $menit2 <= 0) Tepat Waktu @else {{ $jam." Jam ".$menit2." Menit" }} @endif @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @else @php $jarak_masuk = explode(".", $da->jarak_masuk); @endphp lihat {{ $jarak_masuk[0] }} Meter @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @else @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @else {{ $da->keterangan_masuk }} @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @elseif($da->jam_pulang == null) Belum Pulang @else {{ $da->jam_pulang }} @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->status_absen == 'Izin Pulang Cepat') Izin Pulang Cepat @elseif($da->jam_absen == null) Belum Absen @elseif($da->jam_pulang == null) Belum Pulang @else @if($jam <= 0 && $menit2 <= 0) Tidak Pulang Cepat @else {{ $jam." Jam ".$menit2." Menit" }} @endif @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @elseif($da->jam_pulang == null) Belum Pulang @else @php $jarak_pulang = explode(".", $da->jarak_pulang); @endphp lihat {{ $jarak_pulang[0] }} Meter @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @elseif($da->jam_pulang == null) Belum Pulang @else @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti') Sedang Cuti @elseif($da->jam_absen == null) Belum Absen @elseif($da->jam_pulang == null) Belum Pulang @else {{ $da->keterangan_pulang }} @endif | @if($da->status_absen == 'Libur') Libur @elseif($da->status_absen == 'Cuti' || $da->status_absen == 'Izin Telat' || $da->status_absen == 'Izin Pulang Cepat') {{ $da->status_absen }} @elseif($da->status_absen == 'Masuk') {{ $da->status_absen }} @else {{ $da->status_absen }} @endif | @if ($da->tanggal < date('Y-m-d')) @if ($da->jam_masuk_pengajuan == null) Ajukan @else Sudah Pengajuan @endif @endif |