Merge pull request #12751 from OPEN-DSI/v10-fix-html-form-margin-class
FIX class Facture undefined in displaying margin information
This commit is contained in:
commit
6e90e81be1
@ -63,6 +63,8 @@ class FormMargin
|
|||||||
{
|
{
|
||||||
global $conf, $db;
|
global $conf, $db;
|
||||||
|
|
||||||
|
require_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php';
|
||||||
|
|
||||||
// Default returned array
|
// Default returned array
|
||||||
$marginInfos = array(
|
$marginInfos = array(
|
||||||
'pa_products' => 0,
|
'pa_products' => 0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user