update
This commit is contained in:
No files matched your search
@@ -10,6 +10,7 @@
|
||||
@php
|
||||
$data = [];
|
||||
$keterangan = $periksa->keterangan;
|
||||
$statuspemeriksaan = $periksa->status;
|
||||
$data['keterangan'] = $periksa->keterangan;
|
||||
if (!empty($komponens)) {
|
||||
foreach ($komponens as $rows) {
|
||||
@@ -440,49 +441,53 @@
|
||||
$left = $items->slice(0, $half)->values();
|
||||
$right = $items->slice($half)->values();
|
||||
@endphp
|
||||
@if ($cetakjudul)
|
||||
<table style="width:100%; border-collapse: collapse;" border="1" cellpadding="3" cellspacing="0">
|
||||
<thead>
|
||||
<tr style="background-color: #f2f2f2;">
|
||||
<th>No</th>
|
||||
<th>Antibiotik</th>
|
||||
<th>Value</th>
|
||||
<th>Interpretation</th>
|
||||
<th> </th>
|
||||
<th>No</th>
|
||||
<th>Antibiotik</th>
|
||||
<th>Value</th>
|
||||
<th>Interpretation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for ($i = 0; $i < $half; $i++)
|
||||
<tr>
|
||||
{{-- Kolom kiri --}}
|
||||
@if (isset($left[$i]) AND $left[$i]->printrow)
|
||||
<td>{{ $i + 1 }}</td>
|
||||
<td>{{ $left[$i]->antibiotic }}</td>
|
||||
<td>{{ $left[$i]->printcol == 1 ? $left[$i]->value : '' }}</td>
|
||||
<td align="center">{{ $left[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
|
||||
<td> </td> {{-- Pemisah tengah --}}
|
||||
|
||||
{{-- Kolom kanan --}}
|
||||
@if (isset($right[$i]) AND $right[$i]->printrow)
|
||||
<td>{{ $i + 1 + $half }}</td>
|
||||
<td>{{ $right[$i]->antibiotic }}</td>
|
||||
<td>{{ $right[$i]->printcol == 1 ? $right[$i]->value : '' }}</td>
|
||||
<td align="center">{{ $right[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
@if ($statuspemeriksaan == 'Preliminary Results')
|
||||
<p><em><strong>Uji Kepekaan antibiotik on going</strong></em></p>
|
||||
@else
|
||||
@if ($cetakjudul)
|
||||
<table style="width:100%; border-collapse: collapse;" border="1" cellpadding="3" cellspacing="0">
|
||||
<thead>
|
||||
<tr style="background-color: #f2f2f2;">
|
||||
<th>No</th>
|
||||
<th>Antibiotik</th>
|
||||
<th>Value</th>
|
||||
<th>Interpretation</th>
|
||||
<th> </th>
|
||||
<th>No</th>
|
||||
<th>Antibiotik</th>
|
||||
<th>Value</th>
|
||||
<th>Interpretation</th>
|
||||
</tr>
|
||||
@endfor
|
||||
</tbody>
|
||||
</table>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for ($i = 0; $i < $half; $i++)
|
||||
<tr>
|
||||
{{-- Kolom kiri --}}
|
||||
@if (isset($left[$i]) AND $left[$i]->printrow)
|
||||
<td>{{ $i + 1 }}</td>
|
||||
<td>{{ $left[$i]->antibiotic }}</td>
|
||||
<td>{{ $left[$i]->printcol == 1 ? $left[$i]->value : '' }}</td>
|
||||
<td align="center">{{ $left[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
|
||||
<td> </td> {{-- Pemisah tengah --}}
|
||||
|
||||
{{-- Kolom kanan --}}
|
||||
@if (isset($right[$i]) AND $right[$i]->printrow)
|
||||
<td>{{ $i + 1 + $half }}</td>
|
||||
<td>{{ $right[$i]->antibiotic }}</td>
|
||||
<td>{{ $right[$i]->printcol == 1 ? $right[$i]->value : '' }}</td>
|
||||
<td align="center">{{ $right[$i]->interpretation }}</td>
|
||||
@else
|
||||
<td colspan="4"> </td>
|
||||
@endif
|
||||
</tr>
|
||||
@endfor
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user