Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modifying Invoices
12-19-2012, 12:27 AM,
#1
Modifying Invoices
, I'm modifying the PrintCustTransPortrait.php file, to change the format of the invoices, so it seems I managed to do it quite well and control de position of every single item but the TOTAL AMOUNT, it doesn't matter what I modify, it never moves from the bottom position, the original line goes like this, any help will be appreciated.

if ($InvOrCredit=='Invoice'){
$pdf->addText($Page_Width-$Right_Margin-220, ($YPos+6) - ($line_height*3),$FontSize, _('TOTAL INVOICE'));
$FontSize=10;
$LeftOvers = $pdf->addTextWrap($Left_Margin+5,$YPos-18,280,$FontSize,$_SESSION['RomalpaClause']);
while (mb_strlen($LeftOvers)>0 AND $YPos > $Bottom_Margin){
$YPos -=10;
$LeftOvers = $pdf->addTextWrap($Left_Margin+5,$YPos-18,280,$FontSize,$LeftOvers);

Any Ideas?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)