|
@ -25,7 +25,7 @@ openerp.pos_payment_terminal = function(instance){ |
|
|
var self = this; |
|
|
var self = this; |
|
|
if (line.cashregister.journal.payment_mode && this.pos.config.iface_payment_terminal){ |
|
|
if (line.cashregister.journal.payment_mode && this.pos.config.iface_payment_terminal){ |
|
|
el_node.querySelector('.payment-terminal-transaction-start') |
|
|
el_node.querySelector('.payment-terminal-transaction-start') |
|
|
.addEventListener('click', function(){self.pos.proxy.payment_terminal_transaction_start(line, self.pos.config.currency_id[1])}); |
|
|
|
|
|
|
|
|
.addEventListener('click', function(){self.pos.proxy.payment_terminal_transaction_start(line, self.pos.currency.name)}); |
|
|
} |
|
|
} |
|
|
return el_node; |
|
|
return el_node; |
|
|
}, |
|
|
}, |
|
|