Skip to content

A free open source IT asset/license management system

Fixed #18956 - hide well if no matching graphs are present

snipef57d2608c565
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index 4f95e22a4c..02335bdafb 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -240,7 +240,7 @@
@endif
- @if($asset->purchase_date || $asset->asset_eol_date || $asset->depreciated_date() || $asset->warranty_expires)
+ @if(($asset->purchase_date && $asset->asset_eol_date) || $asset->depreciated_date() || $asset->warranty_expires)
<x-well class="well-sm">
@if($asset->purchase_date && $asset->asset_eol_date)
<x-progressbar use_well="false" columns="12" text="{{ trans('general.device_eol') }}" :percent="$asset->eolProgressPercent()">