@extends('layouts.master') @section('title', 'Scholarship Details') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.header-sub') {{--
{{ $scholarship->name_en }}

Application Period

{{ $scholarship->name_en }}
{{ $scholarship->name_th }}

{{ $scholarship->description }}

Start Date

{{ $scholarship->start_date ? date('d M Y', strtotime($scholarship->start_date)) : '-' }} - {{ $scholarship->end_date ? date('d M Y', strtotime($scholarship->end_date)) : '-' }}

Status

{{ $scholarship->status == 1 ? 'Status' : 'Available' }}

Sponsor

{{ $scholarship->sponsor ?? 'No Sponsor' }}

Applicant Qualifications

-

@php $today = \Carbon\Carbon::today(); @endphp @if ($scholarship->end_date && $today->gt($scholarship->end_date)) @else @endif
--}}

Scholarship Information

{{ $scholarship->name_en }} @if ($scholarship->shortname) ({{ $scholarship->shortname }}) @endif

{{ $scholarship->name_en }}


{{-- description ใต้รูป --}} @if (!empty($scholarship->description))
About this scholarship

{!!nl2br(e($scholarship->description))!!}

@endif

Application Period

{{ date('d M Y', strtotime($scholarship->start_date)) }} - {{ date('d M Y', strtotime($scholarship->end_date)) }}

Status

{{ strtoupper($scholarship->status) }}

Scholarship Details

{{ $scholarship->details ?? 'No details available.' }}

{{--

Applicant Qualifications

--}}

File Attachments

Download PDF

@php $today = \Carbon\Carbon::today(); $isExpired = $scholarship->end_date && $today->gt($scholarship->end_date); @endphp
@if ($isExpired || $scholarship->status !== 'open') @else Apply Now @endif
@include('layouts.footer') @endsection