From cf5760bb552d04619764df8220b92fddea3c0f90 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Wed, 15 Jul 2020 15:18:35 +0530 Subject: [PATCH 1/7] remove PHP code, PFWMA-165 --- ...ommerce-multi-account-management-admin.php | 15 ++++------- uninstall.php | 25 ------------------- 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php index f2cf135..1bad55f 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php @@ -353,7 +353,7 @@ public function angelleye_display_multi_account_list() { } } $option_four = !empty($microprocessing['woocommerce_paypal_express_api_condition_value']) ? $microprocessing['woocommerce_paypal_express_api_condition_value'][0] : ''; - $option_five = '

' . __('Select User Role', 'paypal-for-woocommerce-multi-account-management') . '

'; + $option_five = '

' . __('Select Buyer Role', 'paypal-for-woocommerce-multi-account-management') . '

'; $option_five .= ''; - $option_five_one = "

" . __('Select Author', 'paypal-for-woocommerce-multi-account-management') . "

"; + $option_five_one = "

" . __('Select Seller/Product Author', 'paypal-for-woocommerce-multi-account-management') . "

"; $option_five_one .= " -

+

-

+

countries->get_countries(); echo ''; if ($countries) { foreach ($countries as $country_key => $country_full_name) { @@ -1622,7 +1618,6 @@ public function angelleye_multi_account_condition_ui() { 'Visa', 'amex' => 'American Express', 'mastercard' => 'MasterCard', 'discover' => 'Discover', 'maestro' => 'Maestro/Switch'); foreach ($card_type as $type => $card_name) { - echo "\n\t"; } ?> diff --git a/uninstall.php b/uninstall.php index 5b144e6..784bd01 100644 --- a/uninstall.php +++ b/uninstall.php @@ -1,30 +1,5 @@ Date: Wed, 15 Jul 2020 15:49:48 +0530 Subject: [PATCH 2/7] update buyer country, PFWMA-165 --- ...ss-paypal-for-woocommerce-multi-account-management-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php index 1bad55f..b54911a 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php @@ -1568,7 +1568,7 @@ public function angelleye_multi_account_condition_ui() { $countries = WC()->countries->get_countries(); if ($countries) { foreach ($countries as $country_key => $country_full_name) { - echo '"; } } ?> From 27a9c2ac5d2ab662350ac0c1c7a65b2503447a62 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Wed, 15 Jul 2020 16:03:54 +0530 Subject: [PATCH 3/7] add submit button id, PFWMA-165 --- ...-paypal-for-woocommerce-multi-account-management-admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php index b54911a..be1d8e1 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php @@ -512,7 +512,7 @@ public function angelleye_display_multi_account_list() { echo sprintf(' - + %3$s %4$s @@ -713,7 +713,7 @@ public function angelleye_multi_account_ui() { ?> - + From e62ebb04565790abb6a90e7aceb2e1ba53f5c207 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Wed, 15 Jul 2020 17:05:35 +0530 Subject: [PATCH 4/7] add submit JS code, PFWMA-159 --- ...ommerce-multi-account-management-admin.php | 6 ++-- ...commerce-multi-account-management-admin.js | 32 +++++++++++++++++-- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php index be1d8e1..6d4bdc8 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php @@ -95,7 +95,7 @@ public function angelleye_display_multi_account_list() { $selected_role = ''; $ec_site_owner_commission = 0; $microprocessing = get_post_meta($_GET['ID']); - echo '