Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
88256b75
Commit
88256b75
authored
12 years ago
by
Philippe Grand
Browse files
Options
Downloads
Patches
Plain Diff
normalize
parent
bda1c765
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/admin/supplier_order.php
+2
-2
2 additions, 2 deletions
htdocs/admin/supplier_order.php
htdocs/core/modules/modFournisseur.class.php
+10
-1
10 additions, 1 deletion
htdocs/core/modules/modFournisseur.class.php
with
12 additions
and
3 deletions
htdocs/admin/supplier_order.php
+
2
−
2
View file @
88256b75
...
...
@@ -188,7 +188,7 @@ if ($action == 'setmod')
// TODO Verifier si module numerotation choisi peut etre active
// 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'
)
...
...
@@ -306,7 +306,7 @@ foreach ($dirmodels as $reldir)
print
'</td>'
.
"
\n
"
;
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'
);
}
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/modules/modFournisseur.class.php
+
10
−
1
View file @
88256b75
...
...
@@ -3,6 +3,7 @@
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* 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
* 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
][
1
]
=
"chaine"
;
$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
++
;
$this
->
const
[
$r
][
0
]
=
"COMMANDE_SUPPLIER_ADDON"
;
$this
->
const
[
$r
][
0
]
=
"COMMANDE_SUPPLIER_ADDON
_NUMBER
"
;
$this
->
const
[
$r
][
1
]
=
"chaine"
;
$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
++
;
$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"
;
$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
++
;
// Boxes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment