Added license expiration date in "view asset"
I've added the expiration date of the license associated with an asset in hardware/ID#software, it is useful to see all of them on the asset page instead of having to open the license details page. I've also fixed a space formatting issue.
This commit is contained in:
parent
eaf6d56253
commit
9d16eacad5
1 changed files with 5 additions and 1 deletions
|
@ -988,6 +988,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-md-4">{{ trans('general.name') }}</th>
|
<th class="col-md-4">{{ trans('general.name') }}</th>
|
||||||
<th class="col-md-4"><span class="line"></span>{{ trans('admin/licenses/form.license_key') }}</th>
|
<th class="col-md-4"><span class="line"></span>{{ trans('admin/licenses/form.license_key') }}</th>
|
||||||
|
<th class="col-md-4"><span class="line"></span>{{ trans('admin/licenses/form.expiration') }}</th>
|
||||||
<th class="col-md-1"><span class="line"></span>{{ trans('table.actions') }}</th>
|
<th class="col-md-1"><span class="line"></span>{{ trans('table.actions') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -1003,6 +1004,9 @@
|
||||||
------------
|
------------
|
||||||
@endcan
|
@endcan
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ Helper::getFormattedDateObject($seat->license->expiration_date, 'date', false) }}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ route('licenses.checkin', $seat->id) }}" class="btn btn-sm bg-purple" data-tooltip="true">{{ trans('general.checkin') }}</a>
|
<a href="{{ route('licenses.checkin', $seat->id) }}" class="btn btn-sm bg-purple" data-tooltip="true">{{ trans('general.checkin') }}</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue