@foreach($list as $reqlist) <tr id="tr-studentappeal-coursegrade"> <td id="td-studentappeal-coursegrade">{{$reqlist['transno']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['student_number']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['name']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['email']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['section']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['program']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['active_contact']}}</td> <td id="td-studentappeal-coursegrade">{{$reqlist['active_email']}}</td> <td id="td-studentappeal-coursegrade"><a href='evalstudap?id={{$reqlist['transno']}}'><input id="SA-CG-Evaluate" type="submit" value="Open" name="Open"></a></td> <td id="td-studentappeal-coursegrade"> <form action='accept' method='post'> @csrf <input id="SA-CG-Accept" type="submit" value="Accept" name='accept' value="{{ csrf_token() }}"> </form> <input id="SA-CG-Decline" type="submit" value="Decline" name='decline'></td> <td id="td-studentappeal-coursegrade"> <input id="start-consul" type="submit" name="View"></td> </tr> @endforeach
function show() { $data = studapforms::all(); return view('/studap/admin/reqlist-studentappeal', ['list' => $data]); } public function accept(Request $request){ $data = studapforms::all(); return view('/studap/admin/reqlist-studentappeal', ['list' => $data]); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)