Changing defaults in Fancy Invoice
Jo Oost
jo.vanoost at wanadoo.nl
Fri May 11 16:18:58 EDT 2007
> Datum: 11/05/07 02:53 AM
> Van: "Andrew Greig" <algreig at bigpond.net.au>
> Aan: "Derek Atkins" <warlord at MIT.EDU>
> CC: gnucash-user at gnucash.org
> Onderwerp : Re: Changing defaults in Fancy Invoice
>
> Touche, Derek.
>
> Which O'Reilly book will I have to wade through. A google for eguile
> has revealed a lot of stale info (circa 2002). Is there a good online
> source of info of which you are aware?
Programmer or not ;-) you can have a look at the online Scheme book http://www.scheme.com/tspl2d/ to get more acquainted with Scheme's idiosyncrasies.
Furthermore the GnuCash Wiki custom reports may be of interest http://wiki.gnucash.org/wiki/Custom_Reports
Regards,
Johan van Oostrum
> Surf's up, jump in.
> Andrew Greig
>
>
> On Thu, 2007-05-10 at 20:31 -0400, Derek Atkins wrote:
> > Well, it will require a little scheme hacking.. It depends on your
> > definition of being a programmer. I mean, you've already made changes
> > to the source code in your current work, so by MY definition you ARE
> > a programmer..
> >
> > -derek
> >
> > Quoting Andrew Greig <algreig at bigpond.net.au>:
> >
> > > Derek,
> > >
> > > Does one need to be a programmer to take this path? I would be happy to
> > > contribute (my current involvement with things OpenSource, is to be a
> > > distributor of OOo) but I am not a programmer. The learning may be fun
> > > though.
> > >
> > > Andrew Greig
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, 2007-05-10 at 19:42 -0400, Derek Atkins wrote:
> > >> Invoice "templates" would require something along the lines of eguile.
> > >> Such integration of eguile hasn't happened. I SUSPECT that it would
> > >> only require work in scheme to get it to work, but I don't know for sure.
> > >> If you want to work on eguile integration I'd be happy to encourage you :)
> > >>
> > >> -derek
> > >>
> > >> Quoting Andrew Greig <algreig at bigpond.net.au>:
> > >>
> > >> > Thanks Derek,
> > >> >
> > >> > That sorted that out, 10 lines it is, now. I also found out that if I
> > >> > change the font size, the rows enlarge to accommodate. But now my
> > >> > invoice has spread off the right side of the page. In the notes
> > >> > included in the fancy-invoice.scm file, it is suggested that the future
> > >> > may lie with html templates being supplied by various users, and the
> > >> > best selected for incorporation into gnc. Is that as easy as it sounds?
> > >> >
> > >> > I have a current Invoice Template I created in OpenOffice.org for A4
> > >> > page and DL window-faced envelopes, to make that into an html document
> > >> > should not be too hard. Should I proceed down that path?
> > >> >
> > >> > Thanks
> > >> > Andrew Greig
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On Wed, 2007-05-09 at 19:11 -0400, Derek Atkins wrote:
> > >> >> Quoting Andrew Greig <algreig at bigpond.net.au>:
> > >> >>
> > >> >> > Thanks Derek,
> > >> >> >
> > >> >> > I have searched the file and only found one reference to "24" and that
> > >> >> > was in the comments at line 335. The only other thing I found
> > >> which may
> > >> >> > be relevant is this:
> > >> >> >
> > >> >> > (gnc:register-inv-option
> > >> >> > (gnc:make-number-range-option
> > >> >> > (N_ "Display") (N_ "Minimum # of entries")
> > >> >> > "u" (N_ "The minimum number of invoice entries to display. (-1)") 23
> > >> >> > 4 23 3 1))
> > >> >> >
> > >> >> > How should this be altered, to give me 10 entries? Or am I still on the
> > >> >> > wrong train?
> > >> >>
> > >> >> Nope, this is the right place. The API for make-number-range-option
> > >> >> is defined in src/app-utils/options.scm which says tat those five
> > >> >> numbers are: default-value, lower-bound, upper-bound, num-decimals,
> > >> >> and step-size. So the default value is 23, the lower bound is 4,
> > >> >> the upper bound is 23. I have no idea why the num-decimals is set
> > >> >> to 3. So, change that first '23' to '9'.
> > >> >>
> > >> >> Be warned that every time you update gnucash you'll have to make
> > >> >> these same changes.
> > >> >>
> > >> >> > Andrew Greig
> > >> >>
> > >> >> -derek
> > >> >>
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> > >
> >
> >
> >
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
>
More information about the gnucash-user
mailing list