Replies: 1 comment
-
I'm thinking this is the code I need to add to view-assets.blade.php that I found in hardware/view.blade.php
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add the 'Fully Depreciated' date of each device in the view-assets user view, so people can check on when their laptop/device has reached their depreciation date.
This is the view I want to modify:

Looks like the page is generated here, so I'm thinking I'd add this line:
<th class="col-md-3" data-switchable="true" data-visible="true">Fully Depreciated</th>
Then, further down, I'd add something like:
<td>{{ $asset->fully-depreciated }}</td>
Thought I don't really know what the correct syntax is here.
Could anyone please point me in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions