M
M
Maxim2019-05-06 18:38:40
MODX
Maxim, 2019-05-06 18:38:40

How to display a value from a table?

How to display the value from the order table in the field in the admin panel?

Ext.ComponentMgr.onAvailable('minishop2-window-order-update', function(){
  this.fields.items[0].items[3].items[0].items.push({
            	xtype: 'datefield',
             	name: 'date_delivery', 
             	fieldLabel: 'Дата доставки', 
             	anchor: '100%',
                format: 'Y-m-d',
                altFormats: 'Y-m-d',
                emptyText: _('ms2_date_delivery'),
  });
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question