The property db does not exist on mod_reception_moonstone
This commit is contained in:
parent
5cb014435b
commit
318ba895e5
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2018 Quentin Vial-Gouteyron <quentin.vial-gouteyron@atm-consulting.fr>
|
/* Copyright (C) 2018 Quentin Vial-Gouteyron <quentin.vial-gouteyron@atm-consulting.fr>
|
||||||
|
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -29,7 +30,7 @@ require_once DOL_DOCUMENT_ROOT .'/core/modules/reception/modules_reception.php';
|
|||||||
*/
|
*/
|
||||||
class mod_reception_moonstone extends ModelNumRefReception
|
class mod_reception_moonstone extends ModelNumRefReception
|
||||||
{
|
{
|
||||||
public $version='dolibarr';
|
public $version = 'dolibarr';
|
||||||
public $error = '';
|
public $error = '';
|
||||||
public $nom = 'Moonstone';
|
public $nom = 'Moonstone';
|
||||||
|
|
||||||
@ -40,11 +41,11 @@ class mod_reception_moonstone extends ModelNumRefReception
|
|||||||
*/
|
*/
|
||||||
public function info()
|
public function info()
|
||||||
{
|
{
|
||||||
global $conf,$langs;
|
global $conf, $langs, $db;
|
||||||
|
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
|
||||||
$form = new Form($this->db);
|
$form = new Form($db);
|
||||||
|
|
||||||
$texte = $langs->trans('GenericNumRefModelDesc')."<br>\n";
|
$texte = $langs->trans('GenericNumRefModelDesc')."<br>\n";
|
||||||
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user