git commit "implement flight management with search filter and sorting"
This commit is contained in:
@@ -9,3 +9,17 @@ if (!function_exists('getUserFullName')) {
|
||||
return $user->first_name . ' ' . $user->last_name;
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('getImageUrl')) {
|
||||
|
||||
function getImageUrl(?string $path): ?string
|
||||
{
|
||||
if (!$path) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return \Illuminate\Support\Facades\Storage::url($path);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user