@php setlocale(LC_TIME, 'id_ID'); Carbon\Carbon::setLocale('id'); $now = Carbon\Carbon::now(); $month = isset($_GET['month']) ? $_GET['month'] : $now->month; $year = isset($_GET['year']) ? $_GET['year'] : $now->year; $monthSearch = Carbon\Carbon::create() ->month($month) ->year($year); $daysInMonth = Carbon\CarbonPeriod::create($monthSearch->startOfMonth()->format('Y-m-d'), $monthSearch->endOfMonth()->format('Y-m-d')); @endphp @extends('layouts.index') @section('title') Jadwal Kerja @endsection @section('css') @endsection @section('content')

Jadwal Kerja

Jadwal Kerja Pegawai - Bulan {{ $monthSearch->isoFormat('MMMM Y') }}


Warning: Undefined variable $daysInMonth in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php on line 194

Warning: foreach() argument must be of type array|object, null given in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php on line 194
@foreach ($pegawai as $item)
Warning: Undefined variable $item in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php on line 249

Warning: Attempt to read property "shift" on null in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php on line 249

Fatal error: Uncaught Error: Call to a member function pluck() on null in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php:249 Stack trace: #0 {main} thrown in /home/eofficeuid/public_html/uid/resources/views/jadwal_kerja/index.blade.php on line 249
Nama Opsi
@php $path = asset($item->foto); if (Storage::exists($item->foto)) { $path = Storage::url($item->foto); } @endphp user
{{ $item->nama_lengkap }}
{{ isset($item->jabatan->nama) ? $item->jabatan->nama : 'No Jabatan' }}
{{ isset($item->unit_kerja->nama) ? $item->unit_kerja->nama : 'No Unit Kerja' }}