@foreach ($errors->all() as $error)
@endforeach
{{ trans('Product Payment Mode') }}
{!! Form::open(['url' => '/dashboard/superadmin/site-management/payment/store-product-type',
'class' => 'sj-formtheme sj-formarticle sj-formsocical', 'enctype' => 'multipart/form-data', 'multiple' => true]) !!}
{!! Form::submit(trans('Save'), ['class' => 'sj-btn sj-btnactive']) !!}
{!! Form::close() !!}
@if (!empty($existing_product_mode) && $existing_product_mode == "individual-product")
{{{trans('Payment Settings')}}}
{!! Form::open(['url' => '/dashboard/superadmin/site-management/payment/store-payment-settings', 'class' => 'sj-formtheme sj-formsocical']) !!}
@php
$existing_payment_settings_client = '';
$client_id = '';
$currency_from_db = array();
$vat = '';
$payment_type = '';
$existing_payment_password = '';
$existing_payment_secret = '';
if (!empty($existing_payment_settings)) {
$client_id = $existing_payment_settings[0]['client_id'];
$currency_from_db = $existing_payment_settings[0]['currency'];
$vat = $existing_payment_settings[0]['vat'];
$payment_type = $existing_payment_settings[0]['payment_type'];
$payment_password = $existing_payment_settings[0]['paypal_password'];
$existing_payment_secret = $existing_payment_settings[0]['paypal_secret'];
}
@endphp
{!! Form::submit(trans('Save'), ['class' => 'sj-btn sj-btnactive']) !!}
{!! Form::close() !!}