Much faster payments processing.
This commit is contained in:
parent
b72f1900e6
commit
3c56578d65
2 changed files with 6 additions and 5 deletions
|
@ -58,10 +58,12 @@
|
|||
(bank-transaction-varsym transaction)))
|
||||
(varsym-id
|
||||
(or varsym-id0
|
||||
(string->number
|
||||
(irregex-replace (irregex "[^0-9].*" 'u)
|
||||
(bank-transaction-message transaction)
|
||||
"")))))
|
||||
(let* ((msg (bank-transaction-message transaction))
|
||||
(ci (substring-index "," msg))
|
||||
(vs (if ci
|
||||
(substring msg ci)
|
||||
msg)))
|
||||
(string->number vs)))))
|
||||
(loop (members-base-update mb
|
||||
(lambda (mr)
|
||||
(eq? (member-id mr)
|
||||
|
|
|
@ -139,7 +139,6 @@
|
|||
;; Normalizes cell line to required width and handles leading and
|
||||
;; trailing tabs to allow for right and center alignment.
|
||||
(define (table-normalize-cell-line line w)
|
||||
(print "tncl " w " \"" line "\"")
|
||||
(let* ((lst (string->list line))
|
||||
(first-char (if (null? lst) #f (car lst)))
|
||||
(last-char (if (or (null? lst)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue