sales funnel fix
This commit is contained in:
parent
602fdc0000
commit
462740f72b
@ -71,7 +71,7 @@ erpnext.SalesFunnel = Class.extend({
|
|||||||
get_data: function(btn) {
|
get_data: function(btn) {
|
||||||
var me = this;
|
var me = this;
|
||||||
wn.call({
|
wn.call({
|
||||||
method: "erpnext.selling.sales_funnel.get_funnel_data",
|
method: "erpnext.selling.page.sales_funnel.sales_funnel.get_funnel_data",
|
||||||
args: {
|
args: {
|
||||||
from_date: this.options.from_date,
|
from_date: this.options.from_date,
|
||||||
to_date: this.options.to_date
|
to_date: this.options.to_date
|
||||||
|
@ -30,4 +30,4 @@ def get_funnel_data(from_date, to_date):
|
|||||||
{ "title": "Opportunities", "value": opportunities, "color": "#F09C00" },
|
{ "title": "Opportunities", "value": opportunities, "color": "#F09C00" },
|
||||||
{ "title": "Quotations", "value": quotations, "color": "#006685" },
|
{ "title": "Quotations", "value": quotations, "color": "#006685" },
|
||||||
{ "title": "Sales Orders", "value": sales_orders, "color": "#00AD65" }
|
{ "title": "Sales Orders", "value": sales_orders, "color": "#00AD65" }
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user