@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
Result {{ $title_menu }}

{{-- Action bar row: Export buttons (Left) and DataTables Search (Right - Sejajar) --}}
@if (@$authorize->excel != '0') @endif @if (@$authorize->pdf != '0') @endif @if (@$authorize->print != '0') @endif
{{-- DataTables search box moves here via jQuery --}}
@if ($table_result) @php $totKerja = 0; $totLibur = 0; $totHr = 0; $totHr2x = 0; @endphp @foreach ($table_result as $detail) @php $kerja = (float)($detail->Kerja ?? 0); $libur = (float)($detail->Libur ?? 0); $hr = (float)($detail->HR ?? 0); $hr2x = (float)($detail->HR2x ?? 0); $totKerja += $kerja; $totLibur += $libur; $totHr += $hr; $totHr2x += $hr2x; @endphp @endforeach @endif
NIK Nama Position Departemen Total Jam
Kerja Libur HR HR2x
{{ $detail->NIK }} {{ $detail->Nama }} {{ $detail->Position }} {{ $detail->Departemen ?? '' }} {{ number_format($kerja, 2) }} {{ number_format($libur, 2) }} {{ number_format($hr, 2) }} {{ number_format($hr2x, 2) }}
Total : {{ number_format($totKerja, 2) }} {{ number_format($totLibur, 2) }} {{ number_format($totHr, 2) }} {{ number_format($totHr2x, 2) }}
@if ($table_result) @else @endif
@endsection @push('js') @endpush