minor fixes

This commit is contained in:
Dr Masroor Ehsan 2025-01-11 23:28:50 +06:00
parent 5cbbe38ae8
commit 832948984a
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public function create()
{
abort_unless(me()->may([Permission::ReportEdit, Permission::ReportDictate, Permission::ReportApprove]), 403);
$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()) {
return view('content.pages.notice', [
'color' => 'warning',
@ -85,7 +85,7 @@ public function create()
if (! $study->canObtainLock()) {
return view('content.pages.notice', [
'color' => 'warning',
'color' => 'danger',
'title' => 'Study Locked',
'heading' => 'Study Locked',
'message' => 'Study is locked by another user.',

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/44.1.0/ckeditor5.css" crossorigin>
<link rel="stylesheet" href="{{ asset('ck.css') }}">
</head>
<body @if ($close) onload="window.close()" @endif>
<body>
<div class="py-4 px-12">
<table class="table table-sm table-bordered">
<tr>