mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 19:51:30 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
@php
|
||||
$hospital_information = App::make('hospital_information');
|
||||
@endphp
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<div class="white-box" style="height: 100px; padding-top: 5px; background: #d8d8d8;">
|
||||
<a href="{{ $hospital_information->website }}" title="{{ $hospital_information->name }}">
|
||||
<img style="margin: auto; height: 83px;" src="{{ asset($hospital_information->logo) }}" alt="Hospital Logo">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<div class="white-box" style="height: 100px; padding-top: 5px; background: #d8d8d8;">
|
||||
<h4><a href="{{ url('http://www.streamlinehealth.org') }}" style="color: green;"><strong>{{ $hospital_information->app_name }}</strong></a></h4>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3"></div>
|
||||
|
||||
<div class="col-sm-3">
|
||||
|
||||
<div class="white-box" style="height: 100px; padding-top: 5px; background: #d8d8d8;">
|
||||
<h5 style="color: green">{{ ucwords(Auth::user()->first_name) . ' ' . ucwords(Auth::user()->last_name) }}</h5>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
@if (session()->has('patient_id'))
|
||||
<a style="background: yellow" class="btn btn-sm" href="/patient_episodes/">{{ __('layout.patient_home') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@if (session()->has('patient_id'))
|
||||
<a style="background: #b6895e; color: white; text-shadow: none;" class="btn btn-sm" href="/patient_finance/home">{{ __('layout.finance_home') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
@@ -3,13 +3,13 @@
|
||||
@endphp
|
||||
|
||||
@if(is_null($hospital_info->pdf_print_header))
|
||||
<img style="max-width: 300px; max-height: 140px;" src="{{ public_path($hospital_info->logo) }}" class="mx-auto d-block mx-3" alt="Responsive image">
|
||||
<img style="max-width: 300px; max-height: 140px;" src="{{ asset($hospital_info->logo) }}" class="@if(isset($isDom) && $isDom) center @else mx-auto d-block mx-3 @endif" alt="Responsive image">
|
||||
<br>
|
||||
<p class="h6 text-center mt-0 font-weight-bold">
|
||||
{{ $hospital_info->name . ' | ' . $hospital_info->phone_number . ' | ' . $hospital_info->email . ' | ' . $hospital_info->address . ' ' . $hospital_info->country }}
|
||||
</p>
|
||||
@else
|
||||
<img style="max-height: 150px;" src="{{ public_path($hospital_info->pdf_print_header) }}" class="mx-auto d-block mx-3" alt="Responsive image">
|
||||
<img style="max-height: 150px;" src="{{ asset($hospital_info->pdf_print_header) }}" class="@if(isset($isDom) && $isDom) center @else mx-auto d-block mx-3 @endif" alt="Responsive image">
|
||||
@endif
|
||||
|
||||
<hr>
|
||||
@@ -11,7 +11,8 @@
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('uploads/streamline/color/streamline_icon-02.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16"
|
||||
href="{{ asset('uploads/streamline/color/streamline_icon-02.png') }}">
|
||||
<title>{{ config('app.name', 'Streamline') }}</title>
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="{{ asset('elite/bootstrap/dist/css/bootstrap.min.css') }}" rel="stylesheet">
|
||||
@@ -28,7 +29,7 @@
|
||||
<link href="{{ asset('css/streamline-custom.css') }}" id="theme" rel="stylesheet">
|
||||
|
||||
<style type="text/css">
|
||||
body{
|
||||
body {
|
||||
font-size: 13px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
@@ -46,28 +47,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--Start of Tawk.to Script-->
|
||||
{{-- <script type="text/javascript">--}}
|
||||
{{-- var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date(); --}}
|
||||
{{-- (function(){--}}
|
||||
{{-- var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0]; --}}
|
||||
{{-- s1.async = true; --}}
|
||||
{{-- s1.src = '{{ asset('enbedtalk / default.js') }}'; --}}
|
||||
{{-- s1.charset = 'UTF-8'; --}}
|
||||
{{-- s1.setAttribute('crossorigin', '*'); --}}
|
||||
{{-- s0.parentNode.insertBefore(s1, s0); --}}
|
||||
{{-- })(); --}}
|
||||
{{--</script>--}}
|
||||
<!--End of Tawk.to Script-->
|
||||
|
||||
@stack('styles')
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -78,13 +58,16 @@
|
||||
<div id="wrapper">
|
||||
<!-- Top navigation -->
|
||||
@include('layouts.top')
|
||||
|
||||
|
||||
<!-- .Top navigation -->
|
||||
@if (session()->has('streamline_setup') == FALSE)
|
||||
@include('layouts.nav')
|
||||
@include('layouts.nav')
|
||||
@endif
|
||||
<!-- Page Content -->
|
||||
<div id="page-wrapper">
|
||||
<div class="container-fluid" style="background: #708090;">
|
||||
@include('general_settings.subscription_noti')
|
||||
{{-- <div class="container-fluid">--}}
|
||||
<!--row -->
|
||||
@yield('content')
|
||||
@@ -165,4 +148,5 @@
|
||||
@stack('scripts')
|
||||
<script src="{{ asset('elite/bower_components/styleswitcher/jQuery.style.switcher.js') }}"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
@php use Streamline\Enums\Roles; @endphp
|
||||
<!-- Left navbar-header -->
|
||||
<div class="navbar-default sidebar" role="navigation">
|
||||
<div class="sidebar-nav navbar-collapse slimscrollsidebar">
|
||||
<ul class="nav" id="side-menu">
|
||||
@@ -27,6 +25,12 @@
|
||||
<li><a href="{{ route('patients.index') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.view_patients') }}</a></li>
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('view-patient-cards'))
|
||||
<li><a href="{{ route('patients.patient_cards') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.view_patient_cards') }}</a></li>
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('patient-list'))
|
||||
<li><a href="{{ route('patients.follow_up') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.patient_appointments') }}</a></li>
|
||||
@@ -96,13 +100,9 @@
|
||||
|
||||
@if (Module::has('Investigations') &&
|
||||
Module::isEnabled('Investigations') &&
|
||||
(Auth::user()->can('investigations-incoming') ||
|
||||
Auth::user()->can('investigations-authenticate') ||
|
||||
Auth::user()->can('investigation-results-list') ||
|
||||
Auth::user()->can('investigation-results-alter') ||
|
||||
Auth::user()->can('investigations-historical-list') ||
|
||||
Auth::user()->can('find a donor') ||
|
||||
Auth::user()->can('lab-management')))
|
||||
(Auth::user()->can('investigations-incoming') || Auth::user()->can('investigations-authenticate') || Auth::user()->can('labs-stock-sheet') ||
|
||||
Auth::user()->can('investigation-results-list') || Auth::user()->can('investigation-results-alter') || Auth::user()->can('cancel-investigation-order') ||
|
||||
Auth::user()->can('investigations-historical-list') || Auth::user()->can('find a donor') || Auth::user()->can('lab-management')))
|
||||
<li><a href="javascript:void(0);" class="waves-effect"><i class="icon-docs p-r-10"></i>
|
||||
<span class="hide-menu "> Labs <span class="fa arrow"></span></span>
|
||||
</a>
|
||||
@@ -143,10 +143,7 @@
|
||||
<li><a href="{{ route('labs.index') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.labs_management') }}</a></li>
|
||||
@endif
|
||||
@if (Auth::user()->can('lab-management'))
|
||||
<li><a href="{{ route('labs.labs_stock_sheet') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.labs_stock_sheet') }}</a></li>
|
||||
@endif
|
||||
|
||||
@if (Module::has('Stores') && Module::isEnabled('Stores') && Auth::user()->can('requisition-for-lab-sundries'))
|
||||
<li><a href="{{ route('stores.lab_sundries') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.requisition_of_sundries') }}</a></li>
|
||||
@@ -228,6 +225,17 @@
|
||||
<li><a href="{{ route('radiology.index') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.radiologies_management') }}</a></li>
|
||||
@endif
|
||||
@if (Module::has('Stores') && Module::isEnabled('Stores') && Auth::user()->can('requisition-for-radiology-sundries'))
|
||||
<li><a href="{{ route('stores.radiology_sundries') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.requisition_of_sundries') }}</a></li>
|
||||
@endif
|
||||
@if (Module::has('Stores') && Module::isEnabled('Stores') && Auth::user()->can('view-radiology-sundries-stock-sheet'))
|
||||
<li><a href="{{ route('stores.radiology_sundries_stock_sheet') }}"><i
|
||||
class="fa fa-angle-right"></i>
|
||||
{{ __('layout.imaging_sundries_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('dentals-management'))
|
||||
<li><a href="{{ route('dentals.index') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.dentals_management') }}</a></li>
|
||||
@@ -251,14 +259,12 @@
|
||||
<ul class="nav nav-second-level">
|
||||
@if (is_incoming_prescriptions_feature_enabled())
|
||||
@if (Auth::user()->can('confirm-prescriptions'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.confirm_prescriptions') }}">{{ __('layout.confirm_prescriptions') }}</a>
|
||||
<li><a href="{{ route('pharmacy.confirm_prescriptions') }}">{{ __('layout.confirm_prescriptions') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
@if (Auth::user()->can('view-progressive-prescriptions'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.confirm_progressive_prescriptions') }}">{{ __('layout.progressive_treatments') }}</a>
|
||||
<li><a href="{{ route('pharmacy.confirm_progressive_prescriptions') }}">{{ __('layout.progressive_treatments') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-incoming-prescriptions'))
|
||||
@@ -267,102 +273,28 @@
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('pharmacy-ward-dispensing-per-chart'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.ward_dispensing_per_chart') }}">{{ __('layout.ward_dispensing_per_chart') }}</a>
|
||||
<li><a href="{{ route('pharmacy.ward_dispensing_per_chart') }}">{{ __('layout.ward_dispensing_per_chart') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('view-incoming-ward-dispensing-per-chart'))
|
||||
<li><a
|
||||
href="{{ url('incoming_ward_charts') }}">{{ __('layout.incoming_ward_charts') }}</a>
|
||||
<li><a href="{{ url('incoming_ward_charts') }}">{{ __('layout.incoming_ward_charts') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Module::has('WardManagement') && Module::isEnabled('WardManagement'))
|
||||
@if (Auth::user()->can('create-ward-item-request'))
|
||||
<li><a
|
||||
href="{{ route('ward_item_request.ward_item_requests') }}">{{ __('layout.ward_item_request') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('view-incoming-ward-item-requests'))
|
||||
<li><a
|
||||
href="{{ route('ward_item_request.incoming_ward_requests') }}">{{ __('layout.incoming_ward_item_request') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-stock-sheet'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.stock_sheet') }}">{{ __('layout.pharmacy_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-stock-sheet'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.sundries_stock_sheet') }}">{{ __('layout.sundries_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-stock-reconciliation'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.drugs_stock_reconciliation') }}">{{ __('layout.drugs_stock_reconciliation') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-stock-reconciliation-report'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.drugs_stock_reconciliation_report') }}">{{ __('layout.drugs_stock_reconciliation_report') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-sundries-stock-reconciliation'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.sundries_stock_reconciliation') }}">{{ __('layout.sundries_stock_reconciliation') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-sundries-stock-reconciliation-report'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.sundries_stock_reconciliation_report') }}">{{ __('layout.sundries_stock_reconciliation_report') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-drug-requisition'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.requisition_for_drugs') }}">{{ __('layout.requisition_for_items') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-saved-requisitions'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.select_temporary_requisition') }}">{{ __('layout.saved_requisitions') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('pharmacy-previous-requisitions'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.previous_requisitions') }}">{{ __('layout.previous_requisitions') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('view-pharmacy-dispensation-report'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.pharmacy_dispensation_report_drugs') }}">{{ __('layout.dispensation_report') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('cancel-prescription'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.view_prescriptions_to_cancel') }}">{{ __('layout.cancel_prescriptions') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('restore-cancelled-prescription'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.view_cancelled_prescriptions') }}">{{ __('layout.view_cancelled_prescriptions') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->can('restore-cancelled-prescription'))
|
||||
<li><a
|
||||
href="{{ route('pharmacy.view_cancelled_progressive_prescriptions') }}">{{ __('layout.view_cancelled_progressive_treatments') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if( Auth::user()->can('pharmacy-stock-sheet'))
|
||||
@if(Auth::user()->can('pharmacy-stock-sheet'))
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.stock_sheet') }}">{{ __('layout.pharmacy_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if( Auth::user()->can('pharmacy-stock-sheet'))
|
||||
@if(Auth::user()->can('pharmacy-stock-sheet'))
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.sundries_stock_sheet') }}">{{ __('layout.sundries_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if(Auth::user()->can('pharmacy-optical-stock-sheet'))
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.pharmacy_optical_stock_sheet') }}">{{ __('layout.optical_stock_sheet') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if( Auth::user()->can('pharmacy-stock-reconciliation'))
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.drugs_stock_reconciliation') }}">{{ __('layout.drugs_stock_reconciliation') }}</a>
|
||||
@@ -387,6 +319,9 @@
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.optical_stock_reconciliation') }}">{{ __('layout.optical_stock_reconciliation') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('pharmacy.opticals_stock_reconciliation_report') }}">{{ __('layout.optical_stock_reconciliation_report') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if( Auth::user()->can('pharmacy-drug-requisition'))
|
||||
<li>
|
||||
@@ -528,10 +463,7 @@
|
||||
<li><a href="{{ route('labs.index') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.labs_management') }}</a></li>
|
||||
@endif
|
||||
@if (Auth::user()->can('lab-management'))
|
||||
<li><a href="{{ route('labs.labs_stock_sheet') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.labs_stock_sheet') }}</a></li>
|
||||
@endif
|
||||
|
||||
@if (Module::has('Stores') && Module::isEnabled('Stores') && Auth::user()->can('requisition-for-lab-sundries'))
|
||||
<li><a href="{{ route('stores.lab_sundries') }}"><i class="fa fa-angle-right"></i>
|
||||
{{ __('layout.requisition_of_sundries') }}</a></li>
|
||||
@@ -664,8 +596,7 @@
|
||||
class="fa arrow"></span></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
@if (Auth::user()->can('view-patient-payment-methods'))
|
||||
<li><a
|
||||
href="/patient_payment_methods/index">{{ __('layout.patient_payment_methods') }}</a>
|
||||
<li><a href="/patient_payment_methods">{{ __('layout.patient_payment_methods') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@@ -1080,8 +1011,7 @@
|
||||
Auth::user()->can('role-list') ||
|
||||
Auth::user()->can('users-create') ||
|
||||
Auth::user()->can('users-list') ||
|
||||
Auth::user()->can('staff-payments-configuration') ||
|
||||
Auth::user()->hasRole(Roles::SUPER_ADMIN))
|
||||
Auth::user()->can('staff-payments-configuration'))
|
||||
<li><a href="javascript:void(0);" class="waves-effect"><i class="icon-wrench"></i>
|
||||
<span class="hide-menu "> {{ __('layout.settings') }} <span
|
||||
class="fa arrow"></span></span>
|
||||
@@ -1115,19 +1045,29 @@
|
||||
<li><a href="{{ route('roles.index') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.manage_roles') }}</a></li>
|
||||
@endif
|
||||
@if (Auth::user()->hasRole(Roles::SUPER_ADMIN->value))
|
||||
<li><a href="{{ route('general_settings.active_users_limit_settings') }}"><i
|
||||
class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.limit_number_of_active_users') }}</a></li>
|
||||
@endif
|
||||
@if (Auth::user()->hasRole(Roles::SUPER_ADMIN->value))
|
||||
<li><a href="{{ route('streamline_modules.activate') }}"><i
|
||||
class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.activate_streamline_modules') }}</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
@if (Auth::user()->hasRole('Super Admin'))
|
||||
<li>
|
||||
<a href="javascript:void(0);" class="waves-effect"><i class="icon-lock"></i>
|
||||
<span class="hide-menu "> {{ __('layout.super_settings') }} <span
|
||||
class="fa arrow"></span></span>
|
||||
</a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="{{ route('general_settings.active_users_limit_settings') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.limit_number_of_active_users') }}</a></li>
|
||||
<li><a href="{{ route('streamline_modules.activate') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.activate_streamline_modules') }}</a></li>
|
||||
<li> <a href="{{ route('subscriptions.track_subscriptions') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.subscription_tracking') }}</a></li>
|
||||
<li> <a href="{{ route('general_settings.integrated_payment') }}"><i class="fa fa-chevron-right"></i>
|
||||
{{ __('layout.integrated_payment_solutions') }}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
<li><a href="{{ route('logout') }}"
|
||||
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"
|
||||
|
||||
Reference in New Issue
Block a user