|
|
{{ strtoupper($profile->namalengkap) }}
|
{{$profile->alamatlengkap}} {{ $profile->alamatemail }}
|
|
|
|
DETAILS OF HOSPITALIZATION COSTS
|
|
|
{{ $data[0]->nosbm }}
|
|
MRN / Age
|
:
{{ $res['identitas']->nocm }} / {{ $res['identitas']->umur }}
|
Doctor
|
:
{{ $res['identitas']->namalengkap }}
|
|
Registration No.
|
:
{{ $res['identitas']->noregistrasi }}
|
|
|
|
Patient Name
|
: {{ $res['identitas']->namapasien }}
|
Room
|
: {{ $res['identitas']->namaruangan }} / {{ $res['identitas']->namakamar }}
|
|
Address
|
:
{{ $res['identitas']->alamatlengkap }}
|
Registration Date
|
:
{{ date_format(date_create($res['identitas']->tglregistrasi), 'j-F-Y') }}
|
|
Patient Type
|
:
{{ $res['identitas']->kelompokpasien }}
|
Treatment Date
|
: {{ date_format(date_create($res['identitas']->tglregistrasi), 'j-F-Y') }} until {{ 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
|
{{ App\Traits\Valet::english($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 Before Charge
|
=
|
{{ number_format( $res['total'], 0, '.', ',') }}
|
|
Additional Charge (1.6%)
|
=
|
{{ number_format( (16/1000*$res['total']), 0, '.', ',') }}
|
|
Grand Total After Charge
|
=
|
{{ number_format((1016/1000*$res['total']), 0, '.', ',') }}
|
|
|
To Word :
|
|
#
{{ strtoupper(App\Traits\Valet::english(App\Traits\Valet::static_terbilang(1016/1000*$res['total']))) }}S #
|
|
|
Printed # {{ date('H:i:s') }} Shift :
|
|
|
(Patient / Family)
|
{!! $profile->namakota !!}, {{ date('d/m/Y H:i') }}
|
(Cashier)
|
|
|
(Administration)
|
|
|
{{ str_replace('( Laki-laki )', '', str_replace('( Perempuan )', '', $res['identitas']->namapasien)) }}
|
( )
|
( {{$user->namalengkap}} )
|
|