@extends('theme.master') @section('title', 'Plan Checkout') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('Plan') }} {{ __('Checkout') }} @endif {{-- @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) {{ __('Total') }}: {{ $plans->price }} {{ $plans->discount_price }} @else {{ __('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 {{ __('Proceed') }} @endif @if($gsetting->paytm_enable == 1) @csrf Name Mobile Number Email Id {{ __('Proceed') }} @endif @endsection