@if ((isset($res['pdf']) && $res['pdf']) || (isset($res['storage']) && $res['storage'])) @else {{-- @if (stripos(\Request::url(), 'localhost') !== false || stripos(\Request::url(), '127.0.0.1') !== false) --}} {{-- @else @endif --}} @endif

{!! $profile->namalengkap !!}
{!! $profile->alamatlengkap !!}
{!! $profile->alamatemail !!}

LAPORAN PENDAPATAN UNIT REKAP
Periode {{ $tglAwal }} s/d {{ $tglAkhir }}

{{-- --}}
PERIODE : {{ $tglAwal }} s/d {{ $tglAkhir }}
USER : {{ \Request::get('namaKasir') ?? '' }}
KASIR : {{ \Request::get('tipe') ?? '' }}

@php $grandtotal = 0; @endphp @foreach($data as $dt) @php $grandtotal += ($dt->jumlahumum + $dt->jumlahiks + $dt->jumlahwna + $dt->jumlahbpjs); @endphp @endforeach
UNIT UMUM IKS WNA BPJS TOTAL
{{ $dt->namaruangan }} {{ \App\Traits\Valet::getMoneyFormatString($dt->jumlahumum) }} {{ \App\Traits\Valet::getMoneyFormatString($dt->jumlahiks) }} {{ \App\Traits\Valet::getMoneyFormatString($dt->jumlahwna) }} {{ \App\Traits\Valet::getMoneyFormatString($dt->jumlahbpjs) }} {{ \App\Traits\Valet::getMoneyFormatString($dt->jumlahumum + $dt->jumlahiks + $dt->jumlahwna + $dt->jumlahbpjs) }}
GRAND TOTAL {{ \App\Traits\Valet::getMoneyFormatString($grandtotal) }}