
    @if(Session::has('sucmessage'))
    <div class="row">
						<div class="col-sm-12 col-xl-12">
    <div class="alert alert-success alert-dismissible" role="alert">
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        <div class="alert-message">{{Session::get('sucmessage')}}</div>
    </div>
    </div>
    </div>
    @endif
    @if(Session::has('errmessage'))
    <div class="row">
						<div class="col-sm-12 col-xl-12">
    <div class="alert alert-danger alert-dismissible" role="alert">
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        <div class="alert-message">{{Session::get('errmessage')}}</div>
    </div>
     </div>
    </div>
    @endif
    
    @if($errors->any())
    @foreach ($errors->all() as $error)
        <div class="row">
						<div class="col-sm-12 col-xl-12">
    <div class="alert alert-danger alert-dismissible" role="alert">
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        <div class="alert-message">{{$error}}</div>
    </div>
     </div>
    </div>
    @endforeach
    @endif
    