{{ Form::open(['method' => 'POST','route' => ['walletSettingsUpdate'],'data-toggle'=>'validator']) }} {{ Form::hidden('page', $page, ['class' => 'form-control'] ) }}
@foreach($wallet_setting as $key => $value)
@if($key == 'preset_topup_amount' ) {{ Form::label($key,__('message.'.$key).' ',['class'=>'form-control-label'],false ) }} {{ Form::text($key,$value ?? null,[ 'placeholder' => '10|50|100|500', 'class' => 'form-control' ]) }} @else {{ Form::label($key,__('message.'.$key),['class'=>'form-control-label'] ) }} @if($key == 'min_amount_to_get_ride') {{ Form::number($key,$value ?? null,[ 'placeholder' => __('message.'.$key), 'step' => 'any', 'class' => 'form-control' ]) }} @else {{ Form::number($key,$value ?? null,[ 'placeholder' => __('message.'.$key), 'min' => 0, 'step' => 'any', 'class' => 'form-control' ]) }} @endif @endif
@endforeach
{{ Form::submit(__('message.save'), ['class'=>"btn btn-md btn-primary float-md-right"]) }} {{ Form::close() }}