diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php index 4f47055c27..7c99e8b739 100755 --- a/resources/views/licenses/view.blade.php +++ b/resources/views/licenses/view.blade.php @@ -175,11 +175,13 @@ @if ($license->supplier) +
{{ trans('general.supplier') }}
+ @if ($license->supplier->deleted_at=='') @can('view', \App\Models\Supplier::class) {{ $license->supplier->name }} @@ -219,11 +221,11 @@ @if ($license->supplier->zip) {{ $license->supplier->zip }} @endif - + @else + {{ trans('general.deleted') }} + @endif
- @else - {{ trans('general.deleted') }} @endif