Fixed #9116 - incorrect parameter name sent to hardware.show in expected assets report

This commit is contained in:
snipe 2021-02-17 13:41:08 -08:00
parent 1ab349a63d
commit 9deb4204c8

View file

@ -10,7 +10,7 @@ The following {{ $assets->count() }} items are due to be checked in soon:
@php
$checkin = \App\Helpers\Helper::getFormattedDateObject($asset->expected_checkin, 'date');
@endphp
| [{{ $asset->present()->name }}]({{ route('hardware.show', ['assetId' => $asset->id]) }}) | [{{ $asset->assigned->present()->fullName }}]({{ route('users.show', ['user'=>$asset->assigned->id]) }}) | {{ $checkin['formatted'] }}
| [{{ $asset->present()->name }}]({{ route('hardware.show', ['hardware' => $asset->id]) }}) | [{{ $asset->assigned->present()->fullName }}]({{ route('users.show', ['user'=>$asset->assigned->id]) }}) | {{ $checkin['formatted'] }}
@endforeach
@endcomponent