@extends($layout_path) @section('title', $app_setting['name'] . ' | Restore List') @section('header-title')

{{ __('Restore Invoices') }}

@endsection @section('content')
{{-- --}}
@forelse ($invoices as $invoice) @empty @endforelse
{{ __('Invoice Id') }} {{ __('Course Title') }} {{ __('Student Name') }} {{ __('Payment Status') }} {{ __('Total Amount') }} {{ __('Action') }}
{{ $invoice->invoice_token }} {{ $invoice->courses->pluck('title')->map(fn($title) => Str::limit($title, 30))->implode(' && ') }} {{ $invoice->user->name }} @if ($invoice->payment_status == 0)
{{ __('unpaid') }}
@else
{{ __('paid') }}
@endif
@if ($invoice->total_price) @if ($app_setting['currency_position'] == 'Left') {{ $app_setting['currency_symbol'] }}{{ $invoice->total_price }} @else {{ $invoice->total_price }}{{ $app_setting['currency_symbol'] }} @endif @else N/A @endif {{ __('Restore Invoice') }}
{{ __('No data found') }}
{{ $invoices->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush