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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a2d1a2e9
Commit
a2d1a2e9
authored
19 years ago
by
Regis Houssin
Browse files
Options
Downloads
Patches
Plain Diff
Fix: problème de numérotation
parent
af9a4eda
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/fichinter/fiche.php
+13
-2
13 additions, 2 deletions
htdocs/fichinter/fiche.php
htdocs/langs/en_US/interventions.lang
+2
-1
2 additions, 1 deletion
htdocs/langs/en_US/interventions.lang
htdocs/langs/fr_FR/interventions.lang
+2
-1
2 additions, 1 deletion
htdocs/langs/fr_FR/interventions.lang
with
17 additions
and
4 deletions
htdocs/fichinter/fiche.php
+
13
−
2
View file @
a2d1a2e9
...
@@ -166,7 +166,18 @@ if ($_GET["action"] == 'create')
...
@@ -166,7 +166,18 @@ if ($_GET["action"] == 'create')
print
"<input type=
\"
hidden
\"
name=
\"
action
\"
value=
\"
add
\"
>"
;
print
"<input type=
\"
hidden
\"
name=
\"
action
\"
value=
\"
add
\"
>"
;
print
"<tr><td>"
.
$langs
->
trans
(
"Ref"
)
.
"</td><td><input name=
\"
ref
\"
value=
\"
$numpr
\"
></td></tr>
\n
"
;
print
"<tr><td>"
.
$langs
->
trans
(
"Ref"
)
.
"</td>"
;
// en attendant le module de numrotation
if
(
$societe
->
prefix_comm
)
{
print
"<td><input name=
\"
ref
\"
value=
\"
$numpr
\"
></td></tr>
\n
"
;
}
else
{
print
"<td>"
.
$langs
->
trans
(
"CustomerDoesNotHavePrefix"
)
.
"</td></tr>
\n
"
;
}
print
"<tr><td>"
.
$langs
->
trans
(
"Duration"
)
.
" ("
.
$langs
->
trans
(
"days"
)
.
")</td><td><input name=
\"
duree
\"
></td></tr>
\n
"
;
print
"<tr><td>"
.
$langs
->
trans
(
"Duration"
)
.
" ("
.
$langs
->
trans
(
"days"
)
.
")</td><td><input name=
\"
duree
\"
></td></tr>
\n
"
;
if
(
$conf
->
projet
->
enabled
)
if
(
$conf
->
projet
->
enabled
)
...
@@ -199,7 +210,7 @@ if ($_GET["action"] == 'create')
...
@@ -199,7 +210,7 @@ if ($_GET["action"] == 'create')
$user
->
getrights
(
"projet"
);
$user
->
getrights
(
"projet"
);
if
(
$user
->
rights
->
projet
->
creer
)
if
(
$user
->
rights
->
projet
->
creer
&&
$societe
->
prefix_comm
)
{
{
print
'<a href='
.
DOL_URL_ROOT
.
'/projet/fiche.php?socidp='
.
$socidp
.
'&action=create>'
.
$langs
->
trans
(
"Add"
)
.
'</a>'
;
print
'<a href='
.
DOL_URL_ROOT
.
'/projet/fiche.php?socidp='
.
$socidp
.
'&action=create>'
.
$langs
->
trans
(
"Add"
)
.
'</a>'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/interventions.lang
+
2
−
1
View file @
a2d1a2e9
...
@@ -9,3 +9,4 @@ ListOfInterventions=List of interventions
...
@@ -9,3 +9,4 @@ ListOfInterventions=List of interventions
LastInterventions=Last %s interventions
LastInterventions=Last %s interventions
AllInterventions=All interventions
AllInterventions=All interventions
CreateDaftIntervention=Create draft
CreateDaftIntervention=Create draft
CustomerDoesNotHavePrefix=Customer does not have a prefix
\ No newline at end of file
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/interventions.lang
+
2
−
1
View file @
a2d1a2e9
...
@@ -9,3 +9,4 @@ EditIntervention=Editer
...
@@ -9,3 +9,4 @@ EditIntervention=Editer
LastInterventions=Les %s dernières interventions
LastInterventions=Les %s dernières interventions
AllInterventions=Toutes les interventions
AllInterventions=Toutes les interventions
CreateDaftIntervention=Créer brouillon
CreateDaftIntervention=Créer brouillon
CustomerDoesNotHavePrefix=Le client n'a pas de préfixe de défini
\ No newline at end of file
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