Skip to content

Commit

Permalink
Fix bad setup
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 14, 2017
1 parent e551c0a commit de66971
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions htdocs/core/modules/modFournisseur.class.php
Expand Up @@ -96,12 +96,14 @@ function __construct($db)
$this->const[$r][4] = 0;
$r++;

/* For supplier invoice, we must not have default pdf template on. In most cases, we need to join PDF from supplier, not have a document generated.
$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_PDF";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = "canelle";
$this->const[$r][3] = 'Nom du gestionnaire de generation des factures fournisseur en PDF';
$this->const[$r][4] = 0;
$r++;
*/

$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_NUMBER";
$this->const[$r][1] = "chaine";
Expand Down Expand Up @@ -272,12 +274,12 @@ function __construct($db)
$this->rights[$r][5] = 'approve2';
}


// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.


// Exports
//--------
$r=0;
Expand Down

0 comments on commit de66971

Please sign in to comment.