From 382fe4f13cbb976d49f1ef32c396ad7346344191 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Tue, 6 Mar 2018 16:29:43 +0100 Subject: [PATCH] FIX group account settings transfert bank settinds to account setting et let only general common online payment settings --- htdocs/stripe/admin/stripe.php | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/htdocs/stripe/admin/stripe.php b/htdocs/stripe/admin/stripe.php index e25a84ee6a6..fca7c4a22fb 100644 --- a/htdocs/stripe/admin/stripe.php +++ b/htdocs/stripe/admin/stripe.php @@ -203,6 +203,20 @@ print ''; print ''.$langs->trans("STRIPECONNECT").''; print 'Ce module est configuré en mode marketplace'; } + +if (! empty($conf->banque->enabled)) +{ +print ''; +print $langs->trans("BankAccount").''; +print $form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_PAYMENTS, 'STRIPE_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1); +print ''; + +print ''; +print $langs->trans("BankAccount").''; +print $form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS, 'STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS', 0, '', 1); +print ''; +} + print ''; print '
'; @@ -219,19 +233,6 @@ print 'name; print ''; -if (! empty($conf->banque->enabled)) -{ - print ''; - print $langs->trans("BankAccount").''; - print $form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_PAYMENTS, 'STRIPE_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1); - print ''; - - print ''; - print $langs->trans("BankAccount").''; - print $form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS, 'STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS', 0, '', 1); - print ''; -} - print ''; print $langs->trans("CSSUrlForPaymentForm").''; print '';