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%">'; print '<table class="noborder" width="100%">';
$result = $propal->getLinesArray(); $result = $propal->getLinesArray();
if (!empty($propal->lines))
{
$propal->print_title_list(); $propal->print_title_list();
$propal->printLinesList(); $propal->printLinesList();
}
/* /*

View File

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