@if( Session::get('permissions.user_type') == 'A' )
@if ($dataDetails->id !=null)
{{ $image_required = '' }}
@else
{{ $image_required = 'required' }}
@endif
@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(Session::has('alert-' . $msg))
{{ Session::get('alert-' . $msg) }}
@endif
@endforeach
@endif
@endsection