| Description | Quantité | HT ({{ $payment->currency }}) | % TVA | TVA ({{ $payment->currency }}) | Montant TTC ({{ $payment->currency }}) |
|---|---|---|---|---|---|
|
{{ $appointment->service->name ?? 'Service' }} {{ $appointment->start_time->format('d/m/Y') }} {{ $appointment->start_time->format('H:i') }} - {{ $appointment->end_time ? $appointment->end_time->format('H:i') : $appointment->start_time->addHour()->format('H:i') }} |
@php $duration = $appointment->end_time ? $appointment->start_time->diffInMinutes($appointment->end_time) : 60; $hours = floor($duration / 60); $minutes = $duration % 60; @endphp {{ $hours }}h{{ $minutes > 0 ? str_pad($minutes, 2, '0', STR_PAD_LEFT) : '' }} | @php // price_at_booking est le prix HT $priceHT = $appointment->price_at_booking; $vatAmount = $appointment->vat_rate > 0 ? ($priceHT * $appointment->vat_rate / 100) : 0; $priceTTC = round($priceHT + $vatAmount, 2); @endphp{{ format_currency($priceHT) }} | {{ number_format($appointment->vat_rate, 0) }}% | {{ format_currency($vatAmount) }} | {{ format_currency($priceTTC) }} |
| Prestation de service | - | {{ format_currency($payment->amount) }} | 0% | 0,00 | {{ format_currency($payment->amount) }} |
| Taux | Base HT | Montant TVA |
|---|---|---|
| {{ number_format($rate, 0) }}% | {{ format_currency($data['base']) }} | {{ format_currency($data['amount']) }} |
| Total | {{ format_currency($totalHT) }} | {{ format_currency($totalVAT) }} |
| Total HT | {{ format_currency($totalHT) }} |
| Total TVA | {{ format_currency($totalVAT) }} |
| {{ $tax->label_snapshot ?? ucfirst(str_replace('_', ' ', $tax->name_snapshot)) }} @if($tax->type_snapshot === 'percent')({{ number_format($tax->value_snapshot, 2) }}%)@endif | {{ $tax->sign_snapshot === '-' ? '-' : '' }}{{ format_currency($tax->amount_snapshot) }} |
| Total TTC | {{ format_currency($payment->total_ttc) }} |
| {{ $tax->label_snapshot ?? ucfirst(str_replace('_', ' ', $tax->name_snapshot)) }} @if($tax->type_snapshot === 'percent')({{ number_format($tax->value_snapshot, 2) }}%)@endif | {{ $tax->sign_snapshot === '-' ? '-' : '' }}{{ format_currency($tax->amount_snapshot) }} |
| {{ $tax->label_snapshot ?? ucfirst(str_replace('_', ' ', $tax->name_snapshot)) }} @if($tax->type_snapshot === 'percent')({{ number_format($tax->value_snapshot, 2) }}%)@endif | {{ $tax->sign_snapshot === '-' ? '-' : '' }}{{ format_currency($tax->amount_snapshot) }} |
| NET À PAYER | {{ format_currency($payment->net_amount) }} |