{{ $pageTitle ?? trans('messages.list') }}
{{ __('messages.back') }}
{{ 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('bank', __('messages.select_bank',[ 'select' => __('messages.select_bank') ]).' *',['class'=>'form-control-label'],false) }} {{ trans('messages.add_form_title',['form' => trans('messages.bank') ]) }}
{{ Form::select('bank',[], [ 'class' => 'select2js form-group col-md-12 bank','required', 'data-placeholder' => __('messages.select_bank',[ 'select' => __('messages.') ]) ]) }}

{{ 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() }}
@section('bottom_script') @endsection