mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 08:04:09 -08:00
Merge branch 'develop'
This commit is contained in:
commit
6d130326aa
|
@ -544,7 +544,13 @@
|
||||||
@foreach ($asset->assetmaintenances as $assetMaintenance)
|
@foreach ($asset->assetmaintenances as $assetMaintenance)
|
||||||
@if (is_null($assetMaintenance->deleted_at))
|
@if (is_null($assetMaintenance->deleted_at))
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ route('suppliers.show', $assetMaintenance->supplier_id) }}">{{ $assetMaintenance->supplier->name }}</a></td>
|
<td>
|
||||||
|
@if ($assetMaintenance->supplier)
|
||||||
|
<a href="{{ route('suppliers.show', $assetMaintenance->supplier_id) }}">{{ $assetMaintenance->supplier->name }}</a>
|
||||||
|
@else
|
||||||
|
(deleted supplier)
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
<td>{{ $assetMaintenance->title }}</td>
|
<td>{{ $assetMaintenance->title }}</td>
|
||||||
<td>{{ $assetMaintenance->asset_maintenance_type }}</td>
|
<td>{{ $assetMaintenance->asset_maintenance_type }}</td>
|
||||||
<td>{{ $assetMaintenance->start_date }}</td>
|
<td>{{ $assetMaintenance->start_date }}</td>
|
||||||
|
|
|
@ -200,7 +200,13 @@
|
||||||
@foreach ($supplier->asset_maintenances as $improvement)
|
@foreach ($supplier->asset_maintenances as $improvement)
|
||||||
@if (is_null($improvement->deleted_at))
|
@if (is_null($improvement->deleted_at))
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ route('hardware.show', $improvement->asset_id) }}">{{ $improvement->asset->name }}</a></td>
|
<td>
|
||||||
|
@if ($improvement->asset)
|
||||||
|
<a href="{{ route('hardware.show', $improvement->asset_id) }}">{{ $improvement->asset->name }}</a>
|
||||||
|
@else
|
||||||
|
(deleted asset)
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
<td>{{ $improvement->asset_maintenance_type }}</td>
|
<td>{{ $improvement->asset_maintenance_type }}</td>
|
||||||
<td>{{ $improvement->start_date }}</td>
|
<td>{{ $improvement->start_date }}</td>
|
||||||
<td>{{ $improvement->completion_date }}</td>
|
<td>{{ $improvement->completion_date }}</td>
|
||||||
|
|
Loading…
Reference in a new issue