{!! strtoupper($profile->namapemerintahan) !!}
{!! $profile->alamatlengkap !!}
{{ $profile->fixedphone }}
Email : {!! $profile->alamatemail !!}
RINCIAN BIAYA
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') }}
Tipe : {{ $res['identitas']->kelompokpasien }} Penjamin : {{ $res['identitas']->namarekanan }}
@php $nomor = 0; $totaltagihan = 0; $totaldiskon = 0; $jumlahbill = 0; $totaldiklaim = 0; @endphp @foreach ($res['billing'] as $ruangan) @foreach ($ruangan->groupBy('jenis') as $jen => $item) @foreach ($item->groupBy('layanan_group') as $keyly => $lygroup) @php $total = 0; $diskon = 0; @endphp @foreach ($lygroup as $data) @php $total = $total + $data->total; $diskon = $diskon + $data->diskon; $nomor = $nomor + 1; @endphp @endforeach @endforeach @endforeach @php $totaltagihan = $totaltagihan + $total; $totaldiskon = $totaldiskon + $diskon; $jumlahbill = $totaltagihan - $totaldiskon; @endphp @endforeach
No Tanggal Jenis Biaya Qty Tarif Sub Total
{{ strtoupper($ruangan[0]->namaruangan) }}
{{ $keyly }}
{{ $nomor }} {{ date_format(date_create($data->tglpelayanan), 'd/m/Y') }} {{ $data->namaproduk }} {{ (int)$data->jumlah }} {{ (int)$data->hargasatuan }} {{ (int)$data->total }}
{{ $total }}
@if ($res['pengembalian'] > 0) @endif @if ($res['ismultipenjamin'] == true) @foreach ($res['multipenjamin'] as $item) @endforeach @endif
TOTAL TAGIHAN : {{ $res['total'] }}
DEPOSIT - UANG MUKA : {{ (int)$res['deposit'] }}
PENGEMBALIAN DEPOSIT : {{ (int)$res['pengembalian'] }}
{{ $item->namarekanan }} : {{ (int)$item->totalppenjamin }}
TOTAL BAYAR : {{ (int)$res['dibayar'] }}
TOTAL DIKLAIM : {{ (int)$res['klaim'] }}
TERBILANG :
{{ strtoupper(App\Traits\Valet::static_terbilang($res['total'])) }}