Fixed #15050 - erroneous deleted remark

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-08 22:13:07 +01:00
parent bf060d43a7
commit 09cc9b92d1

View file

@ -175,11 +175,13 @@
@if ($license->supplier)
<div class="row">
<div class="col-md-3">
<strong>{{ trans('general.supplier') }}</strong>
</div>
<div class="col-md-9">
@if ($license->supplier->deleted_at=='')
@can('view', \App\Models\Supplier::class)
<a href="{{ route('suppliers.show', $license->supplier->id) }}">
{{ $license->supplier->name }}
@ -219,11 +221,11 @@
@if ($license->supplier->zip)
{{ $license->supplier->zip }}
@endif
@else
{{ trans('general.deleted') }}
@endif
</div>
</div>
@else
{{ trans('general.deleted') }}
@endif