@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('logo', trans("lang.payment_method_logo"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.payment_method_logo_help") }}
@prepend('scripts') @endprepend
{!! Form::label('name', trans("lang.payment_method_name"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.payment_method_name_placeholder")]) !!}
{{ trans("lang.payment_method_name_help") }}
{!! Form::label('description', trans("lang.payment_method_description"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('description', null, ['class' => 'form-control','placeholder'=> trans("lang.payment_method_description_placeholder")]) !!}
{{ trans("lang.payment_method_description_help") }}
{!! Form::label('route', trans("lang.payment_method_route"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('route', null, ['class' => 'form-control','placeholder'=> trans("lang.payment_method_route_placeholder")]) !!}
{{ trans("lang.payment_method_route_help") }}
{!! Form::label('order', trans("lang.payment_method_order"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('order', null, ['class' => 'form-control','min'=> '0', 'placeholder' => trans("lang.payment_method_order_placeholder")]) !!}
{{ trans("lang.payment_method_order_help") }}
{!! Form::label('default', trans("lang.payment_method_default"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!} {!! Form::hidden('default', 0, ['id'=>"hidden_default"]) !!}
{!! Form::checkbox('default', 1, null) !!}
@if(isset($paymentMethod)) @if($paymentMethod['route'] == "/Cash") @include('payment_methods.cash') @elseif($paymentMethod['route'] == "/PayPal") @include('payment_methods.paypal') @elseif($paymentMethod['route'] == "/RazorPay") @include('payment_methods.razorpay') @elseif($paymentMethod['route'] == "/Stripe") @include('payment_methods.stripe') @elseif($paymentMethod['route'] == "/StripeFPX") @include('payment_methods.stripe_fpx') @elseif($paymentMethod['route'] == "/PayStack") @include('payment_methods.paystack') @elseif($paymentMethod['route'] == "/FlutterWave") @include('payment_methods.flutterwave') @elseif($paymentMethod['route'] == "/Wallet") @include('payment_methods.wallet') @elseif($paymentMethod['route'] == "/PayMongo") @include('payment_methods.paymongo') @endif @endif
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}