NEW pre-filled extra fields with slected credit note
This commit is contained in:
parent
08e313942d
commit
2d9c46ed3a
@ -3415,6 +3415,10 @@ if ($action == 'create') {
|
|||||||
$optionsav .= '<option value="'.$key.'"';
|
$optionsav .= '<option value="'.$key.'"';
|
||||||
if ($key == GETPOST('fac_avoir')) {
|
if ($key == GETPOST('fac_avoir')) {
|
||||||
$optionsav .= ' selected';
|
$optionsav .= ' selected';
|
||||||
|
|
||||||
|
// pre-filled extra fields with selected credit note
|
||||||
|
$newinvoice_static->fetch_optionals($key);
|
||||||
|
$object->array_options = $newinvoice_static->array_options;
|
||||||
}
|
}
|
||||||
$optionsav .= '>';
|
$optionsav .= '>';
|
||||||
$optionsav .= $newinvoice_static->ref;
|
$optionsav .= $newinvoice_static->ref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user