Add mobil number and current state to personnel table
[misc/kostenrechnung] / masks / personal.php
index e27d6b1..8f980e2 100644 (file)
@@ -35,28 +35,45 @@ $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',
+                                           'width' => 100,
+                                           'visible' => false,
                                            ),
                              '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: ' ', 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(
@@ -121,6 +138,18 @@ $mask = array(
                                            'size' => 24,
                                            'null' => true,
                                            ),
+                             'mobil' => array(
+                                           'name' => 'Mobil',
+                                           'type' => 'text',
+                                           'size' => 24,
+                                           'null' => true,
+                                           ),
+                             'email' => array(
+                                           'name' => 'E-Mail',
+                                           'type' => 'text',
+                                           'size' => 24,
+                                           'null' => true,
+                                           ),
                              'persstdsatz' => array(
                                            'name' => 'Stundensatz',
                                            'type' => 'decimal',
@@ -133,8 +162,17 @@ $mask = array(
                                            'size' => 10,
                                            'required' => true,
                                            ),
+                             'akkord_vorjahr' => array(
+                                           'name' => 'Akkord Vorjahr',
+                                           'type' => 'decimal',
+                                           'size' => 10,
+                                           'null' => true,
+                                           ),
+                             'aktiv' => array(
+                                           'name' => 'aktiv',
+                                           'type' => 'boolean',
+                                           ),
                              ),
-             'rows' => 20,
              );
 
 ?>