@extends('frontend.frontend-page-master') @section('og-meta') {!! render_og_meta_image_by_attachment_id($donation->image) !!} @endsection @section('site-title') {{$donation->title}} @endsection @section('page-title') {{$donation->title}} @endsection @section('page-meta-data') @endsection @section('content')
{!! render_image_markup_by_attachment_id($donation->image,'','large') !!}

{{get_static_option('donation_raised_'.$user_select_lang_slug.'_text')}} {{amount_with_currency_symbol($donation->raised ? $donation->raised : 0 )}}

{{get_static_option('donation_goal_'.$user_select_lang_slug.'_text')}} {{amount_with_currency_symbol($donation->amount)}}

{!! iFrameFilterInSummernoteAndRender($donation->donation_content) !!}

{{get_static_option('donation_single_'.$user_select_lang_slug.'_form_title')}}

@php $custom_amounts = get_static_option('donation_custom_amount'); $custom_amounts = !empty($custom_amounts) ? explode(',',$custom_amounts) : [50,100,150,200]; @endphp @foreach($custom_amounts as $amount)
{{amount_with_currency_symbol($amount)}}
@endforeach
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif
@csrf
{{site_currency_symbol()}}
{{__('Name')}}
guard('web')->check()) value="{{auth()->guard('web')->user()->name}}" @endif class="form-control">
{{__('Email')}}
guard('web')->check()) value="{{auth()->guard('web')->user()->email}}" @endif class="form-control">
{!! render_payment_gateway_for_form() !!} @if(!empty(get_static_option('manual_payment_gateway')))
{{__('Attach your bank Document')}}

{!! get_manual_payment_description() !!}
@endif

{{get_static_option('donation_single_'.$user_select_lang_slug.'_recent_donation_text')}}

@if(count($all_donations) > 0)
    @foreach($all_donations as $data)
  • @if($data->anonymous == 1) {{__('anonymous')}} @else {{$data->name}} @endif

    {{amount_with_currency_symbol($data->amount)}}
    {{date_format($data->created_at,'d M y h:i:s')}}
  • @endforeach
@else {{__('no donation found')}} @endif
@endsection @section('scripts') @endsection