Updates according to specification
[misc/kostenrechnung] / masks / geraete.php
index c06a1ea..06415a3 100644 (file)
@@ -2,7 +2,7 @@
 
 $mask = array(
              'table' => 'gerate',
-             'title' => 'Informationen zu Geräten',
+             'title' => 'Geräte',
              'sort' => 1,
              'list' => array(
                              'id' => array(
@@ -11,14 +11,15 @@ $mask = array(
                                            ),
                              'geraet' => array(
                                            'name' => 'Gerät',
-                                           'width' => 150,
+                                           'width' => 200,
                                            ),
                              'gerstdsatz' => array(
-                                           'name' => 'Satz',
+                                           'name' => 'Stundensatz',
                                            'type' => 'number',
                                            'specs' => "decPlaces: 2, ClassName: 'alignright'",
                                            'width' => 50,
                                            ),
+/*
                              'geraetkst_intern' => array(
                                            'name' => 'intern',
                                            'type' => 'number',
@@ -31,8 +32,21 @@ $mask = array(
                                            'specs' => "decPlaces: 2, ClassName: 'alignright'",
                                            'width' => 60,
                                            ),
+*/
                              ),
              'rows' => 20,
+             'edit' => array(
+                             'geraet' => array(
+                                           'name' => 'Gerät',
+                                           'type' => 'text',
+                                           'size' => 25,
+                                           ),
+                             'gerstdsatz' => array(
+                                           'name' => 'Stundensatz',
+                                           'type' => 'number',
+                                           'size' => 15,
+                                           ),
+                             ),
              );
 
 ?>