@php $user = App\User::all(); if(count($user)>0){ echo count($user); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Users') }}
@php $cat = App\Categories::all(); if(count($cat)>0){ echo count($cat); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Categories') }}
@php $course = App\Course::all(); if(count($course)>0){ echo count($course); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Courses') }}
@php $page = App\Order::all(); if(count($page)>0){ echo count($page); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Orders') }}
@php $faq = App\FaqStudent::all(); if(count($faq)>0){ echo count($faq); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Faqs') }}
@php $review = App\Page::all(); if(count($review)>0){ echo count($review); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Pages') }}
@php $review = App\Instructor::all(); if(count($review)>0){ echo count($review); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Instructors') }}
@php $review = App\Testimonial::all(); if(count($review)>0){ echo count($review); } else{ echo "0"; } @endphp
{{ __('adminstaticword.Testimonials') }}
{{ __('adminstaticword.LatestUsers') }}
-
@foreach($users as $user)
- @if($user['user_img'] != null || $user['user_img'] !='') @else @endif {{ $user['fname'] }} {{ $user['lname'] }} {{ date('F Y', strtotime($user['created_at'])) }} @endforeach
{{ __('adminstaticword.RecentCourses') }}
-
@foreach($courses as $course)
-
@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') @else @endif{{ str_limit($course['title'], $limit = 25, $end = '...') }} @if( $course->type == 1) @php $currency2 = App\Currency::first(); @endphp @if($course->discount_price == !NULL) {{ $course['discount_price'] }} @else {{ $course['price'] }} @endif @else {{ __('adminstaticword.Free') }} @endif {{ str_limit($course->short_detail, $limit = 40, $end = '...') }}
@endforeach
{{ __('adminstaticword.LatestOrders') }}
{{ __('adminstaticword.User') }} | {{ __('adminstaticword.Course') }} | {{ __('adminstaticword.Amount') }} | {{ __('adminstaticword.Date') }} | {{ __('adminstaticword.Invoice') }} |
---|---|---|---|---|
{{ $order->user['fname'] }} | @if($order->course_id != NULL) {{ $order->courses['title'] }} @else {{ $order->bundle['title'] }} @endif | @if($order->coupon_discount == !NULL) {{ $order['total_amount'] - $order['coupon_discount'] }} @else {{ $order['total_amount'] }} @endif | {{ __('adminstaticword.Invoice') }} |