Adjust form to new table einsatz and co.
[misc/kostenrechnung] / masks / kostenstellen.php
index 60ad547..62f464b 100644 (file)
@@ -24,18 +24,10 @@ $mask = array(
                              'laenge' => array(
                                            'name' => 'Länge',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright'",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', canSort: false",
                                            'width' => 65,
                                            ),
-                             'dienstleistung' => array(
-                                           'name' => 'Dienstleistung',
-                                           'control' => "new Rico.TableColumn.checkbox('1','0','0',true)",
-                                           'sql' => 'dienstleistung',
-                                           'specs' => "ClassName: 'aligncenter'",
-                                           'width' => 50,
-                                           ),
                              ),
-             'rows' => 20,
              'edit' => array(
                              'kostenstelle' => array(
                                            'name' => 'Kostenstelle',
@@ -54,10 +46,6 @@ $mask = array(
                                            'width' => 65,
                                            'required' => true,
                                            ),
-                             'dienstleistung' => array(
-                                           'name' => 'Dienstleistung',
-                                           'type' => 'boolean',
-                                           ),
                              ),
              );