updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -488,12 +488,26 @@
{{ isset($marital_statuses[$patient->marital_status]) ? $marital_statuses[$patient->marital_status] : 'N/A' }}
</td>
</tr>
<tr>
<th class="highlight">National ID</th>
<td>
{{ strtoupper($patient->national_id) }}
</td>
</tr>
@if (isset($other_patients_info_data->non_ugandan_national_id_no))
<tr>
<th class="highlight"> ID Number</th>
<td>{{ $other_patients_info_data->non_ugandan_national_id_no ?? '' }}</td>
</tr>
@else
<tr>
<th class="highlight">National ID</th>
<td>{{ $patient->national_id ?? '' }}</td>
</tr>
@endif
@if (mother_of_patient($patient->id))
@php
$mother_id = mother_of_patient($patient->id);
@@ -533,12 +547,7 @@
</td>
</tr>
@endif
</tbody>
</table>
</div>
<div class="col-sm-6">
<table class="table table-bordered">
<tbody>
<tr>
<th class="highlight">{{ __('layout.next_of_kin') }}</th>
<td>{{ $patient->next_of_kin }}</td>
@@ -553,6 +562,15 @@
<th class="highlight">{{ __('layout.mobile_number') }}</th>
<td>{{ $patient->phone }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-6">
<table class="table table-bordered">
<tbody>
<tr>
<th class="highlight">{{ __('layout.phone_name') }}</th>
<td>{{ $patient->phone_owner }}</td>
@@ -606,6 +624,34 @@
{{ streamline_date($patient->created_at) }}
</td>
</tr>
<tr>
<th class="highlight">Country</th>
<td>{{ $country->name ?? '' }}</td>
</tr>
<tr>
<th class="highlight">Foreigner / Refugee</th>
<td>
@if(!empty($other_patients_info_data))
@if ($other_patients_info_data->non_ugandan_foreigner_or_refugee == 1)
<span>{{ __('patients.foreigner') }} </span>
@elseif ($other_patients_info_data->non_ugandan_foreigner_or_refugee == 2)
<span>{{ __('patients.refugee') }} </span>
@else
<span></span>
@endif
@else
<span></span>
@endif
</td>
</tr>
</tbody>
</table>
</div>
@@ -899,6 +945,6 @@
@push('scripts')
<script src="{{ asset('elite/bower_components/select2/select2.min.js') }}"></script>
<script type="text/javascript">
$('#new_episode_options').select2();
$('#new_episode_options, #admission_ward_id').select2({width: "100%"});
</script>
@endpush