else {?> <tr> <th style='width:70%'></th> <th style='border:1;width:20%'>Total</th> <th style='border:1;width:10%;background-color:#ADD8E6'><?php echo $facture->prix_total_facture_ttc, 2;?> €</th> </tr> <?php }?> </table> <?php $content = ob_get_clean(); $layout->HtmlToPDF($content,$filename); });