2016-03-25 01:18:05 -07:00
|
|
|
@if ($errors->any())
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert-danger fade in">
|
2016-03-25 01:18:05 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_error') }}:</strong>
|
2022-01-06 03:35:37 -08:00
|
|
|
{{ trans('general.notification_error_hint') }}
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@endif
|
|
|
|
|
2016-05-20 00:25:45 -07:00
|
|
|
|
|
|
|
@if ($message = Session::get('status'))
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert-success fade in">
|
2016-05-20 00:25:45 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-check faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_success') }}: </strong>
|
2016-05-20 00:25:45 -07:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
@if ($message = Session::get('success'))
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert-success fade in">
|
2016-03-25 01:18:05 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-check faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_success') }}: </strong>
|
2016-03-25 01:18:05 -07:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2019-05-23 19:39:30 -07:00
|
|
|
|
|
|
|
@if ($assets = Session::get('assets'))
|
|
|
|
@foreach ($assets as $asset)
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="alert alert-info fade in">
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-info-circle faa-pulse animated"></i>
|
2023-10-24 09:02:16 -07:00
|
|
|
<strong>{{ trans('general.asset_information') }}:</strong>
|
2019-05-23 19:39:30 -07:00
|
|
|
<ul>
|
|
|
|
@isset ($asset->model->name)
|
2022-01-06 03:35:37 -08:00
|
|
|
<li><b>{{ trans('general.model_name') }} </b> {{ $asset->model->name }}</li>
|
2019-05-23 19:39:30 -07:00
|
|
|
@endisset
|
|
|
|
@isset ($asset->name)
|
2022-01-06 03:35:37 -08:00
|
|
|
<li><b>{{ trans('general.asset_name') }} </b> {{ $asset->model->name }}</li>
|
2019-05-23 19:39:30 -07:00
|
|
|
@endisset
|
2022-01-06 03:35:37 -08:00
|
|
|
<li><b>{{ trans('general.asset_tag') }}</b> {{ $asset->asset_tag }}</li>
|
2022-08-31 04:07:05 -07:00
|
|
|
@isset ($asset->notes)
|
|
|
|
<li><b>{{ trans('general.notes') }}</b> {{ $asset->notes }}</li>
|
|
|
|
@endisset
|
2019-05-23 19:39:30 -07:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@if ($consumables = Session::get('consumables'))
|
|
|
|
@foreach ($consumables as $consumable)
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="alert alert-info fade in">
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-info-circle faa-pulse animated"></i>
|
2023-10-24 09:02:16 -07:00
|
|
|
<strong>{{ trans('general.consumable_information') }}: </strong>
|
2022-01-06 03:35:37 -08:00
|
|
|
<ul><li><b>{{ trans('general.consumable_name') }}</b> {{ $consumable->name }}</li></ul>
|
2019-05-23 19:39:30 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@if ($accessories = Session::get('accessories'))
|
|
|
|
@foreach ($accessories as $accessory)
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="alert alert-info fade in">
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-info-circle faa-pulse animated"></i>
|
2023-10-24 09:02:16 -07:00
|
|
|
<strong>{{ trans('general.accessory_information') }}:</strong>
|
2022-01-06 03:35:37 -08:00
|
|
|
<ul><li><b>{{ trans('general.accessory_name') }}</b> {{ $accessory->name }}</li></ul>
|
2019-05-23 19:39:30 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
@if ($message = Session::get('error'))
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert alert-danger fade in">
|
2016-03-25 01:18:05 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2023-10-24 09:02:16 -07:00
|
|
|
<strong>{{ trans('general.error') }}: </strong>
|
2016-03-25 01:18:05 -07:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2019-05-23 19:39:30 -07:00
|
|
|
|
2018-11-13 09:33:32 -08:00
|
|
|
@if ($messages = Session::get('error_messages'))
|
|
|
|
@foreach ($messages as $message)
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="alert alert alert-danger fade in">
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2023-10-24 09:02:16 -07:00
|
|
|
<strong>{{ trans('general.notification_error') }}: </strong>
|
2018-11-13 09:33:32 -08:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
|
2019-05-23 19:39:30 -07:00
|
|
|
|
2023-10-25 18:36:18 -07:00
|
|
|
@if ($messages = Session::get('bulk_asset_errors'))
|
2023-05-03 12:49:31 -07:00
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="alert alert alert-danger fade in">
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
|
|
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_error') }}: </strong>
|
2023-06-26 14:37:06 -07:00
|
|
|
{{ trans('general.notification_bulk_error_hint') }}
|
2023-10-25 18:36:18 -07:00
|
|
|
@foreach($messages as $key => $message)
|
|
|
|
@for ($x = 0; $x < count($message); $x++)
|
2023-06-26 18:22:27 -07:00
|
|
|
<ul>
|
2023-10-25 18:36:18 -07:00
|
|
|
<li>{{ $message[$x] }}</li>
|
|
|
|
</ul>
|
|
|
|
@endfor
|
2023-05-03 12:49:31 -07:00
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-26 12:56:07 -07:00
|
|
|
@endif
|
2023-05-03 12:49:31 -07:00
|
|
|
|
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
@if ($message = Session::get('warning'))
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert-warning fade in">
|
2016-03-25 01:18:05 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-24 07:21:30 -07:00
|
|
|
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_warning') }}: </strong>
|
2016-03-25 01:18:05 -07:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2019-05-23 19:39:30 -07:00
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
@if ($message = Session::get('info'))
|
|
|
|
<div class="col-md-12">
|
2017-11-08 03:13:18 -08:00
|
|
|
<div class="alert alert-info fade in">
|
2016-03-25 01:18:05 -07:00
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
2021-09-26 01:11:08 -07:00
|
|
|
<i class="fas fa-info-circle faa-pulse animated"></i>
|
2023-09-14 13:20:21 -07:00
|
|
|
<strong>{{ trans('general.notification_info') }}: </strong>
|
2016-03-25 01:18:05 -07:00
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|