FIX : $fk_account is always empty, must be $soc->fk_account

This commit is contained in:
gauthier 2018-08-28 16:54:04 +02:00
parent 009424cd67
commit 61a57e619f

View File

@ -1451,7 +1451,7 @@ if ($action == 'create')
// Bank Account
if (! empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && ! empty($conf->banque->enabled)) {
print '<tr><td>' . $langs->trans('BankAccount') . '</td><td>';
$form->select_comptes($fk_account, 'fk_account', 0, '', 1);
$form->select_comptes($soc->fk_account, 'fk_account', 0, '', 1);
print '</td></tr>';
}