-
Notifications
You must be signed in to change notification settings - Fork 2
[9.0][IMP] pos_payment_terminal_server: take into account changes in … #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 9.0-add_pos_payment_terminal_server-dro
Are you sure you want to change the base?
[9.0][IMP] pos_payment_terminal_server: take into account changes in … #4
Conversation
Codecov Report
@@ Coverage Diff @@
## 9.0-add_pos_payment_terminal_server-dro #4 +/- ##
========================================================================
Coverage 56.38% 56.38%
========================================================================
Files 21 21
Lines 282 282
========================================================================
Hits 159 159
Misses 123 123Continue to review full report at Codecov.
|
d4cedfa to
bd745ef
Compare
bd745ef to
03376d6
Compare
| var res = _paymentlineproto.is_payment_terminal_driven.apply(this, arguments); | ||
| res = self.cashregister.journal.payment_mode && self.pos.config.use_payment_terminal_server; | ||
| return res; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just return self.cashregister.journal.payment_mode && self.pos.config.use_payment_terminal_server;
| this._super.apply(this, arguments); | ||
| if (this.pos.config.iface_payment_terminal_server){ | ||
| var self = this; | ||
| this.$('.paymentlines-container').unbind('click').on('click', '.payment-terminal-transaction-start', function(event){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you forget to call "start_transaction"? If not then clean this method
…ppt module
Depends on :