Revised changes for codacy

This commit is contained in:
Vinayak Jethe 2018-01-24 14:24:58 +05:30
parent 2c8ce5a717
commit 46c82c45e0

View File

@ -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) {