This commit is contained in:
Dr Masroor Ehsan 2025-01-04 10:08:34 +06:00
parent 19608adf66
commit 336d18181b
4 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,7 @@ private function loadViewer(\Closure $callback)
$study = Study::findOrFail($this->key); $study = Study::findOrFail($this->key);
$url = $callback($study); $url = $callback($study);
abort_if(blank($url), 404); abort_if(blank($url), 404);
$title = Str::limit($study->patient_name, 20) . ' | ' . config('app.name'); $title = Str::limit($study->patient_name, 20).' | '.config('app.name');
return view('staff.studies.viewer', compact('url', 'title')); return view('staff.studies.viewer', compact('url', 'title'));
} }

View File

@ -20,18 +20,18 @@
<!-- laravel CRUD token --> <!-- laravel CRUD token -->
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<!-- Canonical SEO --> <!-- Canonical SEO -->
<link rel="canonical" href="{{ config('variables.productPage') ? config('variables.productPage') : '' }}"> <link rel="canonical" href="">
<!-- Favicon --> <!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{{ asset('assets/img/favicon/favicon.ico') }}" /> <link rel="icon" type="image/x-icon" href="{{ asset('assets/img/favicon/favicon.ico') }}" />
<!-- Include Styles --> <!-- Include Styles -->
<!-- $isFront is used to append the front layout styles only on the front layout otherwise the variable will be blank --> <!-- $isFront is used to append the front layout styles only on the front layout otherwise the variable will be blank -->
@include('layouts/sections/styles' . $isFront) @include('layouts.sections.styles' . $isFront)
<!-- Include Scripts for customizer, helper, analytics, config --> <!-- Include Scripts for customizer, helper, analytics, config -->
<!-- $isFront is used to append the front layout scriptsIncludes only on the front layout otherwise the variable will be blank --> <!-- $isFront is used to append the front layout scriptsIncludes only on the front layout otherwise the variable will be blank -->
@include('layouts/sections/scriptsIncludes' . $isFront) @include('layouts.sections.scriptsIncludes' . $isFront)
</head> </head>
<body> <body>

View File

@ -5,7 +5,7 @@
@php @php
$configData = ThemeHelper::appClasses(); $configData = ThemeHelper::appClasses();
@endphp @endphp
@extends('layouts/commonMaster' ) @extends('layouts.commonMaster' )
@php @php
/* Display elements */ /* Display elements */

View File

@ -33,7 +33,6 @@
Route::get('/report-write/{id}', ReportWriteController::class)->name('report-write'); Route::get('/report-write/{id}', ReportWriteController::class)->name('report-write');
}); });
Route::group(['prefix' => 'viewer', 'as' => 'viewer.'], function () { Route::group(['prefix' => 'viewer', 'as' => 'viewer.'], function () {
Route::get('stone/{hashid}', [StudyViewerController::class, 'stone'])->name('stone'); Route::get('stone/{hashid}', [StudyViewerController::class, 'stone'])->name('stone');
Route::get('ohif/{hashid}', [StudyViewerController::class, 'ohif'])->name('ohif'); Route::get('ohif/{hashid}', [StudyViewerController::class, 'ohif'])->name('ohif');