@extends('adminlte::page') @section('title', 'Users') @section('content') Users Home Users Sales Managers Account Executives @php $tables = ['user'=>'user-table', 'vendor' => 'vendor-table']; @endphp @foreach ($tables as $id => $table) Id @if($id == 'vendor') Account Executive Name @else Sales Manager Name @endif @endforeach @endsection @section('js') @endsection