Adjust form to new table einsatz and co.
[misc/kostenrechnung] / masks / materialien.php
index 20abaec..7ecfb50 100644 (file)
@@ -20,15 +20,15 @@ $mask = array(
                                            'name' => 'Einheit',
                                            'width' => 70,
                                            'sql' => 'einheiten.einheit',
+                                           'specs' => 'canSort: false',
                                            ),
                              'preis' => array(
                                            'name' => 'Preis',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright'",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', canSort: false",
                                            'width' => 50,
                                            ),
                              ),
-             'rows' => 20,
              'edit' => array(
                              'material' => array(
                                            'name' => 'Material',
@@ -47,6 +47,7 @@ $mask = array(
                                            'type' => 'decimal',
                                            'size' => 10,
                                            'comment' => 'immer brutto',
+                                           'required' => true,
                                            ),
                              ),
              );