var form_id = document.getElementById('edit_id');
var artikel = document.getElementById('form_artikel');
artikel.value = form_id.value;
- Debug.write('id: ' + form_id.value);
price_popup.openPopup(100,300);
}
if (!source) return false;
var parms = 'source=' + source.innerHTML + '&callback=price&';
- Debug.write(parms+Form.serialize(obj.form));
ajax_request('function', parms+Form.serialize(obj.form), add_price_callback);
preis.value = '';
'width' => 300,
'specs' => "filterUI: 't'",
),
+ 'netto' => array(
+ 'name' => 'netto',
+ 'width' => 60,
+ 'type' => 'number',
+ 'specs' => "decPlaces: 2, ClassName: 'alignrightpad', filterUI: 't'",
+ 'sql' => '(SELECT preis FROM metro_artikel_preis ' .
+ 'WHERE artikel = metro_artikel.id ORDER BY datum DESC LIMIT 1)',
+ ),
'preis' => array(
'name' => 'Preis',
'width' => 60,