Skip to content
Permalink
Browse files

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

order.
  • Loading branch information...
eldy committed Apr 27, 2016
1 parent f96f8ea commit 77fcbd3884f93e3131dd033179105882d6380ac6
Showing with 6 additions and 6 deletions.
  1. +6 −6 htdocs/commande/list.php
@@ -429,15 +429,15 @@
// 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 comments on commit 77fcbd3

Please sign in to comment.
You can’t perform that action at this time.