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);
$url = $callback($study);
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'));
}

View File

@ -20,18 +20,18 @@
<!-- laravel CRUD token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- Canonical SEO -->
<link rel="canonical" href="{{ config('variables.productPage') ? config('variables.productPage') : '' }}">
<link rel="canonical" href="">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{{ asset('assets/img/favicon/favicon.ico') }}" />
<!-- Include Styles -->
<!-- $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 -->
<!-- $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>
<body>

View File

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

View File

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