68 lines
3.6 KiB
PHP
68 lines
3.6 KiB
PHP
@extends('base.layout')
|
|
@section('content')
|
|
<div class="wrapper">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="card-box ribbon-box">
|
|
<div class="ribbon ribbon-danger">Rekapitulasi Data Bulan {{$bulan}} Tahun {{$tahun}}</div>
|
|
<p></p>
|
|
<div class="table-responsive">
|
|
<table id="datatable" class="table table-bordered display">
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th>Status</th>
|
|
<th>No.RM</th>
|
|
<th>Name</th>
|
|
<th>Order</th>
|
|
<th>Gender</th>
|
|
<th>Date</th>
|
|
<th>Urgensi</th>
|
|
<th>Comming From</th>
|
|
<th>Code</th>
|
|
<th>Spesimen</th>
|
|
<th>Finish</th>
|
|
@if(isset($jsonantibiotik) && !empty($jsonantibiotik))
|
|
@foreach($jsonantibiotik->first() as $antibiotic)
|
|
<th>{{ $antibiotic->antibiotic }}</th>
|
|
@endforeach
|
|
@endif
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if(isset($orderbydate) && !empty($orderbydate))
|
|
@foreach($orderbydate as $data)
|
|
<tr>
|
|
<td>{{ $data->noloket }}</td>
|
|
<td>{{ $data->status }}</td>
|
|
<td>{{ $data->noregister }}</td>
|
|
<td>{{ $data->nmpasien }}</td>
|
|
<td>{{ $data->reques }}</td>
|
|
<td>{{ $data->jkpasien }}</td>
|
|
<td>{{ $data->daftar }}</td>
|
|
<td>{{ $data->urgensi }}</td>
|
|
<td>{{ $data->asalpasien }}</td>
|
|
<td>{{ $data->kd_spesimen }}</td>
|
|
<td>{{ $data->nm_spesimen }}</td>
|
|
<td>{{ $data->updated_at }}</td>
|
|
@if(isset($jsonantibiotik[$data->id]) && !empty($jsonantibiotik[$data->id]))
|
|
@foreach($jsonantibiotik[$data->id] as $antibiotic)
|
|
<td>{{ $antibiotic->interpretation }}</td>
|
|
@endforeach
|
|
@endif
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="card-footer">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="_token" id="token" value="{{ csrf_token() }}">
|
|
@endsection |