Pastebin
Paste #1730: pdf
< previous paste - next paste>
Pasted by chrivers
foreach ($files as $name => $file) {
$this->SetFont('', '', 10);
$this->Row(array(
$file->GetItem()->GetValue('name'),
$file->GetValue('quant'),
sprintf("%.2f", $file->GetValue('price')),
sprintf("%.2f", $file->GetTaxBase())
), $widths, 6);
if ($note = $file->GetValue('note')) {
$this->SetFont('', '', 8);
$this->TextRow($note, 6);
}
}
New Paste
Go to most recent paste.