set('isHtml5ParserEnabled', true);
$dompdf = new Dompdf($options);
$html = "
";
$dompdf->loadHtml($html);
$dompdf->setPaper('A4', 'portrait');
$dompdf->render();
$dompdf->stream("devis.pdf", ["Attachment" => true]);
}
?>
Devis
Description | Quantité | Prix Unitaire | Montant HT |
---|---|---|---|
{$selectedBroyeur} | 1 | {$selectedBroyeurPrice} | {$selectedBroyeurPrice} |
{$selectedRamps} | 1 | {$selectedRampsPrice} | {$selectedRampsPrice} |
{$selectedMats} | 1 | {$selectedMatsPrice} | {$selectedMatsPrice} |
{$option['description']} | 1 | {$option['price']} | {$option['price']} |
Total TTC: {$totalPrice}