Solve confusion into number of order or qty into order.

This commit is contained in:
Laurent Destailleur 2015-02-12 15:40:06 +01:00
parent c727e2b8ec
commit 206a453ce2
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -438,7 +438,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)
@ -456,7 +456,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)