Revised changes for codacy
This commit is contained in:
parent
2c8ce5a717
commit
46c82c45e0
@ -85,10 +85,10 @@ erpnext.stock.ItemDashboard = Class.extend({
|
||||
|
||||
if (frappe.boot.user.can_write.indexOf("Stock Entry")>=0){
|
||||
$(".btn-move").show();
|
||||
+ $(".btn-add").show();
|
||||
$(".btn-add").show();
|
||||
}else{
|
||||
$(".btn-move").hide();
|
||||
+ $(".btn-add").hide();
|
||||
$(".btn-add").hide();
|
||||
}
|
||||
},
|
||||
get_item_dashboard_data: function(data, max_count, show_item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user