diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php
index d0623cf405..b8f6d7f684 100755
--- a/resources/views/licenses/view.blade.php
+++ b/resources/views/licenses/view.blade.php
@@ -463,16 +463,20 @@
@if ($file->filename)
- @if ( Helper::checkUploadIsImage($file->get_src('licenses')))
+ @if ((Storage::exists('private_uploads/licenses/'.$file->filename)) && ( Helper::checkUploadIsImage($file->get_src('licenses'))))
@endif
@endif
|
- {{ $file->filename }}
+ @if (Storage::exists('private_uploads/licenses/'.$file->filename))
+ {{ $file->filename }}
+ @else
+ {{ $file->filename }}
+ @endif
|
-
- {{ Helper::formatFilesizeUnits(Storage::size('private_uploads/licenses/'.$file->filename)) }}
+ |
+ {{ (Storage::exists('private_uploads/licenses/'.$file->filename)) ? Helper::formatFilesizeUnits(Storage::size('private_uploads/licenses/'.$file->filename)) : '' }}
|
|