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

FIX: init var at wrong place report incorrect "shippable" flag on draft

order.
parent f96f8eac
No related branches found
No related tags found
No related merge requests found
......@@ -429,15 +429,15 @@ if ($resql)
// Show shippable Icon (create subloop, so may be slow)
if ($conf->stock->enabled)
{
$notshippable=0;
$warning = 0;
$text_info='';
$text_warning='';
$nbprod=0;
$langs->load("stocks");
if (($objp->fk_statut > 0) && ($objp->fk_statut < 3))
{
$notshippable=0;
$warning = 0;
$text_info='';
$text_warning='';
$nbprod=0;
$numlines = count($generic_commande->lines); // Loop on each line of order
for ($lig=0; $lig < $numlines; $lig++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment