Skip to content

Commit

Permalink
ADD check user's rights
Browse files Browse the repository at this point in the history
  • Loading branch information
inoveaconseil committed Jul 5, 2018
1 parent 30cff2b commit 5011f25
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions htdocs/compta/facture/class/facture.class.php
Expand Up @@ -53,7 +53,8 @@
/**
* Class to manage invoices
*/
class Facture extends CommonInvoice {
class Facture extends CommonInvoice
{

public $element = 'facture';
public $table_element = 'facture';
Expand Down Expand Up @@ -227,7 +228,8 @@ class Facture extends CommonInvoice {
* @param DoliDB $db Database handler
*/

function __construct($db) {
function __construct($db)
{
$this->db = $db;
}

Expand Down Expand Up @@ -3868,7 +3870,8 @@ public function hasDelay() {
* Class to manage invoice lines.
* Saved into database table llx_facturedet
*/
class FactureLigne extends CommonInvoiceLine {
class FactureLigne extends CommonInvoiceLine
{

public $element = 'facturedet';
public $table_element = 'facturedet';
Expand Down

0 comments on commit 5011f25

Please sign in to comment.