2
0
forked from Wavyzz/dolibarr

NEW Code for extrafields uses the new array $extrafields->attributes

This commit is contained in:
Laurent Destailleur
2019-10-06 14:41:52 +02:00
parent 76dad97cb1
commit 2b66282b61
156 changed files with 622 additions and 649 deletions

View File

@@ -453,8 +453,8 @@ class Reception extends CommonObject
// fetch optionals attributes and labels
require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';
$extrafields=new ExtraFields($this->db);
$extralabels=$extrafields->fetch_name_optionals_label($this->table_element, true);
$this->fetch_optionals($this->id, $extralabels);
$extrafields->fetch_name_optionals_label($this->table_element, true);
$this->fetch_optionals($this->id);
/*
* Lines