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() }}