forked from brmlab/brmbar-github
o_id -> i_id
This commit is contained in:
parent
9d8827ccbd
commit
afb5476c2d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ DECLARE
|
|||
v_old_split public.transaction_splits%ROWTYPE;
|
||||
BEGIN
|
||||
SELECT * INTO v_old_trn FROM public.transactions WHERE id = i_id;
|
||||
INSERT INTO transactions ("description") VALUES ('undo '||o_id||' ('||v_old_trn.description||')') RETURNING id into v_ntrn_id;
|
||||
INSERT INTO transactions ("description") VALUES ('undo '||i_id||' ('||v_old_trn.description||')') RETURNING id into v_ntrn_id;
|
||||
FOR v_old_split IN
|
||||
SELECT * FROM transaction_splits WHERE "transaction" = i_id
|
||||
LOOP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue