5 Lut
2015
5 Lut
'15
15:23
Witam Próbuję dorzucić obrazek krd.gif do generowanych faktur, ale nie za bardzo wiem co i jak. w lib/ezpdf/invoice_pdf.inc.php znalazłem fragment:
#v+ function invoice_footnote($x, $y, $width, $font_size) { global $pdf, $invoice;
if(!empty($invoice['division_footer'])) { $y = $y - $pdf->getFontHeight($font_size); $y = $y - text_align_left($x,$y,$font_size,'<b>'.iconv("UTF-8","ISO-8859-2//TRANSLIT",trans('Notes:')).'</b>'); $tmp = iconv("UTF-8","ISO-8859-2//TRANSLIT", $invoice['division_footer']); $tmp = preg_split('/\r?\n/', $tmp); foreach ($tmp as $line) $y = text_wrap($x,$y,$width,$font_size,$line,"full"); } } #v-
Jak tu do footnote dorzucić obrazek leżący w img/krd.gif?
--
Pozdrawiam
Marcin / nicraM