@lang('modules.billing.purchaseHistory')

@forelse ($invoices as $invoice) @empty @endforelse
@lang('modules.billing.package') @lang('modules.billing.billingCycle') @lang('modules.billing.paymentDate') @lang('modules.billing.nextPaymentDate') @lang('modules.billing.transactionId') @lang('modules.billing.paymentGateway') @lang('modules.billing.amount') @lang('app.action')
{{ $invoice->package->package_name }}
@if ($invoice->package->package_type->value == 'trial') @lang('modules.package.trial') @elseif($invoice->package->package_type->value == 'lifetime') @lang('modules.package.lifetime') @endif
{{ ucfirst($invoice->package_type) }} {{ $invoice->pay_date->format('d M Y') }} {{ $invoice->next_pay_date ? $invoice->next_pay_date->format('d M Y') : '--' }} {{ $invoice->transaction_id }} {{ $invoice->gateway_name }} {{ $invoice->total ? $invoice->currency->currency_symbol . $invoice->total : '-' }}
@lang('messages.noInvoiceFound')
{{ $invoices->links() }}