Thanks Paul!  Can't wait to try it.

P

On Jan 24, 2008 12:03 PM, Paul Yasi <[EMAIL PROTECTED]> wrote:
> Here is a new billing.inc.php file that you can place in the includes
> folder that should fix this issue, it will make a new page after 28
> items are printed to an invoice.  It also fixes the printing of dollar
> signs.
>
> You'll still have to mess with the detail columns though for now.
>
>
> Paul
>
> On Jan 19, 2008 12:29 PM, Peter Hartmann <[EMAIL PROTECTED]> wrote:
>
> > Hey, I noticed some wild behavior when printing a pdf invoice when the
> > the invoice has many line items that fill more than a page.  This is
> > only for pdf, not html invoices.  What happens is; when the
> > description,details and amount  columns would ideally end up forcing a
> > page break, the contents of each of the columns each get their own
> > page in the pdf.  So the first page looks ok, then the next page has
> > the next single description, the page after that has it's respective
> > details, the page after that has the respective amount.  The cycle
> > continues with a new page for the next details item and so on.   Not
> > sure if this is new discovery but a workaround is is to print the html
> > and then make a pdf from that. Although it's not as nice looking
> > because it includes the long url at the top of the page,  but that
> > could just be for Firefox.
> >
> >
> > This happens with the original billing.in.php although I did need to
> > alter mine because I had collisions in the detals and amount columns.
> > I'm required to be very descriptive in the details field.  I found
> > that 10,38,188 works well for in the pdf.  I had an idea for a feature
> > although this may already be part of someones planed templating
> > scheme. It would be cool to set your own column placement in
> > tools/general.php.   $l_desc_column, $l_detail_column,$l_amt_column
> > could be set by default to the 10,110,160 in the citrus.sql. In my
> > custom billing.inc.php, after the very last amount in the pdf I'm
> > using this kind of thing:
> >                         $pdf->SetXY(50,270);
> >                         $pdf->Cell(100,5,"Please make checks payable
> > to xxxxxxxxxxxx");
> >
> > Which could just as easily be $l_footer set in tools/general.php.
> > I'd need a couple of red bulls to pull this off myself. And I'm not
> > sure what other have planned.
> >
> >
> > Any ideas about this?
> >
> > Thanks,
> > Peter
> >
>
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Citrusdb-users mailing list
> > Citrusdb-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/citrusdb-users
> >
>
>
>
> --
> The CitrusDB Project | http://www.citrusdb.org
> Open Source Customer Care & Billing System
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Citrusdb-users mailing list
> Citrusdb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/citrusdb-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Citrusdb-users mailing list
Citrusdb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/citrusdb-users

Reply via email to