@extends('layouts.index') @push('style') @endpush @section('content') @include('layouts.include.filter')
{{ $title }}
@php $totalKeseluruhan = 0; @endphp @foreach ($datas as $data) @php $totalKeseluruhan += $data->total_dengan_diskon; @endphp @endforeach
# Tgl Periksa Nomor Rekam Medis Pasien Keluhan Diagnosa Penanganan Terapis (Utama) Terapis (Asisten) Total Biaya
{{ $loop->iteration }} {{ $data->tgl_periksa }} {{ $data->nomor_rekam_medis }} {{ $data->pasien->nama_pasien }} {{ $data->keluhan }} {{ $data->diagnosa }} {{ $data->penanganan }} @foreach ($data->dokterRm as $dokter) @if ($dokter->jenis_terapis == 'Utama') - {{ $dokter->dokter->nama_dokter }}
@endif @endforeach
@foreach ($data->dokterRm as $dokter) @if ($dokter->jenis_terapis == 'Asisten') - {{ $dokter->dokter->nama_dokter }}
@endif @endforeach
Rp. {{ number_format($data->total_dengan_diskon) }}
Total Rp. {{ number_format($totalKeseluruhan) }}
@endsection @push('script') @endpush