mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed #15050 - erroneous deleted remark
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bf060d43a7
commit
09cc9b92d1
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue