Handle types correctly, fix body membership.
This commit is contained in:
parent
34f54b2bb0
commit
0c3ebde1fb
3 changed files with 8 additions and 4 deletions
|
@ -83,7 +83,8 @@
|
||||||
(reverse cal)
|
(reverse cal)
|
||||||
(loop (cal-month-add cm)
|
(loop (cal-month-add cm)
|
||||||
(cons (list cm
|
(cons (list cm
|
||||||
(parameterize ((*current-month* cm))
|
(parameterize ((*current-month* cm)
|
||||||
|
(*current-day* (cal-ensure-day cm)))
|
||||||
(brmember-flags mr)))
|
(brmember-flags mr)))
|
||||||
cal))))))
|
cal))))))
|
||||||
|
|
||||||
|
|
|
@ -249,7 +249,8 @@
|
||||||
(- fee)
|
(- fee)
|
||||||
'CZK
|
'CZK
|
||||||
(cadr mce)
|
(cadr mce)
|
||||||
(- fee))))
|
(- fee)
|
||||||
|
"Fee")))
|
||||||
mc))
|
mc))
|
||||||
|
|
||||||
;; Converts bank transactions to transactions usable in balance
|
;; Converts bank transactions to transactions usable in balance
|
||||||
|
@ -266,7 +267,8 @@
|
||||||
(if (eq? curr 'CZK)
|
(if (eq? curr 'CZK)
|
||||||
amt
|
amt
|
||||||
(parameterize ((*current-month* (cal-ensure-month day)))
|
(parameterize ((*current-month* (cal-ensure-month day)))
|
||||||
(* amt (lookup-eur-rate)))))))
|
(* amt (lookup-eur-rate))))
|
||||||
|
"Payment")))
|
||||||
bts))
|
bts))
|
||||||
|
|
||||||
;; Returns a single credit/debit list of payments and fees calendar
|
;; Returns a single credit/debit list of payments and fees calendar
|
||||||
|
|
|
@ -548,6 +548,7 @@
|
||||||
(define (print-member-balances-table mr)
|
(define (print-member-balances-table mr)
|
||||||
(let ((data (map (lambda (r)
|
(let ((data (map (lambda (r)
|
||||||
(list (cal-day->string (cadr r))
|
(list (cal-day->string (cadr r))
|
||||||
|
(list-ref r 6)
|
||||||
(list-ref r 4)
|
(list-ref r 4)
|
||||||
(format "\t~A" (exact->inexact (list-ref r 5)))
|
(format "\t~A" (exact->inexact (list-ref r 5)))
|
||||||
(format "\t~A" (exact->inexact (car r)))
|
(format "\t~A" (exact->inexact (car r)))
|
||||||
|
@ -557,7 +558,7 @@
|
||||||
#:border '(((#:bottom #:right light) ... (#:bottom light))
|
#:border '(((#:bottom #:right light) ... (#:bottom light))
|
||||||
((#:right light) ... none)
|
((#:right light) ... none)
|
||||||
...)
|
...)
|
||||||
(cons '("\tDate\t" "\tComment\t" "\tAmount\t" "\tBalance\t")
|
(cons '("\tDate\t" "\tType\t" "\tComment\t" "\tAmount\t" "\tBalance\t")
|
||||||
data))))
|
data))))
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue