[ui] removed links to old search_criteria and Report2 is now Report

This commit is contained in:
Rushabh Mehta 2013-06-04 11:23:42 +05:30
parent 748f900a3f
commit 8fefeaf1bd
4 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ erpnext.PurchaseAnalytics = wn.views.TreeGridReport.extend({
item_key: "supplier",
parent_field: "parent_supplier_type",
formatter: function(item) {
// return repl('<a href="#Report2/stock-invoices/customer=%(enc_value)s">%(value)s</a>', {
// return repl('<a href="#Report/stock-invoices/customer=%(enc_value)s">%(value)s</a>', {
// value: item.name,
// enc_value: encodeURIComponent(item.name)
// });

View File

@ -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')
}
}

View File

@ -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"),

View File

@ -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"
},
{