From da1c1dbdd9316d12a37fce98187247358ff60941 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 2 Aug 2022 19:19:08 -0700 Subject: [PATCH] Added warning icon Signed-off-by: snipe --- resources/views/hardware/view.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index d08b9e562e..bcc862990e 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -574,7 +574,7 @@ @if ($asset->warranty_months) -
+
{{ trans('admin/hardware/form.warranty') }} @@ -588,13 +588,15 @@
-
+
{{ trans('admin/hardware/form.warranty_expires') }} + {!! $asset->present()->warranty_expires() < date("Y-m-d") ? '' : '' !!}
+ {{ Helper::getFormattedDateObject($asset->present()->warranty_expires(), 'date', false) }} - {{ Carbon::parse($asset->present()->warranty_expires())->diffForHumans() }}