mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Check for time until depreciated
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ec063b4af5
commit
8be44f9cf2
|
@ -290,12 +290,14 @@
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
|
@if ($license->time_until_depreciated())
|
||||||
@if ($license->time_until_depreciated()->y > 0)
|
@if ($license->time_until_depreciated()->y > 0)
|
||||||
{{ $license->time_until_depreciated()->y }}
|
{{ $license->time_until_depreciated()->y }}
|
||||||
{{ trans('admin/hardware/form.years') }},
|
{{ trans('admin/hardware/form.years') }},
|
||||||
@endif
|
@endif
|
||||||
{{ $license->time_until_depreciated()->m }}
|
{{ $license->time_until_depreciated()->m }}
|
||||||
{{ trans('admin/hardware/form.months') }}
|
{{ trans('admin/hardware/form.months') }}
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue