From c0282314a78b4fb083ebeb09aac0e1fd60b7b18c Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Fri, 24 Jan 2025 22:04:36 +0600 Subject: [PATCH] FIXed radiologist signature --- app/Services/Report/StampService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Services/Report/StampService.php b/app/Services/Report/StampService.php index f574ef8..5de7f4e 100644 --- a/app/Services/Report/StampService.php +++ b/app/Services/Report/StampService.php @@ -16,18 +16,18 @@ public function __construct(User|int|null $user = null) public function hasSignatureImage(): bool { - $path = $this->user->radiologistProfile?->signature_image_path; + $path = $this->user->signature_image_path; return $path !== null && Storage::disk('public')->exists($path); } public function signatureImagePath(): string { - return Storage::disk('public')->path($this->user->radiologistProfile?->signature_image_path); + return Storage::disk('public')->path($this->user->signature_image_path); } public function signatureImageUrl(): string { - return Storage::disk('public')->url($this->user->radiologistProfile?->signature_image_path); + return Storage::disk('public')->url($this->user->signature_image_path); } }