Update
This commit is contained in:
@@ -37,9 +37,9 @@
|
||||
<th>bhp_antibiotiktambahan</th>
|
||||
<th>id_esbl</th>
|
||||
<th>id_mrsa</th>
|
||||
@if(isset($jsonantibiotik) && !empty($jsonantibiotik))
|
||||
@foreach($jsonantibiotik->first() as $antibiotic)
|
||||
<th>{{ $antibiotic->antibiotic }}</th>
|
||||
@if(isset($masterAntibioticList))
|
||||
@foreach($masterAntibioticList as $antibioticName)
|
||||
<th>{{ strtoupper($antibioticName) }}</th>
|
||||
@endforeach
|
||||
@endif
|
||||
</tr>
|
||||
@@ -72,12 +72,16 @@
|
||||
<td>{{ $data->bhp_antibiotiktambahan}} </td>
|
||||
<td>{{ $data->id_esbl}} </td>
|
||||
<td>{{ $data->id_mrsa}} </td>
|
||||
@if(isset($jsonantibiotik[$data->id]) && !empty($jsonantibiotik[$data->id]))
|
||||
@foreach($jsonantibiotik[$data->id] as $antibiotic)
|
||||
<td>{{ $antibiotic->interpretation }}</td>
|
||||
@php
|
||||
$patientResults = $jsonantibiotik->get($data->id);
|
||||
@endphp
|
||||
|
||||
@if(isset($masterAntibioticList))
|
||||
@foreach($masterAntibioticList as $antibioticName)
|
||||
<td>
|
||||
{{ $patientResults[$antibioticName] ?? '-' }}
|
||||
</td>
|
||||
@endforeach
|
||||
@else
|
||||
<td> </td>
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@@ -2069,6 +2069,7 @@
|
||||
|
||||
@push('script')
|
||||
<script type="text/javascript">
|
||||
var hakaksess = '{{ Session("previlage") }}';
|
||||
function openlamanekpertise( jQuery ){
|
||||
var dlp = document.getElementById('dlp').value;
|
||||
var nofoto = document.getElementById('nofoto').value;
|
||||
@@ -2662,18 +2663,10 @@
|
||||
type : 'warning',
|
||||
})
|
||||
} else if (statuse == 'Selesai' || statuse == 'Arsip') {
|
||||
if (hakaksess == 'supervisor'){
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
$('#divawal').hide();
|
||||
openlamanekpertise();
|
||||
} else {
|
||||
swal({
|
||||
title : 'Ekspertise Final',
|
||||
text : 'Hanya Akun SPV yang diperkenankan mengubah data Arsip',
|
||||
type : 'warning',
|
||||
})
|
||||
}
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
$('#divawal').hide();
|
||||
openlamanekpertise();
|
||||
} else {
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
|
||||
@@ -2136,6 +2136,8 @@
|
||||
@endsection
|
||||
@push('script')
|
||||
<script type="text/javascript">
|
||||
var hakaksess = '{{ Session("previlage") }}';
|
||||
|
||||
function openlamanekpertise( jQuery ){
|
||||
var dlp = document.getElementById('dlp').value;
|
||||
var nofoto = document.getElementById('nofoto').value;
|
||||
@@ -2729,18 +2731,10 @@
|
||||
type : 'warning',
|
||||
})
|
||||
} else if (statuse == 'Selesai' || statuse == 'Arsip') {
|
||||
if (hakaksess == 'supervisor'){
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
$('#divawal').hide();
|
||||
openlamanekpertise();
|
||||
} else {
|
||||
swal({
|
||||
title : 'Ekspertise Final',
|
||||
text : 'Hanya Akun SPV yang diperkenankan mengubah data Arsip',
|
||||
type : 'warning',
|
||||
})
|
||||
}
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
$('#divawal').hide();
|
||||
openlamanekpertise();
|
||||
} else {
|
||||
$('#divreadonly').hide();
|
||||
$('#divperiksa').show();
|
||||
|
||||
Reference in New Issue
Block a user