mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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,12 +221,12 @@
|
||||||
@if ($license->supplier->zip)
|
@if ($license->supplier->zip)
|
||||||
{{ $license->supplier->zip }}
|
{{ $license->supplier->zip }}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@else
|
@else
|
||||||
{{ trans('general.deleted') }}
|
{{ trans('general.deleted') }}
|
||||||
@endif
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if (isset($license->expiration_date))
|
@if (isset($license->expiration_date))
|
||||||
|
|
Loading…
Reference in a new issue