diff --git a/app/Models/SafetyAndPrivacy.php b/app/Models/SafetyAndPrivacy.php index c75eaefc..051623f8 100644 --- a/app/Models/SafetyAndPrivacy.php +++ b/app/Models/SafetyAndPrivacy.php @@ -95,10 +95,28 @@ class SafetyAndPrivacy extends Model protected function actionPicture(): Attribute { return Attribute::make( - get: fn($value) => $value == null ? null : - (filter_var($value, FILTER_VALIDATE_URL) - ? $value - : Storage::disk('public')->url($value)) + get: fn($value) => $value == null ? null : Storage::disk('public')->url($value) + ); + } + + protected function recognizePicture2(): Attribute + { + return Attribute::make( + get: fn($value) => $value == null ? null : Storage::disk('public')->url($value) + ); + } + + protected function evidencePicture(): Attribute + { + return Attribute::make( + get: fn($value) => $value == null ? null : Storage::disk('public')->url($value) + ); + } + + protected function finishPicture(): Attribute + { + return Attribute::make( + get: fn($value) => $value == null ? null : Storage::disk('public')->url($value) ); } }