2016-03-08 18:06:21 +05:30
|
|
|
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
|
|
|
// For license information, please see license.txt
|
2013-08-05 14:59:54 +05:30
|
|
|
|
2016-03-08 18:06:21 +05:30
|
|
|
frappe.query_reports["Inactive Customers"] = {
|
2013-06-07 13:34:16 +05:30
|
|
|
"filters": [
|
|
|
|
{
|
|
|
|
"fieldname":"days_since_last_order",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("Days Since Last Order"),
|
2013-06-07 13:34:16 +05:30
|
|
|
"fieldtype": "Int",
|
|
|
|
"default": 60
|
2015-06-11 18:36:35 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"doctype",
|
|
|
|
"label": __("Doctype"),
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"default": "Sales Order",
|
|
|
|
"options": "Sales Order\nSales Invoice"
|
2013-06-07 13:34:16 +05:30
|
|
|
}
|
|
|
|
]
|
2016-03-08 18:06:21 +05:30
|
|
|
}
|