Browse Source

pos_payment_terminal : bigger button for start transaction with touchscreen

pull/437/head
Auélien DUMAINE 10 years ago
committed by Sylvain LE GAL
parent
commit
52b0d8c6c6
  1. 4
      pos_customer_display/static/src/js/customer_display.js

4
pos_customer_display/static/src/js/customer_display.js

@ -88,9 +88,9 @@ openerp.pos_customer_display = function(instance){
//FIXME : this function is call twice. The first time, it is not called by prepare_text_customer_display : WHY ?
// alert("In sent_text_customer_display " + line_length);
if (data[0].length != line_length)
console.warn(data[0].length + " " + data[0]);
console.warn(data[0].length + " -> " + data[0]);
if (data[1].length != line_length)
console.warn(data[1].length + " " + data[1]);
console.warn(data[1].length + " ->" + data[1]);
if (data[0].length != line_length || data[1].length != line_length){
console.warn("Data components have to have " + line_length + " chars.");
console.log(data[0].length + " -> "+ data[0] + "\n" + data[1].length + " -> " + data[1]);

Loading…
Cancel
Save