From a6632a7b9ffd2a771dea235d3f95b47ff0ff76d5 Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 26 Sep 2021 03:58:53 -0700 Subject: [PATCH] Use new row striping on licenses detail page Signed-off-by: snipe --- resources/views/licenses/view.blade.php | 82 ++++++++++++------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php index de56c36289..2a0708136c 100755 --- a/resources/views/licenses/view.blade.php +++ b/resources/views/licenses/view.blade.php @@ -43,14 +43,14 @@
-
+
@if (!is_null($license->company))
-
+
{{ trans('general.company') }}
-
+
{{ $license->company->name }}
@@ -58,10 +58,10 @@ @if ($license->manufacturer)
-
+
{{ trans('admin/hardware/form.manufacturer') }}
-
+
@can('view', \App\Models\Manufacturer::class) {{ $license->manufacturer->name }} @@ -94,10 +94,10 @@ @if (!is_null($license->serial))
-
+
{{ trans('admin/licenses/form.license_key') }}
-
+
@can('viewKeys', $license) {!! nl2br(e($license->serial)) !!} @else @@ -110,10 +110,10 @@ @if ($license->category)
-
+
{{ trans('general.category') }}
-
@@ -122,10 +122,10 @@ @if ($license->license_name!='')
-
+
{{ trans('admin/licenses/form.to_name') }}
-
+
{{ $license->license_name }}
@@ -133,12 +133,12 @@ @if ($license->license_email!='')
-
+
{{ trans('admin/licenses/form.to_email') }}
-
+
{{ $license->license_email }}
@@ -147,12 +147,12 @@ @if ($license->supplier_id)
-
+
{{ trans('general.supplier') }}
-
+
{{ $license->supplier->name }} @@ -163,12 +163,12 @@ @if (isset($license->expiration_date))
-
+
{{ trans('admin/licenses/form.expiration') }}
-
+
{{ \App\Helpers\Helper::getFormattedDateObject($license->expiration_date, 'date', false) }}
@@ -176,12 +176,12 @@ @if ($license->termination_date)
-
+
{{ trans('admin/licenses/form.termination_date') }}
-
+
{{ \App\Helpers\Helper::getFormattedDateObject($license->termination_date, 'date', false) }}
@@ -190,12 +190,12 @@ @if ($license->depreciation)
-
+
{{ trans('admin/hardware/form.depreciation') }}
-
+
{{ $license->depreciation->name }} ({{ $license->depreciation->months }} {{ trans('admin/hardware/form.months') }} @@ -204,24 +204,24 @@
-
+
{{ trans('admin/hardware/form.depreciates_on') }}
-
+
{{ \App\Helpers\Helper::getFormattedDateObject($license->depreciated_date(), 'date', false) }}
-
+
{{ trans('admin/hardware/form.fully_depreciated') }}
-
+
@if ($license->time_until_depreciated()->y > 0) {{ $license->time_until_depreciated()->y }} {{ trans('admin/hardware/form.years') }}, @@ -234,12 +234,12 @@ @if ($license->purchase_order)
-
+
{{ trans('admin/licenses/form.purchase_order') }}
-
+
{{ $license->purchase_order }}
@@ -248,10 +248,10 @@ @if (isset($license->purchase_date))
-
+
{{ trans('general.purchase_date') }}
-
+
{{ \App\Helpers\Helper::getFormattedDateObject($license->purchase_date, 'date', false) }}
@@ -260,12 +260,12 @@ @if ($license->purchase_cost > 0)
-
+
{{ trans('general.purchase_cost') }}
-
+
{{ $snipeSettings->default_currency }} {{ \App\Helpers\Helper::formatCurrencyOutput($license->purchase_cost) }}
@@ -274,12 +274,12 @@ @if ($license->order_number)
-
+
{{ trans('general.order_number') }}
-
+
{{ $license->order_number }}
@@ -287,12 +287,12 @@ @if (($license->seats) && ($license->seats) > 0)
-
+
{{ trans('admin/licenses/form.seats') }}
-
+
{{ $license->seats }}
@@ -301,12 +301,12 @@
-
+
{{ trans('admin/licenses/form.reassignable') }}
-
+
{{ $license->reassignable ? 'Yes' : 'No' }}
@@ -314,12 +314,12 @@ @if ($license->notes)
-
+
{{ trans('general.notes') }}
-
+
{!! nl2br(e($license->notes)) !!}
@@ -391,8 +391,8 @@ Icon - {{ trans('general.file_name') }} - {{ trans('general.notes') }} + {{ trans('general.file_name') }} + {{ trans('general.notes') }} {{ trans('general.created_at') }} {{ trans('general.image') }} Download