mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
112 lines
5.8 KiB
PHP
Executable File
112 lines
5.8 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
<div class="row bg-title">
|
|
<div class="col-lg-8 col-md-4 col-sm-4 col-xs-12">
|
|
<h4 class="page-title">{{ __('home.dashboard') }}</h4>
|
|
<h4><font style="color: maroon; text-align: center;">
|
|
{{ __('home.confidentiality_warning') }}</font> -----
|
|
<b>{{ __('home.logout_warning') }}</b>
|
|
</h4>
|
|
</div>
|
|
<div class="col-lg-4 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ config('app.name') }}</a></li>
|
|
<li class="active">{{ __('home.dashboard') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<!--Flash messages at the top -->
|
|
@include('flash::message')
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="card-header box-title" style="border-radius: 10px 10px 0 0;">
|
|
<h3 class="box-title"><i class="fa fa-envelope-o"></i> {{ __('home.message_board') }}</h3>
|
|
</div>
|
|
|
|
<div class="white-box" style="background-color: #ffff99; border-radius: 0 0 10px 10px">
|
|
@foreach($messages as $message)
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<a href="{{ url('#') }}"><strong>{{ Carbon\Carbon::parse($message->created_at)->format('jS M Y h:ia') }}</strong></a><br/>
|
|
@if (file_exists(($message->photo)))
|
|
<img src="{{ asset($message->photo) }}" title="" alt="" width="200" height="200" align="right"/>
|
|
@endif
|
|
<font size='2'><?php echo $message->body; ?></font>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
@endforeach
|
|
|
|
<div class="row">
|
|
<div style="margin-left:auto; margin-right:0;">{{ $messages->links() }}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="white-box" style="border-radius: 5px;">
|
|
<div class="row">
|
|
@if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-create'))
|
|
<div class="col-md-2">
|
|
<a href="{{ route('patients.create') }}" class="btn btn-rounded btn-success btn-block"
|
|
style="text-align: left"><i class="fa fa-user"></i> {{ __('home.new_patient') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-list'))
|
|
<div class="col-md-2">
|
|
<a href="{{ route('patients.select') }}" class="btn btn-primary btn-rounded btn-block"
|
|
style="text-align: left"> <i class="fa fa-hand-pointer-o"></i> {{ __('home.select_patient') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if(Module::has('WardManagement') && Module::isEnabled('WardManagement') &&Auth::user()->can('ward-list'))
|
|
<div class="col-md-2">
|
|
<a href="{{ route('wards.select') }}" class="btn btn-primary btn-rounded btn-block"
|
|
style="text-align: left"><i class="fa fa-hand-pointer-o"></i>{{ __('home.select_ward') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-flow-monitoring'))
|
|
<div class="col-md-2">
|
|
<a href="{{ route('patient_flow_monitoring.index') }}" class="btn btn-rounded btn-primary btn-block"
|
|
style="text-align: left"><i class="fa fa-hand-pointer-o"></i> {{ __('home.select_clinic') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if(Module::has('Reports') && Module::isEnabled('Reports') &&Auth::user()->can('streamline-reports-list'))
|
|
<div class="col-md-2">
|
|
<a href="{{ url('reports')}}" class="btn btn-rounded btn-info btn-block"
|
|
style="text-align: left"><i class="fa fa-list-ul"></i> {{ __('home.reports') }}</a>
|
|
</div>
|
|
@endif
|
|
|
|
@if(Module::has('ClinicalData') && Module::isEnabled('ClinicalData'))
|
|
<div class="col-md-2">
|
|
<a href="{{ route('resources.index') }}" class="btn btn-info btn-rounded btn-block"
|
|
style="text-align: left"><i class="fa fa-file-o"></i> {{ __('home.hospital_resources') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
<div class="row">
|
|
<!-- <div class="col-sm-12">
|
|
<h4 style="color: maroon; text-align: center;">{{ __('home.confidentiality_warning') }}</h4>
|
|
<h5 style="color: black;" align="center"><b>{{ __('home.logout_warning') }}</b></h5>
|
|
</div> -->
|
|
<div class="col-sm-12">
|
|
<!--<img src="/uploads/streamline_images/child_with_phone.jpg" class="img-rounded"
|
|
style=" height: 250px; margin: auto;" alt="child with phone"/> -->
|
|
<div style="display: block;">
|
|
<img style="margin: auto;" src="/uploads/streamline_images/home_page_bottom.png" class="img-rounded img-responsive" alt="platinum party"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@include('general_settings.popup')
|
|
|
|
@endsection
|