|
@ -36,6 +36,26 @@ class kaformPDF extends TCPDF { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
function mkFrontPDF(){ |
|
|
function mkFrontPDF(){ |
|
|
|
|
|
|
|
|
|
|
|
$account_owner = $_POST[owner]; |
|
|
|
|
|
if (!$account_owner) $account_owner = $_POST[realname]; |
|
|
|
|
|
|
|
|
|
|
|
switch ($_POST[bank]){ |
|
|
|
|
|
case "EU": |
|
|
|
|
|
$aw = "EU-Banküberweisung"; |
|
|
|
|
|
$aw_details = "
|
|
|
|
|
|
Kontoinhaber: $account_owner<br> |
|
|
|
|
|
|
|
|
|
|
|
";
|
|
|
|
|
|
break; |
|
|
|
|
|
case "NonEU": |
|
|
|
|
|
$aw = "Non-EU-Banküberweisung"; |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// create new PDF document
|
|
|
// create new PDF document
|
|
|
$pdf = new kaformPDF( |
|
|
$pdf = new kaformPDF( |
|
@ -119,6 +139,12 @@ function mkFrontPDF(){ |
|
|
Telefon: $_POST[phone] |
|
|
Telefon: $_POST[phone] |
|
|
</p> |
|
|
</p> |
|
|
<hr> |
|
|
<hr> |
|
|
|
|
|
<br> |
|
|
|
|
|
<p> |
|
|
|
|
|
Auszahlungsweg: $aw<br> |
|
|
|
|
|
$aw_details |
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
EOD; |
|
|
EOD; |
|
|
|
|
|
|
|
|
// Print text using writeHTMLCell()
|
|
|
// Print text using writeHTMLCell()
|
|
|