Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
76d1f331
Commit
76d1f331
authored
May 23, 2014
by
Bate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Peut-etre qu'il faudrait empecher de declicker des ecocup qu'on a pas achete/ Rognutudju
parent
3d66f093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comptoir/include/produit.inc.php
comptoir/include/produit.inc.php
+1
-1
No files found.
comptoir/include/produit.inc.php
View file @
76d1f331
...
...
@@ -601,7 +601,7 @@ class produit extends stdentity
if
(
$this
->
id
==
1151
)
{
$req
=
new
requete
(
$this
->
db
,
"SELECT SUM(cpt_produits.prix_vente_prod*cpt_
produits
.quantite)/100 nb_consigne FROM cpt_vendu
"SELECT SUM(cpt_produits.prix_vente_prod*cpt_
vendu
.quantite)/100 nb_consigne FROM cpt_vendu
INNER JOIN cpt_produits ON cpt_vendu.id_produit = cpt_produits.id_produit
INNER JOIN cpt_debitfacture ON cpt_debitfacture.id_facture = cpt_vendu.id_facture
WHERE cpt_debitfacture.id_utilisateur_client = '"
.
intval
(
$user
->
id
)
.
"'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment