@extends('layouts.public') @section('title', 'Gestion des billets - ' . $event->title) @section('content')
{{ $event->title }}
{{ session('success') }}
{{ session('error') }}
Type de billet | Prix | Disponibilité | Ventes | Statut | Actions |
---|---|---|---|---|---|
{{ $ticketType->name }}
@if ($ticketType->description)
{{ Str::limit($ticketType->description, 60) }}
@endif
|
@if ($ticketType->price > 0)
{{ number_format($ticketType->price) }} FCFA
@else
Gratuit
@endif
|
@if ($ticketType->quantity)
{{ $ticketType->remainingQuantity() ?? 0 }}
/ {{ $ticketType->quantity }}
@php $percentage = $ticketType->quantity > 0 ? ($ticketType->sold / $ticketType->quantity) * 100 : 0; @endphp
@else
Illimité
@endif
|
{{ $ticketType->sold }}
@if ($ticketType->sold > 0)
{{ number_format($ticketType->sold * $ticketType->price) }} FCFA
@endif
|
@if ($ticketType->is_active) Actif @else Inactif @endif |
Commencez par créer les différents types de billets pour votre événement.