|
@ -369,6 +369,14 @@ class account_balance(report_sxw.rml_parse): |
|
|
'debit': self.exchange(d), |
|
|
'debit': self.exchange(d), |
|
|
'credit': self.exchange(c), |
|
|
'credit': self.exchange(c), |
|
|
'ytd': self.exchange(d-c), |
|
|
'ytd': self.exchange(d-c), |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
if form['inf_type'] == 'IS' and form['columns'] == 'one': |
|
|
|
|
|
res.update({ |
|
|
|
|
|
'balance': self.exchange(d-c), |
|
|
|
|
|
}) |
|
|
|
|
|
else: |
|
|
|
|
|
res.update({ |
|
|
'balance': self.exchange(b), |
|
|
'balance': self.exchange(b), |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|