@extends('admin/layouts/default') {{-- Page title --}} @section('title') User Management List @parent @stop @section('header_styles') @stop @section('content')

User Management

Employee Directory

@foreach (DB::table('employees')->get() as $emp) @endforeach
Email / ID Full Name Father Name Block Role Action
{{ $emp->user_id }} {{ $emp->name }} {{ $emp->father_name }} {{ $emp->block }} @php $role = DB::table('roles')->where('id', $emp->role_id)->first(); echo $role ? $role->name : 'N/A'; @endphp

Student Directory

Upload Students
@foreach (DB::table('students')->get() as $student) @endforeach
Student ID First Name Last Name Middle Name Batch College Department
{{ $student->id }} {{ $student->firstname }} {{ $student->lastname }} {{ $student->middlename }} {{ $student->batch }} {{ $student->college }} {{ $student->department }}
@stop @section('footer_scripts') @stop