@if($key == 'preset_tip_amount' )
{{ Form::label($key,__('message.'.$key).'
',['class'=>'form-control-label'],false ) }}
{{ Form::text($key,$value ?? null,[ 'placeholder' => '0|5|10|50', 'class' => 'form-control' ]) }}
@elseif( $key == 'apply_additional_fee' )
{{ Form::label($key,__('message.'.$key),['class'=>'form-control-label'] ) }}
@php
$value = isset($value) ? $value : 1;
@endphp
{{ Form::radio('apply_additional_fee', '1' , $value == 1 ? true : '' , ['class' => 'custom-control-input', 'id' => 'apply_additional_fee_yes' ]) }}
{{ Form::label('apply_additional_fee_yes', __('message.yes'), ['class' => 'custom-control-label' ]) }}
{{ Form::radio('apply_additional_fee', '0' , $value == 0 ? true : '', ['class' => 'custom-control-input', 'id' => 'apply_additional_fee_no' ]) }}
{{ Form::label('apply_additional_fee_no', __('message.no'), ['class' => 'custom-control-label' ]) }}
@else
{{ Form::label($key,__('message.'.$key),['class'=>'form-control-label'] ) }}
{{ Form::number($key,$value ?? null,[ 'placeholder' => __('message.'.$key), 'min' => 0, 'step' => 'any', 'class' => 'form-control' ]) }}
@endif