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

{{-- TOTAL TAGIHAN DISPLAY --}}
Total Tagihan Rp. {{ $table_result && count($table_result) > 0 ? number_format($table_result->sum('total_bill'), 0, ',', '.') : '0' }}
{{-- FORM HIDDEN --}} @if ($table_result && count($table_result) > 0) @foreach ($table_result as $detail) isactive == '0' || @$detail->ISACTIVE == '0' ? 'class=not style=background-color:#ffe9ed;' : '' }}> @endforeach @endif
No Status SPV Status Head HRD No Kartu Halo Kategori NIK Nama Karyawan Departemen Abodemen (Rp.) Lain-lain (Rp.) PPN 11% (Rp.) Total Tagihan (Rp.) Created At
{{ $loop->iteration }} @if ($detail->approve_spv == 'approved') Approved @elseif($detail->approve_spv == 'rejected') Ditolak @else Pending @endif @if ($detail->approve_head_hrd == 'approved') Approved @elseif($detail->approve_head_hrd == 'rejected') Ditolak @else Pending @endif {{ $detail->phone_number }} @if ((string) $detail->kategori_value === '1') User @elseif ((string) $detail->kategori_value === '2') Operasional @else {{ $detail->kategori_kartu }} @endif {{ $detail->nik }} {{ $detail->employee_name }} {{ $detail->department_name }} {{ number_format($detail->abodemen, 0, ',', '.') }} {{ number_format($detail->other_bill, 0, ',', '.') }} {{ number_format($detail->tax, 0, ',', '.') }} {{ number_format($detail->total_bill, 0, ',', '.') }} {{ $detail->created_at }}
@if ($table_result) @else @endif
{{-- check flag js on dmenu --}} @if ($jsmenu == '1') @if (view()->exists("js.{$dmenu}")) @push('addjs') {{-- file js in folder (resources/views/js) --}} @include('js.' . $dmenu); @endpush @else @push('addjs') @endpush @endif @endif @endsection @push('js') @endpush