Add comments

This commit is contained in:
Laurent Destailleur 2014-02-12 15:21:06 +01:00
parent b4977cd542
commit 0d03f13777

View File

@ -277,7 +277,9 @@ if ($id > 0 || $ref)
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
// Calculating a theorical value of stock if stock increment is done on real sending // Calculating a theorical value
// If stock if stock increment is done on real sending
if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)) if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT))
{ {
$stock_commande_client=$stock_commande_fournisseur=0; $stock_commande_client=$stock_commande_fournisseur=0;
@ -339,6 +341,12 @@ if ($id > 0 || $ref)
print '</td></tr>'; print '</td></tr>';
} }
// If stock if stock increment is done on
// TODO Add information when stock increment is done on other option
// TODO Add also information on possible decrease stock accroding to stock decrease option
// Last movement // Last movement
$sql = "SELECT max(m.datem) as datem"; $sql = "SELECT max(m.datem) as datem";
$sql.= " FROM ".MAIN_DB_PREFIX."stock_mouvement as m"; $sql.= " FROM ".MAIN_DB_PREFIX."stock_mouvement as m";