@extends('layouts.app') @section('title', 'Passagers Visa') @section('content')

Passagers Visa

Voir Réservations
{{-- Filters --}}
Réinitialiser
@foreach($passengers as $p) @php $booking = $p->booking; $unitPrice = (float) ($booking->offer->price ?? 0); $bookingPaid = (float) ($booking->paid_amount ?? 0); $bookingTotal = (float) ($booking->total_price ?? 0); $bookingRemaining = max(0, $bookingTotal - (float) ($booking->commission_total ?? 0) - $bookingPaid); @endphp @endforeach
# Nom Complet Passeport Téléphone Offre Pays Client Date Voyage Prix Réservation Paiement
{{ $p->id }} {{ $p->full_name }} {{ $p->passport_number ?? '—' }} {{ $p->phone ?? '—' }} {{ $booking?->offer?->title ?? '—' }} @if($booking?->country?->image) @endif {{ $booking?->country?->display_name ?? '—' }} {{ $booking?->user?->name ?? '—' }} {{ $booking?->travel_date?->format('d/m/Y') ?? '—' }} {{ number_format($unitPrice, 0, ',', ' ') }} DZD {{ $booking?->booking_reference ?? '—' }} @if($bookingPaid <= 0) Non payé @elseif($bookingRemaining <= 0) Payé @else Partiel @endif
{{-- Payment Modal --}} @endsection @section('scripts') @endsection