{{ trans('messages.subscription.logs') }}

@if (!$gateway->isSupportRecurring())
@forelse ($subscription->getInvoices($gateway) as $key => $invoice) @empty @endforelse
{{ trans('messages.invoice.created_at') }} {{ trans('messages.invoice.description') }} {{ trans('messages.invoice.period_ends_at') }} {{ trans('messages.invoice.amount') }} {{ trans('messages.invoice.status') }}
{{ Acelle\Library\Tool::formatDate(Carbon\Carbon::createFromTimestamp($invoice->createdAt)) }} {!! $invoice->description !!} {{ Acelle\Library\Tool::formatDate(Carbon\Carbon::createFromTimestamp($invoice->periodEndsAt)) }} {{ $invoice->amount }} {{ $invoice->status }}
{{ trans('messages.subscription.logs.empty') }}
@endif {{ trans('messages.subscription.download_raw_invoices') }}