[fix] [minor] renamed edit prices button from price list and item
This commit is contained in:
parent
2d82f26976
commit
cd80d86dbb
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user