Merge pull request #22185 from dolibit-ut/patch-555
Update bom_note.php
This commit is contained in:
commit
bdeac7b7ab
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file bom_note.php
|
* \file htdocs/bom/bom_note.php
|
||||||
* \ingroup bom
|
* \ingroup bom
|
||||||
* \brief Car with notes on BillOfMaterials
|
* \brief Card with notes on BillOfMaterials
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Load Dolibarr environment
|
// Load Dolibarr environment
|
||||||
@ -40,9 +40,13 @@ $backtopage = GETPOST('backtopage', 'alpha');
|
|||||||
// Initialize technical objects
|
// Initialize technical objects
|
||||||
$object = new BOM($db);
|
$object = new BOM($db);
|
||||||
$extrafields = new ExtraFields($db);
|
$extrafields = new ExtraFields($db);
|
||||||
$diroutputmassaction = $conf->bom->dir_output.'/temp/massgeneration/'.$user->id;
|
|
||||||
|
// Initialize technical objects for hooks
|
||||||
$hookmanager->initHooks(array('bomnote', 'globalcard')); // Note that conf->hooks_modules contains array
|
$hookmanager->initHooks(array('bomnote', 'globalcard')); // Note that conf->hooks_modules contains array
|
||||||
|
|
||||||
|
// Massactions
|
||||||
|
$diroutputmassaction = $conf->bom->dir_output.'/temp/massgeneration/'.$user->id;
|
||||||
|
|
||||||
// Fetch optionals attributes and labels
|
// Fetch optionals attributes and labels
|
||||||
$extrafields->fetch_name_optionals_label($object->table_element);
|
$extrafields->fetch_name_optionals_label($object->table_element);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user