@php $user = App\User::where('status', '1')->count(); if($user>0){ echo $user; } else{ echo "0"; } @endphp
{{ __('adminstaticword.User') }}
@php $cat = App\Categories::where('status', '1')->count(); if($cat>0){ echo $cat; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Categories') }}
@php $course = App\Course::where('status', '1')->count(); if($course>0){ echo $course; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Courses') }}
{{-- @php $page = App\Order::where('status', '1')->count(); if($page>0){ echo $page; } else{ echo "0"; } @endphp --}} {{ $orderCount }}
{{ __('adminstaticword.OrderView') }}
@php $faq = App\FaqStudent::count(); if($faq>0){ echo $faq; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Faqs') }}
@php $review = App\Page::count(); if($review>0){ echo $review; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Pages') }}
@php $review = App\User::where('status', '1')->where('role', 'instructor')->count(); if($review>0){ echo $review; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Coachs') }}
@php $review = App\Testimonial::count(); if($review>0){ echo $review; } else{ echo "0"; } @endphp
{{ __('adminstaticword.Testimonials') }}
{{ __('adminstaticword.LatestUsers') }}
-
@foreach($users as $user)
-
@if($user['user_img'] != null || $user['user_img'] !='')
@else
@endif
@if ($user->jht_introuctor_id)
喬山教練
@else
{{ name_mask($user['fname']) }}
@endif
{{ date('Y m/d', 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) @if($course->discount_price == !NULL) @if($gsetting['currency_swipe'] == 1) {{ $course['discount_price'] }} @else {{ $course['discount_price'] }} @endif @else @if($gsetting['currency_swipe'] == 1) {{ $course['price'] }} @else {{ $course['price'] }} @endif @endif @else {{ __('adminstaticword.Free') }} @endif --}} {{ str_limit($course->short_detail, $limit = 40, $end = '...') }}
@endforeach
{{ __('adminstaticword.LatestOrders') }}
| {{ __('adminstaticword.User') }} | {{ __('adminstaticword.OrderNumber') }} | {{ __('adminstaticword.Amount') }} | {{ __('adminstaticword.Date') }} | {{ __('adminstaticword.View') }} | |
|---|---|---|---|---|---|
| @if(isset($order->user)){{ name_mask($order->user['fname']) }}@endif | {{ $orderId }} {{-- @if($order->course_id != NULL) {{ $order->courses['title'] }} @elseif( ! empty( $order->bundle ) ) {{ $order->bundle['title'] }} @endif --}} | {{-- @isset($order['nettAmount']) --}} {{ $order['total_price'] }} {{-- @else {{ $order['nettAmount'] }} @endisset --}} {{-- @if($order->coupon_discount == !NULL) @if($gsetting['currency_swipe'] == 1) {{ $order['total_amount'] - $order['coupon_discount'] }} @else {{ $order['total_amount'] - $order['coupon_discount'] }} @endif @else @if($gsetting['currency_swipe'] == 1) @else {{ $order['total_amount'] }} @endif @endif --}} | {{-- | {{ __('adminstaticword.Invoice') }} | --}} @php $orderId = trim( $orderId, "#"); @endphp{{ __('adminstaticword.View') }} |
{{ __('adminstaticword.InstructorRequest') }}
{{trans('adminstaticword.GC_SEC_NOTICE')}}