diff --git a/htdocs/langs/en_US/orders.lang b/htdocs/langs/en_US/orders.lang index e054f2241a00d65e08e2ec51a7429ca5be0ccd3a..4f6e0b0dfb2edff006927eff69c2460e3277a4f7 100644 --- a/htdocs/langs/en_US/orders.lang +++ b/htdocs/langs/en_US/orders.lang @@ -50,6 +50,8 @@ StatusOrderRefused=Refused StatusOrderReceivedPartially=Partially received StatusOrderReceivedAll=Everything received 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 DraftOrWaitingShipped=Draft or validated not yet shipped MenuOrdersToBill=Orders delivered diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index a1dcd7bc4ef403c19b720f08ed3d6d80c55a817e..57e4c2e7d9889aab3b91b632899d49666ae2ab2c 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -511,7 +511,7 @@ if ($id > 0 || $ref) print $langs->trans("ProductQtyInCustomersOrdersRunning").': '.$product->stats_commande['qty']; $result=$product->load_stats_commande(0,'0'); 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) @@ -529,7 +529,7 @@ if ($id > 0 || $ref) print $langs->trans("ProductQtyInSuppliersOrdersRunning").': '.$product->stats_commande_fournisseur['qty']; $result=$product->load_stats_commande_fournisseur(0,'0,1,2'); 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)