ADD check user's rights
This commit is contained in:
parent
30cff2bb36
commit
5011f252c1
@ -53,7 +53,8 @@ if (!empty($conf->accounting->enabled))
|
|||||||
/**
|
/**
|
||||||
* Class to manage invoices
|
* Class to manage invoices
|
||||||
*/
|
*/
|
||||||
class Facture extends CommonInvoice {
|
class Facture extends CommonInvoice
|
||||||
|
{
|
||||||
|
|
||||||
public $element = 'facture';
|
public $element = 'facture';
|
||||||
public $table_element = 'facture';
|
public $table_element = 'facture';
|
||||||
@ -227,7 +228,8 @@ class Facture extends CommonInvoice {
|
|||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function __construct($db) {
|
function __construct($db)
|
||||||
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3868,7 +3870,8 @@ class Facture extends CommonInvoice {
|
|||||||
* Class to manage invoice lines.
|
* Class to manage invoice lines.
|
||||||
* Saved into database table llx_facturedet
|
* Saved into database table llx_facturedet
|
||||||
*/
|
*/
|
||||||
class FactureLigne extends CommonInvoiceLine {
|
class FactureLigne extends CommonInvoiceLine
|
||||||
|
{
|
||||||
|
|
||||||
public $element = 'facturedet';
|
public $element = 'facturedet';
|
||||||
public $table_element = 'facturedet';
|
public $table_element = 'facturedet';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user