Merge pull request #20896 from marc-dll/13.0_FIX_new_membership_select_width

FIX: new member subscription: bank account and payment mode might be hidden
This commit is contained in:
Laurent Destailleur 2022-05-21 00:48:58 +02:00 committed by GitHub
commit 6aa4ce2acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,12 +960,12 @@ if ($rowid > 0) {
// Bank account
print '<tr class="bankswitchclass"><td class="fieldrequired">'.$langs->trans("FinancialAccount").'</td><td>';
$form->select_comptes(GETPOST('accountid'), 'accountid', 0, '', 2);
$form->select_comptes(GETPOST('accountid'), 'accountid', 0, '', 2, '', 0, 'minwidth200');
print "</td></tr>\n";
// Payment mode
print '<tr class="bankswitchclass"><td class="fieldrequired">'.$langs->trans("PaymentMode").'</td><td>';
$form->select_types_paiements(GETPOST('operation'), 'operation', '', 2);
$form->select_types_paiements(GETPOST('operation'), 'operation', '', 2, 1, 0, 0, 1, 'minwidth200');
print "</td></tr>\n";
// Date of payment