@extends('frontend.frontend-page-master') @section('site-title') {{__('Enroll')}} : {{$course->lang_front->title}} @endsection @section('page-title') {{__('Enroll')}} : {{$course->lang_front->title}} @endsection @section('content')
@if(auth()->guard('web')->check())

{{__('Payable Amount')}} {{amount_with_currency_symbol($course->price)}}

@csrf
{{__('Apply')}}
@if(!empty($course->price) && $course->price != 0) {!! render_payment_gateway_for_form(false) !!} @if(!empty(get_static_option('manual_payment_gateway')))
{{__('Attach your bank Document')}}
{!! get_manual_payment_description() !!}
@endif @endif
@else @include('frontend.partials.ajax-login-form',['title' => __('Login to enroll')]) @endif
@endsection @section('scripts') @include('frontend.partials.ajax-login-form-js') @endsection