On Wed, Oct 18, 2006 at 10:26:04PM -0700, Jeff Kowalczyk wrote:
> ----- Original Message ----
> From: Tony Fraser <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, July 14, 2006 8:05:09 PM
> Subject: Re: [SL] Invoice with full details?
> >
> > > ... I have a nice summary of my notes from the related time
> > > cards.  Is there any easy way to get those notes onto the
> > > printed Invoice? 
> > 
> > You'd have to modify your invoice template but the field your
> > talking about is available withing the 
> >   <%foreach number%> .... <%end number%> part as 
> >   <%itemnotes%>
> 
> Can anyone suggest a tex syntax for handling long itemnotes?
> When I make the following change to invoice.tex, get whitespace
> where the itemnotes (a few hundred characters long) should be.
> Omitting <%itemnotes%> does display the item numbering, so it
> seems the loop can be reused. I don't generally put linebreaks
> in the timecard descriptions, so they may not be linewrapping.
> 
> @@ -178,6 +178,9 @@
>  \vspace{12pt}
>  
>  <%notes%>
> +<%foreach number%>
> +  <%runningnumber%>) & <%itemnotes%> \\
> +<%end number%>
>  }

There's a wierd close paren after runningnumber field.  Although
I don't think that should cause the whitespace problem.

Don't know why you would get whitespace.  You didn't include the
tabledef, but maybe it doesn't work properly when the field is
blank.  Test a table with other field values that you know are
blank to see how it get's laid out.  

So far, I've just stuck the item notes after the item description
right on the line item.  But I like your approach better b/c it
seems easier to wrap it in a different font.  For long notes,
it's nice to have smaller font and use more of the page width.

Re: page wrapping, you'll have to experiment.  I know Form.pm
does have logic that handles page breaks, so hopefully it will
just work.

m

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sql-ledger-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sql-ledger-users

Reply via email to