Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037613Retail ModulesWeb POSpublic2018-01-10 17:462018-03-08 13:42
plujan 
jorge-garcia 
normalminorhave not tried
closedfixed 
5
main 
RR18Q2 
marvintm
No
0037613: [RR18Q1] Error shown while trying to open a ticket using an iPad
The "open receipt" search window shows an error after picking the ticket to open. This only happens using an iPad, while other devices have not shown the problem. Tested in a iPad version 9.3, using Safari.
Also tested (and working fine) in a macBook using Safari and a win10 using Chrome.
1. On the main menu, go to the Open Receipt option
2. Select one record to open
3. If the device used is an iPad, an error like the attached screenshot is shown. For other devices it behaves as expected.
No tags attached.
png 62vCRxO.png (80,349) 2018-01-10 17:46
https://issues.openbravo.com/file_download.php?file_id=11440&type=bug
png
Issue History
2018-01-10 17:46plujanNew Issue
2018-01-10 17:46plujanAssigned To => Retail
2018-01-10 17:46plujanFile Added: 62vCRxO.png
2018-01-10 17:46plujanTriggers an Emergency Pack => No
2018-01-10 17:57plujanDescription Updatedbug_revision_view_page.php?rev_id=16517#r16517
2018-03-06 10:06jorge-garciaAssigned ToRetail => jorge-garcia
2018-03-07 13:45hgbotCheckin
2018-03-07 13:45hgbotNote Added: 0103060
2018-03-07 13:45hgbotStatusnew => resolved
2018-03-07 13:45hgbotResolutionopen => fixed
2018-03-07 13:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a7d266f80b82868062ec292de7be4833a292fdb [^]
2018-03-08 13:42marvintmReview Assigned To => marvintm
2018-03-08 13:42marvintmStatusresolved => closed
2018-03-08 13:42marvintmFixed in Version => RR18Q2

Notes
(0103060)
hgbot   
2018-03-07 13:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8a7d266f80b82868062ec292de7be4833a292fdb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Mar 06 10:01:15 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a7d266f80b82868062ec292de7be4833a292fdb [^]

Fixed issue 37613: [RR18Q1] Error shown while trying to open a ticket using an
iPad

The problem was caused by a malformed date from payments array from order, in
specific, property paymentDate.

The solution is to normalize the paymentDate value as we do for other properties of
the ticket.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---