mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 20:48:27 +00:00
Revised changes for codacy
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user