I would like to pass the two variables between two functions in one controller here is my code
Web.php file
Route::get(\'reports/export\',\'SchoolCont