Skip to content

Commit 1cf3c74

Browse files
authored
Merge pull request #17979 from akemidx/term-date-on-license-report
Fixed #17977: Term date on license report
2 parents 16b57b9 + 71644c1 commit 1cf3c74

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

resources/views/reports/licenses.blade.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class="table table-striped snipe-table"
3131
<th class="col-sm-1">{{ trans('admin/licenses/form.seats') }}</th>
3232
<th class="col-sm-1">{{ trans('admin/licenses/form.remaining_seats') }}</th>
3333
<th class="col-sm-1">{{ trans('admin/licenses/form.expiration') }}</th>
34+
<th class="col-sm-1">{{ trans('admin/licenses/form.termination_date') }}</th>
3435
<th class="col-sm-1">{{ trans('general.purchase_date') }}</th>
3536
<th class="col-sm-1 text-right" class="col-sm-1">{{ trans('general.purchase_cost') }}</th>
3637
<th class="col-sm-1">{{ trans('general.depreciation') }}</th>
@@ -54,6 +55,12 @@ class="table table-striped snipe-table"
5455
<td>{{ $license->seats }}</td>
5556
<td>{{ $license->remaincount() }}</td>
5657
<td>{{ $license->expiration_date }}</td>
58+
<td>{{ $license->termination_date }}
59+
@if ($license->isTerminated())
60+
<span class="text-danger">
61+
<x-icon type="warning" class="text-warning" />
62+
</span>
63+
@endif</td>
5764
<td>{{ $license->purchase_date }}</td>
5865
<td class="text-right">
5966
{{ $snipeSettings->default_currency }}{{ Helper::formatCurrencyOutput($license->purchase_cost) }}

0 commit comments

Comments
 (0)