Work on setuid/setgid, add raw-data-parser for the brmbar disaster.
This commit is contained in:
parent
ae5b9e2775
commit
8bd46721aa
4 changed files with 93 additions and 6 deletions
|
@ -58,7 +58,7 @@
|
|||
(row-values
|
||||
(query
|
||||
(bd-conn)
|
||||
"select sum(amount*case side when 'credit' then -1 else 1 end) amt from transaction_splits where account=$1"
|
||||
"select sum(amount*case side when 'credit' then -1 else 1 end) amt from transaction_splits where account=(select account from barcodes where barcode=$1)"
|
||||
bc)))))
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue