changin accountid has value 0

This commit is contained in:
Lamrani Abdel 2022-11-15 16:33:00 +01:00
parent 905c94461e
commit ed94d0490a

View File

@ -199,7 +199,7 @@ if ($action == 'create') {
print '<tr>';
print '<td class="fieldrequired">'.$langs->trans('AccountToCredit').'</td>';
print '<td colspan="2">';
$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid") : $object->fk_account, "accountid", 0, '', 2); // Show open bank account list
$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid") : "0", "accountid", 0, '', 2); // Show open bank account list
print '</td></tr>';
// Number