mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fixes in gross profit report
This commit is contained in:
@@ -503,7 +503,7 @@ class GrossProfitGenerator(object):
|
|||||||
invoice_portion = 100
|
invoice_portion = 100
|
||||||
elif row.invoice_portion:
|
elif row.invoice_portion:
|
||||||
invoice_portion = row.invoice_portion
|
invoice_portion = row.invoice_portion
|
||||||
else:
|
elif row.payment_amount:
|
||||||
invoice_portion = row.payment_amount * 100 / row.base_net_amount
|
invoice_portion = row.payment_amount * 100 / row.base_net_amount
|
||||||
|
|
||||||
if i == 0:
|
if i == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user