mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
fixed accidentally forgot update a call to the old dynamicWarrantyUrl() method in hardware/view.blade.php
This commit is contained in:
parent
bf10fd0cf0
commit
3e564eaf19
|
@ -575,7 +575,7 @@
|
|||
{{ trans('admin/hardware/form.months') }}
|
||||
|
||||
@if (($asset->model) && ($asset->model->manufacturer) && ($asset->model->manufacturer->warranty_lookup_url!=''))
|
||||
<a href="{{ $asset->present()->dynamicWarrantyUrl() }}" target="_blank">
|
||||
<a href="{{ $asset->present()->dynamicUrl($asset->model->manufacturer->warranty_lookup_url) }}" target="_blank">
|
||||
<i class="fa fa-external-link" aria-hidden="true"><span class="sr-only">{{ trans('admin/hardware/general.mfg_warranty_lookup', ['manufacturer' => $asset->model->manufacturer->name]) }}</span></i>
|
||||
</a>
|
||||
@endif
|
||||
|
|
Loading…
Reference in a new issue