only amount
Derek Atkins
warlord at MIT.EDU
Wed Mar 14 10:39:31 EDT 2012
Again, please remember to CC the list on ALL REPLIES using your mailer's
reply-to-list or reply-all functionality.
If you search the sources you will find that display-comm-coll-total is
defined in src/report/report-system/eguile-html-utilities.scm -- you
would need to change this function similarly to pass a #f in when
generating the print info object.
-derek
ST <smntov at gmail.com> writes:
> Thank you very much Derek!
>
> this one did work! There is only one thing that still remains with
> currency:
>
> (inv-total 'add currency rval)
> (inv-total 'add currency rtaxval)
> (tax-total 'add currency rtaxval)
> (sub-total 'add currency rval)
> (dsc-total 'add currency rdiscval)
>
> which are displayed like this:
>
> <strong><?scm (display-comm-coll-total inv-total #f) ?></strong>
> etc.
>
> how do I get rid of currency here?
>
> thank you,
> ST
>
>
> On Mon, 2012-03-12 at 10:56 -0400, Derek Atkins wrote:
>> Hi,
>>
>> ST <smntov at gmail.com> writes:
>>
>> > actually I get errors everywhere I try to use the new fmtmoneyNoCurrency
>> > instead of the original fmtmoney from taxinvoice.eguile.scm. How should
>> > such a function for gnc-numeric look like?
>>
>> Maybe something like:
>>
>> (define (fmtmoneyNoCurrency numeric)
>> (xaccPrintAmount numeric
>> (gnc-default-print-info #f)))
>>
>> > thank you again, Derek,
>> > ST
>>
>> -derek
>>
>
>
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list