On Mon, 2006-06-02 at 15:42 -0500, Derek Atkins wrote: > Quoting Brian <[EMAIL PROTECTED]>: > > > I have a number of changes completed for the fancy invoice. I have > > added properties to the File=>Properties dialog and that info is saved. > > I have added Phone,Fax,Website properties to the invoice. > > Excellent. > > > What I have not been able to do yet is get the info into the extra notes > > from the book. My scheme abilities are not that good :(. > > I'm not sure what you mean by "get the info into the extra notes from > the book". What extra notes? > > > I'll make a patch with what I have so far probably later today. I need > > to clean out some dead code I was experimenting with (which doesn't > > work). > > Okay. I /suspect/ what you did was just add "options" in the report > to hold these fields instead of just grabbing them from the book. At > least that's what I think you did based upon my interpretation of what > you meant above by the "extra notes" issue. >
I've added them to the book as I stated above. I have also retrieved them from the book and added them to the report. > If you look at the make-myname-table procedure in invoice.scm, that's > where it pulls the company name and address from the book properties. > > -derek > That is where most of them are, those weren't that hard (with a little help from you), but not all. in the invoice options there is: (Partially modified code) (gnc:register-inv-option (gnc:make-text-option (N_ "Display") (N_ "Extra Notes") "u" (N_ "Extra notes to put on the invoice") ;; oli-custom - Extra notes to add on each invoice, invoice-independent ;; yes, I was too lazy to (get-company-name) ;) (string-append (_ "Make all cheques payable to: ") ;;c-name (_ "\nDirect all inquiries to: ")))) ;;c-contact))) ;;"Make all cheques payable to: Company Name Inc.\nDirect all inquiries to: Mr. Accounting Contact")) So far I've not been able to get the c-name & c-contact from the book. This module seems to run before the make-myname-table procedure. The book parameter is not accessible at this point. I have been far too busy this past 2 months to work on it and figure it out. Perhaps you or someone that is good at scheming could fix it easily. I'll finish cleaning it up and generate a patch. :) -- Brian <[EMAIL PROTECTED]> _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel