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

Current Offered Courses

@lang('student.search by course name')
@lang('student.filter by')
{{-- @forelse ($sessions as $session => $item) --}}
@foreach ($offered_courses as $offer) @endforeach
{{ $offer->esname }}
{{ $offer->cname }}
@if ($offer->has_label) @endif

{{ $offer->cname }}

{{ $offer->lname }}


{{ $offer->sname }} {{ $offer->year }}

{{ $offer->bname }}

{{--

--}}

{{ Str::limit($offer->cdescription, 100, '....') }}

@php if($offer->currency == 2){ $currency = 'EGP'; }else{ $currency = 'AED'; } @endphp
@if ($offer->fee_per_lesson_total > 0)

{{ $offer->fee_per_lesson_total }} {{ $currency }} / @lang('student.lesson')

@endif @if ($offer->fee_per_course_total > 0)

@if ($offer->by_month) {{$offer->fee_course_per_month}} {{ $currency }} / @lang('student.month') @elseif ($offer->course_discount > 0 ) {{$offer->fee_per_course_total}} {{ $offer->fee_per_course_total - ($offer->fee_per_course_total * ($offer->course_discount / 100)) }} {{ $currency }} / @lang('student.course') @else {{$offer->fee_per_course_total}} {{ $currency }} / @lang('student.course') @endif

@endif @if($offer->allow_enrollment)

@lang('student.enrollment-opened')

@else

@lang('student.enrollment-closed')

@endif
{{-- @empty

Looks like There Is No Courses Been Found

@endforelse --}}
@endsection @section('welcome-js') @endsection