In my Laravel-5.8, I have this code:
Controller
public function index() { $userCompany = Auth::user()->company_id; $leaverequests = HrLe