forked from brmlab/brmbar-github
0010: fix other to user
This commit is contained in:
parent
38838692c6
commit
ee2b945299
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ AS $$
|
|||
BEGIN
|
||||
RETURN brmbar_privileged.sell_item_internal(i_item_id,
|
||||
i_amount,
|
||||
i_other_id,
|
||||
i_user_id,
|
||||
i_target_currency_id,
|
||||
(SELECT "name" FROM public.accounts WHERE id = i_user_id),
|
||||
i_description);
|
||||
|
@ -125,7 +125,7 @@ AS $$
|
|||
BEGIN
|
||||
RETURN brmbar_privileged.sell_item_internal(i_item_id,
|
||||
i_amount,
|
||||
i_other_id,
|
||||
i_user_id,
|
||||
i_target_currency_id,
|
||||
'Cash',
|
||||
i_description);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue