This commit is contained in:
Laurent Destailleur 2009-07-08 15:45:09 +00:00
parent dd7fe85d29
commit 4ff4c3d479

View File

@ -367,14 +367,16 @@ foreach ($orders as $key => $value)
} }
// Print a separator if we change family // Print a separator if we change family
//print "<tr><td>xx".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) { if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
print "<tr class=\"liste_titre\">\n <td colspan=\"9\"></td>\n</tr>\n"; print "<tr class=\"liste_titre\">\n <td colspan=\"9\"></td>\n</tr>\n";
$atleastoneforfamily=0; $atleastoneforfamily=0;
//print "<tr><td>yy".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
} }
if ($objMod->special == $mode) if ($objMod->special == $mode)
{ {
$atleastoneforfamily=1; $atleastoneforfamily++;
$var=!$var; $var=!$var;
print "<tr $bc[$var]>\n"; print "<tr $bc[$var]>\n";