[fix] [minor] renamed edit prices button from price list and item

This commit is contained in:
Akhilesh Darjee 2013-10-18 15:35:13 +05:30
parent 2d82f26976
commit cd80d86dbb
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ $.extend(cur_frm.cscript, {
},
refresh: function() {
cur_frm.add_custom_button("Edit Prices", function() {
cur_frm.add_custom_button("Add / Edit Prices", function() {
wn.route_options = {
"price_list": cur_frm.doc.name
};

View File

@ -30,7 +30,7 @@ cur_frm.cscript.make_dashboard = function() {
}
cur_frm.cscript.edit_prices_button = function() {
cur_frm.add_custom_button("Edit Prices", function() {
cur_frm.add_custom_button("Add / Edit Prices", function() {
wn.route_options = {
"item_code": cur_frm.doc.name
};