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

{{ __('Trashed Courses') }}

@endsection @section('content')
@forelse ($courses as $course) @empty @endforelse
# ID Free & Publish Course Price Instructor Status Action
{{ $loop->iteration }} {{ generateID($course->id) }}
is_free ? 'checked' : '' }}> {{ $course->is_free ? 'Free' : 'Paid' }}

@if (strlen($course->title) > 20) {{ substr($course->title, 0, 20) . '...' }} @else {{ $course->title }} @endif

@if ($app_setting['currency_position'] == 'Left') {{ $app_setting['currency_symbol'] }}{{ $course->price ? $course->price : $course->regular_price }} @else {{ $course->price ? $course->price : $course->regular_price }}{{ $app_setting['currency_symbol'] }} @endif {{ $course->instructor->user->name }} @if ($course->trashed())
Deleted
@else
Active
@endif
{{ __('Restore Course') }}
{{ __('No data found') }}
{{ $courses->links() }}
@endsection