mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
Build modified streamline images
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
This commit is contained in:
+153
@@ -0,0 +1,153 @@
|
||||
<!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', 'Patient Receipt - Stre@mline') }}</title>
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{{ asset('bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/*thead, tfoot { display: table-row-group }*/
|
||||
thead {
|
||||
display: table-header-group;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
display: table-row-group;
|
||||
}
|
||||
|
||||
tr {
|
||||
page-break-before: always;
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container-fluid">
|
||||
@include('layouts.header_pdf_print')
|
||||
|
||||
<table class="table table-bordered">
|
||||
{{-- <tr>
|
||||
<td><b>{{ __('patient_finance.date') }}</b></td>
|
||||
<td colspan="2">{{ streamline_date_time_short($receipt_date) }}</td>
|
||||
<td><b>{{ __('patient_finance.receipt_number') }}</b></td>
|
||||
<td colspan="2">{{ $receipt_number }}</td>
|
||||
<td><b>{{ __('family_accounts.deposit_date') }}</b></td>
|
||||
<td colspan="2">{{ $new_family_deposit->deposit_date }}</td>
|
||||
</tr> --}}
|
||||
</table>
|
||||
|
||||
<table class="table table-bordered" id="receipt_table">
|
||||
<thead>
|
||||
<th>{{ __('No.') }}</th>
|
||||
<th>{{ __('audit_trail.date_and_time') }}</th>
|
||||
<th>{{ __('audit_trail.action_performed') }}</th>
|
||||
<th>{{ __('Old Values') }}</th>
|
||||
<th>{{ __('New Values') }}</th>
|
||||
<th>{{ __('audit_trail.computer_ip_address') }}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($audit_trail as $key => $value)
|
||||
@php
|
||||
$record_affected = str_replace('Streamline\\', '', $value->auditable_type);
|
||||
$exploded_array = preg_split('/(?=[A-Z])/', $record_affected);
|
||||
$record_affected = implode(' ', $exploded_array);
|
||||
$user = Streamline\Models\User::where('id', $value->user_id)->first();
|
||||
$full_names = $user->first_name . ' ' . $user->last_name;
|
||||
@endphp
|
||||
<tr>
|
||||
<td>{{ ++$key }}</td>
|
||||
<td>{{ streamline_date_time_short($value->created_at) }}</td>
|
||||
<td>
|
||||
@if($value->auditable_type == "Streamline\Models\User")
|
||||
@if($value->user_id == $value->auditable_id && str_contains($value->url, 'login') == 1)
|
||||
<b>{{ get_full_name($value->user_id, 'id', 'first_name', 'last_name', 'users') }}</b>
|
||||
logged into their account </b>
|
||||
@elseif($value->user_id !== $value->auditable_id && str_contains($value->url, 'login')
|
||||
!== 1)
|
||||
<b>{{ get_full_name($value->user_id, 'id', 'first_name', 'last_name', 'users') }}</b>
|
||||
updated account of <b>{{ get_full_name($value->auditable_id, 'id', 'first_name',
|
||||
'last_name', 'users') }}</b>
|
||||
@else
|
||||
<b>{{ get_full_name($value->user_id, 'id', 'first_name', 'last_name', 'users') }}</b>
|
||||
{{ $value->event
|
||||
}} {{ __('audit_trail.a') }} <b>{{ $record_affected
|
||||
}}</b>
|
||||
{{ __('audit_trail.record') }}
|
||||
@endif
|
||||
@else
|
||||
<b>{{ get_full_name($value->user_id, 'id', 'first_name', 'last_name', 'users') }}</b>
|
||||
{{ $value->event
|
||||
}} {{ __('audit_trail.a') }} <b>{{ $record_affected
|
||||
}}</b>
|
||||
{{ __('audit_trail.record') }}
|
||||
@endif
|
||||
</td>
|
||||
@if($value->auditable_type !== "Streamline\Models\User")
|
||||
<td>
|
||||
{!! read_more(json_encode($value->old_values), 'comments_short' . $value->id,
|
||||
'comments_long' . $value->id) !!}
|
||||
|
||||
<div id="comments_long{{ $value->id }}" style="display: none;">
|
||||
{!! json_encode($value->old_values) !!}<br />
|
||||
<a class="read_more" style="color : #0099CC;"
|
||||
onclick="hide('comments_long{{ $value->id }}');show('comments_short{{ $value->id }}');">{{
|
||||
__('patient_episode.read_less') }}</a>
|
||||
</div>
|
||||
</td>
|
||||
@else
|
||||
<td></td>
|
||||
@endif
|
||||
@if($value->auditable_type !== "Streamline\Models\User")
|
||||
<td>
|
||||
{!! read_more(json_encode($value->new_values), 'short_comment' . $value->id,
|
||||
'long_comment' . $value->id) !!}
|
||||
|
||||
<div id="long_comment{{ $value->id }}" style="display: none;">
|
||||
{!! json_encode($value->new_values) !!}<br />
|
||||
<a class="read_more" style="color : #0099CC;"
|
||||
onclick="hide('long_comment{{ $value->id }}');show('short_comment{{ $value->id }}');">{{
|
||||
__('patient_episode.read_less') }}</a>
|
||||
</div>
|
||||
</td>
|
||||
@else
|
||||
<td></td>
|
||||
@endif
|
||||
{{-- <td class="td-truncate">{{ $audit->user_agent }}</td> --}}
|
||||
<td>{{ $value->ip_address }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<i style="font-size: 0.8em; float: left">© {{ date('Y') }} Stre@mline</i>
|
||||
</div>
|
||||
<div class="col">
|
||||
<i style="float: right">Printed On {{ date(" d M Y h:ia") }} By {{ auth()->user()->first_name }} {{
|
||||
auth()->user()->last_name }}</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user