mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
feat: base payment amount in payment schedule
This commit is contained in:
committed by
Deepesh Garg
parent
afb60c3678
commit
9faaa8ffd8
@@ -57,6 +57,7 @@
|
|||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Payment Amount",
|
"label": "Payment Amount",
|
||||||
|
"options": "currency",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -163,7 +164,7 @@
|
|||||||
],
|
],
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-04-12 15:39:47.363609",
|
"modified": "2021-04-23 13:55:59.548043",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Payment Schedule",
|
"name": "Payment Schedule",
|
||||||
|
|||||||
@@ -2014,6 +2014,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
|||||||
payment_term: function(doc, cdt, cdn) {
|
payment_term: function(doc, cdt, cdn) {
|
||||||
var row = locals[cdt][cdn];
|
var row = locals[cdt][cdn];
|
||||||
if(row.payment_term) {
|
if(row.payment_term) {
|
||||||
|
debugger;
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.controllers.accounts_controller.get_payment_term_details",
|
method: "erpnext.controllers.accounts_controller.get_payment_term_details",
|
||||||
args: {
|
args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user