Skip to content

A free open source IT asset/license management system

Fixed [ch9336] - Removed time stamp in Depreciation report

snipe178ed82dc4d0
diff --git a/resources/views/reports/depreciation.blade.php b/resources/views/reports/depreciation.blade.php
index 63e61b218b..611a06887d 100644
--- a/resources/views/reports/depreciation.blade.php
+++ b/resources/views/reports/depreciation.blade.php
@@ -110,7 +110,9 @@
{{ $asset->defaultloc->name }}
@endif
</td>
- <td>{{ $asset->purchase_date }}</td>
+ <td>
+ {{ \Carbon\Carbon::parse($asset->purchase_date)->format('Y-m-d') }}
+ </td>
<td>
@if ($asset->model->eol) {{ $asset->present()->eol_date() }}