@extends('layouts.master') @section('title', 'Student') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header')

Student

Student List
{{-- Import Black list --}} Import Student Add
@foreach ($students as $key => $person) {{-- @php // $future_year = $person->created_at; $future_year = \Carbon\Carbon::parse($person->created_at)->addYears(2)->format('Y-m-d'); echo $future_year; @endphp --}} {{-- _{{ \Carbon\Carbon::parse($future_year)->addYears(2)->format('Y-m-d') }} --}} @endforeach
No. Student ID Name Curriculum Degree Status ฺBlacklist Manage
{{ ++$key }} {{ $person->student_code }} {{ $person->student_firstname }} {{ $person->student_lastname }} {{-- {{ $person->student_curriculum }} --}} {{-- {{ convert_curriculum($person->student_curriculum, $curriculum) }} --}} @if ($person->curriculum == null) ไม่มีหลักสูตร @else {{ $person->curriculum->curriculum_shortname }} @endif @if ($person->student_degree == 'Bachelor') @elseif($person->student_degree == 'Master') @elseif($person->student_degree == 'Doctoral') @else @endif @if ($person->student_status == '1') @elseif($person->student_status == '2') @else @endif @if ($person->student_blacklist == 'Yes') @elseif ($person->student_blacklist == 'No') @endif {{-- --}}
@include('layouts.footer') @endsection