Project:
View Revisions: Issue #51180 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0051180: Goodby message should enqueue a message to be treated by HardwareManager endpoint | ||
Revision | 2022-12-16 12:50 by jetxarri | ||
Description | Goodby message is not using message structure and it is doing a direct request to the hardware manager, what it is wrong. Currently, in file org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js it is possible to see function "printGoodBye" and how is not enqueueing any message. It should work similar to "Welcome message" in function "printWelcome". Apart from that, when the function "printGoodBye" is called, it is being checked that HM is configured and it should not be like that and delegate the responsibility into the class that implement the hardware manager endpoint. Take into consideration that in POS2 the goodbye function is not being called when the session is closed and it should. -file web/org.openbravo.retail.posterminal/js/login/model/login-model.js function postCloseSession. This is done for POS1 and it should be in POS2 |
||
Revision | 2022-12-16 12:43 by jetxarri | ||
Description | Goodby message is not using message structure and it is doing a direct request to the hardware manager, what it is wrong. Currently, in file org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js it is possible to see function "printGoodBye" and how is not enqueueing any message. It should work similar to "Welcome message" in function "printWelcome". Apart from that, when the function "printGoodBye" is called, it is being checked that HM is configured and it should not be like that and delegate the responsibility into the class that implement the hardware manager endpoint. This must be implemented in POS1 and POS2 |
Copyright © 2000 - 2009 MantisBT Group |