@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)) @endif {{$cause->goal_percentage}}% {{convertUtf8($cause->title)}} {{__('Goal')}}-{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$cause->goal_amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}} {{__('Raised')}}- {{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$cause->raised_amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}} {!! replaceBaseUrl(convertUtf8($cause->content)) !!} @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)) @foreach($custom_amounts as $custom_amount) {{$custom_amount}} @endforeach @endif @php if(Auth::check()) { $name = Auth::user()->fname; $email = Auth::user()->email; $phone = Auth::user()->number; } else { $name = ''; $email = ''; $phone = ''; } @endphp {{__('Choose an option')}} @foreach($payment_gateways as $payment_gateway) {{$payment_gateway->name}} @endforeach {{__('Anonymous Donation')}} {{__('Donate Now')}} @endsection @section('scripts') @endsection
{{__('Goal')}}-{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$cause->goal_amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}
{{__('Raised')}}- {{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$cause->raised_amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}
{!! replaceBaseUrl(convertUtf8($cause->content)) !!}