mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 13:39:43 -06:00
[report-utilities] minor refinements
This commit is contained in:
parent
5f6413c6c5
commit
b1e32c8a9d
@ -1184,7 +1184,9 @@ flawed. see report-utilities.scm. please update reports.")
|
||||
(xaccTransGetCurrency txn)
|
||||
(xaccSplitGetValue spl))))))
|
||||
(define (trans->str txn)
|
||||
(format #f "Txn<d:~a>" (qof-print-date (xaccTransGetDate txn))))
|
||||
(format #f "Txn<d:~a,desc:~a>"
|
||||
(qof-print-date (xaccTransGetDate txn))
|
||||
(xaccTransGetDescription txn)))
|
||||
(define (account->str acc)
|
||||
(format #f "Acc<~a>" (xaccAccountGetName acc)))
|
||||
(define (monetary-collector->str coll)
|
||||
@ -1213,7 +1215,7 @@ flawed. see report-utilities.scm. please update reports.")
|
||||
(gncInvoiceGetTotal inv)))))
|
||||
(define (lot->str lot)
|
||||
(format #f "Lot<Acc:~a,Title:~a,Notes:~a,Balance:~a,NSplits:~a>"
|
||||
(gnc:strify (xaccAccountGetName (gnc-lot-get-account lot)))
|
||||
(xaccAccountGetName (gnc-lot-get-account lot))
|
||||
(gnc-lot-get-title lot)
|
||||
(gnc-lot-get-notes lot)
|
||||
(gnc-lot-get-balance lot)
|
||||
|
Loading…
Reference in New Issue
Block a user