[new][feature] Payment Entry

This commit is contained in:
Nabin Hait
2016-06-26 01:37:21 +05:30
parent 4177504860
commit 12e2a51519
18 changed files with 2800 additions and 10 deletions

View File

@@ -396,10 +396,10 @@ class AccountsController(TransactionBase):
select
account_currency, sum({dr_or_cr}) as amount
from
`tabJournal Entry Account`
`tabGL Entry`
where
reference_type = %s and reference_name = %s and party=%s
and docstatus = 1 and is_advance = "Yes"
against_voucher_type = %s and against_voucher = %s and party=%s
and docstatus = 1
""".format(dr_or_cr=dr_or_cr), (self.doctype, self.name, party), as_dict=1)
if advance: