{{ Form::model($payoutdata,['method' => 'POST','route'=>'providerpayout.store', 'enctype'=>'multipart/form-data', 'data-toggle'=>"validator" ,'id'=>'providerpayout'] ) }}
{{ Form::hidden('provider_id') }}
{{ Form::hidden('redirect_type',$redirect_type) }}
{{ Form::label('method',trans('messages.method').' *',['class'=>'form-control-label'],false) }}
{{ Form::select('payment_method',['bank' => __('messages.bank') , 'cash' => __('messages.cash'), 'wallet' => __('messages.wallet') ],old('method'),[ 'id' => 'method' ,'class' =>'form-control select2js','required']) }}
{{ Form::label('description',__('messages.description'), ['class' => 'form-control-label']) }}
{{ Form::textarea('description', null, ['class'=>"form-control textarea" , 'rows'=>3 , 'placeholder'=> __('messages.description') ]) }}
{{ Form::label('amount', __('messages.amount'), ['class' => 'form-control-label']) }}
{{ Form::number('amount', old('amount') ?? $payoutdata->amount, [
'placeholder' => __('messages.amount'),
'class' => 'form-control',
'required',
'between' => '0,99.99',
'step' => 'any',
'min' => 0,
'max' => $payoutdata->amount ?? 0,
]) }}
{{ Form::submit( trans('messages.save'), ['class'=>'btn btn-md btn-primary float-right']) }}
{{ Form::close() }}