Import latest app updates from streamline

An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
This commit is contained in:
2024-04-11 11:16:51 -07:00
parent cb4c6b4c1a
commit 4a89356390
10435 changed files with 107737 additions and 1220538 deletions
@@ -1,7 +1,7 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/horizontal-timeline/css/horizontal-timeline.css') }}" rel="stylesheet"/>
<link href="{{ asset('elite/bower_components/horizontal-timeline/css/horizontal-timeline.css') }}" rel="stylesheet" />
<style></style>
@endpush
@@ -21,16 +21,18 @@
<div class="white-box">
<div class="row">
<div class="col-md-4">
@if(!is_null($patient->photo) && $patient->photo != "")
<img src='{{ asset($patient->photo) }}' class="img-rounded center" style='height: 100px; width: 100%' alt='Photo not available' />
@if (!is_null($patient->photo) && $patient->photo != '')
<img src='{{ asset($patient->photo) }}' class="img-rounded center" style='height: auto; width: 100%'
alt='Photo not available' />
@else
<img src="/uploads/streamline_images/person-place-holder.jpg" class="img-rounded center" style='height: 100px; width: 100%' alt='Photo not available' />
<img src="/uploads/streamline_images/person-place-holder.jpg" class="img-rounded center"
style='height: auto; width: 100%' alt='Photo not available' />
@endif
</div>
<div class="col-md-8">
<div class="row">
<div class="col-md-4"><b>Patient Names:</b> {{ $patient->first_name }} {{ $patient->last_name }}</div>
<div class="col-md-4"><b>Gender:</b> {{ $patient->gender == 1 ? "Male" : "Female" }}</div>
<div class="col-md-4"><b>Gender:</b> {{ $patient->gender == 1 ? 'Male' : 'Female' }}</div>
<div class="col-md-4"><b>Age:</b> {{ get_patients_age($patient->date_of_birth) }}</div>
</div>
<br><br>
@@ -49,17 +51,19 @@
// invert side to place record
$inverted = false;
@endphp
@foreach($patient_timeline as $timeline)
<li @if($inverted) class="timeline-inverted" @endif>
<div class="timeline-badge success"><i class="fa @if($inverted) fa-arrow-right @else fa-arrow-left @endif"></i> </div>
@foreach ($patient_timeline as $timeline)
<li @if ($inverted) class="timeline-inverted" @endif>
<div class="timeline-badge success"><i
class="fa @if ($inverted) fa-arrow-right @else fa-arrow-left @endif"></i>
</div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 class="timeline-title">{{ $timeline["date"] }}</h4>
<h4 class="timeline-title">{{ $timeline['date'] }}</h4>
</div>
<div class="timeline-body">
<div class="card card-outline-primary text-center text-dark">
<div class="card-block">
<p>{!! $timeline["text"] !!}</p>
<p>{!! $timeline['text'] !!}</p>
</div>
</div>
</div>