adds asset age to asset view

This commit is contained in:
Godfrey M 2022-11-28 10:45:58 -08:00
parent da0efaa278
commit 078e7281cd

View file

@ -495,6 +495,9 @@
</div>
<div class="col-md-6">
{{ Helper::getFormattedDateObject($asset->purchase_date, 'date', false) }}
-
{{ Carbon::parse($asset->purchase_date)->diff(Carbon::now())->format('%y years, %m months and %d days')}}
</div>
</div>
@endif