@extends('layouts.admin') @section('content')
|
{{ $offer->esname }}
@if ($offer->has_label)
@endif
{{ $offer->cname }}{{ $offer->lname }}{{ $offer->sname }} {{ $offer->year }}{{ $offer->bname }}{{----}}{{ Str::limit($offer->cdescription, 100, '....') }}
@php
if($offer->fee_per_lesson_total_aed == 0){
$byLessonAmount = $offer->fee_per_lesson_total;
}else{
$byLessonAmount = $offer->fee_per_lesson_total_aed ;
}
if($offer->fee_per_course_total_aed == 0){
$currency = 'EGP';
}else{
$currency = 'AED';
}
if($offer->fee_per_course_total_aed == 0){
$byCourseAmount = $offer->fee_per_course_total;
}else{
$byCourseAmount = $offer->fee_per_course_total_aed ;
}
if($offer->fee_course_per_month_aed == 0){
$byMonthAmount = $offer->fee_course_per_month;
}else{
$byMonthAmount = $offer->fee_course_per_month_aed;
}
@endphp
@if (in_array(auth()->id(),[1,3]))
@endif
@if ($offer->fee_per_lesson_total > 0)
@if ($offer->currency == 2)
{{ $byLessonAmount }} EGP / @lang('student.lesson')@else
{{ $byLessonAmount }}
AED / @lang('student.lesson')
@endif
@endif
@if ($offer->fee_per_course_total > 0)
@if ($offer->currency == 2)
|
Looks like There Is No Courses Been Found
@endforelse --}}