update
This commit is contained in:
No files matched your search
@@ -226,9 +226,14 @@
|
||||
$nomor++;
|
||||
@endphp
|
||||
<tr>
|
||||
<td valign="top">{{$nomor}}. Pewarnaan Ziehl Neelsen</td>
|
||||
<td valign="top">{{$nomor}}. Pewarnaan Ziehl Neelsen (Pagi/Sewaktu)</td>
|
||||
<td valign="top">:</td>
|
||||
<td valign="top">{!! $data['id_pewarnaanziehlnielsen'] !!}</td>
|
||||
<td valign="top">
|
||||
{!! $data['id_pewarnaanziehlnielsen'] !!}
|
||||
@if (isset($data['id_pewarnaanziehlnielsensewaktu']))
|
||||
/ {!! $data['id_pewarnaanziehlnielsensewaktu'] !!}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if (isset($data['id_pewarnaankoh']))
|
||||
@@ -364,6 +369,9 @@
|
||||
@endphp
|
||||
|
||||
@if (!isset($cekketerangan[1]) && isset($antibiotiks) && $antibiotiks->isNotEmpty())
|
||||
@if (isset($data['bakteri']))
|
||||
<p>Bakteri Yang ditemukan : <strong><i>{{$data['bakteri']}}</i></strong> {{$data['bakterisir'] ?? ''}}</p>
|
||||
@endif
|
||||
@php
|
||||
// Filter antibiotik yang printrow == true
|
||||
$filtered = $antibiotiks->filter(function($row) {
|
||||
@@ -397,7 +405,7 @@
|
||||
@if (isset($left[$i]))
|
||||
<td>{{ $i + 1 }}</td>
|
||||
<td>{{ $left[$i]->antibiotic }}</td>
|
||||
@if (isset($left[$i]->printcol))
|
||||
@if (isset($left[$i]->printcol) && $left[$i]->printcol == 1)
|
||||
<td>{{ $left[$i]->value }}</td>
|
||||
@else
|
||||
<td> </td>
|
||||
@@ -413,7 +421,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> </td>
|
||||
@@ -429,81 +437,8 @@
|
||||
@endif
|
||||
|
||||
@if (isset($data['keterangan']))
|
||||
@php
|
||||
if (isset($data['id_kbamc'])){
|
||||
$id_kbamc = $data['id_kbamc'];
|
||||
} else {
|
||||
$id_kbamc = '';
|
||||
}
|
||||
if (isset($data['id_kblef'])){
|
||||
$id_kblef = $data['id_kblef'];
|
||||
} else {
|
||||
$id_kblef = '';
|
||||
}
|
||||
if (isset($data['id_kbfos'])){
|
||||
$id_kbfos = $data['id_kbfos'];
|
||||
} else {
|
||||
$id_kbfos = '';
|
||||
}
|
||||
if (isset($data['id_kbscf'])){
|
||||
$id_kbscf = $data['id_kbscf'];
|
||||
} else {
|
||||
$id_kbscf = '';
|
||||
}
|
||||
if (isset($data['id_sirkbamc'])){
|
||||
$id_sirkbamc = $data['id_sirkbamc'];
|
||||
} else {
|
||||
$id_sirkbamc = '';
|
||||
}
|
||||
if (isset($data['id_sirkblef'])){
|
||||
$id_sirkblef = $data['id_sirkblef'];
|
||||
} else {
|
||||
$id_sirkblef = '';
|
||||
}
|
||||
if (isset($data['id_sirkbfos'])){
|
||||
$id_sirkbfos = $data['id_sirkbfos'];
|
||||
} else {
|
||||
$id_sirkbfos = '';
|
||||
}
|
||||
if (isset($data['id_sirkbscf'])){
|
||||
$id_sirkbscf = $data['id_sirkbscf'];
|
||||
} else {
|
||||
$id_sirkbscf = '';
|
||||
}
|
||||
$keterangan = $data['keterangan'];
|
||||
$cekadatabel = explode('table', $keterangan);
|
||||
if (isset($cekadatabel[1])) {
|
||||
$keterangan = str_replace('</table>', '', $keterangan);
|
||||
$keterangan = str_replace('</tbody>', '', $keterangan);
|
||||
if ($id_kbamc != '' AND $id_sirkbamc != ''){
|
||||
$keterangan .= '<tr><td> </td><td>Amoxicillin - clavulanic acid</td><td style="text-align:center;">'.$id_kbamc.'</td><td style="text-align:center;">'.$id_sirkbamc.'</td></tr>';
|
||||
}
|
||||
if ($id_kblef != '' AND $id_sirkblef != ''){
|
||||
$keterangan .= '<tr><td> </td><td>Levofloxacin</td><td style="text-align:center;">'.$id_kblef.'</td><td style="text-align:center;">'.$id_sirkblef.'</td></tr>';
|
||||
}
|
||||
if ($id_kbfos != '' AND $id_sirkbfos != ''){
|
||||
$keterangan .= '<tr><td> </td><td>Fosfomycin</td><td style="text-align:center;">'.$id_kbfos.'</td><td style="text-align:center;">'.$id_sirkbfos.'</td></tr>';
|
||||
}
|
||||
if ($id_kbscf != '' AND $id_sirkbscf != ''){
|
||||
$keterangan .= '<tr><td> </td><td>Cefoperazone - Sulbactam</td><td style="text-align:center;">'.$id_kbscf.'</td><td style="text-align:center;">'.$id_sirkbscf.'</td></tr>';
|
||||
}
|
||||
$keterangan .= '</tbody></table>';
|
||||
} else {
|
||||
if ($id_kbamc != '' AND $id_sirkbamc != ''){
|
||||
$keterangan = $keterangan.'<br />Amoxicillin - clavulanic acid : '.$id_kbamc.' ('.$id_sirkbamc.')';
|
||||
}
|
||||
if ($id_kblef != '' AND $id_sirkblef != ''){
|
||||
$keterangan = $keterangan.'<br />Levofloxacin : '.$id_kblef.' ('.$id_sirkblef.')';
|
||||
}
|
||||
if ($id_kbfos != '' AND $id_sirkbfos != ''){
|
||||
$keterangan = $keterangan.'<br />Fosfomycin : '.$id_kbfos.' ('.$id_sirkbfos.')';
|
||||
}
|
||||
if ($id_kbscf != '' AND $id_sirkbscf != ''){
|
||||
$keterangan = $keterangan.'<br />Cefoperazone - Sulbactam : '.$id_kbscf.' ('.$id_sirkbscf.')';
|
||||
}
|
||||
}
|
||||
echo 'Komentar:<br />'.$keterangan;
|
||||
@endphp
|
||||
Komentar:<br />
|
||||
{!! nl2br(e($data['keterangan'])) !!}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@@ -526,5 +461,6 @@
|
||||
<td valign="top" colspan="3" align="center">{{ $periksa->nmdokter }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<font color="white">KULTUR</font>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user