This commit is contained in:
Duidev Software House
2025-10-27 08:09:17 +07:00
parent 90ab13dafd
commit c0c7c1b5fd
21 changed files with 1346 additions and 669 deletions
@@ -101,6 +101,7 @@
$lsg_pewarnaanspora = '';
$lsg_pewarnaanlain = '';
$lsg_ditemukanmorfologi = '';
$bakteri = '';
$keterangan = $periksa->keterangan;
if (!empty($komponens)){
foreach($komponens as $rows){
@@ -117,6 +118,7 @@
if (trim($rows->komponen) == 'lsg_pewarnaanspora') {$lsg_pewarnaanspora = $rows->isidata; }
if (trim($rows->komponen) == 'lsg_pewarnaanlain') {$lsg_pewarnaanlain = $rows->isidata; }
if (trim($rows->komponen) == 'lsg_ditemukanmorfologi') {$lsg_ditemukanmorfologi = $rows->isidata; }
if (trim($rows->komponen) == 'bakteri') {$bakteri = $rows->isidata; }
}
}
@endphp
@@ -145,9 +147,14 @@
@if ($lsg_pewarnaanziehlnielsen != '')
<tr><td colspan="3">&nbsp;</td></tr>
<tr>
<td valign="top">Pewarnaan Ziehl Neelsen</td>
<td valign="top">Pewarnaan Ziehl Neelsen (Pagi/Sewaktu)</td>
<td valign="top">:</td>
<td valign="top">{!! $lsg_pewarnaanziehlnielsen !!}</td>
<td valign="top">
{!! $lsg_pewarnaanziehlnielsen !!}
@if (isset($data['lsg_pewarnaanziehlnielsensewaktu']))
/ {!! $data['lsg_pewarnaanziehlnielsensewaktu'] !!}
@endif
</td>
</tr>
@endif
@if ($lsg_pewarnaankoh != '' OR $lsg_pewarnaankohoptional != '')
@@ -216,6 +223,9 @@
@endphp
@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) {
@@ -248,7 +258,7 @@
{{-- Kolom kiri --}}
@if (isset($left[$i]))
<td>{{ $i + 1 }}</td>
@if (isset($left[$i]->printcol))
@if (isset($left[$i]->printcol) && $left[$i]->printcol == 1)
<td>{{ $left[$i]->value }}</td>
@else
<td>&nbsp;</td>
@@ -265,7 +275,7 @@
@if (isset($right[$i]))
<td>{{ $i + 1 + $half }}</td>
<td>{{ $right[$i]->antibiotic }}</td>
@if (isset($right[$i]->printcol))
@if (isset($right[$i]->printcol) && $right[$i]->printcol == 1)
<td>{{ $right[$i]->value }}</td>
@else
<td>&nbsp;</td>
@@ -280,8 +290,9 @@
</table>
@endif
@if ($keterangan != '')
Komentar: <br /> {!! $keterangan !!}
@if (isset($keterangan))
Komentar:<br />
{!! nl2br(e($keterangan)) !!}
@endif
</td>
</tr>
@@ -304,5 +315,6 @@
<td valign="top" colspan="3" align="center">{{ $periksa->nmdokter }}</td>
</tr>
</table>
<font color="white">PL</font>
</body>
</html>