@extends('admin.layouts.master') @section('title', __('Fees & Limits')) @section('head_style') @endsection @section('page_content')
{{ __('Fees Limits') }}

{{ __('Default Currency') }}

@include('admin.common.currency_menu')

@if(isset($displayName)) {{ __(':x Settings', ['x' => $displayName]) }} @elseif($list_menu == 'withdrawal') {{ __('Payout Settings') }} @else {{ ucwords(str_replace('_', ' ', $list_menu)) }} {{ __('Settings') }} @endif

{!! csrf_field() !!}
@if ($currency->default == 1)
{{-- --}}

{{ __('Default currency is always active') }}

@elseif ($currency->default == 1 && !isset($feeslimit))
{{-- --}}
{{--

Default currency is always active

--}}

@else
@if ($errors->has('has_transaction')) {{ $errors->first('has_transaction') }} @endif

@endif @if((isset($minAmountRequired) && $minAmountRequired) || !isset($minAmountRequired))
{{ allowedDecimalPlaceMessage($preference) }} @if ($errors->has('min_limit')) {{ $errors->first('min_limit') }} @endif

{{ __('If not set, minimum limit is :x', ['x' => number_format((float)1.00000000, $preference, '.', '')]) }}

@endif @if((isset($maxAmountRequired) && $maxAmountRequired) || !isset($minAmountRequired))
{{ allowedDecimalPlaceMessage($preference) }} @if ($errors->has('max_limit')) {{ $errors->first('max_limit') }} @endif

{{ __('If not set, maximum limit is infinity') }}

@endif
{{ allowedDecimalPlaceMessage($preference) }} @if ($errors->has('charge_percentage')) {{ $errors->first('charge_percentage') }} @endif

{{ __('If not set, charge percentage is :x', ['x' => number_format((float)0.00000000, $preference, '.', '')] ) }}

{{ allowedDecimalPlaceMessage($preference) }} @if ($errors->has('charge_fixed')) {{ $errors->first('charge_fixed') }} @endif

{{ __('If not set, charge fixed is :x', ['x' => number_format((float)0.00000000, $preference, '.', '') ] ) }}

{{ __('Cancel') }}
@endsection @push('extra_body_scripts') @include('common.restrict_number_to_pref_decimal') @include('common.restrict_character_decimal_point')