phpBMS

Changeset 354

Show
Ignore:
Timestamp:
10/23/07 16:25:04 (5 years ago)
Author:
brieb
Message:

Changed from pdf->cell to pdf->multicell for instruction print out. This at least allow the text to wrap, although it is still possible to create instructions that do not fit within the parameters of the PDF box by entering more than four (PDF) lines of text, including too many carriage returns, or a combination of the former and latter.

Location:
trunk/phpbms/modules/bms/report
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/report/invoices_pdfpackinglist.php

    r353 r354  
    128128                        $pdf->setStyle("normal"); 
    129129                        $pdf->SetXY($pdf->GetX() + .06125, $pdf->GetY() + .06125); 
    130                         $pdf->Cell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["specialinstructions"]); 
     130                        $pdf->MultiCell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["specialinstructions"]); 
    131131                         
    132132                        $pdf->SetXY($pdf->leftmargin, $nextPos); 
  • trunk/phpbms/modules/bms/report/invoices_pdfworkorder.php

    r353 r354  
    7676                        $pdf->setStyle("normal"); 
    7777                        $pdf->SetXY($pdf->GetX() + .06125, $pdf->GetY() + .06125); 
    78                         $pdf->Cell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["specialinstructions"]); 
     78                        $pdf->MultiCell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["specialinstructions"]); 
    7979                         
    8080                        $pdf->SetXY($pdf->leftmargin, $nextPos); 
  • trunk/phpbms/modules/bms/report/invoices_pdf_class.php

    r348 r354  
    503503                        $pdf->setStyle("normal"); 
    504504                        $pdf->SetXY($pdf->GetX() + .06125, $pdf->GetY() + .06125); 
    505                         $pdf->Cell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["printedinstructions"]); 
     505                        $pdf->MultiCell($pdf->paperwidth - $pdf->leftmargin - $pdf->rightmargin - 0.125, 0.18, $this->invoicerecord["printedinstructions"]); 
    506506                         
    507507                        $pdf->SetXY($pdf->leftmargin, $nextPos); 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.