Fix: New product status was not visible on all tabs.
This commit is contained in:
parent
c120244a48
commit
4dd84122a6
@ -549,7 +549,7 @@ if (is_resource($handle))
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close($handle);
|
closedir($handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table><br/>';
|
print '</table><br/>';
|
||||||
|
|||||||
@ -149,7 +149,8 @@ foreach ($conf->file->dol_document_root as $dirroot)
|
|||||||
|
|
||||||
asort($orders);
|
asort($orders);
|
||||||
//var_dump($orders);
|
//var_dump($orders);
|
||||||
|
//var_dump($categ);
|
||||||
|
//var_dump($modules);
|
||||||
|
|
||||||
// Affichage debut page
|
// Affichage debut page
|
||||||
|
|
||||||
@ -246,6 +247,7 @@ if ($mode != 4)
|
|||||||
'technic'=>$langs->trans("ModuleFamilyTechnic"),
|
'technic'=>$langs->trans("ModuleFamilyTechnic"),
|
||||||
'other'=>$langs->trans("ModuleFamilyOther")
|
'other'=>$langs->trans("ModuleFamilyOther")
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($orders as $key => $value)
|
foreach ($orders as $key => $value)
|
||||||
{
|
{
|
||||||
$tab=explode('_',$value);
|
$tab=explode('_',$value);
|
||||||
@ -253,9 +255,15 @@ if ($mode != 4)
|
|||||||
|
|
||||||
$modName = $filename[$key];
|
$modName = $filename[$key];
|
||||||
$objMod = $modules[$key];
|
$objMod = $modules[$key];
|
||||||
|
//var_dump($objMod);
|
||||||
if ($objMod->special != $mode) continue; // Discard if not for tab
|
|
||||||
|
if ($objMod->special != $mode) continue; // Discard if not for tab
|
||||||
|
if (! $objMod->getName())
|
||||||
|
{
|
||||||
|
dol_syslog("Error for module ".$key." - Property name of module looks empty", LOG_WARNING);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i','',get_class($objMod)));
|
$const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i','',get_class($objMod)));
|
||||||
|
|
||||||
// Load all lang files of module
|
// Load all lang files of module
|
||||||
|
|||||||
@ -181,7 +181,7 @@ if ($year)
|
|||||||
print '<td align="right">'.dol_print_date(dol_filemtime($tfile),"dayhour").'</td></tr>';
|
print '<td align="right">'.dol_print_date(dol_filemtime($tfile),"dayhour").'</td></tr>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close($handle);
|
closedir($handle);
|
||||||
}
|
}
|
||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,7 +92,7 @@ class ModeleExports
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close($handle);
|
closedir($handle);
|
||||||
}
|
}
|
||||||
return $this->driverlabel;
|
return $this->driverlabel;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user