Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026774Retail ModulesWeb POSpublic2014-06-04 01:442017-05-12 10:51
dbaz 
rqueralta 
normalminoralways
newopen 
5
 
 
No
0026774: [UX] Misalignment in ticket quantities if there is scroll
Misalignment in ticket quantities if there is scroll.

If you have a ticket with several items and there is scroll, the total quantity/price are not in the same "column" that the item quantities/prices.

This can be shown in the attached screenshot [IssueTicketMargin.png], where you can see that the totals should be moved to the left to be aligned with the items quantity.
Login into the WebPOS and add several elements to a ticket.
I don't think a 'clean' solution could be applied here. A solution I can thing right now is, using javascript, compare the *scrollHeight* and the *height* of the div containing the lines each time an item is added or deleted from the list. If scrollHeight > height, then, there is scroll. If it is the case, then, a javascript function can toggle the style/css of the totals to adjust to its new position.

Of course, if you can do another cleaner solution, go ahead!
No tags attached.
png IssueTicketMargin.png (177,354) 2014-06-04 01:44
https://issues.openbravo.com/file_download.php?file_id=6980&type=bug
png
Issue History
2014-06-04 01:44dbazNew Issue
2014-06-04 01:44dbazAssigned To => malsasua
2014-06-04 01:44dbazFile Added: IssueTicketMargin.png
2014-06-04 01:44dbazTriggers an Emergency Pack => No
2017-01-05 12:15dbazAssigned Tomalsasua => Retail
2017-01-05 12:15dbazNote Added: 0093226
2017-03-27 15:15rqueraltaAssigned ToRetail => rqueralta
2017-03-27 15:15rqueraltaStatusnew => scheduled
2017-05-11 15:52hgbotCheckin
2017-05-11 15:52hgbotNote Added: 0096531
2017-05-11 15:52hgbotStatusscheduled => resolved
2017-05-11 15:52hgbotResolutionopen => fixed
2017-05-11 15:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06fbec0afb94c50369bd0b165d0f92eb81854fe3 [^]
2017-05-12 10:50hgbotCheckin
2017-05-12 10:50hgbotNote Added: 0096550
2017-05-12 10:51jorge-garciaNote Added: 0096554
2017-05-12 10:51jorge-garciaStatusresolved => new
2017-05-12 10:51jorge-garciaResolutionfixed => open

Notes
(0093226)
dbaz   
2017-01-05 12:15   
Update 05-January-2017:
There are another issues related to the scrollbars in the receipt:
https://issues.openbravo.com/view.php?id=26962 [^]

A complete solution is under review but, roughly, at this moment the idea is to have a single scrollbar in the receipt, going from the first ticket (product) line, to the end of the ticket (including the taxes lines)
(0096531)
hgbot   
2017-05-11 15:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 06fbec0afb94c50369bd0b165d0f92eb81854fe3
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Mar 27 14:01:52 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06fbec0afb94c50369bd0b165d0f92eb81854fe3 [^]

Fixed issue 26774: [UX] Misalignment in ticket quantities if there is scroll

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0096550)
hgbot   
2017-05-12 10:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c759ef96c05c3193ad0505d2bd428c3cc4e211b5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri May 12 10:49:26 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c759ef96c05c3193ad0505d2bd428c3cc4e211b5 [^]

Related to issue 26774: [UX] Misalignment in ticket quantities if there is scroll

Backed out changeset 06fbec0afb94

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0096554)
jorge-garcia   
2017-05-12 10:51   
Backout done to the psuhed commit. It breaks the retail integration.