mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
chore: resolve conflict
This commit is contained in:
@@ -566,14 +566,10 @@ def get_amount(ref_doc, payment_account=None):
|
|||||||
elif dt == "Fees":
|
elif dt == "Fees":
|
||||||
grand_total = ref_doc.outstanding_amount
|
grand_total = ref_doc.outstanding_amount
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
return grand_total
|
|
||||||
=======
|
|
||||||
if grand_total > 0:
|
if grand_total > 0:
|
||||||
return flt(grand_total, get_currency_precision())
|
return flt(grand_total, get_currency_precision())
|
||||||
else:
|
else:
|
||||||
frappe.throw(_("Payment Entry is already created"))
|
frappe.throw(_("Payment Entry is already created"))
|
||||||
>>>>>>> 976abf7b3c (fix: Update get_amount to return currency precision grand total)
|
|
||||||
|
|
||||||
|
|
||||||
def get_existing_payment_request_amount(ref_dt, ref_dn):
|
def get_existing_payment_request_amount(ref_dt, ref_dn):
|
||||||
|
|||||||
Reference in New Issue
Block a user