@extends('layouts.app') @section('title', 'Events and learning') @section('content')

Events and learning

Maarifa Camps, Tuyajenge Camps, Networking Nights, expos and international trade missions. Camps give a certificate and Malkia Points.

All @foreach(config('malkia.event_types') as $t) {{ $t }} @endforeach
@forelse($events as $event)
{{ $event->type }} @if($event->gives_certificate)Certificate@endif

{{ $event->name }}

{{ $event->starts_at->format('D d M Y, H:i') }} · {{ $event->venue ?: 'Venue to be announced' }}
@if($event->description)

{{ $event->description }}

@endif
Members: {{ $event->feeLabel($event->member_fee) }}@if($event->public_fee) · Non-members: {{ $event->feeLabel($event->public_fee) }}@endif
{{ $event->registrations_count }} registered{{ $event->capacity ? ' of '.$event->capacity : '' }}
@if(in_array($event->id, $registeredIds)) You are registered
@csrf @method('DELETE')
@elseif($event->capacity && $event->registrations_count >= $event->capacity) Fully booked @elseif($me)
@csrf
@else Sign in to register @endif
@empty
No upcoming events yet. Check back soon.
@endforelse
{{ $events->links() }} @if($events->total())

Event fees, where they apply, are paid at the venue.

@endif @endsection