price_popup = new Rico.Popup(options, false, false);
price_popup.createWindow('<strong>Verbinden</strong>',content,'auto','130px');
- }
+
+ price_popup.openPopup(100,300);
+ } else
+ price_popup.openPopup();
price_popup.titleDiv.childNodes[0].innerHTML = 'Preis hinzufügen';
var artikel = document.getElementById('form_artikel');
artikel.value = form_id.value;
- price_popup.openPopup(100,300);
-
var datum = document.getElementById('form_datum');
datum.activate();
}
'name' => 'netto',
'width' => 60,
'type' => 'number',
- 'specs' => "decPlaces: 2, ClassName: 'alignrightpad', filterUI: 't'",
+ 'specs' => "decPlaces: 2, ClassName: 'alignrightpad'",
'sql' => '(SELECT preis FROM metro_artikel_preis ' .
'WHERE artikel = metro_artikel.id ORDER BY datum DESC LIMIT 1)',
),
'name' => 'Preis',
'width' => 60,
'type' => 'number',
- 'specs' => "decPlaces: 2, ClassName: 'alignrightpad', filterUI: 't'",
+ 'specs' => "decPlaces: 2, ClassName: 'alignrightpad'",
'sql' => '(SELECT preis * ((100 + steuersatz)/100) FROM metro_artikel_preis ' .
'WHERE artikel = metro_artikel.id ORDER BY datum DESC LIMIT 1)',
),
'size' => 21,
'required' => true,
),
+ 'hinweis' => array(
+ 'name' => 'Hinweis',
+ 'type' => 'text',
+ 'size' => 21,
+ 'null' => true,
+ ),
'hersteller' => array(
'name' => 'Hersteller',
'type' => 'text',