|
@ -36,6 +36,9 @@ class kaformPDF extends TCPDF { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
function mkFrontPDF(){ |
|
|
function mkFrontPDF(){ |
|
|
|
|
|
$comments = str_replace("\n","<BR>",$_POST[comments]); |
|
|
|
|
|
$bankaddress = str_replace("\n","<BR>",$_POST[bankaddress]); |
|
|
|
|
|
$address = str_replace("\n","<BR>",$_POST[address]); |
|
|
|
|
|
|
|
|
$account_owner = $_POST[owner]; |
|
|
$account_owner = $_POST[owner]; |
|
|
if (!$account_owner) $account_owner = $_POST[realname]; |
|
|
if (!$account_owner) $account_owner = $_POST[realname]; |
|
@ -45,11 +48,24 @@ function mkFrontPDF(){ |
|
|
$aw = "EU-Banküberweisung"; |
|
|
$aw = "EU-Banküberweisung"; |
|
|
$aw_details = "
|
|
|
$aw_details = "
|
|
|
Kontoinhaber: $account_owner<br> |
|
|
Kontoinhaber: $account_owner<br> |
|
|
|
|
|
IBAN: $_POST[IBAN]<br> |
|
|
|
|
|
BIC: $_POST[BIC]<br> |
|
|
|
|
|
Bank: $_POST[Bankname]<br><br> |
|
|
|
|
|
Anmerkungen:<br> $comments<br> |
|
|
|
|
|
|
|
|
";
|
|
|
";
|
|
|
break; |
|
|
break; |
|
|
case "NonEU": |
|
|
|
|
|
|
|
|
case "Non-EU": |
|
|
$aw = "Non-EU-Banküberweisung"; |
|
|
$aw = "Non-EU-Banküberweisung"; |
|
|
|
|
|
$aw_details = "
|
|
|
|
|
|
Kontoinhaber: $account_owner<br> |
|
|
|
|
|
IBAN: $_POST[IBAN]<br> |
|
|
|
|
|
BIC: $_POST[BIC]<br> |
|
|
|
|
|
Bank: $_POST[Bankname]<br><br> |
|
|
|
|
|
Bankanschrift:<br>$bankaddress<br><br> |
|
|
|
|
|
Anschrift des Empfängers:<br>$address<br><br> |
|
|
|
|
|
Anmerkungen:<br> $comments<br> |
|
|
|
|
|
";
|
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@ -244,7 +260,13 @@ $pdfs = array(); |
|
|
|
|
|
|
|
|
// Applicatoin starts here
|
|
|
// Applicatoin starts here
|
|
|
|
|
|
|
|
|
|
|
|
echo "Making Fromt PDF<BR>"; |
|
|
|
|
|
|
|
|
$p = mkFrontPDF(); |
|
|
$p = mkFrontPDF(); |
|
|
|
|
|
|
|
|
|
|
|
echo "Did Making Fromt PDF<BR>"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
array_push($pdfs,$p); |
|
|
array_push($pdfs,$p); |
|
|
|
|
|
|
|
|
foreach ($_POST['desc'] as $key => $val) { |
|
|
foreach ($_POST['desc'] as $key => $val) { |
|
|