@if(session('success') || session('alert-class') == 'alert-success')
@elseif(session('error') || session('alert-class') == 'alert-danger' || !empty($error))
@else
@endif
{{ session('success') || session('alert-class') == 'alert-success' ? __('Success!') : ( session('error') || session('alert-class') == 'alert-danger' || !empty($error) ? __('Error!') : __('Warning!') ) }}
{{
session()->has('message')
? session('message')
: (session()->has('success')
? session('success')
: (session()->has('error')
? session('error')
: session('status')
)
)
}}