normalize
This commit is contained in:
parent
bda1c7656b
commit
88256b7531
@ -188,7 +188,7 @@ if ($action == 'setmod')
|
|||||||
// TODO Verifier si module numerotation choisi peut etre active
|
// TODO Verifier si module numerotation choisi peut etre active
|
||||||
// par appel methode canBeActivated
|
// par appel methode canBeActivated
|
||||||
|
|
||||||
dolibarr_set_const($db, "COMMANDE_SUPPLIER_ADDON",$value,'chaine',0,'',$conf->entity);
|
dolibarr_set_const($db, "COMMANDE_SUPPLIER_ADDON_NUMBER",$value,'chaine',0,'',$conf->entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == 'addcat')
|
if ($action == 'addcat')
|
||||||
@ -306,7 +306,7 @@ foreach ($dirmodels as $reldir)
|
|||||||
print '</td>'."\n";
|
print '</td>'."\n";
|
||||||
|
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($conf->global->COMMANDE_SUPPLIER_ADDON == "$file")
|
if ($conf->global->COMMANDE_SUPPLIER_ADDON_NUMBER == "$file")
|
||||||
{
|
{
|
||||||
print img_picto($langs->trans("Activated"),'switch_on');
|
print img_picto($langs->trans("Activated"),'switch_on');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
|
||||||
|
* Copyright (C) 2013 Philippe Grand <philippe.grand@atoo-net.com>
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -81,21 +82,29 @@ class modFournisseur extends DolibarrModules
|
|||||||
$this->const[$r][0] = "COMMANDE_SUPPLIER_ADDON_PDF";
|
$this->const[$r][0] = "COMMANDE_SUPPLIER_ADDON_PDF";
|
||||||
$this->const[$r][1] = "chaine";
|
$this->const[$r][1] = "chaine";
|
||||||
$this->const[$r][2] = "muscadet";
|
$this->const[$r][2] = "muscadet";
|
||||||
|
$this->const[$r][3] = 'Nom du gestionnaire de generation des bons de commande en PDF';
|
||||||
|
$this->const[$r][4] = 0;
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
$this->const[$r][0] = "COMMANDE_SUPPLIER_ADDON";
|
$this->const[$r][0] = "COMMANDE_SUPPLIER_ADDON_NUMBER";
|
||||||
$this->const[$r][1] = "chaine";
|
$this->const[$r][1] = "chaine";
|
||||||
$this->const[$r][2] = "mod_commande_fournisseur_muguet";
|
$this->const[$r][2] = "mod_commande_fournisseur_muguet";
|
||||||
|
$this->const[$r][3] = 'Nom du gestionnaire de numerotation des commandes fournisseur';
|
||||||
|
$this->const[$r][4] = 0;
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_PDF";
|
$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_PDF";
|
||||||
$this->const[$r][1] = "chaine";
|
$this->const[$r][1] = "chaine";
|
||||||
$this->const[$r][2] = "canelle";
|
$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++;
|
$r++;
|
||||||
|
|
||||||
$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_NUMBER";
|
$this->const[$r][0] = "INVOICE_SUPPLIER_ADDON_NUMBER";
|
||||||
$this->const[$r][1] = "chaine";
|
$this->const[$r][1] = "chaine";
|
||||||
$this->const[$r][2] = "mod_facture_fournisseur_tulip";
|
$this->const[$r][2] = "mod_facture_fournisseur_tulip";
|
||||||
|
$this->const[$r][3] = 'Nom du gestionnaire de numerotation des factures fournisseur';
|
||||||
|
$this->const[$r][4] = 0;
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
// Boxes
|
// Boxes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user