- @endif
+ @endif
- @if ($license->license_email!='')
-
-
-
- {{ trans('admin/licenses/form.to_email') }}
-
+ @if ($license->license_email!='')
+
+
+
+ {{ trans('admin/licenses/form.to_email') }}
+
+
+
+ {{ $license->license_email }}
+
-
- {{ $license->license_email }}
-
-
- @endif
+ @endif
- @if ($license->supplier)
+ @if ($license->supplier)
- @endif
-
-
- @if (isset($license->expiration_date))
-
-
-
- {{ trans('admin/licenses/form.expiration') }}
-
-
-
- {{ Helper::getFormattedDateObject($license->expiration_date, 'date', false) }}
-
-
- @endif
-
- @if ($license->termination_date)
-
-
-
- {{ trans('admin/licenses/form.termination_date') }}
-
-
-
- {{ Helper::getFormattedDateObject($license->termination_date, 'date', false) }}
-
-
- @endif
-
-
- @if ($license->depreciation)
-
-
-
- {{ trans('admin/hardware/form.depreciation') }}
-
-
-
- {{ $license->depreciation->name }}
- ({{ $license->depreciation->months }}
- {{ trans('admin/hardware/form.months') }}
- )
-
-
-
-
-
-
- {{ trans('admin/hardware/form.depreciates_on') }}
-
-
-
- {{ Helper::getFormattedDateObject($license->depreciated_date(), 'date', false) }}
-
-
-
-
-
-
-
- {{ trans('admin/hardware/form.fully_depreciated') }}
-
-
-
- @if ($license->time_until_depreciated())
- @if ($license->time_until_depreciated()->y > 0)
- {{ $license->time_until_depreciated()->y }}
- {{ trans('admin/hardware/form.years') }},
- @endif
- {{ $license->time_until_depreciated()->m }}
- {{ trans('admin/hardware/form.months') }}
- @endif
-
-
- @endif
-
- @if ($license->purchase_order)
-
-
-
- {{ trans('admin/licenses/form.purchase_order') }}
-
-
-
- {{ $license->purchase_order }}
-
-
@endif
- @if (isset($license->purchase_date))
-
-
- {{ trans('general.purchase_date') }}
-
-
- {{ Helper::getFormattedDateObject($license->purchase_date, 'date', false) }}
+ @if (isset($license->expiration_date))
+
+
+
+ {{ trans('admin/licenses/form.expiration') }}
+
+
+
+ {{ Helper::getFormattedDateObject($license->expiration_date, 'date', false) }}
+
+
+ @endif
-
-
+ @if ($license->termination_date)
+
+
+
+ {{ trans('admin/licenses/form.termination_date') }}
+
+
+
+ {{ Helper::getFormattedDateObject($license->termination_date, 'date', false) }}
+
+
+ @endif
+
+
+ @if ($license->depreciation)
+
+
+
+ {{ trans('admin/hardware/form.depreciation') }}
+
+
+
+ {{ $license->depreciation->name }}
+ ({{ $license->depreciation->months }}
+ {{ trans('admin/hardware/form.months') }}
+ )
+
+
+
+
+
+
+ {{ trans('admin/hardware/form.depreciates_on') }}
+
+
+
+ {{ Helper::getFormattedDateObject($license->depreciated_date(), 'date', false) }}
+
+
+
+
+
+
+
+ {{ trans('admin/hardware/form.fully_depreciated') }}
+
+
+
+ @if ($license->time_until_depreciated())
+ @if ($license->time_until_depreciated()->y > 0)
+ {{ $license->time_until_depreciated()->y }}
+ {{ trans('admin/hardware/form.years') }},
+ @endif
+ {{ $license->time_until_depreciated()->m }}
+ {{ trans('admin/hardware/form.months') }}
+ @endif
+
+
+ @endif
+
+ @if ($license->purchase_order)
+
+
+
+ {{ trans('admin/licenses/form.purchase_order') }}
+
+
+
+ {{ $license->purchase_order }}
+
+
+ @endif
+
+
+ @if (isset($license->purchase_date))
+
+
+ {{ trans('general.purchase_date') }}
+
+
+ {{ Helper::getFormattedDateObject($license->purchase_date, 'date', false) }}
+
+
+
@endif
@if ($license->purchase_cost > 0)
-
-
-
- {{ trans('general.purchase_cost') }}
-
+
+
+
+ {{ trans('general.purchase_cost') }}
+
+
+
+ {{ $snipeSettings->default_currency }}
+ {{ Helper::formatCurrencyOutput($license->purchase_cost) }}
+
-
- {{ $snipeSettings->default_currency }}
- {{ Helper::formatCurrencyOutput($license->purchase_cost) }}
-
-
@endif
@if ($license->order_number)
-
-
-
- {{ trans('general.order_number') }}
-
+
+
+
+ {{ trans('general.order_number') }}
+
+
+
+ {{ $license->order_number }}
+
-
- {{ $license->order_number }}
-
-
@endif
@@ -369,27 +379,27 @@
@if (($license->seats) && ($license->seats) > 0)
-
-
-
- {{ trans('admin/licenses/form.seats') }}
-
-
-
+
+
+
+ {{ trans('admin/licenses/form.seats') }}
+
+
+
- @if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
-
+ @if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
+
{{ trans('general.warning') }}
- @endif
+ @endif
- {{ $license->seats }}
+ {{ $license->seats }}
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
@endif
+
-
@endif
@@ -406,204 +416,233 @@
@if ($license->notes)
-
-
-
- {{ trans('general.notes') }}
-
+
+
+
+ {{ trans('general.notes') }}
+
+
+
+ {!! nl2br(Helper::parseEscapedMarkedownInline($license->notes)) !!}
+
-
- {!! nl2br(Helper::parseEscapedMarkedownInline($license->notes)) !!}
-
-
@endif
-
+
+
+
+
-
-
-