[reports][purchase and sales trends]

This commit is contained in:
Saurabh
2013-06-13 19:17:56 +05:30
parent f9966f44cd
commit 0326f5414e
29 changed files with 712 additions and 229 deletions

View File

@@ -1,40 +1,5 @@
wn.require("app/js/sales_trends_filters.js");
wn.query_reports["Quotation Trends"] = {
"filters": [
{
"fieldname":"period",
"label": "Period",
"fieldtype": "Select",
"options": "Monthly"+NEWLINE+"Quarterly"+NEWLINE+"Half-yearly"+NEWLINE+"Yearly",
"default": "Monthly"
},
{
"fieldname":"based_on",
"label": "Based On",
"fieldtype": "Select",
"options": "Item"+NEWLINE+"Item Group"+NEWLINE+"Customer"+NEWLINE+"Customer Group"+NEWLINE+"Territory"+NEWLINE+"Project",
"default": "Item"
},
{
"fieldname":"group_by",
"label": "Group By",
"fieldtype": "Select",
"options": "Item"+NEWLINE+"Customer",
"default": ""
},
{
"fieldname":"fiscal_year",
"label": "Fiscal Year",
"fieldtype": "Link",
"options":'Fiscal Year',
"default": sys_defaults.fiscal_year
},
{
"fieldname":"company",
"label": "Company",
"fieldtype": "Link",
"options": "Company",
"default": sys_defaults.company
},
]
}
filters: get_filters()
}