mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Check for valid supplier in license view
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3271d020e9
commit
4a37632ef3
|
@ -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