From: Jeff K. <jt...@ya...> - 2006-10-20 17:48:01
|
Good news, looking forward to trying that. Is that with or without your cha= nge:=0A=0A<%pagebreak 90 7 37%>=0A=0AIs there any chance you could post you= r invoice.tex in terms of changes from the default. diff -u is nice if you = know how to create diffs.=0A=0A----- Original Message ----=0AFrom: Angus Jo= rdan <ang...@gm...>=0ATo: sql...@li...= =0ASent: Friday, October 20, 2006 1:17:45 PM=0ASubject: Re: [SL] Invoice wi= th full details?=0A=0AHi again,=0A=0AI have just had a revelation. From lo= oking at the Form.pm file, I saw that=0Aif I defined the countitemnotes var= iable in a custom script it may help me=0Aout. I added this to my custom_i= o.pl file:=0A=0A$form->{countitemnotes} =3D 1;=0A=0ANow my items print out = correctly, at least as far as I have tested they seem=0Ato work great now!= =0A=0AHope this helps someone else...=0A=0ARegards,=0AAngus Jordan=0A=0A=0A= On 10/20/06, Angus Jordan <ang...@gm...> wrote:=0A>=0A> Hi all,= =0A>=0A> From what I can read of the pagebreak code in the Form.pm package,= it is=0A> this code that is causing this white space.=0A>=0A> It looks lik= e it counts the amount of line items in an invoice, and then=0A> makes brea= ks based on them. It does not include the %notes% variable in=0A> it's cal= culation.=0A>=0A> There is some sort of logic that includes the itemnotes v= ariable, but it=0A> does not appear to be working correctly, or it works in= a way I cannot see=0A> at the moment.=0A>=0A> It is rendering the page inc= orrectly because it doesn't know to make a=0A> pagebreak if there are lots = of itemnotes to be printed.=0A>=0A> I have successfully made the itemnotes = print out by forcing the pagebreak=0A> variable to the following statement:= =0A>=0A> <%pagebreak 90 7 37%>=0A>=0A> This is dependent on the amount of l= ine items in your invoice though, and=0A> it's not a solution...it's just i= nteresting that it worked for me.=0A>=0A> Perhaps the pagebreak code can be= modified to better handle lots of item=0A> notes...I am not enough of a Pe= rl programmer to tackle this, although I'd=0A> love to use it! ;)=0A>=0A> H= ope this has been of some help to someone.=0A>=0A> Regards,=0A> Angus=0A>= =0A>=0A>=0A>=0A>=0A> On 10/19/06, Mark Bucciarelli <ma...@ga...> wro= te:=0A> >=0A> > On Thu, Oct 19, 2006 at 07:30:30AM -0700, Jeff Kowalczyk wr= ote:=0A> >=0A> > > I wanted it to act just like notes, a wrapping paragraph= , with=0A> > > a simple linebreak for each itemnotes. I expected that's wha= t=0A> > > the templating above would do.=0A> >=0A> > Could you post more of= the tex file? I still don't see the=0A> > tabledef.=0A> >=0A> > > Its str= ange, but the length of the itemnotes (when used, none=0A> > > are short, a= nd none are blank) seems to be causing rendering=0A> > > failure. My pdfvie= wer is linux evince, windows Acrobat has the=0A> > > same behavior. itemnot= es text is not contained in a select-all=0A> > > text copy-paste.=0A> >=0A>= > ?!=0A> >=0A> > > Long notes on invoices with no itemnotes wordwrap corec= tly, but=0A> > > the presence of <%itemnotes%> as above white-out the whole= text=0A> > > block, although the block does take up enough vertical=0A> > = > whitespace to make me think that it's getting rendered=0A> > > (improperl= y).=0A> >=0A> > What happens if you replace the <%itemnotes%> field with so= me=0A> > hard-coded text, as a test?=0A> >=0A> > What happens if you take o= ut the close paren?=0A> >=0A> > What happens if you do both of the above?= =0A> >=0A> > Get it rendering properly then add stuff back one piece at a= =0A> > time.=0A> >=0A> > m=0A> >=0A> >=0A> > ------------------------------= -------------------------------------------=0A> > Using Tomcat but need to = do more? Need to support web services,=0A> > security?=0A> > Get stuff done= quickly with pre-integrated technology to make your job=0A> > easier=0A> >= Download IBM WebSphere Application Server v.1.0.1 based on Apache=0A> > Ge= ronimo=0A> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D2= 63057&dat=3D121642=0A> > _______________________________________________=0A= > > sql-ledger-users mailing list=0A> > sql...@li...urceforge.= net=0A> > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users=0A>= >=0A>=0A>=0A--------------------------------------------------------------= -----------=0AUsing Tomcat but need to do more? Need to support web service= s, security?=0AGet stuff done quickly with pre-integrated technology to mak= e your job easier=0ADownload IBM WebSphere Application Server v.1.0.1 based= on Apache Geronimo=0Ahttp://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D12070= 9&bid=3D263057&dat=3D121642=0A_____________________________________________= __=0Asql-ledger-users mailing list=0As...@li...= =0Ahttps://lists.sourceforge.net/lists/listinfo/sql-ledger-users=0A=0A=0A= =0A=0A |