@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('breadcrumb')
  • {{$donation->title}}
  • @endsection @section('edit_link')
  • {{__('Edit Donation')}}
  • @endsection @section('content')
    {!! render_image_markup_by_attachment_id($donation->image,'','large') !!}

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

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

    {!! $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) : [5,10,15,20]; @endphp @foreach($custom_amounts as $amount)
    {{site_currency_symbol().$amount}}
    @endforeach
    @if($errors->any())
      @foreach($errors->all() as $error)
    • {{$error}}
    • @endforeach
    @endif
    @csrf
    {{site_currency_symbol()}}
    @php $email_value = auth()->check() ? auth()->user()->email : ''; $name_value = auth()->check() ? auth()->user()->name : ''; @endphp
    {{__('Name')}}
    {{__('Email')}}
    {!! render_payment_gateway_for_form() !!} @if(!empty(get_static_option('manual_payment_gateway')))
    {{__('Transaction ID')}}
    {!! get_manual_payment_description() !!}
    @endif

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

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

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