FIX 16.0 - ref_client set instead of ref_supplier (maybe copy-paste error)

This commit is contained in:
atm-florian 2022-04-05 15:38:54 +02:00
parent 392ba6deed
commit 046089f371

View File

@ -903,7 +903,7 @@ if (empty($reshook)) {
$object->date = $dateinvoice;
$object->note_public = trim(GETPOST('note_public', 'restricthtml'));
$object->note_private = trim(GETPOST('note_private', 'restricthtml'));
$object->ref_client = GETPOST('ref_client');
$object->ref_supplier = GETPOST('ref_supplier', 'nohtml');
$object->model_pdf = GETPOST('model');
$object->fk_project = GETPOST('projectid', 'int');
$object->cond_reglement_id = (GETPOST('type') == 3 ? 1 : GETPOST('cond_reglement_id'));