|
|
{{ strtoupper($profile->namalengkap) }}
|
{{$profile->alamatlengkap}} {{ $profile->alamatemail }}
|
|
|
|
RINCIAN PASIEN RAWAT INAP
|
|
|
{{ $data[0]->nosbm }}
|
|
No. RM / Umur
|
:
{{ $res['identitas']->nocm }} / {{ $res['identitas']->umur }}
|
Dokter
|
:
{{ $res['identitas']->namalengkap }}
|
|
No. Reg
|
: {{ $res['identitas']->noregistrasi }}
|
Ruang
|
:
{{ $res['identitas']->namaruangan }}
|
|
Pasien
|
:
{{ $res['identitas']->namapasien }}
|
Kamar
|
:
{{ $res['identitas']->namakamar }}
|
|
Alamat
|
:
{{ $res['identitas']->alamatlengkap }}
|
Tgl. Reg
|
:
{{ date_format(date_create($res['identitas']->tglregistrasi), 'j-F-Y') }}
|
|
Tipe Pasien
|
:
{{ $res['identitas']->kelompokpasien }}
|
No. Kartu
|
:
{{ $res['identitas']->nobpjs }}
|
|
Company
|
:
|
Perawatan dari
|
:
{{ date_format(date_create($res['identitas']->tglregistrasi), 'j F Y') }} s/d {{ date_format(date_create($res['identitas']->tglpulang), 'j F Y') }}
|
|
|
@php
$nomor = 1;
$nomors = 1;
$totaltagihan = 0;
$totaldiskon = 0;
$jumlahbill = 0;
$totaldiklaim = 0;
@endphp
@foreach ($res['billing'] as $ruangan)
|
{{$nomors}}. {{ ucwords($ruangan[0]->namaruangan) }}
|
@php
$n = 1;
$totalSUB = 0;
$nomors++;
@endphp
@foreach ($ruangan as $k => $item)
@php
$total = 0;
$diskon = 0;
$jml = 0;
@endphp
@foreach ($item as $data)
@php
$nomor = $nomor + 1;
$total = $total + $item->total;
$jml = $jml + $item->jumlah;
$diskon = $diskon + $item->diskon;
@endphp
@endforeach
|
{{ $item->namaproduk }}
|
{{ number_format($item->hargasatuan, 2, '.', ',') }}
|
x
|
{{ number_format($item->jumlah, 2, '.', '.')}}
|
=
|
{{ number_format($item->hargasatuan*$item->jumlah, 0, '.', ',') }}
|
@php
$n = $n+1;
$totalSUB = $totalSUB + ($item->hargasatuan*$item->jumlah);
$totaltagihan = $totaltagihan + $total;
$totaldiskon = $totaldiskon + $diskon;
$jumlahbill = $totaltagihan - $totaldiskon;
@endphp
@endforeach
|
{{ number_format($totalSUB, 0, '.', ',') }}
|
@endforeach
|
|
GRAND TOTAL
|
=
|
{{ number_format( $res['total'], 0, '.', ',') }}
|
|
|
TERBILANG :
|
|
#
{{ strtoupper(App\Traits\Valet::static_terbilang($jumlahbill)) }} #
|
|
|
Printed # {{ date('H:i:s') }} Shift :
|
|
Payment By #Beban/Keuntungan RS
|
|
Payment By #DIJAMIN BPJS
|
|
|
(Pasien / Keluarga)
|
{!! $profile->namakota !!}, {{ date('d/m/Y H:i') }}
|
(KASIR)
|
|
|
(Administrasi)
|
|
|
{{ str_replace('( Laki-laki )', '', str_replace('( Perempuan )', '', $res['identitas']->namapasien)) }}
|
( )
|
( {{$user->namalengkap}} )
|
|