@forelse ($invoices as $invoice) @empty @endforelse
@lang('app.id') @lang('modules.billing.restaurant') @lang('modules.billing.packageDetails') @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->id }} @if ($invoice->restaurant) {{ \Illuminate\Support\Str::limit($invoice->restaurant->name, 25, '...') }} @else Restaurant Deleted @endif {{ $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 ? $invoice->pay_date->format('D, d M Y') : '--' }} {{ $invoice->next_pay_date ? $invoice->next_pay_date->format('D, d M Y') : '--' }} {{ $invoice->transaction_id }} {{ $invoice->gateway_name }} {{ $invoice->total ? global_currency_format($invoice->total, global_setting()->default_currency_id) : '-' }}
@lang('messages.noInvoiceFound')
{{ $invoices->links() }}