@extends('admin.layouts.app') @section('content')

{{ $activity->title }}

Detail activity information and content

@if (session('success'))

{{ session('success') }}

@endif

Basic Information

Activity details and settings.

{{ ucfirst($activity->status) }}
Title
{{ $activity->title }}
Description
{{ $activity->description }}
Featured Image
@if ($activity->featured_image) Featured image @else No featured image @endif
Featured Status
{{ $activity->is_featured ? 'Featured' : 'Not Featured' }}

Batch Kegiatan

Daftar batch yang tersedia untuk kegiatan ini.

Tambah Batch
@if ($activity->batches->count() > 0)
@foreach ($activity->batches as $batch) @endforeach
Batch Status Kuota Harga Pendaftaran Pelaksanaan Aksi
{{ $batch->nama_batch }}
Batch ke-{{ $batch->batch_ke }}
{{ ucfirst($batch->status) }} {{ $batch->kuota }} peserta Rp {{ number_format($batch->harga, 0, ',', '.') }}
{{ $batch->tanggal_mulai_pendaftaran->format('d M Y') }}
s/d {{ $batch->tanggal_selesai_pendaftaran->format('d M Y') }}
{{ $batch->tanggal_mulai_kegiatan->format('d M Y') }}
s/d {{ $batch->tanggal_selesai_kegiatan->format('d M Y') }}
Edit
@csrf @method('DELETE')
@else

Belum ada batch

Mulai dengan membuat batch baru untuk kegiatan ini.

@endif

Learning Paths

@if ($activity->learningPath->count() > 0)
@foreach ($activity->learningPath as $path)

{{ $path->title }}

{{ $path->description }}

@endforeach
@else

No learning paths available.

@endif

Highlights

@if ($activity->highlights->count() > 0)
@foreach ($activity->highlights as $highlight)

{{ $highlight->title }}

{{ $highlight->description }}

@endforeach
@else

No highlights available.

@endif

Testimonials

@if ($activity->testimonials->count() > 0)
@foreach ($activity->testimonials as $testimonial)

{{ $testimonial->name }}

{{ $testimonial->content }}

@endforeach
@else

No testimonials available.

@endif

Gallery

@if ($activity->gallery->count() > 0)
@foreach ($activity->gallery as $image)
{{ $image->caption }}
@endforeach
@else

No gallery images available.

@endif

FAQs

@if ($activity->faqs->count() > 0)
@foreach ($activity->faqs as $faq)

{{ $faq->question }}

{{ $faq->answer }}

@endforeach
@else

No FAQs available.

@endif
@endsection