mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
Merge pull request #15188 from Zlash65/indent-fix
[Minor] Indentation fix
This commit is contained in:
@@ -223,9 +223,9 @@ def make_return_doc(doctype, source_name, target_doc=None):
|
||||
if doc.doctype == 'Sales Invoice':
|
||||
doc.set('payments', [])
|
||||
for data in source.payments:
|
||||
paid_amount = 0.00
|
||||
paid_amount = 0.00
|
||||
base_paid_amount = 0.00
|
||||
data.base_amount = flt(data.amount*source.conversion_rate, source.precision("base_paid_amount"))
|
||||
data.base_amount = flt(data.amount*source.conversion_rate, source.precision("base_paid_amount"))
|
||||
paid_amount += data.amount
|
||||
base_paid_amount += data.base_amount
|
||||
doc.append('payments', {
|
||||
|
||||
Reference in New Issue
Block a user