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"
|
(-status () "Show members directory status"
|
||||||
(-action- 'status))
|
(-action- 'status))
|
||||||
(-summary () "Send summary email"
|
(-summary () "Send summary email"
|
||||||
|
(-needs-bank- #t)
|
||||||
(-action- 'summary))
|
(-action- 'summary))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,8 @@
|
||||||
brmember-format
|
brmember-format
|
||||||
configuration
|
configuration
|
||||||
util-time
|
util-time
|
||||||
members-fees)
|
members-fees
|
||||||
|
mbase)
|
||||||
|
|
||||||
;; Prints email to the console
|
;; Prints email to the console
|
||||||
(define (print-notification-email em)
|
(define (print-notification-email em)
|
||||||
|
@ -121,9 +122,16 @@
|
||||||
(list (format "Expected income: ~A CZK" income)
|
(list (format "Expected income: ~A CZK" income)
|
||||||
(format " ~A full members" full)
|
(format " ~A full members" full)
|
||||||
(format " ~A students" students)))
|
(format " ~A students" students)))
|
||||||
|
(unpaired (mbase-unpaired mb))
|
||||||
(unpaired-lst
|
(unpaired-lst
|
||||||
(list ""
|
(if (null? unpaired)
|
||||||
"Unpaired transactions:")))
|
'()
|
||||||
|
(append
|
||||||
|
(list ""
|
||||||
|
"Unpaired transactions:")
|
||||||
|
(map (lambda (tr)
|
||||||
|
(format " ~A" tr))
|
||||||
|
unpaired)))))
|
||||||
(append income-lst
|
(append income-lst
|
||||||
unpaired-lst)))
|
unpaired-lst)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue