From d15e3bb52b278c928ec248a8fc455a2940897820 Mon Sep 17 00:00:00 2001 From: Khushi Rawat <142375893+khushi8112@users.noreply.github.com> Date: Tue, 3 Jun 2025 12:04:27 +0530 Subject: [PATCH] feat: show Dr/Cr in Supplier ledger summary & Customer ledger summary --- .../customer_ledger_summary/customer_ledger_summary.js | 6 ++++++ .../supplier_ledger_summary/supplier_ledger_summary.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.js b/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.js index 736dbed53d3..c1421a916e3 100644 --- a/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.js +++ b/erpnext/accounts/report/customer_ledger_summary/customer_ledger_summary.js @@ -115,6 +115,12 @@ frappe.query_reports["Customer Ledger Summary"] = { }); }, }, + { + fieldname: "show_dr_cr", + label: __("Closing Balance in Dr/Cr"), + fieldtype: "Check", + default: 0, + }, ], }; diff --git a/erpnext/accounts/report/supplier_ledger_summary/supplier_ledger_summary.js b/erpnext/accounts/report/supplier_ledger_summary/supplier_ledger_summary.js index df0a204be8a..e0bfb4910c9 100644 --- a/erpnext/accounts/report/supplier_ledger_summary/supplier_ledger_summary.js +++ b/erpnext/accounts/report/supplier_ledger_summary/supplier_ledger_summary.js @@ -96,6 +96,12 @@ frappe.query_reports["Supplier Ledger Summary"] = { }); }, }, + { + fieldname: "show_dr_cr", + label: __("Closing Balnce in Dr/Cr"), + fieldtype: "Check", + default: 0, + }, ], };