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
92e9e144
Commit
92e9e144
authored
14 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
Task #9643: Works in Products
parent
03dcfb04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/product/fiche.php
+5
-5
5 additions, 5 deletions
htdocs/product/fiche.php
with
5 additions
and
5 deletions
htdocs/product/fiche.php
+
5
−
5
View file @
92e9e144
...
...
@@ -675,7 +675,7 @@ if ($_GET["action"] == 'create' && ($user->rights->produit->creer || $user->righ
// To buy
print
'<tr><td class="fieldrequired">'
.
$langs
->
trans
(
"Status"
)
.
' ('
.
$langs
->
trans
(
"Buy"
)
.
')'
.
'</td><td>'
;
$statutarray
=
array
(
'1'
=>
$langs
->
trans
(
"
OnSell
"
),
'0'
=>
$langs
->
trans
(
"NotOn
Sell
"
));
$statutarray
=
array
(
'1'
=>
$langs
->
trans
(
"
ProductStatusOnBuy
"
),
'0'
=>
$langs
->
trans
(
"
ProductStatus
NotOn
Buy
"
));
$html
->
select_array
(
'statut_buy'
,
$statutarray
,
$_POST
[
"statut_buy"
]);
print
'</td></tr>'
;
...
...
@@ -910,13 +910,13 @@ if ($_GET["id"] || $_GET["ref"])
print
'<select class="flat" name="statut_buy">'
;
if
(
$product
->
status_buy
)
{
print
'<option value="1" selected="true">'
.
$langs
->
trans
(
"
OnSell
"
)
.
'</option>'
;
print
'<option value="0">'
.
$langs
->
trans
(
"NotOn
Sell
"
)
.
'</option>'
;
print
'<option value="1" selected="true">'
.
$langs
->
trans
(
"
ProductStatusOnBuy
"
)
.
'</option>'
;
print
'<option value="0">'
.
$langs
->
trans
(
"
ProductStatus
NotOn
Buy
"
)
.
'</option>'
;
}
else
{
print
'<option value="1">'
.
$langs
->
trans
(
"
OnSell
"
)
.
'</option>'
;
print
'<option value="0" selected="true">'
.
$langs
->
trans
(
"NotOn
Sell
"
)
.
'</option>'
;
print
'<option value="1">'
.
$langs
->
trans
(
"
ProductStatusOnBuy
"
)
.
'</option>'
;
print
'<option value="0" selected="true">'
.
$langs
->
trans
(
"
ProductStatus
NotOn
Buy
"
)
.
'</option>'
;
}
print
'</select>'
;
print
'</td></tr>'
;
...
...
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