@extends('theme.master') @section('title', 'Checkout') @section('content') @include('admin.message') {{ __('frontstaticword.Checkout') }} {{ __('frontstaticword.YourItems') }} (@php $item = App\Cart::where('user_id', Auth::User()->id)->get(); if(count($item)>0){ echo count($item); } else{ echo "0"; } @endphp) @foreach($carts as $cart) @if($cart->course_id != NULL) @if($cart->courses['preview_image'] !== NULL && $cart->courses['preview_image'] !== '') @else @endif @else @if($cart->bundle['preview_image'] !== NULL && $cart->bundle['preview_image'] !== '') @else @endif @endif @if($cart->course_id != NULL) {{ str_limit($cart->courses->title, $limit =35 , $end = '...') }} @else {{ str_limit($cart->bundle->title, $limit =35 , $end = '...') }} @endif By {{ $cart->user->fname }} @php $currency = App\Currency::first(); @endphp @if($cart->offer_price == !NULL) {{ $cart->offer_price }} {{ $cart->price }} @else {{ $cart->price }} @endif @endforeach {{ __('frontstaticword.Total') }}: {{ $cart_total }} {{ $price_total }} {{ round($offer_percent, 0) }}% Off @php if($cart_total != '' || $cart_total != 0){ $mainpay = round($cart_total,2); }else{ $mainpay = round($cart_total,2); } @endphp @php $secureamount = Crypt::encrypt($mainpay); @endphp @if($gsetting->paypal_enable == 1) @csrf {{-- --}} {{ __('frontstaticword.Proceed') }} @endif @if($gsetting->instamojo_enable == 1) {{ csrf_field() }} Name Mobile Number Email Id {{ __('frontstaticword.Proceed') }} @endif @if($gsetting->stripe_enable == 1) {{ csrf_field() }} Owner CVV Card Number Expiration Date January February March April May June July August September October November December 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 {{ __('frontstaticword.Proceed') }} @endif @if($gsetting->braintree_enable == 1) @endif @if($gsetting->razorpay_enable == 1) @csrf {{-- --}} @php $set = App\Setting::first(); $currency = App\Currency::first(); @endphp @endif @if($gsetting->paystack_enable == 1) {{ csrf_field() }} {{ __('frontstaticword.Proceed') }} @endif @if($gsetting->paytm_enable == 1) @csrf Name Mobile Number Email Id {{ __('frontstaticword.Proceed') }} @endif @php $banktransfer = App\BankTransfer::first(); @endphp @if(isset($banktransfer)) @if($banktransfer->bank_enable == '1') {{ __('frontstaticword.banktransfer') }} @csrf (Please upload Proof Document) {{ __('frontstaticword.Proceed') }} {{ __('frontstaticword.banktransferdetail') }} @php $bankdetail = App\BankTransfer::first(); @endphp Account holder name: {{ $bankdetail['account_holder_name'] }} Bank name: {{ $bankdetail['bank_name'] }} Bank cccount number: {{ $bankdetail['account_number'] }} @if(isset($bankdetail['ifcs_code'])) IFCS Code: {{ $bankdetail['ifcs_code'] }} @endif @if(isset($bankdetail['swift_code'])) Swift Code: {{ $bankdetail['swift_code'] }} @endif @endif @endif @endsection @section('custom-script') @endsection
{{ __('frontstaticword.Proceed') }}