@extends('user.layouts.master') @section('title', __('Invest & Earn')) @php $currency = base_currency(); $default = ($single==true) ? $schemes : $schemes->first(); $fixed = (data_get($default, 'is_fixed', 0)==1) ? 'yes' : 'no'; $minimum = (data_get($default, 'amount')) ? data_get($default, 'amount') : 0; $maximum = (data_get($default, 'maximum') && $fixed=='no') ? data_get($default, 'maximum') : 0; @endphp @section('content')
@if($single==true)

{{ __('Invest on :Name Plan', ['name' => data_get($default, 'name')]) }}

{{ __(data_get($default, 'desc')) }}

@else

{{ __('Invest & Earn') }}

{{ __("We have various investment plans for you.") }}
{{ __("You can invest daily, weekly or monthly and start earning now.") }}

@endif
@if($single==true)
{{ data_get($default, 'plan_name') }} {{ __("Invest for :terms & earn :calc :amount as profit.", [ 'terms' => __(data_get($default, 'term_text_alter')), 'calc' => __(data_get($default, 'calc_period')), 'amount' => data_get($default, 'rate_text'), ]) }}
@else @endif
{{ strtoupper($currency) }}
{!! __('Note: The investment amount is a fixed amount for the selected plan.') !!} {!! __('Minimum: :amount', ['amount' => ''.money($minimum, $currency).'' ]) !!} {!! __('Maximum: :amount', ['amount' => ''.money($maximum, $currency).'' ]) !!}
{{ __('Main Balance') }} {{ __('Current Balance: :amount ( :alter )', [ 'amount' => money(user_balance(AccType('main')), $currency), 'alter' => money(base_to_secondary(user_balance(AccType('main'))), alter_currency()) ]) }}
{{ __('By continue this, you agree to our investment terms and conditions.') }}
@endsection @push('scripts') @endpush