extra options #71
basestring3
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a very nice plugin, however i found myself strugling with some unavaileble options.
all the numbers like price and amount are centered, Normally it's aligned on the right.
I would be nice to set the allignment for each column, I was able to fix it manualy in your code.
2nd it would be nice to set the width from each column manualy accept the discription column.
I found myself strugling with some columns not being wide enough.
also the is a bug in the header. when I change number tag (Factuur nummer) then its too long and texts are overlaping.
this als I had to fix manualy in your code
//Number if (!empty($this->reference)) { $this->Cell($positionX - 3, $lineheight); $this->SetTextColor($this->color[0], $this->color[1], $this->color[2]); $this->Cell( 32, $lineheight, iconv(self::ICONV_CHARSET_INPUT, self::ICONV_CHARSET_OUTPUT_A, mb_strtoupper($this->lang['number'], self::ICONV_CHARSET_INPUT) . ':'), 0, 0, 'L' ); $this->SetTextColor(50, 50, 50); $this->SetFont($this->font, '', 9); $this->Cell(20, $lineheight, $this->reference, 0, 1, 'R'); }
$positionX - 3 and last Cell function changed 0 to 20 did the trick for me
Beta Was this translation helpful? Give feedback.
All reactions