@extends('admin.layouts.adminpanel') @section('page_header') @php $page_title = 'Payments'; @endphp @include('admin.partials.page_header') @endsection @section('content')
{{ $user->client->package->name }}
@if ($success = session()->pull('success'))
{{ $success }}
@endif @if ($error = session()->pull('error'))
{{ $error }}
@endif
@if (!$isTrialing) {{ __('Last payment') }}
{{ $lastPaymentDate }}
{{ __('Invoices') }} @endif
{{ $isTrialing ? __('Trial Ends') : __('Next payment') }}
{{ $nextPaymentDate }}
@if (!$isTrialing) {{ __('Payment method') }}
{{ ucwords($cardBrand) }}, ****{{ $last4 }}
@if (!empty($cardBrand)) {{ __('Edit') }} @endif @endif
@endsection