@php use App\Enums\AvailabilityType;use App\Enums\TimeSlotType; @endphp @extends('layouts.app') @section('title', "Seva - $seva->name") @section('content')
@if(!empty($seva->image_url)) {{ $seva->name ?? 'Seva' }} @else
@endif

{{ $seva->name ?? 'Seva' }}

{{ number_format($seva->price ?? 0, 2) }} per slot

Book Your Seva

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if($seva->availability_type === AvailabilityType::DONATION) @endif
@if($seva->availability_type !== AvailabilityType::DONATION)
@if($seva->availability_type === AvailabilityType::DAILY) @else @endif
@if($seva->time_slot_type === TimeSlotType::TIME_SLOTS)
@endif
@endif

{{ $seva->description ?? 'Seva description' }}

@push('scripts') @endpush @endsection