@extends('backend.amainlayout') @section('title', 'RERF-Admin') @section('maincontrol') @if (session()->has('user'))
@if (Session::has('msg'))

{{ session('msg') }}

@endif
@foreach ($admissionpopuplist as $lead) @endforeach
Date Name Phone No. Department
{{ $lead->created_at->format('d-m-Y') }} {{ $lead->name }} {{ $lead->phone }} {{ $lead->course }}
@endif @endsection