Works on module hook integration

This commit is contained in:
Regis Houssin 2010-09-07 14:42:50 +00:00
parent 424a157ecf
commit d65e3c2280
2 changed files with 12 additions and 4 deletions

View File

@ -1360,8 +1360,12 @@ if ($id > 0 || ! empty($ref))
print '<table class="noborder" width="100%">';
$result = $propal->getLinesArray();
$propal->print_title_list();
$propal->printLinesList();
if (!empty($propal->lines))
{
$propal->print_title_list();
$propal->printLinesList();
}
/*

View File

@ -1644,8 +1644,12 @@ else
print '<table class="noborder" width="100%">';
$result = $commande->getLinesArray();
$commande->print_title_list();
$commande->printLinesList();
if (!empty($commande->lines))
{
$commande->print_title_list();
$commande->printLinesList();
}
$numlines=sizeof($commande->lines);