Ejemplo n.º 1
0
 public function detail($NoRegLab)
 {
     $rujukan = ViewRujukandetail::where('NoRegLab', '=', $NoRegLab)->first();
     $pasien = Pasien::where('NoRegLab', '=', $NoRegLab)->first();
     $hargatotal = Pemeriksaan::where('NoRegLab', '=', $NoRegLab)->sum('Harga');
     $pemeriksaan = Pemeriksaan::where('NoRegLab', '=', $NoRegLab)->orderBy('NoRegLab', 'asc')->get();
     return View::make('billing.detail_billing', compact('pemeriksaan', 'hargatotal', 'pasien', 'rujukan'));
 }
									@foreach($subjns as $nilai)
										<tr>
											<th>{{ $nilai->NmSubKategori }}</th>
										</tr>
										<?php 
$jns = Jnskategori::where('KdSubKategori', '=', $nilai->KdSubKategori)->get();
?>
										@foreach($jns as $jenis)

											<?php 
$trf = Tarif::where('KdJnsKategori', '=', $jenis->KdJnsKategori)->get();
?>

											@foreach($trf as $tar)
												<?php 
$pemm = Pemeriksaan::where('NoRegLab', '=', $reglab->NoRegLab)->where('KdTarif', '=', $tar->KdTarif)->get();
?>
												@foreach($pemm as $value)
								</thead>
								<tbody>
									<tr>
										<td>&nbsp;&nbsp; {{ $value->tarif->jnskategori->NamaJnsKategori }}</td>
										<td>{{ $value->HasilPeriksa }}</td>
										<td>{{ $value->tarif->jnskategori->NilaiRujukan }}</td>
										<td>{{ $value->tarif->jnskategori->satuan->NmSatuan }}</td>
									</tr>
												@endforeach
									</tbody>
											@endforeach
										@endforeach
									@endforeach
Ejemplo n.º 3
0
									<tr>
										<th width="30px">No</th>
										<th>Tanggal Periksa</th>
										<th>Pengambilan</th>
										<th>No. RegLab</th>
										<th>Spesimen</th>
										<th>No. Medrek</th>
										<th>Nama</th>
										<th>Jenis Layanan</th>
									</tr>
									<?php 
$no = $reglab->getFrom();
?>
									@foreach ($reglab as $value)
									<?php 
$a = Pemeriksaan::select('*')->where('NoRegLab', '=', $value->NoRegLab)->get();
$rujukan = DB::table('v_rujukan')->where('NoRegLab', '=', $value->NoRegLab)->first();
?>
								</thead>
							<tbody>
							
							<tr>
							<td>{{ $no }}.</td>
							<td>{{date("d-m-Y",strtotime($value->tgl_reg))}}</td>
							<td></td>
							<td>{{ $value->NoRegLab }}</td>
							
							<td>@if (($rujukan == null))
							Non-Rujukan
							@else
							Rujukan