Display Boolean value as readonly checkbox
authorJoey Schulze <joey@infodrom.org>
Wed, 3 Mar 2010 18:42:05 +0000 (19:42 +0100)
committerJoey Schulze <joey@infodrom.org>
Wed, 3 Mar 2010 18:42:05 +0000 (19:42 +0100)
masks/kostenstellen.php

index 66bdc3c..f9150a2 100644 (file)
@@ -29,8 +29,9 @@ $mask = array(
                                            ),
                              'dienstleistung' => array(
                                            'name' => 'Dienstleistung',
-                                           'type' => 'number',
-                                           'specs' => "ClassName: 'alignright'",
+                                           'control' => "new Rico.TableColumn.checkbox('1','0','0',true)",
+                                           'sql' => 'dienstleistung',
+                                           'specs' => "ClassName: 'aligncenter'",
                                            'width' => 50,
                                            ),
                              ),