Primitive unpaired transactions output.
This commit is contained in:
parent
2ef2099c7d
commit
3739a8d1b0
2 changed files with 12 additions and 3 deletions
|
@ -160,6 +160,7 @@
|
|||
(-status () "Show members directory status"
|
||||
(-action- 'status))
|
||||
(-summary () "Send summary email"
|
||||
(-needs-bank- #t)
|
||||
(-action- 'summary))
|
||||
)
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@
|
|||
brmember-format
|
||||
configuration
|
||||
util-time
|
||||
members-fees)
|
||||
members-fees
|
||||
mbase)
|
||||
|
||||
;; Prints email to the console
|
||||
(define (print-notification-email em)
|
||||
|
@ -121,9 +122,16 @@
|
|||
(list (format "Expected income: ~A CZK" income)
|
||||
(format " ~A full members" full)
|
||||
(format " ~A students" students)))
|
||||
(unpaired (mbase-unpaired mb))
|
||||
(unpaired-lst
|
||||
(list ""
|
||||
"Unpaired transactions:")))
|
||||
(if (null? unpaired)
|
||||
'()
|
||||
(append
|
||||
(list ""
|
||||
"Unpaired transactions:")
|
||||
(map (lambda (tr)
|
||||
(format " ~A" tr))
|
||||
unpaired)))))
|
||||
(append income-lst
|
||||
unpaired-lst)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue