Openbravo Issue Tracking System - POS2
View Issue Details
0047714POS2Restaurantspublic2021-09-17 16:482021-09-20 14:57
timothee_catteeuw 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
TAP 
cberner
No
0047714: JIRA 2183 - Error message to correctly manage regarding Proof of payment
When switching to offline mode, it is possible to print a proof of payment but just locally and without saving.
But each you want to generate it an error message appears.
This message is not esealy undersatble by a user.
Request to ../../org.openbravo.mobile.core.service.jsonrest/org.openbravo.pos2.ProofOfPurchaseFilter?$timeout=15000 is not allowed because the remote server is not online

Reproductible on https://livebuilds.openbravo.com/retail_pos2_tap_pgsql/web/pos/?terminal=VBS-2 [^]
1) Go to WebPOS2
2) switch your browser to offline
3) Do and pay a ticket
4) select "print the last proof of payment" option
5) this message appears
Correctly manage this message and warn correctly the user by indicating the proof of payment will not save for example.
No tags attached.
depends on backport 0047716TAP closed jorge-garcia JIRA 2183 - Error message to correctly manage regarding Proof of payment 
png Error message.png (83,628) 2021-09-17 16:48
https://issues.openbravo.com/file_download.php?file_id=16203&type=bug
png
Issue History
2021-09-17 16:48timothee_catteeuwNew Issue
2021-09-17 16:48timothee_catteeuwAssigned To => Retail
2021-09-17 16:48timothee_catteeuwFile Added: Error message.png
2021-09-17 16:48timothee_catteeuwTriggers an Emergency Pack => No
2021-09-20 11:20jorge-garciaAssigned ToRetail => jorge-garcia
2021-09-20 11:21jorge-garciaStatusnew => scheduled
2021-09-20 12:21hgbotNote Added: 0131922
2021-09-20 13:35jorge-garciaReview Assigned To => cberner
2021-09-20 14:57hgbotResolutionopen => fixed
2021-09-20 14:57hgbotStatusscheduled => closed
2021-09-20 14:57hgbotNote Added: 0131928
2021-09-20 14:57hgbotNote Added: 0131929

Notes
(0131922)
hgbot   
2021-09-20 12:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/680 [^]
(0131928)
hgbot   
2021-09-20 14:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 904eb11b30901f1c5b94dd7a2843543ed1ce7d81
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-09-20T12:12:27+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/904eb11b30901f1c5b94dd7a2843543ed1ce7d81 [^]

Fixed ISSUE-47714: Handle with a proper message when pop request fails

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/proofOfPayment/OpenProofOfPaymentList.js
---
(0131929)
hgbot   
2021-09-20 14:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/680 [^]