Skip to content
Snippets Groups Projects
Commit e4e49e8a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge remote-tracking branch 'origin/3.7' into develop

Conflicts:
	htdocs/product/stock/product.php
parents 6adfc6f6 206a453c
Branches
Tags
No related merge requests found
...@@ -50,6 +50,8 @@ StatusOrderRefused=Refused ...@@ -50,6 +50,8 @@ StatusOrderRefused=Refused
StatusOrderReceivedPartially=Partially received StatusOrderReceivedPartially=Partially received
StatusOrderReceivedAll=Everything received StatusOrderReceivedAll=Everything received
ShippingExist=A shipment exists ShippingExist=A shipment exists
ProductQtyInDraft=Product quantity into draft orders
ProductQtyInDraftOrWaitingApproved=Product quantity into draft or approved orders, not yet ordered
DraftOrWaitingApproved=Draft or approved not yet ordered DraftOrWaitingApproved=Draft or approved not yet ordered
DraftOrWaitingShipped=Draft or validated not yet shipped DraftOrWaitingShipped=Draft or validated not yet shipped
MenuOrdersToBill=Orders delivered MenuOrdersToBill=Orders delivered
......
...@@ -511,7 +511,7 @@ if ($id > 0 || $ref) ...@@ -511,7 +511,7 @@ if ($id > 0 || $ref)
print $langs->trans("ProductQtyInCustomersOrdersRunning").': '.$product->stats_commande['qty']; print $langs->trans("ProductQtyInCustomersOrdersRunning").': '.$product->stats_commande['qty'];
$result=$product->load_stats_commande(0,'0'); $result=$product->load_stats_commande(0,'0');
if ($result < 0) dol_print_error($db,$product->error); if ($result < 0) dol_print_error($db,$product->error);
print ' ('.$langs->trans("Draft").': '.$product->stats_commande['qty'].')'; print ' ('.$langs->trans("ProductQtyInDraft").': '.$product->stats_commande['qty'].')';
} }
// Number of product from customer order already sent (partial shipping) // Number of product from customer order already sent (partial shipping)
...@@ -529,7 +529,7 @@ if ($id > 0 || $ref) ...@@ -529,7 +529,7 @@ if ($id > 0 || $ref)
print $langs->trans("ProductQtyInSuppliersOrdersRunning").': '.$product->stats_commande_fournisseur['qty']; print $langs->trans("ProductQtyInSuppliersOrdersRunning").': '.$product->stats_commande_fournisseur['qty'];
$result=$product->load_stats_commande_fournisseur(0,'0,1,2'); $result=$product->load_stats_commande_fournisseur(0,'0,1,2');
if ($result < 0) dol_print_error($db,$product->error); if ($result < 0) dol_print_error($db,$product->error);
print ' ('.$langs->trans("DraftOrWaitingApproved").': '.$product->stats_commande_fournisseur['qty'].')'; print ' ('.$langs->trans("ProductQtyInDraftOrWaitingApproved").': '.$product->stats_commande_fournisseur['qty'].')';
} }
// Number of product from supplier order already received (partial receipt) // Number of product from supplier order already received (partial receipt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment