1. we need to create Model according to database table name (for if database table name "Students" then model name is "Student".

2. create Controller like  this

$data is variable name choose according to your choise and transaction::all() where transaction is name of model and all means to fetch all the data from database and 'transaction'=>$data where transaction is keyword choise according to choise 

public function views()
{
    $data=transaction::all();
    return view('Super-Admin.Arecord',['transaction'=>$data]);
}


3. make route  and don;t forget if form table url is "agent" and if your want to try to fetch all the data into database then for that route we must same url  like "agent".

 Route::get('/agent',[SuperAdminController::class,'agentrecord']);
 Route::get('/agent',[SuperAdminController::class,'views']);


4.after start @foreach[$transact as $transaction] where $transact is a keyword which we r define in the control .


  @foreach ($transaction as $transaction)
                                  <tr>
                                    <th scope="row">{{$transaction['id']}}</th>
                                    <td>{{$transaction['Date']}}</td>
                                    <td>{{$transaction['Send_Amount']}}</td>
                                    <td>{{$transaction['Rate']}}</td>
                                    <td>{{$transaction['R_M']}}</td>
                                    <td>{{$transaction['Control_Number']}}</td>
                                    <td>{{$transaction['Agent_Name']}}</td>
                                    <td>{{$transaction['Agent_Name']}}</td>
                                 
                                  </tr>
                                 
                              @endforeach