Adjust form to new table einsatz and co.
[misc/kostenrechnung] / masks / kostenstellen.php
index f9150a2..62f464b 100644 (file)
@@ -24,23 +24,15 @@ $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',
                                            'type' => 'text',
-                                           'size' => 25,
+                                           'size' => 24,
                                            'required' => true,
                                            ),
                              'gebiet' => array(
@@ -54,10 +46,6 @@ $mask = array(
                                            'width' => 65,
                                            'required' => true,
                                            ),
-                             'dienstleistung' => array(
-                                           'name' => 'Dienstleistung',
-                                           'type' => 'boolean',
-                                           ),
                              ),
              );