| Nomor Rekam Medis | : | {{ $patient->medical_record_number ?? '-' }} |
| Nama | : | {{ $patient->name ?? '-' }} |
| Nomor Ponsel | : | {{ $patient->phone_number ?? '-' }} |
| Alamat | : | {{ $patient->address ?? '-' }} |
| Nomor Rekam Medis | : | {{ $patient ? $patient->medical_record_number : '-' }} |
| Nama | : | {{ $patient ? $patient->name : $this->nama }} |
| Nomor Ponsel | : | {{ $patient ? $patient->phone_number : $this->nomorPonsel }} |
| Alamat | : | {{ $patient ? $patient->address : $this->alamat }} |
| @else | @endif | Obat | @if ($has_payed)Stok | @elseStok | @endifJumlah | Harga | @if(!$has_payed)Dosis | @endifTotal | @if(!$has_payed) @forelse ($obat as $key => $itemObat)|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
{{ money_format_idr($itemObat['harga']) }} | @else
|
{{-- STOK --}}
{{optional($this->getDrug($itemObat['obat']))->stock}} |
|
{{ money_format_idr($itemObat['harga']) ?? '-' }} |
|
{{ money_format_idr($itemObat['harga'] * $itemObat['jumlah']) }} | @endif|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
Tambah Obat dan Racikan |
|||||||||||||||||||||||||||||||||||
| {{ $drug->racikan }} | |||||||||||||||||||||||||||||||||||
| {{ optional($paid->getDrug($obat->obat))->name }} | {{$obat->jumlah}} | {{--{{optional($obat)->dosis}} | --}}{{ money_format_idr($obat->harga) ?? '-' }} | {{ money_format_idr($obat->harga * $obat->jumlah) }} | |||||||||||||||||||||||||||||||
| {{ optional($paid->getDrug($drug->obat))->name ?? '-' }} | {{ $drug->jumlah ?? '-' }} | {{--{{ $drug->dosis ?? '-' }} | --}}{{ money_format_idr($drug->harga) ?? '-' }} | {{ money_format_idr($drug->harga * $drug->jumlah) }} | |||||||||||||||||||||||||||||||
| Total Bayar | {{ money_format_idr($total) ?? '-' }} | ||||||||||||||||||||||||||||||||||
| Jumlah Bayar | @if ($has_payed) {{ money_format_idr($bayar) ?? '-' }} @else Rp. @endif | ||||||||||||||||||||||||||||||||||
| Metode Pembayaran |
@if($has_payed)
{{ $metodePembayaran ?? '-' }}
@else
|
||||||||||||||||||||||||||||||||||
| Kembalian | {{ money_format_idr($kembalian) ?? '-' }} | ||||||||||||||||||||||||||||||||||
| Total Bayar | {{ money_format_idr($total) ?? '-' }} | ||||||||||||||||||||||||||||||||||
| Jumlah Bayar | @if($has_payed) {{ money_format_idr($bayar) ?? '-' }} @else Rp. @endif | ||||||||||||||||||||||||||||||||||
| Metode Pembayaran |
@if($has_payed)
{{ $metodePembayaran ?? '-' }}
@else
|
||||||||||||||||||||||||||||||||||
| Kembalian | {{ money_format_idr($kembalian) ?? '-' }} | ||||||||||||||||||||||||||||||||||