@extends('pdf.layouts.base') @section('title', 'Facture ' . $invoice->number) @section('content') @include('pdf.partials.header', ['owner' => $owner])

FACTURE

@php $ownerContact = $owner->contact; $invoiceDate = $invoice->first_issued_at; $dueDate = $invoice->first_due_at; $finalTotal = $reservation->finalPrice(); $vatNumber = $owner->payment_instructions['vat_number'] ?? null; @endphp

Facture n°:

Date:

Payable au:

Montant dû:

Numéro TVA:

{{ $invoice->number }}

{{ $invoiceDate->format('d/m/Y') }}

{{ $dueDate->format('d/m/Y') }}

{{ currency($finalTotal, $owner) }}

{{ $vatNumber ?? 'Pas enregistré à la TVA' }}

@include('pdf.partials.tenant-address', ['tenant' => $tenant])

Réservation de {{ $room->name }} - {{ html_entity_decode($reservation->title) }}

@if($reservation->description)

Description de l'événement: {{ html_entity_decode($reservation->description) }}

@endif
@include('pdf.partials.events-table', ['reservation' => $reservation, 'room' => $room, 'owner' => $owner]) @include('pdf.partials.totals', ['reservation' => $reservation, 'owner' => $owner])

Merci pour votre réservation. Cette facture doit être réglée au plus tard le {{ $dueDate->format('d/m/Y') }}. Pour toute question, n'hésitez pas à nous contacter.

@if($paymentHtml) {!! $paymentHtml !!} @endif @endsection