minor fixes
This commit is contained in:
parent
5cbbe38ae8
commit
832948984a
@ -73,7 +73,7 @@ public function create()
|
|||||||
{
|
{
|
||||||
abort_unless(me()->may([Permission::ReportEdit, Permission::ReportDictate, Permission::ReportApprove]), 403);
|
abort_unless(me()->may([Permission::ReportEdit, Permission::ReportDictate, Permission::ReportApprove]), 403);
|
||||||
$this->decodeKeys();
|
$this->decodeKeys();
|
||||||
$study = Study::select(['id', 'patient_name', 'patient_id', 'patient_sex', 'patient_birthdate', 'study_description', 'report_status', 'study_status', 'dicomServer'])->findOrFail($this->key);
|
$study = Study::findOrFail($this->key);
|
||||||
if (! $study->canEditReport()) {
|
if (! $study->canEditReport()) {
|
||||||
return view('content.pages.notice', [
|
return view('content.pages.notice', [
|
||||||
'color' => 'warning',
|
'color' => 'warning',
|
||||||
@ -85,7 +85,7 @@ public function create()
|
|||||||
|
|
||||||
if (! $study->canObtainLock()) {
|
if (! $study->canObtainLock()) {
|
||||||
return view('content.pages.notice', [
|
return view('content.pages.notice', [
|
||||||
'color' => 'warning',
|
'color' => 'danger',
|
||||||
'title' => 'Study Locked',
|
'title' => 'Study Locked',
|
||||||
'heading' => 'Study Locked',
|
'heading' => 'Study Locked',
|
||||||
'message' => 'Study is locked by another user.',
|
'message' => 'Study is locked by another user.',
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/44.1.0/ckeditor5.css" crossorigin>
|
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/44.1.0/ckeditor5.css" crossorigin>
|
||||||
<link rel="stylesheet" href="{{ asset('ck.css') }}">
|
<link rel="stylesheet" href="{{ asset('ck.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body @if ($close) onload="window.close()" @endif>
|
<body>
|
||||||
<div class="py-4 px-12">
|
<div class="py-4 px-12">
|
||||||
<table class="table table-sm table-bordered">
|
<table class="table table-sm table-bordered">
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user