This commit is contained in:
Duidev Software House
2025-12-12 13:02:00 +07:00
parent 3d3a60c747
commit 78b9d8a4ee
2 changed files with 10 additions and 12 deletions
@@ -347,7 +347,7 @@ class ReportController extends Controller
->select('accnumber','komponen','isidata') ->select('accnumber','komponen','isidata')
->whereIn('accnumber', array_unique($acc)) ->whereIn('accnumber', array_unique($acc))
->whereIn('komponen', [ ->whereIn('komponen', [
'id_bakteri01','id_bakteri02','id_mikroorganisme' 'id_bakteri01','id_bakteri02','bakteri'
]) ])
->get() ->get()
->groupBy('accnumber'); ->groupBy('accnumber');
@@ -548,7 +548,6 @@ class ReportController extends Controller
} }
return view('admin.glassreport', compact('orderbydate', 'jsonantibiotik', 'bulan', 'tahun')); return view('admin.glassreport', compact('orderbydate', 'jsonantibiotik', 'bulan', 'tahun'));
} }
public function genZNreport(Request $request) { public function genZNreport(Request $request) {
$data = []; $data = [];
$bulan = $request->input('bulan'); $bulan = $request->input('bulan');
@@ -643,7 +642,6 @@ class ReportController extends Controller
)); ));
} }
public function genTATreport(Request $request) { public function genTATreport(Request $request) {
$data = []; $data = [];
$bulan = $request->input('bulan'); $bulan = $request->input('bulan');
@@ -109,11 +109,7 @@
<tr> <tr>
<td width="45">&nbsp;</td> <td width="45">&nbsp;</td>
<td valign="top" colspan="7" width="755"> <td valign="top" colspan="7" width="755">
@if (isset($data['vl_parameter01']) && $data['vl_parameter01'] == 'TCM-HCV VL') <strong>Pemeriksaan {{$data['vl_parameter01'] ?? ''}}</strong>
<strong>Pemeriksaan TCM-HCV Viral Load</strong>
@else
<strong>Pemeriksaan PCR-HIV Viral Load</strong>
@endif
<table cellpadding="0" cellspacing="0" width="100%" border="1"> <table cellpadding="0" cellspacing="0" width="100%" border="1">
<tr> <tr>
<td align="center" width="5%"><strong>No</strong></td> <td align="center" width="5%"><strong>No</strong></td>
@@ -130,8 +126,10 @@
@endif @endif
</td> </td>
<td align="center"> <td align="center">
@if (isset($data['vl_hasil01'])) @if (isset($data['vl_hasil01']) AND $data['vl_hasil01'] == 'lainnya')
{!! $data['vl_hasil01'] !!} {!! $data['vl_hasil01teks'] ?? '' !!}
@else
{!! $data['vl_hasil01'] ?? '' !!}
@endif @endif
</td> </td>
<td align="center"> <td align="center">
@@ -153,8 +151,10 @@
@endif @endif
</td> </td>
<td align="center"> <td align="center">
@if (isset($data['vl_hasil02'])) @if (isset($data['vl_hasil02']) AND $data['vl_hasil02'] == 'lainnya')
{!! $data['vl_hasil02'] !!} {!! $data['vl_hasil02teks'] ?? '' !!}
@else
{!! $data['vl_hasil02'] ?? '' !!}
@endif @endif
</td> </td>
<td align="center"> <td align="center">