brotherton-erpnext/erpnext/stock/report/item_prices/item_prices.js

18 lines
458 B
JavaScript
Raw Normal View History

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": [
{
"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
]
}