@extends('layouts.account')
@section('title', __('Payment'))
@section('heading', __('Payment'))
@section('subheading', __('Reference :reference', ['reference' => $payment->reference]))
@section('account')
@if (session('error'))
{{ $payment->formattedAmount() }}
@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 !== []){{ __('Your plan starts once we have seen the transfer, usually the next working day.') }}