@extends('layouts.app') @section('content')

{{ __('messages.courses') }}

{{ __('messages.all_courses') }}

@if (session('success')) @endif
@if($courses->isEmpty()) @endif @foreach($courses as $course) @endforeach
{{ __('messages.name') }} {{ __('messages.category') }} {{ __('messages.image') }} {{ __('messages.duration') }} {{ __('messages.expiry') }} {{ __('messages.amount') }} {{ __('messages.created_at') }} {{ __('messages.actions') }}
{{ __('messages.no_courses_found') }}
{{ $course->title }} {{ $course->category->category_name }} {{ __('messages.image') }} {{ $course->duration_days }} {{ $course->activation_period }} {{ $course->price }} {{ $course->currency }} {{ optional($course->created_at)->format('d-m-Y') ?? '-' }} {{ __('messages.edit') }}
@csrf @method('DELETE')
{{ __('messages.add_course_information') }} {{ __('messages.add_workout') }}
@endsection