Added min amt to license blade

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-02-28 11:09:07 +00:00
parent a0423a9cc3
commit b5603fbfe9

View file

@ -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>