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