feat: base payment amount in payment schedule

This commit is contained in:
Saqib Ansari
2021-04-23 14:46:52 +05:30
committed by Deepesh Garg
parent afb60c3678
commit 9faaa8ffd8
2 changed files with 3 additions and 1 deletions

View File

@@ -57,6 +57,7 @@
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Payment Amount",
"options": "currency",
"reqd": 1
},
{
@@ -163,7 +164,7 @@
],
"istable": 1,
"links": [],
"modified": "2021-04-12 15:39:47.363609",
"modified": "2021-04-23 13:55:59.548043",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Schedule",

View File

@@ -2014,6 +2014,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
payment_term: function(doc, cdt, cdn) {
var row = locals[cdt][cdn];
if(row.payment_term) {
debugger;
frappe.call({
method: "erpnext.controllers.accounts_controller.get_payment_term_details",
args: {