fix wpcfto select and repeater related visibility and validation
This commit is contained in:
@@ -59,6 +59,24 @@ abstract class Payment {
|
||||
'submenu' => __( 'General', 'formipay' ),
|
||||
'group' => 'started'
|
||||
),
|
||||
'allowed_currencies' => array(
|
||||
'type' => 'multi_checkbox',
|
||||
'searchable' => true,
|
||||
'required' => true,
|
||||
'label' => __( 'Allowed Currencies', 'formipay' ),
|
||||
'options' => formipay_global_currency_options(),
|
||||
'submenu' => __( 'General', 'formipay' ),
|
||||
'description' => __( 'Activate multicurrency and set more than one currency to enable this option. Default, only default currency is allowed.', 'formipay' )
|
||||
),
|
||||
'default_currencies' => array(
|
||||
'type' => 'select',
|
||||
'searchable' => true,
|
||||
'required' => true,
|
||||
'label' => __( 'Default Currency', 'formipay' ),
|
||||
'options' => formipay_global_currency_options(),
|
||||
'submenu' => __( 'General', 'formipay' ),
|
||||
'description' => __( 'First apply currency before buyer select.', 'formipay' )
|
||||
),
|
||||
'payment_section_title' => array(
|
||||
'type' => 'text',
|
||||
'label' => __( 'Payment Section Title', 'formipay' ),
|
||||
@@ -102,10 +120,10 @@ abstract class Payment {
|
||||
);
|
||||
|
||||
$channels['payment_tablet_columns'] = array(
|
||||
'type' => 'number',
|
||||
'label' => __( 'Tablet View', 'formipay' ),
|
||||
'submenu' => __( 'General', 'formipay' ),
|
||||
'value' => 3
|
||||
'type' => 'number',
|
||||
'label' => __( 'Tablet View', 'formipay' ),
|
||||
'submenu' => __( 'General', 'formipay' ),
|
||||
'value' => 3
|
||||
);
|
||||
|
||||
$channels['payment_mobile_columns'] = array(
|
||||
|
||||
Reference in New Issue
Block a user