@extends('backend.partials.master') @section('title') Review Payment @endsection @section('maincontent') @php $payable = $proof->payable; @endphp
Submitted by customer {{ ucfirst($proof->status) }}
Booking{{ $proof->payableReference() }}
Customer{{ $proof->customer->name ?? '—' }}
Amount due{{ currency_symbol() }}{{ number_format((float) ($payable->amount ?? $payable->fare ?? 0), 2) }}
Method{{ $proof->method }}
Paid into{{ $proof->bankAccount?->label() ?? '—' }}
Reference{{ $proof->reference ?: '—' }}
Payment date{{ $proof->paid_on?->format('d M Y') ?? '—' }}
Customer note{{ $proof->customer_note ?: '—' }}
Receipt / proof
@if($proof->proof_path) @if($proof->isImage()) Payment proof @else Open {{ $proof->proof_name ?: 'file' }} @endif @else

No file was uploaded.

@endif
@if($proof->isPending()) @if(hasPermission('booking_update'))
Verify & approve

Check the money has actually reached the bank account, then record what you received. Approving marks the booking paid and issues the receipt; the booking and supplier statuses are left as they are.

@csrf
@error('bank_account_id') {{ $message }} @enderror
@error('reference') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@error('paid_on') {{ $message }} @enderror
Reject
@csrf
@error('note') {{ $message }} @enderror
@endif @else
Reviewed
Decision{{ ucfirst($proof->status) }}
By{{ $proof->reviewer->name ?? '—' }}
On{{ $proof->reviewed_at?->format('d M Y H:i') }}
Amount received{{ currency_symbol() }}{{ number_format($proof->amount, 2) }}
Note{{ $proof->review_note ?: '—' }}
@endif ← Back to the queue
@endsection