phpBMS

Ticket #240 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Multi-Page Statement loses formatting

Reported by: slangsc Owned by: brieb
Priority: minor Milestone: unknown
Component: phpbms Version: trunk
Keywords: Cc:

Description

When printing a client statement, if it continues to more than one page, the formatting is broken on all pages after the first. It looks like the date is printed in the "due" column. The whole table is shifted over by 5 columns, and is off the page.

Change History

Changed 4 years ago by slangsc

Fixed by changing /modules/bms/reports/aritems_clientstatement.php

			//too many items requires multiple pages
				$this->page++;
				$this->_addPage();
                                $currHeight = 0;
                                $pdf->SetX($pdf->leftmargin);
				
			}//end if

Changed 4 years ago by brieb

Can you list line numbers, and what was added, changed, removed? (Better still would be to submit a diff file)

Changed 4 years ago by slangsc

Sorry, I don't have SVN.

in the unchanged /modules/bms/reports/aritems_clientstatement.php:

Line 323     //too many items requires multiple pages
     324     $this->page++;
     325     $this->_addPage();
     326				
     327   }//end if

I changed it to be:

Line 323     //too many items requires multiple pages
     324     $this->page++;
     325     $this->_addPage();
     326     $currHeight = 0;
     327     $pdf->SetX($pdf->leftmargin);
     328
     329   }//end if

Changed 2 years ago by brieb

  • status changed from new to closed
  • resolution set to fixed

Should be fixed as of v0.96

Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.