Browse Source

Wrtie some bank account details into the PDF for iEU bank transfers

currency
7u83 4 years ago
parent
commit
3388f88042
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      submit.php

+ 26
- 0
submit.php View File

@ -36,6 +36,26 @@ class kaformPDF extends TCPDF {
};
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&uuml;berweisung";
break;
}
// create new PDF document
$pdf = new kaformPDF(
@ -119,6 +139,12 @@ function mkFrontPDF(){
Telefon: $_POST[phone]
</p>
<hr>
<br>
<p>
Auszahlungsweg: $aw<br>
$aw_details
</p>
EOD;
// Print text using writeHTMLCell()

Loading…
Cancel
Save