mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added min amt to license blade
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a0423a9cc3
commit
b5603fbfe9
|
@ -337,13 +337,23 @@
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
|
|
||||||
|
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
|
||||||
|
<span data-tooltip="true" title="{{ trans('admin/licenses/general.below_threshold', ['remaining_count' => $license->remaincount(), 'min_amt' => $license->min_amt]) }}"><i class="fas fa-exclamation-triangle text-danger" aria-hidden="true"></i>
|
||||||
|
<span class="sr-only">{{ trans('general.warning') }}</span>
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
|
||||||
{{ $license->seats }}
|
{{ $license->seats }}
|
||||||
|
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
|
||||||
|
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<strong>
|
<strong>
|
||||||
|
|
Loading…
Reference in a new issue