@extends('layouts.account') @section('title', __('Plans')) @section('heading', __('Plans')) @section('subheading', __('Pick what fits how much you list.')) @section('account') @if (session('error')) {{ session('error') }} @endif
@foreach ($plans as $plan) @php($isCurrent = $current?->plan_id === $plan->id)
$isCurrent, 'border-border' => ! $isCurrent, ])>

{{ $plan->name }}

@if ($isCurrent) {{ __('Your plan') }} @endif
@if ($plan->description)

{{ $plan->description }}

@endif

{{ $plan->formattedPrice() }}

@unless ($plan->isFree())

{{ $plan->periodLabel() }}

@endunless @if ($plan->features) @endif
@if ($isCurrent) @else
@csrf {{-- The checkout never names a gateway: it offers whatever is configured and available. --}} @if (! $plan->isFree() && count($gateways) > 1) @elseif (! $plan->isFree() && count($gateways) === 1) @endif @if (! $plan->isFree() && $gateways === [])

{{ __('No payment method is set up yet. Please contact us.') }}

@endif
@endif
@endforeach

{{ __('Changing plan replaces the one you are on. A plan you cancel keeps running until the period you paid for runs out.') }}

@endsection