@extends('frontend.layouts.master') @php $lang = selectedLang(); $system_default = $default_language_code; $pricing_slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::PRICING_SECTION); $pricing = App\Models\Admin\SiteSections::getData($pricing_slug)->first(); $trx_tables = App\Models\Admin\TransactionSetting::where('status',1)->get(); @endphp @push("css") @endpush @section('content')

{{ __($pricing->value->language->$lang->heading ?? $pricing->value->language->$system_default->heading) }}

{{ __($pricing->value->language->$lang->sub_heading ?? $pricing->value->language->$system_default->sub_heading) }}

@foreach ($trx_tables ?? [] as $item) @php // Replace hyphens with underscores in the 'slug' key $slug = str_replace('-', '_', $item->slug); $title_name = $slug."_"."title"; $sub_title_name = $slug."_"."sub_title"; @endphp

{{ __($pricing->value->language->$lang->$title_name ?? $pricing->value->language->$system_default->$title_name) }}

{{ __($pricing->value->language->$lang->$sub_title_name ?? $pricing->value->language->$system_default->$sub_title_name) }}:

@php if($item->slug == 'pay-link' || $item->slug == 'gift_card'){ $col = 'col-xl-6 col-lg-6'; }else{ $col = $item->agent_profit == true ? 'col-xl-6 col-lg-6': 'col-xl-4 col-lg-4 '; } @endphp

{{ __("Charges") }}

{{ __("Fixed Charge") }}: {{ get_amount($item->fixed_charge,null,get_wallet_precision()) }}

{{ __("Percent Charge") }}: {{ get_amount($item->percent_charge,null,get_wallet_precision()) }}%

{{ __("Range") }}

{{ __("Minimum amount") }}: {{ get_amount($item->min_limit,null,get_wallet_precision()) }}

{{ __("Maximum amount") }}: {{ get_amount($item->max_limit,null,get_wallet_precision()) }}

@if($item->slug != 'pay-link' && $item->slug != 'gift_card')

{{ __("Limit") }} ({{ __("Execute if the value is greater than zero") }})

{{ __("Daily Limit") }}: {{get_amount($item->daily_limit,null,get_wallet_precision()) }}

{{ __("Monthly Limit") }}: {{ get_amount($item->monthly_limit,null,get_wallet_precision()) }}

@endif @if( $item->agent_profit == true)

{{ __("Agent Profits") }}

{{ __("Fixed Commissions") }}: {{ get_amount($item->agent_fixed_commissions,null,get_wallet_precision()) }}

{{ __("Percent Commissions") }}: {{ get_amount($item->agent_percent_commissions,null,get_wallet_precision()) }}

@endif
@endforeach @endsection @push("script") @endpush