projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f0a07
)
Put correct bank account on remittance.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 7 Dec 2011 15:16:55 +0000
(16:16 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 7 Dec 2011 15:16:55 +0000
(16:16 +0100)
reporting/rep210.php
patch
|
blob
|
history
diff --git
a/reporting/rep210.php
b/reporting/rep210.php
index 1b80b72e8368814d54efb411a981ce736be07519..f177fbc1b480c71d210a9542d84a5608df2d5522 100644
(file)
--- a/
reporting/rep210.php
+++ b/
reporting/rep210.php
@@
-109,8
+109,9
@@
function print_remittances()
$myrow = get_remittance($j, $i);
if (!$myrow)
continue;
- $baccount = get_default_bank_account($myrow['curr_code']);
- $params['bankaccount'] = $baccount['id'];
+ $res = get_bank_trans($j, $i);
+ $baccount = db_fetch($res);
+ $params['bankaccount'] = $baccount['bank_act'];
if ($email == 1)
{