@extends('layouts.app') @section('title', 'Prix (Manager)') @section('content')

Prix

Gérez la tarification de l'hostel.

Ajouter un tarif
@if(session('success'))
{{ session('success') }}
@endif
@forelse($prices as $price) {{-- Nom de l'élément tarifé (room, tent_space ou extra) --}} {{-- Mode de tarification --}} {{-- Prix HT / TTC --}} {{-- Validité --}} {{-- Actions --}} @empty @endforelse
ÉLÉMENT MODE PRIX VALIDITÉ ACTIONS
{{ $price->priceable?->name ?? '—' }} ({{ $price->priceable_type }}) {{ str_replace('_', ' ', $price->pricing_mode) }} {{ number_format($price->price_ttc, 3) }} TTC
HT : {{ number_format($price->price_ht, 3) }}
{{ $price->valid_from?->format('d/m/Y') ?? '—' }} {{ $price->valid_to?->format('d/m/Y') ?? '∞' }}
@csrf @method('DELETE')
💲
Aucun tarif défini. Créer le premier tarif →
@endsection