mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -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>
|
||||
</div>
|
||||
<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 }}
|
||||
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
|
||||
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<strong>
|
||||
|
|
Loading…
Reference in a new issue