@if ($errors->any())
{{ trans('general.notification_error') }}:
{{ trans('general.notification_error_hint') }}
@endif
@if ($message = session()->get('status'))
{{ trans('general.notification_success') }}:
{{ $message }}
@endif
@if ($message = session()->get('success'))
{{ trans('general.notification_success') }}:
{{ $message }}
@include ('partials.confetti-js')
@endif
@if ($message = session()->get('success-unescaped'))
{{ trans('general.notification_success') }}:
{!! $message !!}
@include ('partials.confetti-js')
@endif
@if ($assets = session()->get('assets'))
@foreach ($assets as $asset)
{{ trans('general.asset_information') }}:
@isset ($asset->model->name)
- {{ trans('general.model_name') }} {{ $asset->model->name }}
@endisset
@isset ($asset->name)
- {{ trans('general.asset_name') }} {{ $asset->model->name }}
@endisset
- {{ trans('general.asset_tag') }} {{ $asset->asset_tag }}
@isset ($asset->notes)
- {{ trans('general.notes') }} {{ $asset->notes }}
@endisset
@endforeach
@endif
@if ($consumables = session()->get('consumables'))
@foreach ($consumables as $consumable)
{{ trans('general.consumable_information') }}:
- {{ trans('general.consumable_name') }} {{ $consumable->name }}
@endforeach
@endif
@if ($accessories = session()->get('accessories'))
@foreach ($accessories as $accessory)
{{ trans('general.accessory_information') }}:
- {{ trans('general.accessory_name') }} {{ $accessory->name }}
@endforeach
@endif
@if ($message = session()->get('error'))
{{ trans('general.error') }}:
{{ $message }}
@endif
@if ($messages = session()->get('error_messages'))
@foreach ($messages as $message)
{{ trans('general.notification_error') }}:
{{ $message }}
@endforeach
@endif
@if ($messages = session()->get('bulk_asset_errors'))
{{ trans('general.notification_error') }}:
{{ trans('general.notification_bulk_error_hint') }}
@foreach($messages as $key => $message)
@for ($x = 0; $x < count($message); $x++)
@endfor
@endforeach
@endif
@if ($message = session()->get('warning'))
{{ trans('general.notification_warning') }}:
{{ $message }}
@endif
@if ($message = session()->get('info'))
{{ trans('general.notification_info') }}:
{{ $message }}
@endif