This commit is contained in:
Dwi Swandhana
2026-06-03 17:58:55 +07:00
parent 46c6c2f48b
commit 90c7a70214
8 changed files with 26 additions and 6 deletions
@@ -161,7 +161,8 @@ class DokterController extends Controller
$data = [];
$data['komponens'] = KomponenJawaban::where('accnumber', $periksa->nofoto)->get();
$data['antibiotiks'] = RekapAntibiotik::where('orderid', $periksa->id)->get();
$data['tanggal'] = $tanggal;
$data['iscritical'] = CriticalValueSample::where('nofoto', $periksa->nofoto)->first();
$data['tanggal'] = $tanggal;
$data['periksa'] = $periksa;
$data['keterangan'] = $keterangan;
$data['tandatangananalis'] = $tandatangananalis;
@@ -136,7 +136,9 @@
@php
$cekketerangan = explode('/table', $keterangan);
@endphp
@if(isset($iscritical->id))
<p><strong><i>Critical Value</i></strong></p>
@endif
@if (!isset($cekketerangan[1]) && isset($antibiotiks) && $antibiotiks->isNotEmpty())
@if ($bakteri != '')
<p>Bakteri Yang ditemukan : <strong><i>{{$bakteri}}</i></strong> {{$data['bakterisir'] ?? ''}}</p>
@@ -95,6 +95,9 @@
$namakuman1 = '';
$namakuman2 = '';
@endphp
@if(isset($iscritical->id))
<p><strong><i>Critical Value</i></strong></p>
@endif
@if (isset($antibiotiks) && $antibiotiks->isNotEmpty())
@php
$grouped = $antibiotiks->filter(function ($row) {
@@ -354,6 +354,9 @@
$namakuman1 = '';
$namakuman2 = '';
@endphp
@if(isset($iscritical->id))
<p><strong><i>Critical Value</i></strong></p>
@endif
@if (isset($antibiotiks) && $antibiotiks->isNotEmpty())
@php
$grouped = $antibiotiks->filter(function ($row) {
@@ -197,11 +197,13 @@
@php
$cekketerangan = explode('/table', $keterangan);
@endphp
@if (!isset($cekketerangan[1]) && isset($antibiotiks) && $antibiotiks->isNotEmpty())
@if ($bakteri != '')
<p>Bakteri Yang ditemukan : <strong><i>{{$bakteri}}</i></strong> {{$data['bakterisir'] ?? ''}}</p>
@if(isset($iscritical->id))
<p><strong><i>Critical Value</i></strong></p>
@endif
@if (!isset($cekketerangan[1]) && isset($antibiotiks) && $antibiotiks->isNotEmpty())
@if ($bakteri != '')
<p>Bakteri Yang ditemukan : <strong><i>{{$bakteri}}</i></strong> {{$data['bakterisir'] ?? ''}}</p>
@endif
@php
// Filter antibiotik yang printrow == true
$filtered = $antibiotiks->filter(function($row) {
@@ -334,6 +334,9 @@
$namakuman1 = '';
$namakuman2 = '';
@endphp
@if(isset($iscritical->id))
<p><strong><i>Critical Value</i></strong></p>
@endif
@if (isset($antibiotiks) && $antibiotiks->isNotEmpty())
@php
$grouped = $antibiotiks->filter(function ($row) {
@@ -5124,6 +5124,9 @@
selectionmode : 'checkbox',
pagesizeoptions : ['10', '20', '30', '50', '100'],
altrows : true,
ready: function () {
$("#gridpemeriksaan").jqxGrid('sortby', 'tlsnofoto', 'asc');
},
columns: [
{ text: 'Expertise', filterable: false, columntype: 'button', align: 'center', width: 70, cellsrenderer: function () {
return "Expertise";
@@ -5124,6 +5124,9 @@
selectionmode : 'checkbox',
pagesizeoptions : ['10', '20', '30', '50', '100'],
altrows : true,
ready: function () {
$("#gridpemeriksaan").jqxGrid('sortby', 'tlsnofoto', 'asc');
},
columns: [
{ text: 'Expertise', filterable: false, columntype: 'button', align: 'center', width: 70, cellsrenderer: function () {
return "Expertise";