2017-02-24 14:52:45 +00:00
|
|
|
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
|
|
|
// For license information, please see license.txt
|
|
|
|
|
|
|
|
frappe.query_reports["Item Prices"] = {
|
|
|
|
"filters": [
|
2018-09-26 10:28:06 +00:00
|
|
|
{
|
|
|
|
"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();
|
|
|
|
}
|
|
|
|
}
|
2017-02-24 14:52:45 +00:00
|
|
|
]
|
|
|
|
}
|