Browse Source

[FIX] display;

pull/304/head
Sylvain LE GAL 9 years ago
parent
commit
dc854cec92
  1. 6
      pos_access_right/static/src/js/pos_access_right.js

6
pos_access_right/static/src/js/pos_access_right.js

@ -39,11 +39,11 @@ point_of_sale.gui
else{
$(".mode-button[data-mode='price']").addClass('pos-disabled-mode');
}
if (user.groups_id.indexOf(this.pos.config.group_pos_multi_order[0]) != -1){
$('.neworder-button').removeClass('pos-disabled-mode');
if (user.groups_id.indexOf(this.pos.config.group_pos_delete_order_line[0]) != -1){
$('.numpad-backspace').removeClass('pos-disabled-mode');
}
else{
$('.neworder-button').addClass('pos-disabled-mode');
$('.numpad-backspace').addClass('pos-disabled-mode');
}
};

Loading…
Cancel
Save