mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 08:02:51 +00:00
fixed issue in reposting
This commit is contained in:
@@ -133,8 +133,8 @@ class DocType:
|
|||||||
|
|
||||||
# build dict
|
# build dict
|
||||||
p = {
|
p = {
|
||||||
'debit': flt(entry[2])
|
'debit': entry[4]=='No' and flt(entry[2]) or 0
|
||||||
,'credit':flt(entry[3])
|
,'credit': entry[4]=='No' and flt(entry[3]) or 0
|
||||||
,'opening': entry[4]=='Yes' and diff or 0
|
,'opening': entry[4]=='Yes' and diff or 0
|
||||||
|
|
||||||
# end date conditino only if it is not opening
|
# end date conditino only if it is not opening
|
||||||
|
|||||||
Reference in New Issue
Block a user