mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -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)
|
@if ($license->supplier)
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<strong>{{ trans('general.supplier') }}</strong>
|
<strong>{{ trans('general.supplier') }}</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
|
@if ($license->supplier->deleted_at=='')
|
||||||
@can('view', \App\Models\Supplier::class)
|
@can('view', \App\Models\Supplier::class)
|
||||||
<a href="{{ route('suppliers.show', $license->supplier->id) }}">
|
<a href="{{ route('suppliers.show', $license->supplier->id) }}">
|
||||||
{{ $license->supplier->name }}
|
{{ $license->supplier->name }}
|
||||||
|
@ -219,11 +221,11 @@
|
||||||
@if ($license->supplier->zip)
|
@if ($license->supplier->zip)
|
||||||
{{ $license->supplier->zip }}
|
{{ $license->supplier->zip }}
|
||||||
@endif
|
@endif
|
||||||
|
@else
|
||||||
|
{{ trans('general.deleted') }}
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@else
|
|
||||||
{{ trans('general.deleted') }}
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue