Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028628 | Retail Modules | Web POS | public | 2015-01-15 15:13 | 2015-02-19 16:47 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028628: The header and footer components of the ticket should be extensible |
Description | There 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 Solution | A 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. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | OBNetwork customer | => No |
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 | bug_revision_view_page.php?bugnote_id=0074293#r7643 |
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 |
Notes |
|
(0074268)
|
hgbot
|
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
|
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
|
2015-02-11 09:30
|
|
|
|
(0074353)
|
hgbot
|
2015-02-11 14:02
|
|
|
|
|
Tested and reviewed in dc521597d18e |
|