Add mobil number and current state to personnel table
[misc/kostenrechnung] / masks / personal.php
index 520e936..8f980e2 100644 (file)
@@ -35,6 +35,13 @@ $mask = array(
                                            'name' => 'Telefon',
                                            'width' => 100,
                                            'visible' => false,
+                                           'specs' => 'canSort: false',
+                                           ),
+                             'mobil' => array(
+                                           'name' => 'Mobil',
+                                           'width' => 100,
+                                           'visible' => false,
+                                           'specs' => 'canSort: false',
                                            ),
                              'email' => array(
                                            'name' => 'E-Mail',
@@ -44,31 +51,29 @@ $mask = array(
                              'persstdsatz' => array(
                                            'name' => 'Satz',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' '",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
                                            'width' => 50,
                                            ),
                              'jahresakkord' => array(
                                            'name' => 'Akkord',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' '",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
                                            'width' => 60,
                                            ),
                              'akkord_vorjahr' => array(
                                            'name' => 'Akkord Vorjahr',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' '",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
                                            'width' => 60,
                                            'visible' => false,
                                            ),
-/*
                              'akkordzuschlag' => array(
                                            'name' => 'Zuschlag',
                                            'visible' => false,
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright'",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', canSort: false",
                                            'width' => 70,
                                            ),
-*/
                              ),
 /*
              'details' => array(
@@ -133,6 +138,12 @@ $mask = array(
                                            'size' => 24,
                                            'null' => true,
                                            ),
+                             'mobil' => array(
+                                           'name' => 'Mobil',
+                                           'type' => 'text',
+                                           'size' => 24,
+                                           'null' => true,
+                                           ),
                              'email' => array(
                                            'name' => 'E-Mail',
                                            'type' => 'text',
@@ -157,8 +168,11 @@ $mask = array(
                                            'size' => 10,
                                            'null' => true,
                                            ),
+                             'aktiv' => array(
+                                           'name' => 'aktiv',
+                                           'type' => 'boolean',
+                                           ),
                              ),
-             'rows' => 20,
              );
 
 ?>