From 8fefeaf1bd939fa2882407e52c3b56d672c547fc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 4 Jun 2013 11:23:42 +0530 Subject: [PATCH] [ui] removed links to old search_criteria and Report2 is now Report --- buying/page/purchase_analytics/purchase_analytics.js | 2 +- home/page/activity/activity.js | 2 +- hr/page/hr_home/hr_home.js | 2 +- stock/page/stock_home/stock_home.js | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/buying/page/purchase_analytics/purchase_analytics.js b/buying/page/purchase_analytics/purchase_analytics.js index 857a335ae7..96b88b3115 100644 --- a/buying/page/purchase_analytics/purchase_analytics.js +++ b/buying/page/purchase_analytics/purchase_analytics.js @@ -49,7 +49,7 @@ erpnext.PurchaseAnalytics = wn.views.TreeGridReport.extend({ item_key: "supplier", parent_field: "parent_supplier_type", formatter: function(item) { - // return repl('%(value)s', { + // return repl('%(value)s', { // value: item.name, // enc_value: encodeURIComponent(item.name) // }); diff --git a/home/page/activity/activity.js b/home/page/activity/activity.js index cf7a06ff00..e412a23650 100644 --- a/home/page/activity/activity.js +++ b/home/page/activity/activity.js @@ -19,7 +19,7 @@ wn.pages['activity'].onload = function(wrapper) { // Build Report Button if(wn.boot.profile.can_get_report.indexOf("Feed")!=-1) { wrapper.appframe.add_button('Build Report', function() { - wn.set_route('Report2', "Feed"); + wn.set_route('Report', "Feed"); }, 'icon-th') } } diff --git a/hr/page/hr_home/hr_home.js b/hr/page/hr_home/hr_home.js index 060d60a10c..bee05f6a11 100644 --- a/hr/page/hr_home/hr_home.js +++ b/hr/page/hr_home/hr_home.js @@ -175,7 +175,7 @@ wn.module_page["HR"] = [ }, { "label":wn._("Employee Information"), - route: "Report2/Employee/Employee Information" + route: "Report/Employee/Employee Information" }, { "label":wn._("Monthly Salary Register"), diff --git a/stock/page/stock_home/stock_home.js b/stock/page/stock_home/stock_home.js index 5babf15466..fd1f977be7 100644 --- a/stock/page/stock_home/stock_home.js +++ b/stock/page/stock_home/stock_home.js @@ -164,7 +164,7 @@ wn.module_page["Stock"] = [ items: [ { "label":wn._("Stock Ledger"), - route: "Report2/Stock Ledger Entry/Stock Ledger", + route: "Report/Stock Ledger Entry/Stock Ledger", doctype: "Stock Ledger Entry" }, { @@ -179,17 +179,17 @@ wn.module_page["Stock"] = [ }, { "label":wn._("Serial No Service Contract Expiry"), - route: "Report2/Serial No/Serial No Service Contract Expiry", + route: "Report/Serial No/Serial No Service Contract Expiry", doctype: "Serial No" }, { "label":wn._("Serial No Status"), - route: "Report2/Serial No/Serial No Status", + route: "Report/Serial No/Serial No Status", doctype: "Serial No" }, { "label":wn._("Serial No Warranty Expiry"), - route: "Report2/Serial No/Serial No Warranty Expiry", + route: "Report/Serial No/Serial No Warranty Expiry", doctype: "Serial No" }, {