Merge pull request #19819 from OPEN-DSI/new-invoice-propagate-extrafields-on-credit-note
NEW pre-filled extra fields with slected credit note
This commit is contained in:
commit
0a996f44be
@ -3418,6 +3418,10 @@ if ($action == 'create') {
|
||||
$optionsav .= '<option value="'.$key.'"';
|
||||
if ($key == GETPOST('fac_avoir')) {
|
||||
$optionsav .= ' selected';
|
||||
|
||||
// pre-filled extra fields with selected credit note
|
||||
$newinvoice_static->fetch_optionals($key);
|
||||
$object->array_options = $newinvoice_static->array_options;
|
||||
}
|
||||
$optionsav .= '>';
|
||||
$optionsav .= $newinvoice_static->ref;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user