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); } }