@extends('backend.wallet_earn.layout') @section('title', __('Wallet Earn Plans')) @section('wallet_earn_title', __('Wallet Earn Plans')) @section('wallet_earn_icon', 'apps') @section('wallet_earn_subtitle', __('Create and manage plan limits, reward rates, durations, and approval behavior.')) @section('wallet_earn_action') @can('wallet-earn-manage') @lang('Add Plan') @endcan @endsection @section('wallet_earn_content')
@can('wallet-earn-manage') @endcan @can('wallet-earn-manage') @endcan @forelse($plans as $plan) @can('wallet-earn-manage') @endcan @can('wallet-earn-manage') @endcan @empty @endforelse
 @lang('Plan') @lang('Currency') @lang('Plan Badge') @lang('Limit') @lang('Profit') @lang('Duration') @lang('Payout') @lang('Status')@lang('Action')
{{ $plan->name }}
#{{ $plan->id }} · {{ $plan->stakes_count }} @lang('stakes')
{{ $plan->currency_id ? $plan->currency->code : __('All Currencies') }} @if($plan->isHighlighted())
{{ $plan->is_featured ? __('Featured Plan') : __('Badge Active') }} {{ $plan->planBadgeLabel() }}
@else @lang('Normal') @endif
{{ $plan->amountRangeLabel() }} {{ number_format((float) $plan->profit_rate, 4) }} {{ $plan->profit_type->label() }} {{ $plan->durationLabel() }} {{ $plan->payout_frequency->label() }} {{ $plan->status ? __('Active') : __('Inactive') }}
@endsection @can('wallet-earn-manage') @push('scripts') @endpush @endcan