scheme help for reports?

John Robens jrobens at interlated.com.au
Sat Nov 26 17:22:50 EST 2011


Hi

Problem -  I would like to print out the total as part of a paypal link in
the report (invoice.scm)

Basic scheme question - how do I get 'amt'.

This is what I tried:

389a390,393
>
>     ;; jrobens just print out the total
>     (define show-total-paypal ()
>         amt)
758a763,771
>
>     ;; jrobens - paypal link
> (gnc:html-document-add-object! document
>  (gnc:make-html-text
>         (string-append "<a href=\"
https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=jrobens@interlated.com.au&no_shipping=1&currency_code=AUD&item_name=WebDesign&amount=
")
>         show-total-paypal
>         (string-append "\">paypal jrobens at interlated.com.au</a>")
>         ))

-- 
http://interlated.com.au
0434 996 607
Websites with Intelligence


More information about the gnucash-user mailing list