{!! strtoupper($profile->namapemerintahan) !!}
{!! $profile->alamatlengkap !!}
{{ $profile->fixedphone }}
Email : {!! $profile->alamatemail !!}
RINCIAN BIAYA
Print by {{ $res['user'] }}     {{ date('d/m/Y H:i') }}
No. Registrasi : {{ $res['identitas']->noregistrasi }} Unit : {{ $res['identitas']->namadepartemen }}
No. RM / Umur : {{ $res['identitas']->nocm }} / {{ $res['identitas']->umur }} Ruang : {{ $res['identitas']->namaruangan }}
Nama Pasien : {{ $res['identitas']->namapasien . ' (' . $res['identitas']->jeniskelamin . ')' }} Tgl Masuk : {{ date_format(date_create($res['identitas']->tglregistrasi), 'd/m/Y H:i') }}
DPJP : {{ $res['identitas']->namalengkap }} Tgl Pulang : {{ date_format(date_create($res['identitas']->tglpulang), 'd/m/Y H:i') }}
No SEP : {{ $res['identitas']->nosep }} Tipe : {{ $res['identitas']->kelompokpasien }}
No Kartu : {{ $res['identitas']->nobpjs }} Penjamin : {{ $res['identitas']->namarekanan }}
@php $nomor = 0; $totaltagihan = 0; $totaldiskon = 0; $jumlahbill = 0; $totaldiklaim = 0; @endphp @foreach ($res['billing'] as $tglkeys => $tgldata) @php $total = 0; $diskon = 0; @endphp @foreach ($tgldata->groupBy('namaruangan') as $lytgl => $ruangan) @foreach ($ruangan as $keyly => $data) @php $total = $total + $data->total; $diskon = $diskon + $data->diskon; $nomor = $nomor + 1; @endphp @endforeach @endforeach @php $totaltagihan = $totaltagihan + $total; $totaldiskon = $totaldiskon + $diskon; $jumlahbill = $totaltagihan - $totaldiskon; @endphp @endforeach
No Tanggal Jenis Biaya Qty Tarif Section Dokter Sub Total
{{ $tglkeys }}
{{ $lytgl }}
{{ $nomor }} {{ date_format(date_create($data->tglpelayanan), 'd/m/Y') }} {{ $data->namaproduk }} x{{ $data->jumlah }} {{ number_format($data->hargasatuan, 0, '.', ',') }} {{ $data->ruang_group }} {{ $data->pemeriksa }} {{ number_format($data->total, 0, '.', ',') }}
Sub Total : {{ number_format($total, 0, '.', ',') }}
@if ($res['ismultipenjamin'] == true) @endif
@if ($res['pengembalian'] > 0) @endif @if ($res['iurbayar'] != 0) @endif
TOTAL TAGIHAN : {{ number_format($res['total'], 0, '.', ',') }}
DEPOSIT - UANG MUKA : {{ number_format($res['deposit'], 0, '.', ',') }}
PENGEMBALIAN DEPOSIT : {{ number_format($res['pengembalian'], 0, '.', ',') }}
TOTAL BAYAR : {{ number_format($res['dibayar'], 0, '.', ',') }}
TOTAL DIKLAIM : {{ number_format($res['klaim'], 0, '.', ',') }}
SISA HARUS BAYAR : {{ number_format($res['sisa'], 0, '.', ',') }}
IUR BAYAR : {{ number_format($res['iurbayar'], 0, '.', ',') }}
Multi Penjamin : {{ $res['ismultipenjamin'] == false ? 'Tidak ada' : ''}}
@php $total = 0; @endphp @foreach ($res['multipenjamin'] as $item) @php $total = $total + $item->totalppenjamin; @endphp @endforeach
Penjamin Jumlah
{{ $item->namarekanan }} {{ number_format($item->totalppenjamin, 0, '.', ',') }}
JUMLAH {{ number_format($total, 0, '.', ',') }}
TERBILANG :
{{ strtoupper(App\Traits\Valet::static_terbilang($res['total'])) }}