mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +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){
|
if (frappe.boot.user.can_write.indexOf("Stock Entry")>=0){
|
||||||
$(".btn-move").show();
|
$(".btn-move").show();
|
||||||
+ $(".btn-add").show();
|
$(".btn-add").show();
|
||||||
}else{
|
}else{
|
||||||
$(".btn-move").hide();
|
$(".btn-move").hide();
|
||||||
+ $(".btn-add").hide();
|
$(".btn-add").hide();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
get_item_dashboard_data: function(data, max_count, show_item) {
|
get_item_dashboard_data: function(data, max_count, show_item) {
|
||||||
|
|||||||
Reference in New Issue
Block a user