|
|
@ -236,12 +236,16 @@ function mkSnippedPdf($key){ |
|
|
|
$amount = $_POST['amount'][$key]; |
|
|
|
$desc = $_POST['description'][$key]; |
|
|
|
|
|
|
|
$am = floatval(str_replace(",",".",$amount)); |
|
|
|
$am = str_replace(".",",",sprintf("%.2f",$am)); |
|
|
|
|
|
|
|
|
|
|
|
$html = |
|
|
|
<<<EOD |
|
|
|
|
|
|
|
<h1>Position $pos</h1> |
|
|
|
<p>$desc</p><br> |
|
|
|
<p>$amount EUR</p><br> |
|
|
|
<p>$am EUR</p><br> |
|
|
|
EOD; |
|
|
|
|
|
|
|
// Print text using writeHTMLCell()
|
|
|
|