@extends('admin::layouts.plane') @section('page_heading') {{ $title }} @endsection @section('content') {{-- --}}

Teacher User Map

{{ Form::open(['method' => 'GET']) }} {{ csrf_field() }}
{{ Form::select('department', $departments, $department, ['placeholder' => '- Select Department -', 'class' => 'form-control', 'id' => 'department']) }}
{{ Form::submit('Submit', ['class' => 'btn btn-warning']) }}
{{ Form::close() }}
@foreach ($teacher_user_map as $teacher) @endforeach
Department Name| Emp ID| Designation User Name Password Action
{{ $departments[$teacher['dept_id']] ?? '' }} {{$teacher["is_hod"]?"HOD-":""}} {{ $teacher['title'] }} @php $showUpdate = $teacher['user_id'] ? true : false; @endphp
@stop