@extends('layouts.account') @section('title', __('Payment')) @section('heading', __('Payment')) @section('subheading', __('Reference :reference', ['reference' => $payment->reference])) @section('account') @if (session('error')) {{ session('error') }} @endif

{{ __('Amount due') }}

{{ $payment->formattedAmount() }}

{{ $payment->status->label() }}

@if ($payment->payable instanceof \App\Models\Subscription) {{ __(':plan subscription', ['plan' => $payment->payable->plan?->name]) }} @elseif ($payment->payable instanceof \App\Models\ListingPromotion) {{ $payment->payable->type->label() }} — {{ $payment->payable->listing?->title }} @endif

{{-- Whatever the driver has to show. Asking it rather than branching on its name keeps this page honest when another is added. --}} @if ($instructions !== [])

{{ $gateway->label() }}

@foreach ($instructions as $label => $value) @if (filled($value))
{{ $label }}
{{ $value }}
@endif @endforeach
{{ __('Quote this reference') }}
{{ $payment->reference }}

{{ __('Your plan starts once we have seen the transfer, usually the next working day.') }}

@endif
@endsection