misc
This commit is contained in:
parent
81087e408a
commit
8f7b820045
@ -27,7 +27,7 @@ private function loadViewer(Closure $callback)
|
|||||||
$url = $callback($study);
|
$url = $callback($study);
|
||||||
abort_if(blank($url), 404);
|
abort_if(blank($url), 404);
|
||||||
$title = Str::limit($study->getPatientDemographic(), 40);
|
$title = Str::limit($study->getPatientDemographic(), 40);
|
||||||
audit()->on($study)->did(Activity::Image_View)->log();
|
audit()->on($study)->did(Activity::Image_Download)->log();
|
||||||
|
|
||||||
return view('staff.studies.viewer', compact('url', 'title'));
|
return view('staff.studies.viewer', compact('url', 'title'));
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ enum Activity: int
|
|||||||
case Attachment_Delete = 114;
|
case Attachment_Delete = 114;
|
||||||
|
|
||||||
// image
|
// image
|
||||||
case Image_View = 150;
|
case Image_Download = 150;
|
||||||
|
|
||||||
// report
|
// report
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
"hashids/hashids": "^5.0",
|
"hashids/hashids": "^5.0",
|
||||||
"hisorange/browser-detect": "^5.0",
|
"hisorange/browser-detect": "^5.0",
|
||||||
"laravel/framework": "^11.31",
|
"laravel/framework": "^11.31",
|
||||||
|
"laravel/helpers": "*",
|
||||||
"laravel/jetstream": "^5.3",
|
"laravel/jetstream": "^5.3",
|
||||||
"laravel/sanctum": "^4.0",
|
"laravel/sanctum": "^4.0",
|
||||||
"laravel/socialite": "^5.16",
|
"laravel/socialite": "^5.16",
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<td>{{ $log->activity_name }}</td>
|
<td>{{ $log->activity_name }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span @include('_partials._tooltip', ['tip' => $log->notes])>
|
<span @include('_partials._tooltip', ['tip' => $log->notes])>
|
||||||
{{ \Illuminate\Support\Str::limit($log->notes, 20) }}
|
{{ str_limit($log->notes, 18) }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
Reference in New Issue
Block a user