@php $profile = App\Http\Controllers\Controller::static_profile(); @endphp
@yield('title')
@if ((isset($res['pdf']) && $res['pdf']) || (isset($res['storage']) && $res['storage'])) @else {{--
--}} @endif @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 @if ((isset($res['pdf']) && $res['pdf']) || (isset($res['storage']) && $res['storage'])) @else @if (isset($print) && $print == true) @else @endif @endif @php $tr = new GoogleTranslate(); $tr->setSource(); $indo = $res['indo']; @endphp @yield('page-style')
@if ((isset($res['pdf']) && $res['pdf']) || (isset($res['storage']) && $res['storage']))
@else
@endif
{!! $indo ? strtoupper($profile->namalengkap) : 'BALI MANDARA HOSPITAL' !!}
{!! $profile->alamatlengkap !!}
{!! $profile->alamatemail !!}
{{--
--}}
{{ $indo ? 'KWITANSI' : $tr->translate('KWITANSI') }}
{{ $indo ? 'Sudah terima dari' : $tr->translate('Sudah terima dari') }} : {{ $indo ? 'Pasien' : $tr->translate('Pasien') }} / {{ strtoupper($res['identitas']->namapasien) }}
{{ $indo ? 'Jumlah Uang' : $tr->translate('Jumlah Uang') }}
{{ number_format($res['dibayar'] - $res['identitas']->totaldiskon, 0, '.', ',') }}
{{ $indo ? 'Untuk Pembayaran, Pelunasan Biaya Perawatan Rumah Sakit' : $tr->translate('Untuk Pembayaran, Pelunasan Biaya Perawatan Rumah Sakit') }}
No. Invoice : {{$res['identitas']->nosbm}}
{{ $indo ? 'No. RM' : 'No. MR' }}
: {{$res['identitas']->nocm}}
No. Reg
: {{$res['identitas']->noregistrasi}}
{{ $indo ? 'Pasien' : $tr->translate('Pasien') }}
: {{$res['identitas']->namapasien}}
{{ $indo ? 'Dengan Jenis Pembayaran' : $tr->translate('Dengan Jenis Pembayaran') }} :
@php $nomor = 0; @endphp @foreach($data as $item) @php $nomor++; @endphp
{{ $nomor }}
{{ $indo ? $item->carabayar : $tr->translate($item->carabayar) }}
{{number_format($item->totalharusdibayar, 2, '.', ',')}}
@endforeach
TOTAL
{{ number_format($res['dibayar'], 0, '.', ',') }}
DISKON
{{ number_format($res['identitas']->totaldiskon, 0, '.', ',') }}
TOTAL DIBAYAR
{{ number_format($res['dibayar'] - $res['identitas']->totaldiskon, 0, '.', ',') }}
{{ $indo ? 'Terbilang' : $tr->translate('Terbilang') }}
# {{ $indo ? ucwords(App\Traits\Valet::static_terbilang($res['dibayar'] - $res['identitas']->totaldiskon)) : $tr->translate(ucwords(App\Traits\Valet::static_terbilang($res['dibayar'] - $res['identitas']->totaldiskon))) }}
( {{ $indo ? 'Pasien' : $tr->translate('Pasien') }} / {{ $indo ? 'Keluarga' : $tr->translate('Keluarga') }})
{!! $profile->namakota !!}, {{-- {{ date('j-F-Y') }}
--}} {{ $res['identitas']->tglclosing == null ? date('j-F-Y') : date('j-F-Y', strtotime($res['identitas']->tglclosing)) }}
(
{{$res['identitas']->namapasien}}
)
(
{{$res['user']}}
)
{{ $indo ? 'Pasien' : $tr->translate('Pasien') }}
{{ $indo ? 'Kasir' : $tr->translate('Kasir') }}
Printed on : {{ date('d/m/Y H:i') }}