mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Merge pull request #14325 from snipe/fixes/RB-17890
Check for valid supplier in license view
This commit is contained in:
commit
8cd0a90ecd
|
@ -182,9 +182,13 @@
|
|||
</strong>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="{{ route('suppliers.show', $license->supplier_id) }}">
|
||||
{{ $license->supplier->name }}
|
||||
</a>
|
||||
@if ($license->supplier)
|
||||
<a href="{{ route('suppliers.show', $license->supplier_id) }}">
|
||||
{{ $license->supplier->name }}
|
||||
</a>
|
||||
@else
|
||||
{{ trans('general.deleted') }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
|
Loading…
Reference in a new issue