@extends('layouts.app') @section('site_title', formatTitle([__('Payment information'), config('settings.title')])) @section('content')
@include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('pricing'), 'title' => __('Pricing')], ['title' => __('Payment information')], ]])

{{ __('Payment information') }}

@csrf
{{ __('Payment method') }}
{{ __('Billing information') }}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('postal_code')) {{ $errors->first('postal_code') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
{{ __('Order summary') }}
  • {{ __(':name plan', ['name' => $plan->name]) }}
    {!! ($plan->trial_days && count($user->subscriptions) == 0) ? __('Billed :period, after trial ends.', ['period' => mb_strtolower(__('Monthly'))]) :__('Billed :period.', ['period' => mb_strtolower(__('Monthly'))]) !!}
    {!! ($plan->trial_days && count($user->subscriptions) == 0) ? __('Billed :period, after trial ends.', ['period' => mb_strtolower(__('Yearly'))]) :__('Billed :period.', ['period' => mb_strtolower(__('Yearly'))]) !!}
    {{ formatMoney($plan->amount_month, $plan->currency) }} {{ strtoupper($plan->currency) }}
    {{ formatMoney($plan->amount_year, $plan->currency) }} {{ strtoupper($plan->currency) }}
  • @if($plan->trial_days && count($user->subscriptions) == 0)
  • {{ __('Trial days') }}
    {{ $plan->trial_days }}
  • @endif
{!! __('By continuing, you agree to save the payment method and billing information in your :title account.', ['title' => ''.e(config(('settings.title'))).'']) !!}
@include('icons.email', ['class' => 'fill-current width-6 height-6'])
{{ __('Need help?') }}
{{ __('Get in touch with us.') }}
@include('shared.sidebars.user') @endsection