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
a881307f
Commit
a881307f
authored
14 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: bug #30629 : Ajout de prix fournisseur avec quantité fractionné donne erreur
parent
178479ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/fourn/class/fournisseur.product.class.php
+1
-0
1 addition, 0 deletions
htdocs/fourn/class/fournisseur.product.class.php
htdocs/langs/fr_FR/products.lang
+4
-4
4 additions, 4 deletions
htdocs/langs/fr_FR/products.lang
htdocs/product/index.php
+3
-1
3 additions, 1 deletion
htdocs/product/index.php
with
8 additions
and
5 deletions
htdocs/fourn/class/fournisseur.product.class.php
+
1
−
0
View file @
a881307f
...
...
@@ -256,6 +256,7 @@ class ProductFournisseur extends Product
global
$mysoc
;
$buyprice
=
price2num
(
$buyprice
);
$qty
=
price2num
(
$qty
);
$error
=
0
;
$this
->
db
->
begin
();
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/products.lang
+
4
−
4
View file @
a881307f
...
...
@@ -23,10 +23,10 @@ ProductsAndServicesOnSell=Produits et Services en vente
ProductsAndServicesNotOnSell=Produits et Services hors vente
ProductsAndServicesStatistics=Statistiques produits et services
ProductsStatistics=Statistiques produits
ProductsOnSell=Produits en vente
ProductsNotOnSell=Produits hors vente
ServicesOnSell=Services en vente
ServicesNotOnSell=Services hors vente
ProductsOnSell=Produits en vente
ou en achat
ProductsNotOnSell=Produits hors vente
et hors achat
ServicesOnSell=Services en vente
ou en achat
ServicesNotOnSell=Services hors vente
et hors achat
InternalRef=Référence interne
LastRecorded=Derniers produits/services en vente enregistrés
LastRecordedProductsAndServices=Les %s derniers produits/services enregistrés
...
...
This diff is collapsed.
Click to expand it.
htdocs/product/index.php
+
3
−
1
View file @
a881307f
...
...
@@ -112,7 +112,9 @@ $sql.= " GROUP BY p.fk_product_type, p.tosell, p.tobuy";
$result
=
$db
->
query
(
$sql
);
while
(
$objp
=
$db
->
fetch_object
(
$result
))
{
$prodser
[
$objp
->
fk_product_type
][
$objp
->
tosell
]
=
$objp
->
total
;
$status
=
1
;
if
(
!
$objp
->
tosell
&&
!
$objp
->
tobuy
)
$status
=
0
;
$prodser
[
$objp
->
fk_product_type
][
$status
]
=
$objp
->
total
;
}
print
'<table class="noborder" width="100%">'
;
...
...
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