@extends('theme.master') @section('title', 'Plan Checkout') @section('content') @include('admin.message') {{ __('frontstaticword.Plan') }} {{ __('frontstaticword.Checkout') }} @if($plans['preview_image'] !== NULL && $plans->courses['preview_image'] !== '') @else @endif {{ str_limit($plans->title, $limit =35 , $end = '...') }} @if($plans->discount_price == !NULL) {{ $plans->price }} {{ $plans->discount_price }} {{-- {{ $plans->price }} {{ $plans->discount_price }} --}} @else {{ $plans->price }} @endif @if($plans->discount_price == !NULL) {{ __('frontstaticword.Total') }}: {{ $plans->price }} {{ $plans->discount_price }} @else {{ __('frontstaticword.Total') }}: {{ $plans->price }} {{ $plans->price }} @endif @php if(($plans->discount_price == !NULL)){ $mainpay = round($plans->discount_price,2); }else{ $mainpay = round($plans->price,2); } @endphp @php $secureamount = Crypt::encrypt($mainpay); @endphp @if($gsetting->paypal_enable == 1) @csrf {{ __('frontstaticword.Proceed') }} @endif @if($gsetting->paytm_enable == 1) @csrf Name Mobile Number Email Id {{ __('frontstaticword.Proceed') }} @endif @endsection