@extends('frontend-rtl.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.cart.payment_status').' | '.app_name()) @push('after-styles') @endpush @section('content') @lang('labels.frontend.cart.checkout') @lang('labels.frontend.cart.your_shopping_cart') @lang('labels.frontend.cart.complete_your_purchases') @lang('labels.frontend.cart.order_item') @lang('labels.frontend.cart.course_name') @lang('labels.frontend.cart.course_type') @lang('labels.frontend.cart.starts') @if(count($courses) > 0) @foreach($courses as $course) course_image != "") style="background-image: url({{asset('storage/uploads/'.$course->course_image)}})" @endif > {{$course->title}} @if($course->free == 1) {{trans('labels.backend.courses.fields.free')}} @else {{$appCurrency['symbol'].' '.$course->price}} @endif @for($i=1; $i<=(int)$course->rating; $i++) @endfor {{class_basename($course)}} {{($course->start_date != "") ? $course->start_date : 'N/A'}} @endforeach @else @lang('labels.frontend.cart.empty_cart') @endif @if(count($courses) > 0) @if((config('services.stripe.active') == 0) && (config('paypal.active') == 0) && (config('payment_offline_active') == 0)) @lang('labels.frontend.cart.no_payment_method') @else @lang('labels.frontend.cart.order_payment') @if(config('services.stripe.active') == 1) @lang('labels.frontend.cart.payment_cards') @csrf @lang('labels.frontend.cart.name_on_card') : @lang('labels.frontend.cart.card_number') : @lang('labels.frontend.cart.cvv') : @lang('labels.frontend.cart.expiration_date') : @lang('labels.frontend.cart.pay_now') @lang('labels.frontend.cart.stripe_error_message') @endif @if(config('paypal.active') == 1) @lang('labels.frontend.cart.paypal') {{ csrf_field() }} @lang('labels.frontend.cart.pay_securely_paypal') @lang('labels.frontend.cart.pay_now') @endif @if(config('payment_offline_active') == 1) @lang('labels.frontend.cart.offline_payment') @lang('labels.frontend.cart.offline_payment_note') @csrf @lang('labels.frontend.cart.request_assistance') @endif @lang('labels.frontend.cart.confirmation_note') @endif @endif @lang('labels.frontend.cart.order_detail') @if(count($courses) > 0) @lang('labels.frontend.cart.total') : @if(isset($total)) {{$appCurrency['symbol'].' '.$total}} @else {{$appCurrency['symbol'].' '.Cart::session(auth()->user()->id)->getTotal()}} @endif @else @lang('labels.frontend.cart.total') {{$appCurrency['symbol']}} 0.00 @endif @if($global_featured_course != "") @lang('labels.frontend.blog.featured_course') @if($global_featured_course->trending == 1) @lang('labels.frontend.badges.trending') @endif @if($global_featured_course->free == 1) @lang('labels.backend.courses.fields.free') @endif {{$global_featured_course->title}} {{$global_featured_course->category->name}} {{ $global_featured_course->students()->count() }} @endif @endsection @push('after-scripts') @if(config('services.stripe.active') == 1) @endif @endpush
@lang('labels.frontend.cart.pay_securely_paypal')
@lang('labels.frontend.cart.offline_payment_note')
@lang('labels.frontend.cart.confirmation_note')