Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028628
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2015-01-15 15:132015-02-19 16:47
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6973c0c617a8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028628: The header and footer components of the ticket should be extensible

DescriptionThere are already several UI components in the Web POS such as the menu, the edit panel, or the receipt properties popup, which are extensible via a global array which can be modified by modules to add new components inside a UI structure.

The same approach should be adopted in the Receipt header and footer components, so that modules can add labels or buttons to both places in the UI.

The arrays should be added in a way in which listeners can also be added (via events) so that in case the receipt properties change the added components can notice it and update themselves.
Steps To Reproduce- Try to customize the receipt header or footer and realize that this is not possible.
Proposed SolutionA global array in which new components can be added should be added to the component, which a corresponding listener system which can be used by these components to detect changes in the receipt.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0074268)
hgbot (developer)
2015-02-09 09:25

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c96fc4b3fe9df0c63e4f6a5d6bba64468893807c
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Feb 09 09:14:49 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c96fc4b3fe9df0c63e4f6a5d6bba64468893807c [^]

Fixed issue 28628: The header and footer components of the ticket should be extensible

Added an OrderFooter component to be able to add components to the bottom of the ticket.
The OrderFooter component includes an array to contain new components.
Refactored the OrderHeader to include two arrays of components, one for labels and the second for buttons. These arrays can be extended from other modules.

---
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-receiptview.js
---
(0074293)
Orekaria (administrator)
2015-02-09 19:30
edited on: 2015-02-09 19:35

Test logic must be updated
Tests fail because the fix changes the UI structure

(0074347)
hgbot (developer)
2015-02-11 09:30

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6973c0c617a89ba70c5ce704d16f42b4405b033f
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Wed Feb 11 09:28:51 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6973c0c617a89ba70c5ce704d16f42b4405b033f [^]

Fixed issue 28628: Changed component names for a better naming logic during tests

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0074353)
hgbot (developer)
2015-02-11 14:02

Repository: tools/automation/pi-mobile
Changeset: f1263d3fe6993b065ae3acc3917918a7964d9307
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Wed Feb 11 09:27:58 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f1263d3fe6993b065ae3acc3917918a7964d9307 [^]

Related to issue 28628: Changed component testIds to match the new UI structure

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
---
(0074671)
migueldejuana (developer)
2015-02-19 16:38

Tested and reviewed in dc521597d18e

- Issue History
Date Modified Username Field Change
2015-01-15 15:13 marvintm New Issue
2015-01-15 15:13 marvintm Assigned To => marvintm
2015-01-15 15:13 marvintm Triggers an Emergency Pack => No
2015-01-16 03:09 Guillaume_Jump Issue Monitored: Guillaume_Jump
2015-02-09 09:25 hgbot Checkin
2015-02-09 09:25 hgbot Note Added: 0074268
2015-02-09 09:25 hgbot Status new => resolved
2015-02-09 09:25 hgbot Resolution open => fixed
2015-02-09 09:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c96fc4b3fe9df0c63e4f6a5d6bba64468893807c [^]
2015-02-09 19:30 Orekaria Note Added: 0074293
2015-02-09 19:30 Orekaria Status resolved => new
2015-02-09 19:30 Orekaria Resolution fixed => open
2015-02-09 19:35 Orekaria Note Edited: 0074293 View Revisions
2015-02-11 09:30 hgbot Checkin
2015-02-11 09:30 hgbot Note Added: 0074347
2015-02-11 09:30 hgbot Status new => resolved
2015-02-11 09:30 hgbot Resolution open => fixed
2015-02-11 09:30 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c96fc4b3fe9df0c63e4f6a5d6bba64468893807c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6973c0c617a89ba70c5ce704d16f42b4405b033f [^]
2015-02-11 14:02 hgbot Checkin
2015-02-11 14:02 hgbot Note Added: 0074353
2015-02-19 16:38 migueldejuana Note Added: 0074671
2015-02-19 16:47 migueldejuana Review Assigned To => migueldejuana
2015-02-19 16:47 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker