refactor: group only by voucher flag in AR/AP report

This commit is contained in:
ruthra kumar
2023-11-03 11:03:54 +05:30
parent 056b74b162
commit 23beb46d15
3 changed files with 32 additions and 6 deletions

View File

@@ -143,7 +143,13 @@ frappe.query_reports["Accounts Payable"] = {
"fieldname": "show_future_payments",
"label": __("Show Future Payments"),
"fieldtype": "Check",
},
{
"fieldname": "ignore_accounts",
"label": __("Group by Voucher"),
"fieldtype": "Check",
}
],
"formatter": function(value, row, column, data, default_formatter) {
@@ -175,4 +181,4 @@ function get_party_type_options() {
});
});
return options;
}
}