Anpassungen zur Erstellung von Verzeichnissen in der PDF Generierung
This commit is contained in:
@@ -155,6 +155,10 @@ $pdf->Cell(25, 4, number_format($ntsum['MwSt'], '2', ',', '.') . " €", 0, 0, '
|
||||
$pdf->SetFont('Helvetica', '', 10);
|
||||
$pdf->Cell(25, 4, number_format($ntsum['Gesamt'], '2', ',', '.') . " €", 0, 0, 'R');
|
||||
|
||||
if(!is_dir(__DIR__ . "/" . PREFIX . "/eur"))
|
||||
{
|
||||
mkdir(__DIR__ . "/" . PREFIX . "/eur", 0777, true);
|
||||
}
|
||||
|
||||
$file = __DIR__ . "/" . PREFIX . "/eur/E_" . date('Ymd') . ".pdf";
|
||||
$pdf->Output($file, "F");
|
||||
Reference in New Issue
Block a user