@extends('layouts.app') @section('title') {{trans('users.payout_method')}} -@endsection @section('content')

{{trans('users.payout_method')}}

{{trans('general.default_payout_method')}}: @if(Auth::user()->payment_gateway != '') {{Auth::user()->payment_gateway == 'PayPal' ? 'PayPal' : trans('users.bank_transfer')}} @else {{trans('general.none')}} @endif

@include('includes.cards-settings')
@if (session('status'))
{{ session('status') }}
@endif @include('errors.errors-forms') @if (auth()->user()->verified_id != 'yes')
@endif @if (auth()->user()->verified_id == 'yes')
@php // PayPal $buttonPayPal = null; $formPayPal = null; // Bank $buttonBank = null; $formBank = null; if ($errors->has('bank_details')) { // Bank $buttonBank = ' active'; $formBank = ' active show'; // PayPal $buttonPayPal = null; $formPayPal = null; } if ($errors->has('email_paypal') || $errors->has('email_paypal_confirmation')) { // PayPal $buttonPayPal = ' active'; $formPayPal = ' active show'; // Bank $buttonBank = null; $formBank = null; } @endphp
@if( $settings->payout_method_paypal == 'on' )
@csrf
@endif @if( $settings->payout_method_bank == 'on' )
@csrf
@endif
@endif
@endsection