Skip to content
Snippets Groups Projects
Commit 2d5331b8 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

FIX [ #3460 ] Selected bank account was not saved when an error happened when...

FIX [ #3460 ] Selected bank account was not saved when an error happened when trying to create a customer invoice

Close #3460
parent d64a87d9
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ FIX [ bug #3288 ] Tasks box is not properly drawn
FIX [ bug #3211 ] Outstading bill amount of a client showed wrong amounts
FIX [ bug #3321 ] Users with certain permissions were shown a "forbidden access" page even if they had the rights
FIX [ bug #3426 ] Unable to create an invoice from a contract with extrafields
FIX [ bug #3460 ] Bank account is not saved when creating a customer invoice and facing an error message
NEW: Created new ContratLigne::insert function
......
......@@ -2121,6 +2121,10 @@ if ($action == 'create')
print '</td></tr>';
// Bank Account
if (isset($_POST['fk_account'])) {
$fk_account = $_POST['fk_account'];
}
print '<tr><td>' . $langs->trans('BankAccount') . '</td><td colspan="2">';
$form->select_comptes($fk_account, 'fk_account', 0, '', 1);
print '</td></tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment