@php
$messagesuccess = Session::get('success');
$messageerror = Session::get('error');
@endphp
@if (Session::get('success'))
{{ $messagesuccess }}
@endif
@if (Session::get('error'))
{{ $messageerror }}
@endif
@if ($datacuti->isEmpty())
@endif
@foreach ( $datacuti as $d )
-
{{ $d->nopengajuan }} ({{ $d->jenis_cuti }})
{{ date("d-m-Y",strtotime($d->tgl_cuti1))}} - {{ date("d-m-Y",strtotime($d->tgl_cuti2))}}
{{ $d->keterangan }}
@if ($d->status_approved1==0)
nopengajuan }}>
Hapus
Kirim Ulang Notifikasi
@endif
@php
$path = Storage::url('uploads/cuti/'.$d->lampiran);
@endphp
@if ($d->lampiran != null)
@else
Tidak ada lampiran
@endif
@if ($d->status_approved1==0)
Waiting
@elseif ($d->status_approved1==1)
Approved
@elseif ($d->status_approved1==2)
Decline
@endif
@endforeach
{{-- @section('content') --}}
{{-- @endsection --}}
-
Tanggal Join
@if ($jatahcuti)
{{ date('d-m-Y', strtotime($jatahcuti->joindate))}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Tgl. Kontrak
@if ($jatahcuti)
{{ date('d-m-Y', strtotime($jatahcuti->contractdate))}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Tgl. Expired Cuti
@if ($jatahcuti)
{{ date('d-m-Y', strtotime($jatahcuti->cutiexpired))}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Tgl. Expired Cuti
@if ($jatahcuti)
{{ date('d-m-Y', strtotime($jatahcuti->cutiexpired))}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Hak cuti lama
@if ($jatahcuti)
{{ $jatahcuti->hakcutilama}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Hak cuti baru
@if ($jatahcuti)
{{ $jatahcuti->hakcutibaru}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Ambil Cuti
@if ($jatahcuti)
{{ $jatahcuti->totalcuti}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Pengajuan Cuti
@if ($jatahcuti)
{{ $jatahcuti->totpengajuan}}
@else
Data belum ada, silahkan tanya admin
@endif
-
Sisa cuti (Hak Cuti lama + baru - ambil cuti - pengajuan cuti)
{{-- @if ($jatahcuti) --}}
{{ $jatahcuti2}}
{{-- @else
Data belum ada, silahkan tanya admin
@endif --}}
-
Hak cuti hangus
@if ($jatahcuti)
{{ $jatahcuti->hangus}} hari
@else
Data belum ada, silahkan tanya admin
@endif
-
-