Projekt: $_POST[project]
Name: $_POST[realname]
Telefon: $_POST[phone]
E-Mail: $_POST[email]
Ansprechpartner: $_POST[wmdecontact]
Auszahlungsweg: $aw
$aw_details
WMDE Ansprechpartner: $_POST[wmdecontact]
// Telefon: $_POST[phone] // Print text using writeHTMLCell() $pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true); // --------------------------------------------------------- $tn = tempnam("/tmp","kaform"); // Close and output PDF document // This method has several options, check the source code // documentation for more information. $pdf->Output($tn, 'F'); return $tn; } function mkSnippedPdf($key){ $pageLayout = array(210,70); // create new PDF document # $pdf = new kaformPDF( # PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, # true, 'UTF-8', false); $pdf = new kaformPDF( PDF_PAGE_ORIENTATION, PDF_UNIT, $pageLayout /*PDF_PAGE_FORMAT*/, true, 'UTF-8', false); $pdf->AddPage('L'); $pos = array_search($key,array_keys($_POST['description']))+1; // echo "$desc
$am EUR
$pos | "; $html .= "".$_POST['date'][$key]." | "; $html .= "".$_POST['description'][$key]." | "; $am = floatval(str_replace(",",".",$val)); $am = str_replace(".",",",sprintf("%.2f",$am)); $html .= ''.$am." ".$_POST['currency'][$key]. " | "; $html .="
'; $html .= "Bereits erhaltener Vorschuss:"; $html .= ' | '; $html .= ''; $html .= sprintf("-%0.2f",$adv)." $currency"; $html .= ' | '; $html .= "||
'; $html .= "Summe:"; $html .= ' | '; $html .= ''; $html .= "".calcSum()." $currency"; $html .= ' | '; $html .= '