@extends('library.admin.layouts.admin_design') @section('title') Student Information - School Library @endsection @section('content')

Student Approval Request

Add Student Name
@csrf

Student Approval

@foreach($data as $datas) {{-- --}} @endforeach
S.No Name Requested Date Status Action
{{$loop->index+1}} {{$datas->student_name}} {{$datas->created_at->diffForHumans()}} {{$datas->status}} @if($datas->status == 'pending') Approve | Reject @elseif($datas->status == 'approved') View @endif View
@endsection @section('scripts') @endsection