resolved conflicts

This commit is contained in:
2025-03-31 03:46:05 +03:00
6454 changed files with 1520539 additions and 9 deletions
@@ -0,0 +1,121 @@
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" sizes="16x16"
href="{{ asset('uploads/streamline/color/streamline_icon-02.png') }}">
<title>{{ config('app.name', 'Stre@mline') }}</title>
<!-- Bootstrap Core CSS -->
<link href="{{ asset('bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
<style>
body {
/*font-size: 1.2em;*/
}
thead {
/*display: table-header-group;*/
}
tfoot {
/*display: table-row-group;*/
}
tr {
page-break-inside: avoid;
}
</style>
</head>
<body>
<div class="container-fluid">
{{-- header include print --}}
@include('layouts.header_pdf_print')
<h5 class="heading" style="text-align: center;">{{ __('maternity.labour_ward_admission_heading_print') }}</h5>
<table class="table table-light table-sm table-borderless">
<tr>
<th width="20%">{{ __('patient_file.patient_number') }}</th>
<td width="30%">{{ $patient->number }}</td>
<th width="15%" scope="row">{{ __('patient_file.category') }}</th>
<td>
{{ get_name($patient->category_id, 'id', 'name', 'patient_categories') }}
</td>
</tr>
<tr>
<th scope="row">{{ __('patient_file.patient_names') }}</th>
<td>{{ $patient->first_name }} {{ $patient->last_name }}</td>
<th scope="row">{{ __('patient_file.residence') }}</th>
<td>{{ patient_residence($patient->id) }}</td>
</tr>
<tr>
<th scope="row">{{ __('patient_file.age') }}</th>
<td><?php echo \Carbon\Carbon::parse($patient->date_of_birth)->age; ?> {{ __('patient_file.years') }}</td>
<th scope="row">{{ __('patient_file.gender') }}</th>
<td><?php echo $patient->gender == 1 ? __('patient_file.male') : __('patient_file.female'); ?></td>
</tr>
<tr>
<th>{{ __('patient_file.episode_date') }}</th>
<td><?php echo \Carbon\Carbon::parse($episode->created_at)->format('d M Y h:i a'); ?></td>
<th scope="row">{{ __('patient_file.outcome') }}</th>
<td>
@if ($consultation && !is_null($consultation->outcome_id))
@if ($consultation->outcome_id == 3)
{{ $outcomes[$consultation->outcome_id] . ' on (' . streamline_date($consultation->followup_when) . ')' }}
@elseif($consultation->outcome_id == 5)
<code>
{{ $outcomes[$consultation->outcome_id] . ' on (' . streamline_date($consultation->died_on) . ')' }}
</code>
@else
{{ $outcomes[$consultation->outcome_id] ?? '' }}
@endif
@elseif (!empty($antenatal_data->outcome_id))
@if ($antenatal_data->outcome_id == 3)
{{ $outcomes[$antenatal_data->outcome_id] . ' on (' . streamline_date($antenatal_data->followup_when) . ')' }}
@elseif($antenatal_data->outcome_id == 5)
<code>
{{ $outcomes[$antenatal_data->outcome_id] . ' on (' . streamline_date($antenatal_data->died_on) . ')' }}
</code>
@else
{{ $outcomes[$antenatal_data->outcome_id] ?? '' }}
@endif
@endif
</td>
</tr>
</table>
<hr>
{{-- maaternity admission details --}}
@include('maternity::labour_ward.includes.labour_ward_admission_data')
{{-- stamp --}}
@if (is_add_stamp_feature_enabled() && !empty($hospitalInfo->stamp))
<table class="table table-borderless">
<tbody>
<tr>
<td style="text-align: center">
<img style="max-width: 300px; max-height: 150px;" src="{{ asset($hospitalInfo->stamp) }}"
class="img-fluid mx-auto d-block mx-3" alt="{{ $hospitalInfo->name }} stamp">
</td>
</tr>
</tbody>
</table>
@endif
</div>
</body>
</html>