@extends('template.layout')
@section('title', $dataReport['judul'] )
@section('page-style')
@endsection
@section('content')
|
{{ $dataReport['judul'] }}
|
|
|
No. Registrasi / No. RM
|
:
{{ $dataReport['header']->noregistrasi }} / {{ $dataReport['header']->nocm }}
|
|
Unit Layanan
|
{{-- {{dd($dataReport['details'][0]->namaruangan)}} --}}
: {{ $dataReport['details'][0]->namaruangan }}
|
|
Nama Pasien
|
: {{ $dataReport['header']->namapasien }}
|
|
Tipe Pasien
|
:
{{ $dataReport['header']->kelompokpasien }} / {{ $dataReport['header']->namapenjamin }}
|
|
Alamat
|
: {{ $dataReport['header']->alamatlengkap }}
|
Tgl Registrasi
|
:
{{ $dataReport['header']->tglregistrasi }}
|
|
Jenis Kelamin / Tgl Lahir
|
:
{{ $dataReport['header']->jk }} / {{ $dataReport['header']->tglkelahiran }}
|
|
Kamar / Kelas
|
:
{{ $dataReport['header']->namakamar }} / {{ $dataReport['header']->namapenjamin }}
|
|
Dokter DPJP
|
: {{ $dataReport['header']->dpjp }}
|
|
Ruangan Pengirim
|
: {{ $dataReport['header']->ruanganasal }}
|
|
|
No
|
Tgl Pelayanan
|
Pelayanan
|
Dokter Pemeriksa
|
Qty
|
Tarif
|
Diskon
|
Jasa
|
Total
|
@php
$nomor = 1;
$totalharga = 0;
$totaldiskon = 0;
$totaljasa = 0;
$totalall = 0;
@endphp
@forelse ($dataReport['details'] as $item)
|
{{ $nomor }}
|
{{ date_format(date_create($item->tglpelayanan), 'd/m/Y') }}
|
{{ $item->namaproduk }}
|
{{ $item->namadokter }}
|
{{ $item->jumlah }}
|
{{ number_format($item->hargasatuan, 2, '.', ',') }}
|
{{ number_format($item->diskon, 2, '.', ',') }}
|
{{ number_format($item->jasa, 2, '.', ',') }}
|
{{ number_format($item->total, 2, '.', ',') }}
|
@php
$nomor = $nomor + 1;
$totalharga = $totalharga + $item->hargasatuan;
$totaldiskon = $totaldiskon + $item->diskon;
$totaljasa = $totaljasa + $item->jasa;
$totalall = $totalall + $item->total;
@endphp
@empty
|
Data Tidak ada
|
@endforelse
|
Total
|
{{ number_format($totalall, 2, '.', ',') }}
|
|
| |
{!! $profile->namakota !!},
{{ date('d/m/Y H:i') }}
|
| Pasien |
Dokter |
Kasir |
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| {{ $dataReport['header']->namapasien }} |
_______________________ |
_______________________ |
|
Dicetak Oleh : {{ $dataReport['user'] }}
Diprint Tanggal : {{ date('d/m/Y H:i') }}
|
|
@endsection