@@ -47,7 +47,7 @@
@endif
-@if ($assets = Session::get('assets'))
+@if ($assets = session()->get('assets'))
@foreach ($assets as $asset)
@@ -62,9 +62,9 @@
{{ trans('general.asset_name') }} {{ $asset->model->name }}
@endisset
{{ trans('general.asset_tag') }} {{ $asset->asset_tag }}
- @isset ($asset->notes)
- {{ trans('general.notes') }} {{ $asset->notes }}
- @endisset
+ @isset ($asset->notes)
+ {{ trans('general.notes') }} {{ $asset->notes }}
+ @endisset
@@ -73,7 +73,7 @@
@endif
-@if ($consumables = Session::get('consumables'))
+@if ($consumables = session()->get('consumables'))
@foreach ($consumables as $consumable)
@@ -87,7 +87,7 @@
@endif
-@if ($accessories = Session::get('accessories'))
+@if ($accessories = session()->get('accessories'))
@foreach ($accessories as $accessory)
@@ -101,7 +101,7 @@
@endif
-@if ($message = Session::get('error'))
+@if ($message = session()->get('error'))
@@ -113,7 +113,7 @@
@endif
-@if ($messages = Session::get('error_messages'))
+@if ($messages = session()->get('error_messages'))
@foreach ($messages as $message)
@@ -127,7 +127,7 @@
@endif
-@if ($messages = Session::get('bulk_asset_errors'))
+@if ($messages = session()->get('bulk_asset_errors'))
@@ -146,7 +146,7 @@
@endif
-@if ($message = Session::get('warning'))
+@if ($message = session()->get('warning'))
@@ -158,7 +158,7 @@
@endif
-@if ($message = Session::get('info'))
+@if ($message = session()->get('info'))