@extends('layouts.app') @section('title', 'Payment received') @section('page', 'invoices') @section('content') @php $inv = $payment->invoice; @endphp

Payment received

Thank you, {{ auth()->user()->first_name }}. We've emailed your receipt to {{ auth()->user()->email }} and let the {{ \Illuminate\Support\Str::before(agency()->name, ' ') }} accounts team know.

{{ money($payment->amount, $inv->currency, true) }}
for {{ $inv->number }}, {{ $inv->project?->name }}
Receipt number
{{ $payment->receipt_number }}
Paid on
{{ $payment->paid_at->format('j M Y, H:i') }}
Payment method
{{ $payment->methodLabel() }}
@if ($inv->vat_enabled)
VAT included
{{ money($inv->total > 0 ? $payment->amount * $inv->vat_amount / $inv->total : 0, $inv->currency, true) }}
@endif
Back to invoices

Anything wrong with this payment? Message the accounts team.

@endsection