<?php print $langs->trans("GiftTicket"); ?> </h3> <table class="liste_articles"> <tr class="titres"><th><?php print $langs->trans("Label"); ?> </th><th><?php print $langs->trans("Qty"); ?> </th></tr> <?php if ($result) { $object->getLinesArray(); if (!empty($object->lines)) { foreach ($object->lines as $line) { if (empty($line->product_label)) { $line->product_label = $line->description; } echo '<tr><td align="left">' . $line->product_label . '</td><td align="right">' . $line->qty . "</td></tr>\n"; } } else { echo '<p>' . (print $langs->trans("ErrNoArticles") . '</p>' . "\n"); } } ?> </table> <table class="totaux">