1e7c32b909
* fix(payroll): multiple minor fixes related to salary structure * Added GSTR-1 and GSTR-2 report in Accounts module page * delete asset movement records on cancellation of Purchase Receipt * Update consolidated_financial_statement.py * minor fix * minor fix * add filters on item prices report (#15495)
18 lines
458 B
JavaScript
18 lines
458 B
JavaScript
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
|
// For license information, please see license.txt
|
|
|
|
frappe.query_reports["Item Prices"] = {
|
|
"filters": [
|
|
{
|
|
"fieldname": "items",
|
|
"label": __("Items Filter"),
|
|
"fieldtype": "Select",
|
|
"options": "Enabled Items only\nDisabled Items only\nAll Items",
|
|
"default": "Enabled Items only",
|
|
"on_change": function(query_report) {
|
|
query_report.trigger_refresh();
|
|
}
|
|
}
|
|
]
|
|
}
|