Hi,
ich habe den Link auf die customerApp in der main.js eines meiner Backend widgets.
Jetzt weiss ich nicht wie ich die params bei der orderApp aussehen muss.
In der Mysql abfrage gebe ich . die id von orders als . Order_id . unad die customernumber mit aus.
customerId: ~~(record.get('order\_id')) . geht natrülich nicht
was muss hier rein? params: { orderID: **?????** }
xtype: 'actioncolumn',
width: 24,
items: [{
iconCls: 'sprite-user--arrow',
handler: function (view, rowIndex, colIndex, item, event, record) {
openNewModule('Shopware.apps.Customer', {
action: 'detail',
params: {
customerId: ~~(record.get('id'))
}
});
}
}]
}, {
xtype: 'actioncolumn',
width: 24,
items: [{
iconCls: 'sprite-sticky-note--pencil',
handler: function (view, rowIndex, colIndex, item, event, record) {
openNewModule('Shopware.apps.Order', {
action: 'detail',
params: {
orderID: ?????
}
});
}
}]
}]