Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031669Retail ModulesWeb POSpublic2015-12-09 12:342015-12-09 13:25
Orekaria 
ebecerra 
normalmajoralways
newopen 
5
 
 
No
0031669: Html is being injected to generate UI content instead of enyo objects
Html is being injected to generate UI content instead of enyo objects

The problem is that we use enyo to avoid this
The problem is that this UI elements cannot be tested
Open these files:
 - org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalpayments.js
 - org.openbravo.retail.complementary/js/hookRenderOrderLine.js


Verify that html is directly injected to create UI content:

content: '<img class="paymentmethoditemsimage" src="' + (item.image ? item.image : 'img/PMImgNotAvailable.png') + '"/><div class="paymentmethoditemstext">' + item.name + '</div>',

buildComplementaryInfo: function (product) {
...
result += '<div id="complementaryProductItem" class="msg-complemetary-product-item">';
Create enyo objects
No tags attached.
Issue History
2015-12-09 12:34OrekariaNew Issue
2015-12-09 12:34OrekariaAssigned To => Retail
2015-12-09 12:34OrekariaTriggers an Emergency Pack => No
2015-12-09 13:25OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10414#r10414
2015-12-09 13:25OrekariaAssigned ToRetail => ebecerra

There are no notes attached to this issue.