@extends("front.$version.layout") @section('styles') @endsection @section('pagename') - {{__('Cause')}} - {{convertUtf8($cause->title)}} @endsection @section('meta-keywords', "$cause->meta_keywords") @section('meta-description', "$cause->meta_description") @section('breadcrumb-title', $bs->cause_details_title) @section('breadcrumb-subtitle', strlen($cause->title) > 30 ? mb_substr($cause->title,0,30,'utf-8') . '...' : $cause->title) @section('breadcrumb-link', $bs->cause_details_title) @section('content')
@if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif
@if(!empty($cause->image)) Cause Details @endif
{{$cause->goal_percentage}}%
@if ($bex->donation_guest_checkout == 1 && !Auth::check())
{{__('You are now donating as a guest. If you want to login before donating, then please')}} {{__('Click Here')}}
@endif

{{__('Donation Form')}}

@csrf
{{$bex->base_currency_symbol}}
@if (!empty($cause->custom_amount)) @endif @php if(Auth::check()) { $name = Auth::user()->fname; $email = Auth::user()->email; $phone = Auth::user()->number; } else { $name = ''; $email = ''; $phone = ''; } @endphp
{{__('Anonymous Donation')}}
@endsection @section('scripts') @endsection