altocompta/include/export/export_card_pdf.php
2025-06-23 15:49:16 +02:00

16 lines
No EOL
256 B
PHP

<?php
/**
* @file
* @brief output a PDF with card info
*
*/
try {
$http=new \HttpInput();
$card_id=$http->get("card_id");
} catch (\Exception $e) {
echo $e->getMessage();
die();
}
$card_pdf=new \Card_PDF($card_id);
$card_pdf->export();