Кнопка скачивания отчета + правка отчета

This commit is contained in:
brusnitsyn
2026-07-07 00:51:11 +09:00
parent 03103627ab
commit 19dbefcff0
3 changed files with 24 additions and 15 deletions

View File

@@ -19,17 +19,17 @@
<p class="label">Плановые: {{ $planned['count'] }}</p>
@foreach ($planned['patients'] as $i => $p)
<p class="patient">{{ $i + 1 }}-{{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) Д/З: {{ $p['diagnosis'] }}.@endif</p>
<p class="patient">{{ $i + 1 }}. {{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) Д/З: {{ $p['diagnosis'] }}.@endif</p>
@endforeach
<p class="label">Экстренные: {{ $urgent['count'] }}</p>
@foreach ($urgent['patients'] as $i => $p)
<p class="patient">{{ $i + 1 }}-{{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) Д/З: {{ $p['diagnosis'] }}.@endif</p>
<p class="patient">{{ $i + 1 }}. {{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) Д/З: {{ $p['diagnosis'] }}.@endif</p>
@endforeach
<p>В отделении состоит: {{ $inDepartment }}</p>
<p class="label">В отделении состоит: {{ $inDepartment }}</p>
<p class="label">ПЛАНОВЫХ ОПЕРАЦИЙ: {{ $plannedOperations['count'] }}</p>
<p class="label">Плановых операций: {{ $plannedOperations['count'] }}</p>
@foreach ($plannedOperations['patients'] as $p)
<p class="patient">{{ $p['full_name'] }} {{ $p['age'] }}.</p>
@endforeach
@@ -44,9 +44,9 @@
<p class="patient">{{ $i + 1 }}. {{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) {{ $p['diagnosis'] }}.@endif</p>
@endforeach
<p>Под наблюдением: {{ $observableCount }}</p>
<p class="label">Под наблюдением: {{ $observableCount }}</p>
<p>Летальные исходы: {{ $deceased['count'] > 0 ? '' : 'не было.' }}</p>
<p class="label">Летальные исходы: {{ $deceased['count'] > 0 ? '' : 'не было.' }}</p>
@foreach ($deceased['patients'] as $i => $p)
<p class="patient">{{ $i + 1 }}. {{ $p['full_name'] }} {{ $p['age'] }}.@if ($p['diagnosis']) {{ $p['diagnosis'] }}.@endif</p>
@endforeach