Handle some values as decimal
authorJoey Schulze <joey@infodrom.org>
Sun, 28 Feb 2010 16:20:14 +0000 (17:20 +0100)
committerJoey Schulze <joey@infodrom.org>
Sun, 28 Feb 2010 16:20:14 +0000 (17:20 +0100)
masks/anbaugeraete.php
masks/geraete.php
masks/kostenstellen.php
masks/materialien.php

index ec96ea6..3f6b2ea 100644 (file)
@@ -42,7 +42,7 @@ $mask = array(
                                            ),
                              'anbgerstdsatz' => array(
                                            'name' => 'Stundensatz',
-                                           'type' => 'number',
+                                           'type' => 'decimal',
                                            'size' => 15,
                                            ),
                              ),
index 06415a3..a31a667 100644 (file)
@@ -43,7 +43,7 @@ $mask = array(
                                            ),
                              'gerstdsatz' => array(
                                            'name' => 'Stundensatz',
-                                           'type' => 'number',
+                                           'type' => 'decimal',
                                            'size' => 15,
                                            ),
                              ),
index 6d9388f..9b6d132 100644 (file)
@@ -56,7 +56,7 @@ $mask = array(
                                            ),
                              'laenge' => array(
                                            'name' => 'Länge',
-                                           'type' => 'number',
+                                           'type' => 'decimal',
                                            'width' => 65,
                                            ),
                              ),
index 0091da7..88817fc 100644 (file)
@@ -43,9 +43,10 @@ $mask = array(
                                            ),
                              'preis' => array(
                                            'name' => 'Preis',
-                                           'type' => 'text',
+                                           'type' => 'decimal',
                                            'size' => 10,
                                            'comment' => 'immer brutto',
+                                           'null' => true,
                                            ),
                              ),
              );