Browse Source

[FIX] display total if there is finally no change

pull/253/head
Sylvain LE GAL 7 years ago
parent
commit
11f460a034
  1. 3
      pos_customer_display/static/src/js/customer_display.js

3
pos_customer_display/static/src/js/customer_display.js

@ -278,6 +278,9 @@ openerp.pos_customer_display = function(instance){
change_rounded = change.toFixed(2);
this.pos.prepare_text_customer_display('update_payment', {'change': change_rounded});
}
else{
this.pos.prepare_text_customer_display('addPaymentline', {})
}
return res;
},
});

Loading…
Cancel
Save